Latest generation

This commit is contained in:
ci core model
2025-07-02 13:18:37 +00:00
parent 3c06e9e3cd
commit e0d318980d
4 changed files with 221 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { SiteService } from "./site";
import type { CancelAppointmentResponse } from "./site";
import type { CancelAppointmentRequest } from "./site";
import type { WMSBookAppointmentRequest } from "./site";
import type { BookAppointmentResponse } from "./site";
import type { BookAppointmentRequest } from "./site";
import type { ListUserSitesResponse } from "./site";
@@ -59,6 +60,10 @@ export interface ISiteServiceClient {
* @generated from protobuf rpc: GetAvailableSlots
*/
getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAvailableSlotsResponse>;
/**
* @generated from protobuf rpc: GetAllSlots
*/
getAllSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAvailableSlotsResponse>;
/**
* @generated from protobuf rpc: ListUserSites
*/
@@ -71,6 +76,10 @@ export interface ISiteServiceClient {
* @generated from protobuf rpc: ForceBookAppointment
*/
forceBookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall<BookAppointmentRequest, BookAppointmentResponse>;
/**
* @generated from protobuf rpc: WMSForceBookAppointment
*/
wMSForceBookAppointment(input: WMSBookAppointmentRequest, options?: RpcOptions): UnaryCall<WMSBookAppointmentRequest, BookAppointmentResponse>;
/**
* @generated from protobuf rpc: CancelAppointment
*/
@@ -134,32 +143,46 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
const method = this.methods[6], 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[7], 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[7], opt = this._transport.mergeOptions(options);
const method = this.methods[8], 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[8], opt = this._transport.mergeOptions(options);
const method = this.methods[9], 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[9], opt = this._transport.mergeOptions(options);
const method = this.methods[10], 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[11], 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[10], opt = this._transport.mergeOptions(options);
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<CancelAppointmentRequest, CancelAppointmentResponse>("unary", this._transport, method, opt, input);
}
}