Compare commits

...

1 Commits

Author SHA1 Message Date
ci core model
d4d705d435 Release 1.11.4 2025-09-09 07:34:43 +00:00
14 changed files with 130 additions and 306 deletions

View File

@@ -228,7 +228,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
{ no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
{ no: 5, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformationWithValue },
{ no: 6, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot },
{ no: 7, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "api.aggSkip": "EmailsRemoved,EmailsAdded" } },
{ no: 7, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
{ no: 16, name: "RemovedEmails", kind: "scalar", localName: "RemovedEmails", jsonName: "RemovedEmails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "EmailsRemoved" } },
{ no: 8, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the appointment" }, "api.aggSkip": "StatusUpdated" } },
{ no: 9, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },

View File

@@ -4945,21 +4945,21 @@ export const AppointmentEmailsRemovedResponse = new AppointmentEmailsRemovedResp
* @generated ServiceType for protobuf service api.AppointmentInputAPI
*/
export const AppointmentInputAPI = new ServiceType("api.AppointmentInputAPI", [
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been created." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCreatedRequest, O: AppointmentCreatedResponse },
{ name: "Canceled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been canceled." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCanceledRequest, O: AppointmentCanceledResponse },
{ name: "DateUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentDateUpdatedRequest, O: AppointmentDateUpdatedResponse },
{ name: "CommissionsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date and its commissions has been modified." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse },
{ name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment carrier information have been updated." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierInformationUpdatedRequest, O: AppointmentCarrierInformationUpdatedResponse },
{ name: "CarrierExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is exopected for the appointment." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierExpectedRequest, O: AppointmentCarrierExpectedResponse },
{ name: "CarrierArrived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is arrived for the appointment." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierArrivedRequest, O: AppointmentCarrierArrivedResponse },
{ name: "ExpeditionStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment expedition is started." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentExpeditionStartedRequest, O: AppointmentExpeditionStartedResponse },
{ name: "ExpeditionLoaded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment expedition is loaded." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentExpeditionLoadedRequest, O: AppointmentExpeditionLoadedResponse },
{ name: "ReceptionStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment reception is started." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentReceptionStartedRequest, O: AppointmentReceptionStartedResponse },
{ name: "ReceptionUnloaded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment reception is unloaded." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentReceptionUnloadedRequest, O: AppointmentReceptionUnloadedResponse },
{ name: "CarrierDeparted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is departed for the appointment." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierDepartedRequest, O: AppointmentCarrierDepartedResponse },
{ 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": "Site", "api.roles": "Platform.Site-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": "Site", "api.roles": "Platform.Site-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": "Site", "api.roles": "Platform.Site-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": "Site", "api.roles": "Platform.Site-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": "Site", "api.roles": "Platform.Site-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentEmailsRemovedRequest, O: AppointmentEmailsRemovedResponse }
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been created." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentCreatedRequest, O: AppointmentCreatedResponse },
{ name: "Canceled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been canceled." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentCanceledRequest, O: AppointmentCanceledResponse },
{ name: "DateUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentDateUpdatedRequest, O: AppointmentDateUpdatedResponse },
{ name: "CommissionsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date and its commissions has been modified." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse },
{ name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment carrier information have been updated." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentCarrierInformationUpdatedRequest, O: AppointmentCarrierInformationUpdatedResponse },
{ name: "CarrierExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is exopected for the appointment." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentCarrierExpectedRequest, O: AppointmentCarrierExpectedResponse },
{ name: "CarrierArrived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is arrived for the appointment." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentCarrierArrivedRequest, O: AppointmentCarrierArrivedResponse },
{ name: "ExpeditionStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment expedition is started." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentExpeditionStartedRequest, O: AppointmentExpeditionStartedResponse },
{ name: "ExpeditionLoaded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment expedition is loaded." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentExpeditionLoadedRequest, O: AppointmentExpeditionLoadedResponse },
{ name: "ReceptionStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment reception is started." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentReceptionStartedRequest, O: AppointmentReceptionStartedResponse },
{ name: "ReceptionUnloaded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment reception is unloaded." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentReceptionUnloadedRequest, O: AppointmentReceptionUnloadedResponse },
{ name: "CarrierDeparted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is departed for the appointment." }, "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentCarrierDepartedRequest, O: AppointmentCarrierDepartedResponse },
{ 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": "Site", "api.roles": "Platform.Site-Input", "google.api.method_visibility": { restriction: "SLOTBOOKING_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": "Site", "api.roles": "Platform.Site-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "SLOTBOOKING_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": "Site", "api.roles": "Platform.Site-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "SLOTBOOKING_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": "Site", "api.roles": "Platform.Site-Input", "google.api.method_visibility": { restriction: "SLOTBOOKING_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": "Site", "api.roles": "Platform.Site-Input", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentEmailsRemovedRequest, O: AppointmentEmailsRemovedResponse }
], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" });

View File

@@ -545,11 +545,11 @@ export const AppointmentByMatchResult = new AppointmentByMatchResult$Type();
* @generated ServiceType for protobuf service api.AppointmentQuery
*/
export const AppointmentQuery = new ServiceType("api.AppointmentQuery", [
{ name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointments from Ids" }, "api.rscType": "Site", "api.roles": "Platform.Site-Query", "api.moduleID": "appointment-scheduling", "api.tableName": "appointmentById", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentByIdQuery, O: AppointmentByIdResult },
{ name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find Appointments using search criterias" }, "api.rscType": "Site", "api.roles": "Platform.Site-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentByFilterQuery, O: AppointmentByFilterResult },
{ name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentByMatchQuery, O: AppointmentByMatchResult },
{ name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchSiteQuery, O: ElementByMatchResult },
{ name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Schedule a data extraction" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractSiteQuery, O: ExtractResult },
{ name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointment KPI data" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataSiteQuery, O: GetKPIDataResult },
{ name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CountLinesQuery, O: CountLinesResult }
{ name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointments from Ids" }, "api.rscType": "Site", "api.roles": "Platform.Site-Query", "api.moduleID": "appointment-scheduling", "api.tableName": "appointmentById", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentByIdQuery, O: AppointmentByIdResult },
{ name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find Appointments using search criterias" }, "api.rscType": "Site", "api.roles": "Platform.Site-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentByFilterQuery, O: AppointmentByFilterResult },
{ name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: AppointmentByMatchQuery, O: AppointmentByMatchResult },
{ name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: ElementByMatchSiteQuery, O: ElementByMatchResult },
{ name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Schedule a data extraction" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: ExtractSiteQuery, O: ExtractResult },
{ name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointment KPI data" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: GetKPIDataSiteQuery, O: GetKPIDataResult },
{ name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_PUBLIC" } }, I: CountLinesQuery, O: CountLinesResult }
], { "api.serviceType": "Query", "api.k8sService": "collab-query-server" });

View File

@@ -1497,10 +1497,10 @@ export const AttachmentTypeService = new ServiceType("api.AttachmentTypeService"
{ name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Update an attachment type for an entity" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateAttachmentTypeRequest, O: UpdateAttachmentTypeResponse },
{ name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete an attachment type for an entity" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAttachmentTypeRequest, O: DeleteAttachmentTypeResponse },
{ name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete all attachments type for entities within the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAllAttachmentsTypeRequest, O: DeleteAllAttachmentsTypeResponse },
{ name: "CreateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Create an attachment type for an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateAttachmentTypeOnSiteRequest, O: CreateAttachmentTypeResponse },
{ name: "GetOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Get an attachment type for an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetAttachmentTypeOnSiteRequest, O: GetAttachmentTypeResponse },
{ name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "List attachment types on a site" }, "api.rscType": "Site", "api.roles": "Platform.AttachmentType", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAttachmentTypeOnSiteRequest, O: ListAttachmentTypeResponse },
{ name: "UpdateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Update an attachment type for an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateAttachmentTypeOnSiteRequest, O: UpdateAttachmentTypeResponse },
{ name: "DeleteOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete an attachment type for an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAttachmentTypeOnSiteRequest, O: DeleteAttachmentTypeResponse },
{ name: "DeleteAllOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete all attachments type for entities within the site" }, "api.rscType": "Site", "api.roles": "Platform.Site-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAllAttachmentsTypeOnSiteRequest, O: DeleteAllAttachmentsTypeResponse }
{ name: "CreateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Create an attachment type for an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: CreateAttachmentTypeOnSiteRequest, O: CreateAttachmentTypeResponse },
{ name: "GetOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Get an attachment type for an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetAttachmentTypeOnSiteRequest, O: GetAttachmentTypeResponse },
{ name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "List attachment types on a site" }, "api.rscType": "Site", "api.roles": "Platform.AttachmentType", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: ListAttachmentTypeOnSiteRequest, O: ListAttachmentTypeResponse },
{ name: "UpdateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Update an attachment type for an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: UpdateAttachmentTypeOnSiteRequest, O: UpdateAttachmentTypeResponse },
{ name: "DeleteOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete an attachment type for an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: DeleteAttachmentTypeOnSiteRequest, O: DeleteAttachmentTypeResponse },
{ name: "DeleteAllOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete all attachments type for entities within the site" }, "api.rscType": "Site", "api.roles": "Platform.Site-Deletion", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: DeleteAllAttachmentsTypeOnSiteRequest, O: DeleteAllAttachmentsTypeResponse }
], { "api.k8sService": "attachment-server" });

View File

@@ -1419,6 +1419,6 @@ export const AttachmentServiceV2 = new ServiceType("api.AttachmentServiceV2", [
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAttachmentsV2Request, O: ListAttachmentsV2Response },
{ name: "Share", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Share a document attached to an entity" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: ShareAttachmentV2Request, O: ShareAttachmentV2Response },
{ name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete all documents attached to entities within the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAllAttachmentsV2Request, O: DeleteAllAttachmentsV2Response },
{ name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAttachmentsOnSiteV2Request, O: ListAttachmentsOnSiteV2Response },
{ name: "DeleteAllSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete all documents attached to entities within the site" }, "api.rscType": "Site", "api.roles": "Platform.Site-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAllAttachmentsOnSiteV2Request, O: DeleteAllAttachmentsV2Response }
{ name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: ListAttachmentsOnSiteV2Request, O: ListAttachmentsOnSiteV2Response },
{ name: "DeleteAllSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete all documents attached to entities within the site" }, "api.rscType": "Site", "api.roles": "Platform.Site-Deletion", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: DeleteAllAttachmentsOnSiteV2Request, O: DeleteAllAttachmentsV2Response }
], { "api.k8sService": "attachment-server" });

2
kpi.ts
View File

@@ -1810,7 +1810,7 @@ export const PopulateMVResult = new PopulateMVResult$Type();
export const KpiService = new ServiceType("api.KpiService", [
{ name: "GetKpis", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "DEPRECATED : replaced by GetProjectKpis. Get the KPIs analysis possibilities" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "SDK" } }, I: GetKpisRequest, O: GetKpisResult },
{ name: "GetProjectKpis", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the project KPIs analysis possibilities" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectKpisRequest, O: GetProjectKpisResult },
{ name: "GetSiteKpis", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the site KPIs analysis possibilities" }, "api.rscType": "Site", "api.roles": "Platform.Site-KPI", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteKpisRequest, O: GetSiteKpisResult },
{ name: "GetSiteKpis", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the site KPIs analysis possibilities" }, "api.rscType": "Site", "api.roles": "Platform.Site-KPI", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetSiteKpisRequest, O: GetSiteKpisResult },
{ name: "GetKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetKpiTableStructureRequest, O: GetKpiTableStructureResult },
{ name: "UpdateKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Update KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateKpiTableStructureRequest, O: UpdateKpiTableStructureResult },
{ name: "GetKpiEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the entities with KPIs" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetKpiEntitiesRequest, O: GetKpiEntitiesResult },

View File

@@ -3075,11 +3075,11 @@ export const MetadataService = new ServiceType("api.MetadataService", [
{ name: "DeleteProjectMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Delete project metadata" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteProjectMetadatasRequest, O: DeleteProjectMetadatasResult },
{ name: "GetProjectMetadataCount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get project metadata count" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectMetadataCountRequest, O: GetProjectMetadataCountResult },
{ name: "GetProjectTransitiveMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get project transitive metadata" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectTransitiveMetadatasRequest, O: GetProjectTransitiveMetadatasResult },
{ name: "CreateSiteMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Create metadata" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateSiteMetadataRequest, O: CreateSiteMetadataResult },
{ name: "UpdateSiteMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Update metadata" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSiteMetadataRequest, O: UpdateSiteMetadataResult },
{ name: "GetSiteMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get metadata" }, "api.rscType": "Site", "api.roles": "Platform.Site-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteMetadatasRequest, O: GetSiteMetadatasResult },
{ name: "DeleteSiteMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Delete metadata" }, "api.rscType": "Site", "api.roles": "Platform.Site-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteSiteMetadatasRequest, O: DeleteSiteMetadatasResult },
{ name: "GetSiteMetadataCount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get metadata count" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteMetadataCountRequest, O: GetSiteMetadataCountResult },
{ name: "GetSiteTransitiveMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get transitive metadata" }, "api.rscType": "Site", "api.roles": "Platform.Site-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteTransitiveMetadatasRequest, O: GetSiteTransitiveMetadatasResult },
{ name: "CreateSiteMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Create metadata" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: CreateSiteMetadataRequest, O: CreateSiteMetadataResult },
{ name: "UpdateSiteMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Update metadata" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: UpdateSiteMetadataRequest, O: UpdateSiteMetadataResult },
{ name: "GetSiteMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get metadata" }, "api.rscType": "Site", "api.roles": "Platform.Site-Metadata", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetSiteMetadatasRequest, O: GetSiteMetadatasResult },
{ name: "DeleteSiteMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Delete metadata" }, "api.rscType": "Site", "api.roles": "Platform.Site-Metadata", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: DeleteSiteMetadatasRequest, O: DeleteSiteMetadatasResult },
{ name: "GetSiteMetadataCount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get metadata count" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetSiteMetadataCountRequest, O: GetSiteMetadataCountResult },
{ name: "GetSiteTransitiveMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get transitive metadata" }, "api.rscType": "Site", "api.roles": "Platform.Site-Metadata", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetSiteTransitiveMetadatasRequest, O: GetSiteTransitiveMetadatasResult },
{ name: "RestoreMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Restore metadatas" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Metadata", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: RestoreMetadatasRequest, O: RestoreMetadatasResult }
], { "api.k8sService": "project-model-server" });

View File

@@ -1039,8 +1039,8 @@ export const ModelService = new ServiceType("api.ModelService", [
{ name: "GetEntityModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "DEPRECATED : replaced by GetProjectEntityModel. Get entity data model with project metadata in Json Format" }, "api.rscType": "Project", "api.roles": "Platform.Project-Model", "google.api.method_visibility": { restriction: "SDK" } }, I: GetEntityModelRequest, O: GetEntityModelResult },
{ name: "GetProjectDataModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get project data model" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectDataModelRequest, O: GetProjectDataModelResult },
{ name: "GetProjectEntityModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entity data model with project metadata in Json Format" }, "api.rscType": "Project", "api.roles": "Platform.Project-Model", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectEntityModelRequest, O: GetProjectEntityModelResult },
{ name: "GetSiteDataModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get site data model" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteDataModelRequest, O: GetSiteDataModelResult },
{ name: "GetSiteEntityModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entity data model with site metadata in Json Format" }, "api.rscType": "Site", "api.roles": "Platform.Site-Model", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteEntityModelRequest, O: GetSiteEntityModelResult },
{ name: "GetSiteDataModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get site data model" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetSiteDataModelRequest, O: GetSiteDataModelResult },
{ name: "GetSiteEntityModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entity data model with site metadata in Json Format" }, "api.rscType": "Site", "api.roles": "Platform.Site-Model", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetSiteEntityModelRequest, O: GetSiteEntityModelResult },
{ name: "GetEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entities" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetEntitiesRequest, O: GetEntitiesResult },
{ name: "GetEntitiesWithMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entities with metadata" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetEntitiesRequest, O: GetEntitiesResult },
{ name: "GetEntitiesWithDataRestriction", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entities with data restriction" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetEntitiesRequest, O: GetEntitiesResult }

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.12.0-SNAPSHOT-250908130849",
"version": "1.11.4",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",

View File

@@ -2330,11 +2330,7 @@ export enum WorkflowSemaphore {
/**
* @generated from protobuf enum value: WS_CHECK_AND_LAUNCH_RECOVER_DATA = 4;
*/
WS_CHECK_AND_LAUNCH_RECOVER_DATA = 4,
/**
* @generated from protobuf enum value: WS_PROPAGATE_MODEL = 5;
*/
WS_PROPAGATE_MODEL = 5
WS_CHECK_AND_LAUNCH_RECOVER_DATA = 4
}
/**
* @generated from protobuf enum api.SharePolicy

63
site.ts
View File

@@ -19,8 +19,8 @@ import { SegmentationSelection } from "./slotbooking";
import { Commission } from "./slotbooking";
import { AppointmentType } from "./slotbooking";
import { FileDataRequest } from "./shared";
import { RequestSiteHeader } from "./shared";
import { WorkflowExecutionResult } from "./shared";
import { RequestSiteHeader } from "./shared";
import { RequestOrganisationHeader } from "./shared";
import { CarrierInformation } from "./slotbooking";
import { Document } from "./slotbooking";
@@ -198,10 +198,6 @@ export interface CreateSiteResponse {
* @generated from protobuf field: api.Site Site = 1
*/
Site?: Site;
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 2
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* Get
@@ -1431,8 +1427,7 @@ export const CreateSiteRequest = new CreateSiteRequest$Type();
class CreateSiteResponse$Type extends MessageType<CreateSiteResponse> {
constructor() {
super("api.CreateSiteResponse", [
{ no: 1, name: "Site", kind: "message", localName: "Site", jsonName: "Site", T: () => Site, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
{ no: 1, name: "Site", kind: "message", localName: "Site", jsonName: "Site", T: () => Site, options: { "validate.rules": { message: { required: true } } } }
]);
}
create(value?: PartialMessage<CreateSiteResponse>): CreateSiteResponse {
@@ -1449,9 +1444,6 @@ class CreateSiteResponse$Type extends MessageType<CreateSiteResponse> {
case /* api.Site Site */ 1:
message.Site = Site.internalBinaryRead(reader, reader.uint32(), options, message.Site);
break;
case /* api.WorkflowExecutionResult WorkflowExecution */ 2:
message.WorkflowExecution = WorkflowExecutionResult.internalBinaryRead(reader, reader.uint32(), options, message.WorkflowExecution);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -1467,9 +1459,6 @@ class CreateSiteResponse$Type extends MessageType<CreateSiteResponse> {
/* api.Site Site = 1; */
if (message.Site)
Site.internalBinaryWrite(message.Site, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.WorkflowExecutionResult WorkflowExecution = 2; */
if (message.WorkflowExecution)
WorkflowExecutionResult.internalBinaryWrite(message.WorkflowExecution, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4087,28 +4076,28 @@ export const DeleteSiteInDBResult = new DeleteSiteInDBResult$Type();
* @generated ServiceType for protobuf service api.SiteService
*/
export const SiteService = new ServiceType("api.SiteService", [
{ name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Create a site" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateSiteRequest, O: CreateSiteResponse },
{ name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get a site" }, "api.rscType": "Site", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteRequest, O: GetSiteResponse },
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List site of an organisation" }, "api.rscType": "Organisation", "api.roles": "Platform.Site", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ListSiteRequest, O: ListSiteResponse },
{ name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update a site" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSiteRequest, O: UpdateSiteResponse },
{ name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete a site" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteSiteRequest, O: DeleteSiteResponse },
{ name: "UploadPhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace the photo of the site. <br>Must be called using a multipart form-data content type request. <br> Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadPhoto -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadPhotoRequest, O: UploadPhotoResponse },
{ name: "DeletePhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the photo of the site." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeletePhotoRequest, O: DeletePhotoResponse },
{ name: "UploadInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace an instruction document on a site for a specific language. <br>Must be called using a multipart form-data content type request. <br> Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadInstructionDocument -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID -F DocID=myDocID -F LanguageCodeISO6391=en -F Name=myName -F AckRequired=False" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadInstructionDocumentRequest, O: UploadInstructionDocumentResponse },
{ name: "DeleteInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete an instruction document on a site for a specific language. If no languages are specified, all the documents per language are removed" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteInstructionDocumentRequest, O: DeleteInstructionDocumentResponse },
{ name: "SuggestID", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Suggest a site ID" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SuggestSiteIDRequest, O: SuggestSiteIDResult },
{ name: "GetAvailableSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get available slots to book an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetAvailableSlotsRequest, O: GetAvailableSlotsResponse },
{ name: "GetAllSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get all slots to book an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetAvailableSlotsRequest, O: GetAllSlotsResponse },
{ name: "ListUserSites", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List sites authorized for a user according to its permissions." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserSitesRequest, O: ListUserSitesResponse },
{ name: "BookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site, if the requested slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentRequest, O: BookAppointmentResponse },
{ name: "ForceBookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentRequest, O: BookAppointmentResponse },
{ name: "WMSForceBookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available, should not be called by human user." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: WMSBookAppointmentRequest, O: BookAppointmentResponse },
{ name: "BookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site, if the requested slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
{ name: "ForceBookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
{ name: "WMSForceBookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available, should not be called by human user." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: WMSBookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
{ name: "CancelAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Cancel an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: CancelAppointmentRequest, O: CancelAppointmentResponse },
{ name: "UpdateSlotAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update slot on an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSlotAppointmentRequest, O: UpdateSlotAppointmentResponse },
{ name: "UpdateCommissionsAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update slot and commissions on an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateCommissionsAppointmentRequest, O: UpdateCommissionsAppointmentResponse },
{ name: "UpdateStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update site status" }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSiteStatusRequest, O: UpdateSiteStatusResult },
{ name: "DeleteSiteInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the Site in database" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Deletion", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteSiteInDBRequest, O: DeleteSiteInDBResult }
{ name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Create a site" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: CreateSiteRequest, O: CreateSiteResponse },
{ name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get a site" }, "api.rscType": "Site", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetSiteRequest, O: GetSiteResponse },
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List site of an organisation" }, "api.rscType": "Organisation", "api.roles": "Platform.Site", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: ListSiteRequest, O: ListSiteResponse },
{ name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update a site" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: UpdateSiteRequest, O: UpdateSiteResponse },
{ name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete a site" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: DeleteSiteRequest, O: DeleteSiteResponse },
{ name: "UploadPhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace the photo of the site. <br>Must be called using a multipart form-data content type request. <br> Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadPhoto -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: UploadPhotoRequest, O: UploadPhotoResponse },
{ name: "DeletePhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the photo of the site." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: DeletePhotoRequest, O: DeletePhotoResponse },
{ name: "UploadInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace an instruction document on a site for a specific language. <br>Must be called using a multipart form-data content type request. <br> Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadInstructionDocument -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID -F DocID=myDocID -F LanguageCodeISO6391=en -F Name=myName -F AckRequired=False" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: UploadInstructionDocumentRequest, O: UploadInstructionDocumentResponse },
{ name: "DeleteInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete an instruction document on a site for a specific language. If no languages are specified, all the documents per language are removed" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: DeleteInstructionDocumentRequest, O: DeleteInstructionDocumentResponse },
{ name: "SuggestID", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Suggest a site ID" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: SuggestSiteIDRequest, O: SuggestSiteIDResult },
{ name: "GetAvailableSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get available slots to book an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetAvailableSlotsRequest, O: GetAvailableSlotsResponse },
{ name: "GetAllSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get all slots to book an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetAvailableSlotsRequest, O: GetAllSlotsResponse },
{ name: "ListUserSites", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List sites authorized for a user according to its permissions." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: ListUserSitesRequest, O: ListUserSitesResponse },
{ name: "BookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site, if the requested slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: BookAppointmentRequest, O: BookAppointmentResponse },
{ name: "ForceBookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: BookAppointmentRequest, O: BookAppointmentResponse },
{ name: "WMSForceBookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available, should not be called by human user." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: WMSBookAppointmentRequest, O: BookAppointmentResponse },
{ name: "BookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site, if the requested slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: BookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
{ name: "ForceBookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: BookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
{ name: "WMSForceBookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available, should not be called by human user." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: WMSBookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
{ name: "CancelAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Cancel an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: CancelAppointmentRequest, O: CancelAppointmentResponse },
{ name: "UpdateSlotAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update slot on an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: UpdateSlotAppointmentRequest, O: UpdateSlotAppointmentResponse },
{ name: "UpdateCommissionsAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update slot and commissions on an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: UpdateCommissionsAppointmentRequest, O: UpdateCommissionsAppointmentResponse },
{ name: "UpdateStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update site status" }, "api.rscType": "Site", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: UpdateSiteStatusRequest, O: UpdateSiteStatusResult },
{ name: "DeleteSiteInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the Site in database" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Deletion", "google.api.method_visibility": { restriction: "SLOTBOOKING_INTERNAL" } }, I: DeleteSiteInDBRequest, O: DeleteSiteInDBResult }
], { "api.k8sService": "core-site" });

View File

@@ -848,5 +848,5 @@ export const GetSiteViewFieldsResult = new GetSiteViewFieldsResult$Type();
export const ViewService = new ServiceType("api.ViewService", [
{ name: "GetViewFields", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], description: "DEPRECATED : replaced by GetProjectViewFields. Get view fields" }, "api.rscType": "Project", "api.roles": "Platform.Project-View", "google.api.method_visibility": { restriction: "SDK" } }, I: GetViewFieldsRequest, O: GetViewFieldsResult },
{ name: "GetProjectViewFields", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], description: "Get project view fields" }, "api.rscType": "Project", "api.roles": "Platform.Project-View", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectViewFieldsRequest, O: GetProjectViewFieldsResult },
{ name: "GetSiteViewFields", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], description: "Get site view fields" }, "api.rscType": "Site", "api.roles": "Platform.Site-View", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteViewFieldsRequest, O: GetSiteViewFieldsResult }
{ name: "GetSiteViewFields", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], description: "Get site view fields" }, "api.rscType": "Site", "api.roles": "Platform.Site-View", "google.api.method_visibility": { restriction: "SLOTBOOKING_SDK" } }, I: GetSiteViewFieldsRequest, O: GetSiteViewFieldsResult }
], { "api.k8sService": "project-model-server" });

View File

@@ -62,8 +62,6 @@ import type { StartWorkflowDeletePartnerAppResult } from "./workflow";
import type { StartWorkflowDeletePartnerAppRequest } from "./workflow";
import type { StartWorkflowDeleteSiteResult } from "./workflow";
import type { StartWorkflowDeleteSiteRequest } from "./workflow";
import type { StartWorkflowCreateSiteResult } from "./workflow";
import type { StartWorkflowCreateSiteRequest } from "./workflow";
import type { StartWorkflowDeleteCoreResult } from "./workflow";
import type { StartWorkflowDeleteCoreRequest } from "./workflow";
import type { StartWorkflowDeleteProjectResult } from "./workflow";
@@ -95,10 +93,6 @@ export interface IWorkflowServiceClient {
* @generated from protobuf rpc: StartWorkflowDeleteCore
*/
startWorkflowDeleteCore(input: StartWorkflowDeleteCoreRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteCoreRequest, StartWorkflowDeleteCoreResult>;
/**
* @generated from protobuf rpc: StartWorkflowCreateSite
*/
startWorkflowCreateSite(input: StartWorkflowCreateSiteRequest, options?: RpcOptions): UnaryCall<StartWorkflowCreateSiteRequest, StartWorkflowCreateSiteResult>;
/**
* @generated from protobuf rpc: StartWorkflowDeleteSite
*/
@@ -253,214 +247,207 @@ export class WorkflowServiceClient implements IWorkflowServiceClient, ServiceInf
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowDeleteCoreRequest, StartWorkflowDeleteCoreResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowCreateSite
*/
startWorkflowCreateSite(input: StartWorkflowCreateSiteRequest, options?: RpcOptions): UnaryCall<StartWorkflowCreateSiteRequest, StartWorkflowCreateSiteResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowCreateSiteRequest, StartWorkflowCreateSiteResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowDeleteSite
*/
startWorkflowDeleteSite(input: StartWorkflowDeleteSiteRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteSiteRequest, StartWorkflowDeleteSiteResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowDeleteSiteRequest, StartWorkflowDeleteSiteResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowDeletePartnerApp
*/
startWorkflowDeletePartnerApp(input: StartWorkflowDeletePartnerAppRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeletePartnerAppRequest, StartWorkflowDeletePartnerAppResult> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowDeletePartnerAppRequest, StartWorkflowDeletePartnerAppResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowDeleteConnection
*/
startWorkflowDeleteConnection(input: StartWorkflowDeleteConnectionRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteConnectionRequest, StartWorkflowDeleteConnectionResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowDeleteConnectionRequest, StartWorkflowDeleteConnectionResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowBilling
*/
startWorkflowBilling(input: StartWorkflowBillingRequest, options?: RpcOptions): UnaryCall<StartWorkflowBillingRequest, StartWorkflowBillingResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowBillingRequest, StartWorkflowBillingResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StopWorkflowBilling
*/
stopWorkflowBilling(input: StopWorkflowBillingRequest, options?: RpcOptions): UnaryCall<StopWorkflowBillingRequest, StopWorkflowBillingResult> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<StopWorkflowBillingRequest, StopWorkflowBillingResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowExtractDataFromDB
*/
startWorkflowExtractDataFromDB(input: StartWorkflowExtractDataFromDBRequest, options?: RpcOptions): UnaryCall<StartWorkflowExtractDataFromDBRequest, StartWorkflowExtractDataFromDBResult> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowExtractDataFromDBRequest, StartWorkflowExtractDataFromDBResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: RegisterModuleWorkflows
*/
registerModuleWorkflows(input: RegisterModuleWorkflowsRequest, options?: RpcOptions): UnaryCall<RegisterModuleWorkflowsRequest, RegisterModuleWorkflowsResult> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<RegisterModuleWorkflowsRequest, RegisterModuleWorkflowsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeregisterModuleWorkflows
*/
deregisterModuleWorkflows(input: DeregisterModuleWorkflowsRequest, options?: RpcOptions): UnaryCall<DeregisterModuleWorkflowsRequest, DeregisterModuleWorkflowsResult> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<DeregisterModuleWorkflowsRequest, DeregisterModuleWorkflowsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetModuleWorkflows
*/
getModuleWorkflows(input: GetModuleWorkflowsRequest, options?: RpcOptions): UnaryCall<GetModuleWorkflowsRequest, GetModuleWorkflowsResult> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<GetModuleWorkflowsRequest, GetModuleWorkflowsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StopWorkflow
*/
stopWorkflow(input: StopWorkflowRequest, options?: RpcOptions): UnaryCall<StopWorkflowRequest, StopWorkflowResult> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<StopWorkflowRequest, StopWorkflowResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowOptimizeClickhouse
*/
startWorkflowOptimizeClickhouse(input: StartWorkflowOptimizeClickhouseRequest, options?: RpcOptions): UnaryCall<StartWorkflowOptimizeClickhouseRequest, StartWorkflowOptimizeClickhouseResult> {
const method = this.methods[15], opt = this._transport.mergeOptions(options);
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowOptimizeClickhouseRequest, StartWorkflowOptimizeClickhouseResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowCreateOrganisation
*/
startWorkflowCreateOrganisation(input: StartWorkflowCreateOrganisationRequest, options?: RpcOptions): UnaryCall<StartWorkflowCreateOrganisationRequest, StartWorkflowCreateOrganisationResult> {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowCreateOrganisationRequest, StartWorkflowCreateOrganisationResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowDeleteOrganisation
*/
startWorkflowDeleteOrganisation(input: StartWorkflowDeleteOrganisationRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteOrganisationRequest, StartWorkflowDeleteOrganisationResult> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowDeleteOrganisationRequest, StartWorkflowDeleteOrganisationResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowRecoverData
*/
startWorkflowRecoverData(input: StartWorkflowRecoverDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowRecoverDataRequest, StartWorkflowRecoverDataResult> {
const method = this.methods[18], opt = this._transport.mergeOptions(options);
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowRecoverDataRequest, StartWorkflowRecoverDataResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowCheckAndLaunchRecoverData
*/
startWorkflowCheckAndLaunchRecoverData(input: StartWorkflowCheckAndLaunchRecoverDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowCheckAndLaunchRecoverDataRequest, StartWorkflowCheckAndLaunchRecoverDataResult> {
const method = this.methods[19], opt = this._transport.mergeOptions(options);
const method = this.methods[18], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowCheckAndLaunchRecoverDataRequest, StartWorkflowCheckAndLaunchRecoverDataResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowUpdateMaterializedView
*/
startWorkflowUpdateMaterializedView(input: StartWorkflowUpdateMaterializedViewRequest, options?: RpcOptions): UnaryCall<StartWorkflowUpdateMaterializedViewRequest, StartWorkflowUpdateMaterializedViewResult> {
const method = this.methods[20], opt = this._transport.mergeOptions(options);
const method = this.methods[19], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowUpdateMaterializedViewRequest, StartWorkflowUpdateMaterializedViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetWorkflowState
*/
getWorkflowState(input: GetWorkflowStateRequest, options?: RpcOptions): UnaryCall<GetWorkflowStateRequest, GetWorkflowStateResult> {
const method = this.methods[21], opt = this._transport.mergeOptions(options);
const method = this.methods[20], opt = this._transport.mergeOptions(options);
return stackIntercept<GetWorkflowStateRequest, GetWorkflowStateResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetWorkflowExecutionInformations
*/
getWorkflowExecutionInformations(input: GetWorkflowExecutionInformationsRequest, options?: RpcOptions): UnaryCall<GetWorkflowExecutionInformationsRequest, GetWorkflowExecutionInformationsResult> {
const method = this.methods[22], opt = this._transport.mergeOptions(options);
const method = this.methods[21], opt = this._transport.mergeOptions(options);
return stackIntercept<GetWorkflowExecutionInformationsRequest, GetWorkflowExecutionInformationsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowDailyProjectsOperations
*/
startWorkflowDailyProjectsOperations(input: StartWorkflowDailyProjectsOperationsRequest, options?: RpcOptions): UnaryCall<StartWorkflowDailyProjectsOperationsRequest, StartWorkflowDailyProjectsOperationsResult> {
const method = this.methods[23], opt = this._transport.mergeOptions(options);
const method = this.methods[22], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowDailyProjectsOperationsRequest, StartWorkflowDailyProjectsOperationsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowHealthCheckWorkflows
*/
startWorkflowHealthCheckWorkflows(input: StartWorkflowHealthCheckWorkflowsRequest, options?: RpcOptions): UnaryCall<StartWorkflowHealthCheckWorkflowsRequest, StartWorkflowHealthCheckWorkflowsResult> {
const method = this.methods[24], opt = this._transport.mergeOptions(options);
const method = this.methods[23], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowHealthCheckWorkflowsRequest, StartWorkflowHealthCheckWorkflowsResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowExtractKPI
*/
startWorkflowExtractKPI(input: StartWorkflowExtractKPIRequest, options?: RpcOptions): UnaryCall<StartWorkflowExtractKPIRequest, StartWorkflowExtractKPIResult> {
const method = this.methods[25], opt = this._transport.mergeOptions(options);
const method = this.methods[24], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowExtractKPIRequest, StartWorkflowExtractKPIResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowPruneData
*/
startWorkflowPruneData(input: StartWorkflowPruneDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowPruneDataRequest, StartWorkflowPruneDataResult> {
const method = this.methods[26], opt = this._transport.mergeOptions(options);
const method = this.methods[25], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowPruneDataRequest, StartWorkflowPruneDataResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowSynchronizeRulesOnGit
*/
startWorkflowSynchronizeRulesOnGit(input: StartWorkflowSynchronizeRulesOnGitRequest, options?: RpcOptions): UnaryCall<StartWorkflowSynchronizeRulesOnGitRequest, StartWorkflowSynchronizeRulesOnGitResult> {
const method = this.methods[27], opt = this._transport.mergeOptions(options);
const method = this.methods[26], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowSynchronizeRulesOnGitRequest, StartWorkflowSynchronizeRulesOnGitResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowAnonymizeData
*/
startWorkflowAnonymizeData(input: StartWorkflowAnonymizeDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowAnonymizeDataRequest, StartWorkflowAnonymizeDataResult> {
const method = this.methods[28], opt = this._transport.mergeOptions(options);
const method = this.methods[27], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowAnonymizeDataRequest, StartWorkflowAnonymizeDataResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowUpgradeModel
*/
startWorkflowUpgradeModel(input: StartWorkflowUpgradeModelRequest, options?: RpcOptions): UnaryCall<StartWorkflowUpgradeModelRequest, StartWorkflowUpgradeModelResult> {
const method = this.methods[29], opt = this._transport.mergeOptions(options);
const method = this.methods[28], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowUpgradeModelRequest, StartWorkflowUpgradeModelResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowSweep
*/
startWorkflowSweep(input: StartWorkflowSweepRequest, options?: RpcOptions): UnaryCall<StartWorkflowSweepRequest, StartWorkflowSweepResult> {
const method = this.methods[30], opt = this._transport.mergeOptions(options);
const method = this.methods[29], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowSweepRequest, StartWorkflowSweepResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowCreateClickhouse
*/
startWorkflowCreateClickhouse(input: StartWorkflowCreateClickhouseRequest, options?: RpcOptions): UnaryCall<StartWorkflowCreateClickhouseRequest, StartWorkflowCreateClickhouseResult> {
const method = this.methods[31], opt = this._transport.mergeOptions(options);
const method = this.methods[30], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowCreateClickhouseRequest, StartWorkflowCreateClickhouseResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowDeleteClickhouse
*/
startWorkflowDeleteClickhouse(input: StartWorkflowDeleteClickhouseRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteClickhouseRequest, StartWorkflowDeleteClickhouseResult> {
const method = this.methods[32], opt = this._transport.mergeOptions(options);
const method = this.methods[31], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowDeleteClickhouseRequest, StartWorkflowDeleteClickhouseResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: StartWorkflowCleanCassandra
*/
startWorkflowCleanCassandra(input: StartWorkflowCleanCassandraRequest, options?: RpcOptions): UnaryCall<StartWorkflowCleanCassandraRequest, StartWorkflowCleanCassandraResult> {
const method = this.methods[33], opt = this._transport.mergeOptions(options);
const method = this.methods[32], opt = this._transport.mergeOptions(options);
return stackIntercept<StartWorkflowCleanCassandraRequest, StartWorkflowCleanCassandraResult>("unary", this._transport, method, opt, input);
}
}

View File

@@ -160,36 +160,6 @@ export interface StartWorkflowDeleteSiteResult {
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowCreateSiteRequest
*/
export interface StartWorkflowCreateSiteRequest {
/**
* @generated from protobuf field: string OrganisationId = 1
*/
OrganisationId: string;
/**
* @generated from protobuf field: string SiteId = 2
*/
SiteId: string;
/**
* @generated from protobuf field: string UserSub = 3
*/
UserSub: string;
/**
* @generated from protobuf field: string ManagerEmail = 4
*/
ManagerEmail: string;
}
/**
* @generated from protobuf message api.StartWorkflowCreateSiteResult
*/
export interface StartWorkflowCreateSiteResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowDeletePartnerAppRequest
*/
@@ -886,9 +856,9 @@ export interface StartWorkflowSweepResult {
*/
export interface StartWorkflowCreateClickhouseRequest {
/**
* @generated from protobuf field: string ResourceID = 1
* @generated from protobuf field: string ProjectID = 1
*/
ResourceID: string;
ProjectID: string;
/**
* @generated from protobuf field: api.ResourceType ResourceType = 2
*/
@@ -908,9 +878,9 @@ export interface StartWorkflowCreateClickhouseResult {
*/
export interface StartWorkflowDeleteClickhouseRequest {
/**
* @generated from protobuf field: string ResourceID = 1
* @generated from protobuf field: string ProjectID = 1
*/
ResourceID: string;
ProjectID: string;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteClickhouseResult
@@ -926,9 +896,9 @@ export interface StartWorkflowDeleteClickhouseResult {
*/
export interface StartWorkflowCleanCassandraRequest {
/**
* @generated from protobuf field: string ResourceID = 1
* @generated from protobuf field: string ProjectID = 1
*/
ResourceID: string;
ProjectID: string;
/**
* @generated from protobuf field: api.ResourceType ResourceType = 2
*/
@@ -1506,123 +1476,6 @@ class StartWorkflowDeleteSiteResult$Type extends MessageType<StartWorkflowDelete
*/
export const StartWorkflowDeleteSiteResult = new StartWorkflowDeleteSiteResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCreateSiteRequest$Type extends MessageType<StartWorkflowCreateSiteRequest> {
constructor() {
super("api.StartWorkflowCreateSiteRequest", [
{ no: 1, name: "OrganisationId", kind: "scalar", localName: "OrganisationId", jsonName: "OrganisationId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "SiteId", kind: "scalar", localName: "SiteId", jsonName: "SiteId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "UserSub", kind: "scalar", localName: "UserSub", jsonName: "UserSub", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ManagerEmail", kind: "scalar", localName: "ManagerEmail", jsonName: "ManagerEmail", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId", "SiteId", "UserSub", "ManagerEmail"] } } });
}
create(value?: PartialMessage<StartWorkflowCreateSiteRequest>): StartWorkflowCreateSiteRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationId = "";
message.SiteId = "";
message.UserSub = "";
message.ManagerEmail = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateSiteRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateSiteRequest): StartWorkflowCreateSiteRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string OrganisationId */ 1:
message.OrganisationId = reader.string();
break;
case /* string SiteId */ 2:
message.SiteId = reader.string();
break;
case /* string UserSub */ 3:
message.UserSub = reader.string();
break;
case /* string ManagerEmail */ 4:
message.ManagerEmail = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: StartWorkflowCreateSiteRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationId = 1; */
if (message.OrganisationId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationId);
/* string SiteId = 2; */
if (message.SiteId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.SiteId);
/* string UserSub = 3; */
if (message.UserSub !== "")
writer.tag(3, WireType.LengthDelimited).string(message.UserSub);
/* string ManagerEmail = 4; */
if (message.ManagerEmail !== "")
writer.tag(4, WireType.LengthDelimited).string(message.ManagerEmail);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowCreateSiteRequest
*/
export const StartWorkflowCreateSiteRequest = new StartWorkflowCreateSiteRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCreateSiteResult$Type extends MessageType<StartWorkflowCreateSiteResult> {
constructor() {
super("api.StartWorkflowCreateSiteResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowCreateSiteResult>): StartWorkflowCreateSiteResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateSiteResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateSiteResult): StartWorkflowCreateSiteResult {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.WorkflowExecutionResult WorkflowExecution */ 1:
message.WorkflowExecution = WorkflowExecutionResult.internalBinaryRead(reader, reader.uint32(), options, message.WorkflowExecution);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: StartWorkflowCreateSiteResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.WorkflowExecutionResult WorkflowExecution = 1; */
if (message.WorkflowExecution)
WorkflowExecutionResult.internalBinaryWrite(message.WorkflowExecution, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowCreateSiteResult
*/
export const StartWorkflowCreateSiteResult = new StartWorkflowCreateSiteResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeletePartnerAppRequest$Type extends MessageType<StartWorkflowDeletePartnerAppRequest> {
constructor() {
super("api.StartWorkflowDeletePartnerAppRequest", [
@@ -4531,13 +4384,13 @@ export const StartWorkflowSweepResult = new StartWorkflowSweepResult$Type();
class StartWorkflowCreateClickhouseRequest$Type extends MessageType<StartWorkflowCreateClickhouseRequest> {
constructor() {
super("api.StartWorkflowCreateClickhouseRequest", [
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ },
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID", "ResourceType"] } } });
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "ResourceType"] } } });
}
create(value?: PartialMessage<StartWorkflowCreateClickhouseRequest>): StartWorkflowCreateClickhouseRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ResourceID = "";
message.ProjectID = "";
message.ResourceType = 0;
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateClickhouseRequest>(this, message, value);
@@ -4548,8 +4401,8 @@ class StartWorkflowCreateClickhouseRequest$Type extends MessageType<StartWorkflo
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ResourceID */ 1:
message.ResourceID = reader.string();
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.ResourceType ResourceType */ 2:
message.ResourceType = reader.int32();
@@ -4566,9 +4419,9 @@ class StartWorkflowCreateClickhouseRequest$Type extends MessageType<StartWorkflo
return message;
}
internalBinaryWrite(message: StartWorkflowCreateClickhouseRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ResourceID = 1; */
if (message.ResourceID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ResourceID);
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.ResourceType ResourceType = 2; */
if (message.ResourceType !== 0)
writer.tag(2, WireType.Varint).int32(message.ResourceType);
@@ -4632,12 +4485,12 @@ export const StartWorkflowCreateClickhouseResult = new StartWorkflowCreateClickh
class StartWorkflowDeleteClickhouseRequest$Type extends MessageType<StartWorkflowDeleteClickhouseRequest> {
constructor() {
super("api.StartWorkflowDeleteClickhouseRequest", [
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID"] } } });
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
}
create(value?: PartialMessage<StartWorkflowDeleteClickhouseRequest>): StartWorkflowDeleteClickhouseRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ResourceID = "";
message.ProjectID = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteClickhouseRequest>(this, message, value);
return message;
@@ -4647,8 +4500,8 @@ class StartWorkflowDeleteClickhouseRequest$Type extends MessageType<StartWorkflo
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ResourceID */ 1:
message.ResourceID = reader.string();
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
default:
let u = options.readUnknownField;
@@ -4662,9 +4515,9 @@ class StartWorkflowDeleteClickhouseRequest$Type extends MessageType<StartWorkflo
return message;
}
internalBinaryWrite(message: StartWorkflowDeleteClickhouseRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ResourceID = 1; */
if (message.ResourceID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ResourceID);
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4725,13 +4578,13 @@ export const StartWorkflowDeleteClickhouseResult = new StartWorkflowDeleteClickh
class StartWorkflowCleanCassandraRequest$Type extends MessageType<StartWorkflowCleanCassandraRequest> {
constructor() {
super("api.StartWorkflowCleanCassandraRequest", [
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ },
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID", "ResourceType"] } } });
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "ResourceType"] } } });
}
create(value?: PartialMessage<StartWorkflowCleanCassandraRequest>): StartWorkflowCleanCassandraRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ResourceID = "";
message.ProjectID = "";
message.ResourceType = 0;
if (value !== undefined)
reflectionMergePartial<StartWorkflowCleanCassandraRequest>(this, message, value);
@@ -4742,8 +4595,8 @@ class StartWorkflowCleanCassandraRequest$Type extends MessageType<StartWorkflowC
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ResourceID */ 1:
message.ResourceID = reader.string();
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.ResourceType ResourceType */ 2:
message.ResourceType = reader.int32();
@@ -4760,9 +4613,9 @@ class StartWorkflowCleanCassandraRequest$Type extends MessageType<StartWorkflowC
return message;
}
internalBinaryWrite(message: StartWorkflowCleanCassandraRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ResourceID = 1; */
if (message.ResourceID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ResourceID);
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.ResourceType ResourceType = 2; */
if (message.ResourceType !== 0)
writer.tag(2, WireType.Varint).int32(message.ResourceType);
@@ -4830,7 +4683,6 @@ export const WorkflowService = new ServiceType("api.WorkflowService", [
{ name: "StartWorkflowCreateProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow CreateProject" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCreateProjectRequest, O: StartWorkflowCreateProjectResult },
{ name: "StartWorkflowDeleteProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteProject" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteProjectRequest, O: StartWorkflowDeleteProjectResult },
{ name: "StartWorkflowDeleteCore", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteCore" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteCoreRequest, O: StartWorkflowDeleteCoreResult },
{ name: "StartWorkflowCreateSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow CreateSite" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCreateSiteRequest, O: StartWorkflowCreateSiteResult },
{ name: "StartWorkflowDeleteSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteSite" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteSiteRequest, O: StartWorkflowDeleteSiteResult },
{ name: "StartWorkflowDeletePartnerApp", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeletePartnerApp" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeletePartnerAppRequest, O: StartWorkflowDeletePartnerAppResult },
{ name: "StartWorkflowDeleteConnection", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteConnection" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteConnectionRequest, O: StartWorkflowDeleteConnectionResult },