You've already forked npm-core-sdk
Latest generation
This commit is contained in:
72
site.ts
72
site.ts
@@ -1130,9 +1130,9 @@ class Site$Type extends MessageType<Site> {
|
||||
{ no: 16, name: "InstructionDocuments", kind: "message", localName: "InstructionDocuments", jsonName: "InstructionDocuments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Document },
|
||||
{ no: 17, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformation },
|
||||
{ no: 18, name: "RoundedPeriodInMinutes", kind: "scalar", localName: "RoundedPeriodInMinutes", jsonName: "RoundedPeriodInMinutes", T: 13 /*ScalarType.UINT32*/ },
|
||||
{ no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
|
||||
{ no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
|
||||
{ no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } },
|
||||
{ no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "validate.rules": { string: { minLen: "1", tzData: true } } } },
|
||||
{ no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" }, "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } },
|
||||
{ no: 22, name: "status", kind: "enum", T: () => ["api.SiteStatusEnum", SiteStatusEnum], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 23, name: "PrefixAppointmentID", kind: "scalar", localName: "PrefixAppointmentID", jsonName: "PrefixAppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "5" } } } }
|
||||
]);
|
||||
@@ -1743,10 +1743,10 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
|
||||
{ no: 15, name: "Instruction", kind: "message", localName: "Instruction", jsonName: "Instruction", T: () => Instruction },
|
||||
{ no: 17, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformation },
|
||||
{ no: 18, name: "RoundedPeriodInMinutes", kind: "scalar", localName: "RoundedPeriodInMinutes", jsonName: "RoundedPeriodInMinutes", T: 13 /*ScalarType.UINT32*/, options: { "validate.rules": { uint32: { gt: 0 } } } },
|
||||
{ no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
|
||||
{ no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
|
||||
{ no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } },
|
||||
{ no: 22, name: "PrefixAppointmentID", kind: "scalar", localName: "PrefixAppointmentID", jsonName: "PrefixAppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "5" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } }
|
||||
{ no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "validate.rules": { string: { minLen: "1", tzData: true } } } },
|
||||
{ no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" }, "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } },
|
||||
{ no: 22, name: "PrefixAppointmentID", kind: "scalar", localName: "PrefixAppointmentID", jsonName: "PrefixAppointmentID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" }, "validate.rules": { string: { maxLen: "5" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateSiteRequest>): UpdateSiteRequest {
|
||||
@@ -2249,7 +2249,7 @@ class UploadInstructionDocumentRequest$Type extends MessageType<UploadInstructio
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "File", kind: "message", localName: "File", jsonName: "File", T: () => FileDataRequest },
|
||||
{ no: 3, name: "DocID", kind: "scalar", localName: "DocID", jsonName: "DocID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } },
|
||||
{ no: 4, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" }, "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } },
|
||||
{ no: 5, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, name: "AckRequired", kind: "scalar", localName: "AckRequired", jsonName: "AckRequired", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "DocID", "LanguageCodeISO6391"] } } });
|
||||
@@ -2835,7 +2835,7 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
{ 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: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
|
||||
{ no: 8, 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: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ no: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } }
|
||||
@@ -2954,7 +2954,7 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointment
|
||||
{ no: 5, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
|
||||
{ no: 6, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformationWithValue },
|
||||
{ no: 7, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
|
||||
{ no: 8, 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: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ no: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ },
|
||||
@@ -3087,7 +3087,7 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
|
||||
{ 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: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
|
||||
{ no: 8, 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: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ no: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ },
|
||||
@@ -3214,7 +3214,7 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppoi
|
||||
{ no: 5, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
|
||||
{ no: 6, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformationWithValue },
|
||||
{ no: 7, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
|
||||
{ no: 8, 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: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ no: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ },
|
||||
@@ -4020,28 +4020,28 @@ export const DeleteSiteInDBResult = new DeleteSiteInDBResult$Type();
|
||||
* @generated ServiceType for protobuf service api.SiteService
|
||||
*/
|
||||
export const SiteService = new ServiceType("api.SiteService", [
|
||||
{ name: "Create", options: { "api.rscType": "Organisation", "api.roles": "", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Create a site" }, "google.api.method_visibility": { restriction: "SDK" } }, I: CreateSiteRequest, O: CreateSiteResponse },
|
||||
{ name: "Get", options: { "api.rscType": "Site", "api.roles": "Platform.Site", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get a site" }, "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteRequest, O: GetSiteResponse },
|
||||
{ name: "List", options: { "api.rscType": "Organisation", "api.roles": "Platform.Site", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List site of an organisation" }, "google.api.method_visibility": { restriction: "SDK" } }, I: ListSiteRequest, O: ListSiteResponse },
|
||||
{ name: "Update", options: { "api.rscType": "Site", "api.roles": "", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update a site" }, "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSiteRequest, O: UpdateSiteResponse },
|
||||
{ name: "Delete", options: { "api.rscType": "Organisation", "api.roles": "", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete a site" }, "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteSiteRequest, O: DeleteSiteResponse },
|
||||
{ name: "UploadPhoto", options: { "api.rscType": "Site", "api.roles": "", "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" }, "google.api.method_visibility": { restriction: "SDK" } }, I: UploadPhotoRequest, O: UploadPhotoResponse },
|
||||
{ name: "DeletePhoto", options: { "api.rscType": "Site", "api.roles": "", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the photo of the site." }, "google.api.method_visibility": { restriction: "SDK" } }, I: DeletePhotoRequest, O: DeletePhotoResponse },
|
||||
{ name: "UploadInstructionDocument", options: { "api.rscType": "Site", "api.roles": "", "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" }, "google.api.method_visibility": { restriction: "SDK" } }, I: UploadInstructionDocumentRequest, O: UploadInstructionDocumentResponse },
|
||||
{ name: "DeleteInstructionDocument", options: { "api.rscType": "Site", "api.roles": "", "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" }, "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteInstructionDocumentRequest, O: DeleteInstructionDocumentResponse },
|
||||
{ name: "SuggestID", options: { "api.rscType": "Organisation", "api.roles": "", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Suggest a site ID" }, "google.api.method_visibility": { restriction: "SDK" } }, I: SuggestSiteIDRequest, O: SuggestSiteIDResult },
|
||||
{ name: "GetAvailableSlots", options: { "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get available slots to book an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" } }, I: GetAvailableSlotsRequest, O: GetAvailableSlotsResponse },
|
||||
{ name: "GetAllSlots", options: { "api.rscType": "Site", "api.roles": "", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get all slots to book an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" } }, I: GetAvailableSlotsRequest, O: GetAllSlotsResponse },
|
||||
{ name: "ListUserSites", options: { "api.rscType": "Platform", "api.roles": "Platform.Site", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List sites authorized for a user according to its permissions." }, "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserSitesRequest, O: ListUserSitesResponse },
|
||||
{ name: "BookAppointment", options: { "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site, if the requested slots are available." }, "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentRequest, O: BookAppointmentResponse },
|
||||
{ name: "ForceBookAppointment", options: { "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available." }, "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentRequest, O: BookAppointmentResponse },
|
||||
{ name: "WMSForceBookAppointment", options: { "api.rscType": "Site", "api.roles": "", "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." }, "google.api.method_visibility": { restriction: "SDK" } }, I: WMSBookAppointmentRequest, O: BookAppointmentResponse },
|
||||
{ name: "BookAppointmentNoReference", options: { "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site, if the requested slots are available." }, "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
|
||||
{ name: "ForceBookAppointmentNoReference", options: { "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available." }, "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
|
||||
{ name: "WMSForceBookAppointmentNoReference", options: { "api.rscType": "Site", "api.roles": "", "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." }, "google.api.method_visibility": { restriction: "SDK" } }, I: WMSBookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
|
||||
{ name: "CancelAppointment", options: { "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Cancel an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" } }, I: CancelAppointmentRequest, O: CancelAppointmentResponse },
|
||||
{ name: "UpdateSlotAppointment", options: { "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update slot on an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSlotAppointmentRequest, O: UpdateSlotAppointmentResponse },
|
||||
{ name: "UpdateCommissionsAppointment", options: { "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update slot and commissions on an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateCommissionsAppointmentRequest, O: UpdateCommissionsAppointmentResponse },
|
||||
{ name: "UpdateStatus", options: { "api.rscType": "Site", "api.roles": "Platform.Site", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update site status" }, "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSiteStatusRequest, O: UpdateSiteStatusResult },
|
||||
{ name: "DeleteSiteInDB", options: { "api.rscType": "Platform", "api.roles": "Platform.Site-Deletion", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the Site in database" }, "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" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: CreateSiteRequest, O: CreateSiteResponse },
|
||||
{ name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get a site" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "Platform.Site" }, I: GetSiteRequest, O: GetSiteResponse },
|
||||
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List site of an organisation" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Site", "api.moduleID": "appointment-scheduling" }, I: ListSiteRequest, O: ListSiteResponse },
|
||||
{ name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update a site" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "" }, I: UpdateSiteRequest, O: UpdateSiteResponse },
|
||||
{ name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete a site" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, 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" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "" }, I: UploadPhotoRequest, O: UploadPhotoResponse },
|
||||
{ name: "DeletePhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the photo of the site." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "" }, 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" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "" }, 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" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "" }, I: DeleteInstructionDocumentRequest, O: DeleteInstructionDocumentResponse },
|
||||
{ name: "SuggestID", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Suggest a site ID" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Site" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "" }, I: WMSBookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
|
||||
{ name: "CancelAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Cancel an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling" }, 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." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: UpdateCommissionsAppointmentRequest, O: UpdateCommissionsAppointmentResponse },
|
||||
{ name: "UpdateStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update site status" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "Platform.Site" }, I: UpdateSiteStatusRequest, O: UpdateSiteStatusResult },
|
||||
{ name: "DeleteSiteInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the Site in database" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Deletion" }, I: DeleteSiteInDBRequest, O: DeleteSiteInDBResult }
|
||||
], { "api.k8sService": "core-site" });
|
||||
|
||||
Reference in New Issue
Block a user