Files
npm-core-sdk/appointmentInput.client.ts
2025-05-02 08:55:56 +00:00

161 lines
11 KiB
TypeScript

// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
// @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 { AppointmentCarrierDepartedResponse } from "./appointmentInput";
import type { AppointmentCarrierDepartedRequest } from "./appointmentInput";
import type { AppointmentReceptionUnloadedResponse } from "./appointmentInput";
import type { AppointmentReceptionUnloadedRequest } from "./appointmentInput";
import type { AppointmentReceptionStartedResponse } from "./appointmentInput";
import type { AppointmentReceptionStartedRequest } from "./appointmentInput";
import type { AppointmentExpeditionLoadedResponse } from "./appointmentInput";
import type { AppointmentExpeditionLoadedRequest } from "./appointmentInput";
import type { AppointmentExpeditionStartedResponse } from "./appointmentInput";
import type { AppointmentExpeditionStartedRequest } from "./appointmentInput";
import type { AppointmentCarrierArrivedResponse } from "./appointmentInput";
import type { AppointmentCarrierArrivedRequest } from "./appointmentInput";
import type { AppointmentCarrierExpectedResponse } from "./appointmentInput";
import type { AppointmentCarrierExpectedRequest } from "./appointmentInput";
import type { AppointmentCarrierInformationUpdatedResponse } from "./appointmentInput";
import type { AppointmentCarrierInformationUpdatedRequest } 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(api.AppointmentCreatedRequest) returns (api.AppointmentCreatedResponse);
*/
created(input: AppointmentCreatedRequest, options?: RpcOptions): UnaryCall<AppointmentCreatedRequest, AppointmentCreatedResponse>;
/**
* @generated from protobuf rpc: Canceled(api.AppointmentCanceledRequest) returns (api.AppointmentCanceledResponse);
*/
canceled(input: AppointmentCanceledRequest, options?: RpcOptions): UnaryCall<AppointmentCanceledRequest, AppointmentCanceledResponse>;
/**
* @generated from protobuf rpc: CarrierInformationUpdated(api.AppointmentCarrierInformationUpdatedRequest) returns (api.AppointmentCarrierInformationUpdatedResponse);
*/
carrierInformationUpdated(input: AppointmentCarrierInformationUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierInformationUpdatedRequest, AppointmentCarrierInformationUpdatedResponse>;
/**
* @generated from protobuf rpc: CarrierExpected(api.AppointmentCarrierExpectedRequest) returns (api.AppointmentCarrierExpectedResponse);
*/
carrierExpected(input: AppointmentCarrierExpectedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierExpectedRequest, AppointmentCarrierExpectedResponse>;
/**
* @generated from protobuf rpc: CarrierArrived(api.AppointmentCarrierArrivedRequest) returns (api.AppointmentCarrierArrivedResponse);
*/
carrierArrived(input: AppointmentCarrierArrivedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierArrivedRequest, AppointmentCarrierArrivedResponse>;
/**
* @generated from protobuf rpc: ExpeditionStarted(api.AppointmentExpeditionStartedRequest) returns (api.AppointmentExpeditionStartedResponse);
*/
expeditionStarted(input: AppointmentExpeditionStartedRequest, options?: RpcOptions): UnaryCall<AppointmentExpeditionStartedRequest, AppointmentExpeditionStartedResponse>;
/**
* @generated from protobuf rpc: ExpeditionLoaded(api.AppointmentExpeditionLoadedRequest) returns (api.AppointmentExpeditionLoadedResponse);
*/
expeditionLoaded(input: AppointmentExpeditionLoadedRequest, options?: RpcOptions): UnaryCall<AppointmentExpeditionLoadedRequest, AppointmentExpeditionLoadedResponse>;
/**
* @generated from protobuf rpc: ReceptionStarted(api.AppointmentReceptionStartedRequest) returns (api.AppointmentReceptionStartedResponse);
*/
receptionStarted(input: AppointmentReceptionStartedRequest, options?: RpcOptions): UnaryCall<AppointmentReceptionStartedRequest, AppointmentReceptionStartedResponse>;
/**
* @generated from protobuf rpc: ReceptionUnloaded(api.AppointmentReceptionUnloadedRequest) returns (api.AppointmentReceptionUnloadedResponse);
*/
receptionUnloaded(input: AppointmentReceptionUnloadedRequest, options?: RpcOptions): UnaryCall<AppointmentReceptionUnloadedRequest, AppointmentReceptionUnloadedResponse>;
/**
* @generated from protobuf rpc: CarrierDeparted(api.AppointmentCarrierDepartedRequest) returns (api.AppointmentCarrierDepartedResponse);
*/
carrierDeparted(input: AppointmentCarrierDepartedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierDepartedRequest, AppointmentCarrierDepartedResponse>;
}
/**
*
* 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(api.AppointmentCreatedRequest) returns (api.AppointmentCreatedResponse);
*/
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(api.AppointmentCanceledRequest) returns (api.AppointmentCanceledResponse);
*/
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: CarrierInformationUpdated(api.AppointmentCarrierInformationUpdatedRequest) returns (api.AppointmentCarrierInformationUpdatedResponse);
*/
carrierInformationUpdated(input: AppointmentCarrierInformationUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierInformationUpdatedRequest, AppointmentCarrierInformationUpdatedResponse> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierInformationUpdatedRequest, AppointmentCarrierInformationUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CarrierExpected(api.AppointmentCarrierExpectedRequest) returns (api.AppointmentCarrierExpectedResponse);
*/
carrierExpected(input: AppointmentCarrierExpectedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierExpectedRequest, AppointmentCarrierExpectedResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierExpectedRequest, AppointmentCarrierExpectedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CarrierArrived(api.AppointmentCarrierArrivedRequest) returns (api.AppointmentCarrierArrivedResponse);
*/
carrierArrived(input: AppointmentCarrierArrivedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierArrivedRequest, AppointmentCarrierArrivedResponse> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierArrivedRequest, AppointmentCarrierArrivedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ExpeditionStarted(api.AppointmentExpeditionStartedRequest) returns (api.AppointmentExpeditionStartedResponse);
*/
expeditionStarted(input: AppointmentExpeditionStartedRequest, options?: RpcOptions): UnaryCall<AppointmentExpeditionStartedRequest, AppointmentExpeditionStartedResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentExpeditionStartedRequest, AppointmentExpeditionStartedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ExpeditionLoaded(api.AppointmentExpeditionLoadedRequest) returns (api.AppointmentExpeditionLoadedResponse);
*/
expeditionLoaded(input: AppointmentExpeditionLoadedRequest, options?: RpcOptions): UnaryCall<AppointmentExpeditionLoadedRequest, AppointmentExpeditionLoadedResponse> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentExpeditionLoadedRequest, AppointmentExpeditionLoadedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ReceptionStarted(api.AppointmentReceptionStartedRequest) returns (api.AppointmentReceptionStartedResponse);
*/
receptionStarted(input: AppointmentReceptionStartedRequest, options?: RpcOptions): UnaryCall<AppointmentReceptionStartedRequest, AppointmentReceptionStartedResponse> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentReceptionStartedRequest, AppointmentReceptionStartedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ReceptionUnloaded(api.AppointmentReceptionUnloadedRequest) returns (api.AppointmentReceptionUnloadedResponse);
*/
receptionUnloaded(input: AppointmentReceptionUnloadedRequest, options?: RpcOptions): UnaryCall<AppointmentReceptionUnloadedRequest, AppointmentReceptionUnloadedResponse> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentReceptionUnloadedRequest, AppointmentReceptionUnloadedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CarrierDeparted(api.AppointmentCarrierDepartedRequest) returns (api.AppointmentCarrierDepartedResponse);
*/
carrierDeparted(input: AppointmentCarrierDepartedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierDepartedRequest, AppointmentCarrierDepartedResponse> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierDepartedRequest, AppointmentCarrierDepartedResponse>("unary", this._transport, method, opt, input);
}
}