Latest generation

This commit is contained in:
ci core model
2025-10-03 14:29:18 +00:00
parent 49115fd1f1
commit 97566d4520
35 changed files with 1176 additions and 7397 deletions

View File

@@ -4,10 +4,8 @@
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { SiteService } from "./site";
import type { DeleteSiteInDBResult } from "./site";
import type { DeleteSiteInDBRequest } from "./site";
import type { UpdateSiteStatusResult } from "./site";
import type { UpdateSiteStatusRequest } from "./site";
import type { DeleteSettingsResult } from "./site";
import type { DeleteSettingsRequest } from "./site";
import type { UpdateCommissionsAppointmentResponse } from "./site";
import type { UpdateCommissionsAppointmentRequest } from "./site";
import type { UpdateSlotAppointmentResponse } from "./site";
@@ -34,17 +32,15 @@ import type { DeletePhotoResponse } from "./site";
import type { DeletePhotoRequest } 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";
import type { UpdateSiteRequest } from "./site";
import type { ListSiteResponse } from "./site";
import type { ListSiteRequest } from "./site";
import type { GetSiteResponse } from "./site";
import type { GetSiteRequest } from "./site";
import type { UpdateSettingsResponse } from "./site";
import type { UpdateSettingsRequest } from "./site";
import type { ListSettingsResponse } from "./site";
import type { ListSettingsRequest } from "./site";
import type { GetSettingsResponse } from "./site";
import type { GetSettingsRequest } from "./site";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { CreateSiteResponse } from "./site";
import type { CreateSiteRequest } from "./site";
import type { CreateSettingsResponse } from "./site";
import type { CreateSettingsRequest } from "./site";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
@@ -52,25 +48,21 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/
export interface ISiteServiceClient {
/**
* @generated from protobuf rpc: Create
* @generated from protobuf rpc: CreateSettings
*/
create(input: CreateSiteRequest, options?: RpcOptions): UnaryCall<CreateSiteRequest, CreateSiteResponse>;
createSettings(input: CreateSettingsRequest, options?: RpcOptions): UnaryCall<CreateSettingsRequest, CreateSettingsResponse>;
/**
* @generated from protobuf rpc: Get
* @generated from protobuf rpc: GetSettings
*/
get(input: GetSiteRequest, options?: RpcOptions): UnaryCall<GetSiteRequest, GetSiteResponse>;
getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse>;
/**
* @generated from protobuf rpc: List
* @generated from protobuf rpc: ListSettings
*/
list(input: ListSiteRequest, options?: RpcOptions): UnaryCall<ListSiteRequest, ListSiteResponse>;
listSettings(input: ListSettingsRequest, options?: RpcOptions): UnaryCall<ListSettingsRequest, ListSettingsResponse>;
/**
* @generated from protobuf rpc: Update
* @generated from protobuf rpc: UpdateSettings
*/
update(input: UpdateSiteRequest, options?: RpcOptions): UnaryCall<UpdateSiteRequest, UpdateSiteResponse>;
/**
* @generated from protobuf rpc: Delete
*/
delete(input: DeleteSiteRequest, options?: RpcOptions): UnaryCall<DeleteSiteRequest, DeleteSiteResponse>;
updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall<UpdateSettingsRequest, UpdateSettingsResponse>;
/**
* @generated from protobuf rpc: UploadPhoto
*/
@@ -140,13 +132,9 @@ export interface ISiteServiceClient {
*/
updateCommissionsAppointment(input: UpdateCommissionsAppointmentRequest, options?: RpcOptions): UnaryCall<UpdateCommissionsAppointmentRequest, UpdateCommissionsAppointmentResponse>;
/**
* @generated from protobuf rpc: UpdateStatus
* @generated from protobuf rpc: DeleteSettings
*/
updateStatus(input: UpdateSiteStatusRequest, options?: RpcOptions): UnaryCall<UpdateSiteStatusRequest, UpdateSiteStatusResult>;
/**
* @generated from protobuf rpc: DeleteSiteInDB
*/
deleteSiteInDB(input: DeleteSiteInDBRequest, options?: RpcOptions): UnaryCall<DeleteSiteInDBRequest, DeleteSiteInDBResult>;
deleteSettings(input: DeleteSettingsRequest, options?: RpcOptions): UnaryCall<DeleteSettingsRequest, DeleteSettingsResult>;
}
/**
* @generated from protobuf service api.SiteService
@@ -158,171 +146,157 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: Create
* @generated from protobuf rpc: CreateSettings
*/
create(input: CreateSiteRequest, options?: RpcOptions): UnaryCall<CreateSiteRequest, CreateSiteResponse> {
createSettings(input: CreateSettingsRequest, options?: RpcOptions): UnaryCall<CreateSettingsRequest, CreateSettingsResponse> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateSiteRequest, CreateSiteResponse>("unary", this._transport, method, opt, input);
return stackIntercept<CreateSettingsRequest, CreateSettingsResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Get
* @generated from protobuf rpc: GetSettings
*/
get(input: GetSiteRequest, options?: RpcOptions): UnaryCall<GetSiteRequest, GetSiteResponse> {
getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<GetSiteRequest, GetSiteResponse>("unary", this._transport, method, opt, input);
return stackIntercept<GetSettingsRequest, GetSettingsResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: List
* @generated from protobuf rpc: ListSettings
*/
list(input: ListSiteRequest, options?: RpcOptions): UnaryCall<ListSiteRequest, ListSiteResponse> {
listSettings(input: ListSettingsRequest, options?: RpcOptions): UnaryCall<ListSettingsRequest, ListSettingsResponse> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<ListSiteRequest, ListSiteResponse>("unary", this._transport, method, opt, input);
return stackIntercept<ListSettingsRequest, ListSettingsResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Update
* @generated from protobuf rpc: UpdateSettings
*/
update(input: UpdateSiteRequest, options?: RpcOptions): UnaryCall<UpdateSiteRequest, UpdateSiteResponse> {
updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall<UpdateSettingsRequest, UpdateSettingsResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateSiteRequest, UpdateSiteResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Delete
*/
delete(input: DeleteSiteRequest, options?: RpcOptions): UnaryCall<DeleteSiteRequest, DeleteSiteResponse> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSiteRequest, DeleteSiteResponse>("unary", this._transport, method, opt, input);
return stackIntercept<UpdateSettingsRequest, UpdateSettingsResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UploadPhoto
*/
uploadPhoto(input: UploadPhotoRequest, options?: RpcOptions): UnaryCall<UploadPhotoRequest, UploadPhotoResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<UploadPhotoRequest, UploadPhotoResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeletePhoto
*/
deletePhoto(input: DeletePhotoRequest, options?: RpcOptions): UnaryCall<DeletePhotoRequest, DeletePhotoResponse> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<DeletePhotoRequest, DeletePhotoResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UploadInstructionDocument
*/
uploadInstructionDocument(input: UploadInstructionDocumentRequest, options?: RpcOptions): UnaryCall<UploadInstructionDocumentRequest, UploadInstructionDocumentResponse> {
const method = this.methods[7], 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[8], 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[9], 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[10], 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, GetAllSlotsResponse> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<GetAvailableSlotsRequest, GetAllSlotsResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListUserSites
*/
listUserSites(input: ListUserSitesRequest, options?: RpcOptions): UnaryCall<ListUserSitesRequest, ListUserSitesResponse> {
const method = this.methods[12], 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[13], 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[14], 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[15], 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: BookAppointmentNoReference
*/
bookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<BookAppointmentNoReferenceRequest, BookAppointmentResponse> {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<BookAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ForceBookAppointmentNoReference
*/
forceBookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<BookAppointmentNoReferenceRequest, BookAppointmentResponse> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<BookAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: WMSForceBookAppointmentNoReference
*/
wMSForceBookAppointmentNoReference(input: WMSBookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<WMSBookAppointmentNoReferenceRequest, BookAppointmentResponse> {
const method = this.methods[18], opt = this._transport.mergeOptions(options);
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<WMSBookAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CancelAppointment
*/
cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse> {
const method = this.methods[19], opt = this._transport.mergeOptions(options);
const method = this.methods[18], opt = this._transport.mergeOptions(options);
return stackIntercept<CancelAppointmentRequest, CancelAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateSlotAppointment
*/
updateSlotAppointment(input: UpdateSlotAppointmentRequest, options?: RpcOptions): UnaryCall<UpdateSlotAppointmentRequest, UpdateSlotAppointmentResponse> {
const method = this.methods[20], opt = this._transport.mergeOptions(options);
const method = this.methods[19], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateSlotAppointmentRequest, UpdateSlotAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateCommissionsAppointment
*/
updateCommissionsAppointment(input: UpdateCommissionsAppointmentRequest, options?: RpcOptions): UnaryCall<UpdateCommissionsAppointmentRequest, UpdateCommissionsAppointmentResponse> {
const method = this.methods[21], opt = this._transport.mergeOptions(options);
const method = this.methods[20], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateCommissionsAppointmentRequest, UpdateCommissionsAppointmentResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateStatus
* @generated from protobuf rpc: DeleteSettings
*/
updateStatus(input: UpdateSiteStatusRequest, options?: RpcOptions): UnaryCall<UpdateSiteStatusRequest, UpdateSiteStatusResult> {
const method = this.methods[22], 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[23], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSiteInDBRequest, DeleteSiteInDBResult>("unary", this._transport, method, opt, input);
deleteSettings(input: DeleteSettingsRequest, options?: RpcOptions): UnaryCall<DeleteSettingsRequest, DeleteSettingsResult> {
const method = this.methods[21], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSettingsRequest, DeleteSettingsResult>("unary", this._transport, method, opt, input);
}
}