Files
npm-core-sdk/appointmentInput.client.ts
2025-12-22 08:55:50 +00:00

291 lines
18 KiB
TypeScript

// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "appointmentInput.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { AppointmentInputAPI } from "./appointmentInput";
import type { AppointmentCustomFieldsUpdatedResponse } from "./appointmentInput";
import type { AppointmentCustomFieldsUpdatedRequest } from "./appointmentInput";
import type { AppointmentSanitisedResponse } from "./appointmentInput";
import type { AppointmentSanitisedRequest } from "./appointmentInput";
import type { AppointmentEmailsRemovedResponse } from "./appointmentInput";
import type { AppointmentEmailsRemovedRequest } from "./appointmentInput";
import type { AppointmentEmailsAddedResponse } from "./appointmentInput";
import type { AppointmentEmailsAddedRequest } from "./appointmentInput";
import type { AppointmentAttachmentRemovedResponse } from "./appointmentInput";
import type { AppointmentAttachmentRemovedRequest } from "./appointmentInput";
import type { AppointmentAttachmentAddedResponse } from "./appointmentInput";
import type { AppointmentAttachmentAddedRequest } from "./appointmentInput";
import type { AppointmentMetaDataUpdatedResponse } from "./appointmentInput";
import type { AppointmentMetaDataUpdatedRequest } from "./appointmentInput";
import type { AppointmentCarrierDepartedResponse } from "./appointmentInput";
import type { AppointmentCarrierDepartedRequest } from "./appointmentInput";
import type { AppointmentUnloadingCompletedResponse } from "./appointmentInput";
import type { AppointmentUnloadingCompletedRequest } from "./appointmentInput";
import type { AppointmentUnloadingStartedResponse } from "./appointmentInput";
import type { AppointmentUnloadingStartedRequest } from "./appointmentInput";
import type { AppointmentLoadingCompletedResponse } from "./appointmentInput";
import type { AppointmentLoadingCompletedRequest } from "./appointmentInput";
import type { AppointmentLoadingStartedResponse } from "./appointmentInput";
import type { AppointmentLoadingStartedRequest } from "./appointmentInput";
import type { AppointmentCarrierArrivedResponse } from "./appointmentInput";
import type { AppointmentCarrierArrivedRequest } from "./appointmentInput";
import type { AppointmentAllocationErrorResponse } from "./appointmentInput";
import type { AppointmentAllocationErrorRequest } from "./appointmentInput";
import type { AppointmentCarrierExpectedResponse } from "./appointmentInput";
import type { AppointmentCarrierExpectedRequest } from "./appointmentInput";
import type { AppointmentCarrierInformationUpdatedResponse } from "./appointmentInput";
import type { AppointmentCarrierInformationUpdatedRequest } from "./appointmentInput";
import type { AppointmentCommissionsUpdatedResponse } from "./appointmentInput";
import type { AppointmentCommissionsUpdatedRequest } from "./appointmentInput";
import type { AppointmentSlotUpdatedResponse } from "./appointmentInput";
import type { AppointmentSlotUpdatedRequest } from "./appointmentInput";
import type { AppointmentCanceledResponse } from "./appointmentInput";
import type { AppointmentCanceledRequest } from "./appointmentInput";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { AppointmentCreatedResponse } from "./appointmentInput";
import type { AppointmentCreatedRequest } from "./appointmentInput";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
*
* API-server services
*
* @generated from protobuf service api.AppointmentInputAPI
*/
export interface IAppointmentInputAPIClient {
/**
* @generated from protobuf rpc: Created
*/
created(input: AppointmentCreatedRequest, options?: RpcOptions): UnaryCall<AppointmentCreatedRequest, AppointmentCreatedResponse>;
/**
* @generated from protobuf rpc: Canceled
*/
canceled(input: AppointmentCanceledRequest, options?: RpcOptions): UnaryCall<AppointmentCanceledRequest, AppointmentCanceledResponse>;
/**
* @generated from protobuf rpc: SlotUpdated
*/
slotUpdated(input: AppointmentSlotUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentSlotUpdatedRequest, AppointmentSlotUpdatedResponse>;
/**
* @generated from protobuf rpc: CommissionsUpdated
*/
commissionsUpdated(input: AppointmentCommissionsUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCommissionsUpdatedRequest, AppointmentCommissionsUpdatedResponse>;
/**
* @generated from protobuf rpc: CarrierInformationUpdated
*/
carrierInformationUpdated(input: AppointmentCarrierInformationUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierInformationUpdatedRequest, AppointmentCarrierInformationUpdatedResponse>;
/**
* @generated from protobuf rpc: CarrierExpected
*/
carrierExpected(input: AppointmentCarrierExpectedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierExpectedRequest, AppointmentCarrierExpectedResponse>;
/**
* @generated from protobuf rpc: AllocationError
*/
allocationError(input: AppointmentAllocationErrorRequest, options?: RpcOptions): UnaryCall<AppointmentAllocationErrorRequest, AppointmentAllocationErrorResponse>;
/**
* @generated from protobuf rpc: CarrierArrived
*/
carrierArrived(input: AppointmentCarrierArrivedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierArrivedRequest, AppointmentCarrierArrivedResponse>;
/**
* @generated from protobuf rpc: LoadingStarted
*/
loadingStarted(input: AppointmentLoadingStartedRequest, options?: RpcOptions): UnaryCall<AppointmentLoadingStartedRequest, AppointmentLoadingStartedResponse>;
/**
* @generated from protobuf rpc: LoadingCompleted
*/
loadingCompleted(input: AppointmentLoadingCompletedRequest, options?: RpcOptions): UnaryCall<AppointmentLoadingCompletedRequest, AppointmentLoadingCompletedResponse>;
/**
* @generated from protobuf rpc: UnloadingStarted
*/
unloadingStarted(input: AppointmentUnloadingStartedRequest, options?: RpcOptions): UnaryCall<AppointmentUnloadingStartedRequest, AppointmentUnloadingStartedResponse>;
/**
* @generated from protobuf rpc: UnloadingCompleted
*/
unloadingCompleted(input: AppointmentUnloadingCompletedRequest, options?: RpcOptions): UnaryCall<AppointmentUnloadingCompletedRequest, AppointmentUnloadingCompletedResponse>;
/**
* @generated from protobuf rpc: CarrierDeparted
*/
carrierDeparted(input: AppointmentCarrierDepartedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierDepartedRequest, AppointmentCarrierDepartedResponse>;
/**
* @generated from protobuf rpc: MetaDataUpdated
*/
metaDataUpdated(input: AppointmentMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentMetaDataUpdatedRequest, AppointmentMetaDataUpdatedResponse>;
/**
* @generated from protobuf rpc: AttachmentAdded
*/
attachmentAdded(input: AppointmentAttachmentAddedRequest, options?: RpcOptions): UnaryCall<AppointmentAttachmentAddedRequest, AppointmentAttachmentAddedResponse>;
/**
* @generated from protobuf rpc: AttachmentRemoved
*/
attachmentRemoved(input: AppointmentAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<AppointmentAttachmentRemovedRequest, AppointmentAttachmentRemovedResponse>;
/**
* @generated from protobuf rpc: EmailsAdded
*/
emailsAdded(input: AppointmentEmailsAddedRequest, options?: RpcOptions): UnaryCall<AppointmentEmailsAddedRequest, AppointmentEmailsAddedResponse>;
/**
* @generated from protobuf rpc: EmailsRemoved
*/
emailsRemoved(input: AppointmentEmailsRemovedRequest, options?: RpcOptions): UnaryCall<AppointmentEmailsRemovedRequest, AppointmentEmailsRemovedResponse>;
/**
* @generated from protobuf rpc: Sanitised
*/
sanitised(input: AppointmentSanitisedRequest, options?: RpcOptions): UnaryCall<AppointmentSanitisedRequest, AppointmentSanitisedResponse>;
/**
* @generated from protobuf rpc: CustomFieldsUpdated
*/
customFieldsUpdated(input: AppointmentCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCustomFieldsUpdatedRequest, AppointmentCustomFieldsUpdatedResponse>;
}
/**
*
* API-server services
*
* @generated from protobuf service api.AppointmentInputAPI
*/
export class AppointmentInputAPIClient implements IAppointmentInputAPIClient, ServiceInfo {
typeName = AppointmentInputAPI.typeName;
methods = AppointmentInputAPI.methods;
options = AppointmentInputAPI.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: Created
*/
created(input: AppointmentCreatedRequest, options?: RpcOptions): UnaryCall<AppointmentCreatedRequest, AppointmentCreatedResponse> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCreatedRequest, AppointmentCreatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Canceled
*/
canceled(input: AppointmentCanceledRequest, options?: RpcOptions): UnaryCall<AppointmentCanceledRequest, AppointmentCanceledResponse> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCanceledRequest, AppointmentCanceledResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SlotUpdated
*/
slotUpdated(input: AppointmentSlotUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentSlotUpdatedRequest, AppointmentSlotUpdatedResponse> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentSlotUpdatedRequest, AppointmentSlotUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CommissionsUpdated
*/
commissionsUpdated(input: AppointmentCommissionsUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCommissionsUpdatedRequest, AppointmentCommissionsUpdatedResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCommissionsUpdatedRequest, AppointmentCommissionsUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CarrierInformationUpdated
*/
carrierInformationUpdated(input: AppointmentCarrierInformationUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierInformationUpdatedRequest, AppointmentCarrierInformationUpdatedResponse> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierInformationUpdatedRequest, AppointmentCarrierInformationUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CarrierExpected
*/
carrierExpected(input: AppointmentCarrierExpectedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierExpectedRequest, AppointmentCarrierExpectedResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierExpectedRequest, AppointmentCarrierExpectedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AllocationError
*/
allocationError(input: AppointmentAllocationErrorRequest, options?: RpcOptions): UnaryCall<AppointmentAllocationErrorRequest, AppointmentAllocationErrorResponse> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentAllocationErrorRequest, AppointmentAllocationErrorResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CarrierArrived
*/
carrierArrived(input: AppointmentCarrierArrivedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierArrivedRequest, AppointmentCarrierArrivedResponse> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierArrivedRequest, AppointmentCarrierArrivedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: LoadingStarted
*/
loadingStarted(input: AppointmentLoadingStartedRequest, options?: RpcOptions): UnaryCall<AppointmentLoadingStartedRequest, AppointmentLoadingStartedResponse> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentLoadingStartedRequest, AppointmentLoadingStartedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: LoadingCompleted
*/
loadingCompleted(input: AppointmentLoadingCompletedRequest, options?: RpcOptions): UnaryCall<AppointmentLoadingCompletedRequest, AppointmentLoadingCompletedResponse> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentLoadingCompletedRequest, AppointmentLoadingCompletedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UnloadingStarted
*/
unloadingStarted(input: AppointmentUnloadingStartedRequest, options?: RpcOptions): UnaryCall<AppointmentUnloadingStartedRequest, AppointmentUnloadingStartedResponse> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentUnloadingStartedRequest, AppointmentUnloadingStartedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UnloadingCompleted
*/
unloadingCompleted(input: AppointmentUnloadingCompletedRequest, options?: RpcOptions): UnaryCall<AppointmentUnloadingCompletedRequest, AppointmentUnloadingCompletedResponse> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentUnloadingCompletedRequest, AppointmentUnloadingCompletedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CarrierDeparted
*/
carrierDeparted(input: AppointmentCarrierDepartedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierDepartedRequest, AppointmentCarrierDepartedResponse> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierDepartedRequest, AppointmentCarrierDepartedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: MetaDataUpdated
*/
metaDataUpdated(input: AppointmentMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentMetaDataUpdatedRequest, AppointmentMetaDataUpdatedResponse> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentMetaDataUpdatedRequest, AppointmentMetaDataUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentAdded
*/
attachmentAdded(input: AppointmentAttachmentAddedRequest, options?: RpcOptions): UnaryCall<AppointmentAttachmentAddedRequest, AppointmentAttachmentAddedResponse> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentAttachmentAddedRequest, AppointmentAttachmentAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentRemoved
*/
attachmentRemoved(input: AppointmentAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<AppointmentAttachmentRemovedRequest, AppointmentAttachmentRemovedResponse> {
const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentAttachmentRemovedRequest, AppointmentAttachmentRemovedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: EmailsAdded
*/
emailsAdded(input: AppointmentEmailsAddedRequest, options?: RpcOptions): UnaryCall<AppointmentEmailsAddedRequest, AppointmentEmailsAddedResponse> {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentEmailsAddedRequest, AppointmentEmailsAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: EmailsRemoved
*/
emailsRemoved(input: AppointmentEmailsRemovedRequest, options?: RpcOptions): UnaryCall<AppointmentEmailsRemovedRequest, AppointmentEmailsRemovedResponse> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentEmailsRemovedRequest, AppointmentEmailsRemovedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Sanitised
*/
sanitised(input: AppointmentSanitisedRequest, options?: RpcOptions): UnaryCall<AppointmentSanitisedRequest, AppointmentSanitisedResponse> {
const method = this.methods[18], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentSanitisedRequest, AppointmentSanitisedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CustomFieldsUpdated
*/
customFieldsUpdated(input: AppointmentCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCustomFieldsUpdatedRequest, AppointmentCustomFieldsUpdatedResponse> {
const method = this.methods[19], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCustomFieldsUpdatedRequest, AppointmentCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
}
}