You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -5708,8 +5708,8 @@ export const AppointmentInputAPI = new ServiceType("api.AppointmentInputAPI", [
|
||||
{ name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Some metadata have been updated on an appointment. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentMetaDataUpdatedRequest, O: AppointmentMetaDataUpdatedResponse },
|
||||
{ name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is added for the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttachmentAddedRequest, O: AppointmentAttachmentAddedResponse },
|
||||
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is removed for the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttachmentRemovedRequest, O: AppointmentAttachmentRemovedResponse },
|
||||
{ name: "EmailsAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been added." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentEmailsAddedRequest, O: AppointmentEmailsAddedResponse },
|
||||
{ name: "EmailsRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been removed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentEmailsRemovedRequest, O: AppointmentEmailsRemovedResponse },
|
||||
{ name: "EmailsAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been added." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentEmailsAddedRequest, O: AppointmentEmailsAddedResponse },
|
||||
{ name: "EmailsRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been removed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentEmailsRemovedRequest, O: AppointmentEmailsRemovedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An Appointment has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSanitisedRequest, O: AppointmentSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCustomFieldsUpdatedRequest, O: AppointmentCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" });
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251124101429",
|
||||
"version": "1.12.0-SNAPSHOT-251124131813",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
42
site.ts
42
site.ts
@@ -1011,6 +1011,10 @@ export interface UpdateAppointmentRequest {
|
||||
* @generated from protobuf field: string ActorID = 5
|
||||
*/
|
||||
ActorID: string; // actor with which the siteID/project-depositID will be processed
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Emails = 6
|
||||
*/
|
||||
Emails: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.UpdateAppointmentNoReferenceRequest
|
||||
@@ -1052,6 +1056,10 @@ export interface UpdateAppointmentNoReferenceRequest {
|
||||
* @generated from protobuf field: string ActorID = 7
|
||||
*/
|
||||
ActorID: string; // actor with which the siteID/project-depositID will be processed
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Emails = 8
|
||||
*/
|
||||
Emails: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ForceUpdateAppointmentRequest
|
||||
@@ -1105,6 +1113,10 @@ export interface ForceUpdateAppointmentRequest {
|
||||
* @generated from protobuf field: string ActorID = 9
|
||||
*/
|
||||
ActorID: string; // actor with which the siteID/project-depositID will be processed
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Emails = 10
|
||||
*/
|
||||
Emails: string[];
|
||||
}
|
||||
/**
|
||||
* ListUserSites
|
||||
@@ -4004,7 +4016,8 @@ class UpdateAppointmentRequest$Type extends MessageType<UpdateAppointmentRequest
|
||||
{ no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
|
||||
{ no: 4, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission },
|
||||
{ no: 5, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 5, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots", "ActorID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateAppointmentRequest>): UpdateAppointmentRequest {
|
||||
@@ -4013,6 +4026,7 @@ class UpdateAppointmentRequest$Type extends MessageType<UpdateAppointmentRequest
|
||||
message.Slots = [];
|
||||
message.Commissions = [];
|
||||
message.ActorID = "";
|
||||
message.Emails = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<UpdateAppointmentRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -4037,6 +4051,9 @@ class UpdateAppointmentRequest$Type extends MessageType<UpdateAppointmentRequest
|
||||
case /* string ActorID */ 5:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
case /* repeated string Emails */ 6:
|
||||
message.Emails.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -4064,6 +4081,9 @@ class UpdateAppointmentRequest$Type extends MessageType<UpdateAppointmentRequest
|
||||
/* string ActorID = 5; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.ActorID);
|
||||
/* repeated string Emails = 6; */
|
||||
for (let i = 0; i < message.Emails.length; i++)
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Emails[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -4084,7 +4104,8 @@ class UpdateAppointmentNoReferenceRequest$Type extends MessageType<UpdateAppoint
|
||||
{ no: 4, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "Quantities", kind: "message", localName: "Quantities", jsonName: "Quantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit },
|
||||
{ no: 6, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 7, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots", "ActorID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateAppointmentNoReferenceRequest>): UpdateAppointmentNoReferenceRequest {
|
||||
@@ -4095,6 +4116,7 @@ class UpdateAppointmentNoReferenceRequest$Type extends MessageType<UpdateAppoint
|
||||
message.Quantities = [];
|
||||
message.Reason = "";
|
||||
message.ActorID = "";
|
||||
message.Emails = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<UpdateAppointmentNoReferenceRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -4125,6 +4147,9 @@ class UpdateAppointmentNoReferenceRequest$Type extends MessageType<UpdateAppoint
|
||||
case /* string ActorID */ 7:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
case /* repeated string Emails */ 8:
|
||||
message.Emails.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -4158,6 +4183,9 @@ class UpdateAppointmentNoReferenceRequest$Type extends MessageType<UpdateAppoint
|
||||
/* string ActorID = 7; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.ActorID);
|
||||
/* repeated string Emails = 8; */
|
||||
for (let i = 0; i < message.Emails.length; i++)
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.Emails[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -4180,7 +4208,8 @@ class ForceUpdateAppointmentRequest$Type extends MessageType<ForceUpdateAppointm
|
||||
{ no: 6, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "Quantities", kind: "message", localName: "Quantities", jsonName: "Quantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit },
|
||||
{ no: 8, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 9, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 9, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots", "ActorID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ForceUpdateAppointmentRequest>): ForceUpdateAppointmentRequest {
|
||||
@@ -4193,6 +4222,7 @@ class ForceUpdateAppointmentRequest$Type extends MessageType<ForceUpdateAppointm
|
||||
message.Quantities = [];
|
||||
message.Reason = "";
|
||||
message.ActorID = "";
|
||||
message.Emails = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ForceUpdateAppointmentRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -4229,6 +4259,9 @@ class ForceUpdateAppointmentRequest$Type extends MessageType<ForceUpdateAppointm
|
||||
case /* string ActorID */ 9:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
case /* repeated string Emails */ 10:
|
||||
message.Emails.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -4268,6 +4301,9 @@ class ForceUpdateAppointmentRequest$Type extends MessageType<ForceUpdateAppointm
|
||||
/* string ActorID = 9; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(9, WireType.LengthDelimited).string(message.ActorID);
|
||||
/* repeated string Emails = 10; */
|
||||
for (let i = 0; i < message.Emails.length; i++)
|
||||
writer.tag(10, WireType.LengthDelimited).string(message.Emails[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user