Latest generation

This commit is contained in:
ci core model
2025-07-11 11:59:36 +00:00
parent 8226ace79e
commit 728184bc91
3 changed files with 151 additions and 57 deletions

View File

@@ -23,6 +23,8 @@ import type { DeleteInstructionDocumentResponse } from "./site";
import type { DeleteInstructionDocumentRequest } from "./site";
import type { UploadInstructionDocumentResponse } from "./site";
import type { UploadInstructionDocumentRequest } from "./site";
import type { UploadPhotoResponse } from "./site";
import type { UploadPhotoRequest } from "./site";
import type { DeleteSiteResponse } from "./site";
import type { DeleteSiteRequest } from "./site";
import type { UpdateSiteResponse } from "./site";
@@ -60,17 +62,10 @@ export interface ISiteServiceClient {
* @generated from protobuf rpc: Delete
*/
delete(input: DeleteSiteRequest, options?: RpcOptions): UnaryCall<DeleteSiteRequest, DeleteSiteResponse>;
// rpc UploadPhoto (UploadPhotoRequest) returns (UploadPhotoResponse) {
// option (rscType) = "Site";
// option (roles) = "";
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
// 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"
// summary: ""
// tags: "Site"
// };
// option (google.api.method_visibility).restriction = "SDK";
// }
/**
* @generated from protobuf rpc: UploadPhoto
*/
uploadPhoto(input: UploadPhotoRequest, options?: RpcOptions): UnaryCall<UploadPhotoRequest, UploadPhotoResponse>;
/**
* @generated from protobuf rpc: UploadInstructionDocument
*/
@@ -164,99 +159,95 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSiteRequest, DeleteSiteResponse>("unary", this._transport, method, opt, input);
}
// rpc UploadPhoto (UploadPhotoRequest) returns (UploadPhotoResponse) {
// option (rscType) = "Site";
// option (roles) = "";
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
// 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"
// summary: ""
// tags: "Site"
// };
// option (google.api.method_visibility).restriction = "SDK";
// }
/**
* @generated from protobuf rpc: UploadPhoto
*/
uploadPhoto(input: UploadPhotoRequest, options?: RpcOptions): UnaryCall<UploadPhotoRequest, UploadPhotoResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<UploadPhotoRequest, UploadPhotoResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UploadInstructionDocument
*/
uploadInstructionDocument(input: UploadInstructionDocumentRequest, options?: RpcOptions): UnaryCall<UploadInstructionDocumentRequest, UploadInstructionDocumentResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<UploadInstructionDocumentRequest, UploadInstructionDocumentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteInstructionDocument
*/
deleteInstructionDocument(input: DeleteInstructionDocumentRequest, options?: RpcOptions): UnaryCall<DeleteInstructionDocumentRequest, DeleteInstructionDocumentResponse> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteInstructionDocumentRequest, DeleteInstructionDocumentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SuggestID
*/
suggestID(input: SuggestSiteIDRequest, options?: RpcOptions): UnaryCall<SuggestSiteIDRequest, SuggestSiteIDResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<SuggestSiteIDRequest, SuggestSiteIDResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetAvailableSlots
*/
getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAvailableSlotsResponse> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<GetAvailableSlotsRequest, GetAvailableSlotsResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetAllSlots
*/
getAllSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAvailableSlotsResponse> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<GetAvailableSlotsRequest, GetAvailableSlotsResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListUserSites
*/
listUserSites(input: ListUserSitesRequest, options?: RpcOptions): UnaryCall<ListUserSitesRequest, ListUserSitesResponse> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUserSitesRequest, ListUserSitesResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: BookAppointment
*/
bookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall<BookAppointmentRequest, BookAppointmentResponse> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<BookAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ForceBookAppointment
*/
forceBookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall<BookAppointmentRequest, BookAppointmentResponse> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<BookAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: WMSForceBookAppointment
*/
wMSForceBookAppointment(input: WMSBookAppointmentRequest, options?: RpcOptions): UnaryCall<WMSBookAppointmentRequest, BookAppointmentResponse> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<WMSBookAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CancelAppointment
*/
cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<CancelAppointmentRequest, CancelAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateStatus
*/
updateStatus(input: UpdateSiteStatusRequest, options?: RpcOptions): UnaryCall<UpdateSiteStatusRequest, UpdateSiteStatusResult> {
const method = this.methods[15], opt = this._transport.mergeOptions(options);
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateSiteStatusRequest, UpdateSiteStatusResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteSiteInDB
*/
deleteSiteInDB(input: DeleteSiteInDBRequest, options?: RpcOptions): UnaryCall<DeleteSiteInDBRequest, DeleteSiteInDBResult> {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSiteInDBRequest, DeleteSiteInDBResult>("unary", this._transport, method, opt, input);
}
}