Files
npm-core-sdk/handlingunitInput.client.ts
2025-04-28 12:35:42 +00:00

213 lines
15 KiB
TypeScript

// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated from protobuf file "handlingunitInput.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { HandlingunitInputAPI } from "./handlingunitInput";
import type { HandlingunitDeletedResponse } from "./handlingunitInput";
import type { HandlingunitDeletedRequest } from "./handlingunitInput";
import type { HandlingunitReadyToBeCollectedResponse } from "./handlingunitInput";
import type { HandlingunitReadyToBeCollectedRequest } from "./handlingunitInput";
import type { HandlingunitClaimAddedResponse } from "./handlingunitInput";
import type { HandlingunitClaimAddedRequest } from "./handlingunitInput";
import type { HandlingunitParentHUUpdatedResponse } from "./handlingunitInput";
import type { HandlingunitParentHUUpdatedRequest } from "./handlingunitInput";
import type { HandlingunitMetaDataUpdatedResponse } from "./handlingunitInput";
import type { HandlingunitMetaDataUpdatedRequest } from "./handlingunitInput";
import type { HandlingunitAttachmentRemovedResponse } from "./handlingunitInput";
import type { HandlingunitAttachmentRemovedRequest } from "./handlingunitInput";
import type { HandlingunitAttachmentAddedResponse } from "./handlingunitInput";
import type { HandlingunitAttachmentAddedRequest } from "./handlingunitInput";
import type { HandlingunitDispatchedResponse } from "./handlingunitInput";
import type { HandlingunitDispatchedRequest } from "./handlingunitInput";
import type { HandlingunitETAUpdatedResponse } from "./handlingunitInput";
import type { HandlingunitETAUpdatedRequest } from "./handlingunitInput";
import type { HandlingunitTrackingETAUpdatedResponse } from "./handlingunitInput";
import type { HandlingunitTrackingETAUpdatedRequest } from "./handlingunitInput";
import type { HandlingunitTrackingUpdatedResponse } from "./handlingunitInput";
import type { HandlingunitTrackingUpdatedRequest } from "./handlingunitInput";
import type { HandlingunitHUsAddedResponse } from "./handlingunitInput";
import type { HandlingunitHUsAddedRequest } from "./handlingunitInput";
import type { HandlingunitGoodsReceivedResponse } from "./handlingunitInput";
import type { HandlingunitGoodsReceivedRequest } from "./handlingunitInput";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { HandlingunitGoodsPreparedResponse } from "./handlingunitInput";
import type { HandlingunitGoodsPreparedRequest } from "./handlingunitInput";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
*
* API-server services
*
* @generated from protobuf service api.HandlingunitInputAPI
*/
export interface IHandlingunitInputAPIClient {
/**
* @generated from protobuf rpc: GoodsPrepared(api.HandlingunitGoodsPreparedRequest) returns (api.HandlingunitGoodsPreparedResponse);
*/
goodsPrepared(input: HandlingunitGoodsPreparedRequest, options?: RpcOptions): UnaryCall<HandlingunitGoodsPreparedRequest, HandlingunitGoodsPreparedResponse>;
/**
* @generated from protobuf rpc: GoodsReceived(api.HandlingunitGoodsReceivedRequest) returns (api.HandlingunitGoodsReceivedResponse);
*/
goodsReceived(input: HandlingunitGoodsReceivedRequest, options?: RpcOptions): UnaryCall<HandlingunitGoodsReceivedRequest, HandlingunitGoodsReceivedResponse>;
/**
* @generated from protobuf rpc: HUsAdded(api.HandlingunitHUsAddedRequest) returns (api.HandlingunitHUsAddedResponse);
*/
hUsAdded(input: HandlingunitHUsAddedRequest, options?: RpcOptions): UnaryCall<HandlingunitHUsAddedRequest, HandlingunitHUsAddedResponse>;
/**
* @generated from protobuf rpc: TrackingUpdated(api.HandlingunitTrackingUpdatedRequest) returns (api.HandlingunitTrackingUpdatedResponse);
*/
trackingUpdated(input: HandlingunitTrackingUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitTrackingUpdatedRequest, HandlingunitTrackingUpdatedResponse>;
/**
* @generated from protobuf rpc: TrackingETAUpdated(api.HandlingunitTrackingETAUpdatedRequest) returns (api.HandlingunitTrackingETAUpdatedResponse);
*/
trackingETAUpdated(input: HandlingunitTrackingETAUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitTrackingETAUpdatedRequest, HandlingunitTrackingETAUpdatedResponse>;
/**
* @generated from protobuf rpc: ETAUpdated(api.HandlingunitETAUpdatedRequest) returns (api.HandlingunitETAUpdatedResponse);
*/
eTAUpdated(input: HandlingunitETAUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitETAUpdatedRequest, HandlingunitETAUpdatedResponse>;
/**
* @generated from protobuf rpc: Dispatched(api.HandlingunitDispatchedRequest) returns (api.HandlingunitDispatchedResponse);
*/
dispatched(input: HandlingunitDispatchedRequest, options?: RpcOptions): UnaryCall<HandlingunitDispatchedRequest, HandlingunitDispatchedResponse>;
/**
* @generated from protobuf rpc: AttachmentAdded(api.HandlingunitAttachmentAddedRequest) returns (api.HandlingunitAttachmentAddedResponse);
*/
attachmentAdded(input: HandlingunitAttachmentAddedRequest, options?: RpcOptions): UnaryCall<HandlingunitAttachmentAddedRequest, HandlingunitAttachmentAddedResponse>;
/**
* @generated from protobuf rpc: AttachmentRemoved(api.HandlingunitAttachmentRemovedRequest) returns (api.HandlingunitAttachmentRemovedResponse);
*/
attachmentRemoved(input: HandlingunitAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<HandlingunitAttachmentRemovedRequest, HandlingunitAttachmentRemovedResponse>;
/**
* @generated from protobuf rpc: MetaDataUpdated(api.HandlingunitMetaDataUpdatedRequest) returns (api.HandlingunitMetaDataUpdatedResponse);
*/
metaDataUpdated(input: HandlingunitMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitMetaDataUpdatedRequest, HandlingunitMetaDataUpdatedResponse>;
/**
* @generated from protobuf rpc: ParentHUUpdated(api.HandlingunitParentHUUpdatedRequest) returns (api.HandlingunitParentHUUpdatedResponse);
*/
parentHUUpdated(input: HandlingunitParentHUUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitParentHUUpdatedRequest, HandlingunitParentHUUpdatedResponse>;
/**
* @generated from protobuf rpc: ClaimAdded(api.HandlingunitClaimAddedRequest) returns (api.HandlingunitClaimAddedResponse);
*/
claimAdded(input: HandlingunitClaimAddedRequest, options?: RpcOptions): UnaryCall<HandlingunitClaimAddedRequest, HandlingunitClaimAddedResponse>;
/**
* @generated from protobuf rpc: ReadyToBeCollected(api.HandlingunitReadyToBeCollectedRequest) returns (api.HandlingunitReadyToBeCollectedResponse);
*/
readyToBeCollected(input: HandlingunitReadyToBeCollectedRequest, options?: RpcOptions): UnaryCall<HandlingunitReadyToBeCollectedRequest, HandlingunitReadyToBeCollectedResponse>;
/**
* @generated from protobuf rpc: Deleted(api.HandlingunitDeletedRequest) returns (api.HandlingunitDeletedResponse);
*/
deleted(input: HandlingunitDeletedRequest, options?: RpcOptions): UnaryCall<HandlingunitDeletedRequest, HandlingunitDeletedResponse>;
}
/**
*
* API-server services
*
* @generated from protobuf service api.HandlingunitInputAPI
*/
export class HandlingunitInputAPIClient implements IHandlingunitInputAPIClient, ServiceInfo {
typeName = HandlingunitInputAPI.typeName;
methods = HandlingunitInputAPI.methods;
options = HandlingunitInputAPI.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: GoodsPrepared(api.HandlingunitGoodsPreparedRequest) returns (api.HandlingunitGoodsPreparedResponse);
*/
goodsPrepared(input: HandlingunitGoodsPreparedRequest, options?: RpcOptions): UnaryCall<HandlingunitGoodsPreparedRequest, HandlingunitGoodsPreparedResponse> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitGoodsPreparedRequest, HandlingunitGoodsPreparedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GoodsReceived(api.HandlingunitGoodsReceivedRequest) returns (api.HandlingunitGoodsReceivedResponse);
*/
goodsReceived(input: HandlingunitGoodsReceivedRequest, options?: RpcOptions): UnaryCall<HandlingunitGoodsReceivedRequest, HandlingunitGoodsReceivedResponse> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitGoodsReceivedRequest, HandlingunitGoodsReceivedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: HUsAdded(api.HandlingunitHUsAddedRequest) returns (api.HandlingunitHUsAddedResponse);
*/
hUsAdded(input: HandlingunitHUsAddedRequest, options?: RpcOptions): UnaryCall<HandlingunitHUsAddedRequest, HandlingunitHUsAddedResponse> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitHUsAddedRequest, HandlingunitHUsAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: TrackingUpdated(api.HandlingunitTrackingUpdatedRequest) returns (api.HandlingunitTrackingUpdatedResponse);
*/
trackingUpdated(input: HandlingunitTrackingUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitTrackingUpdatedRequest, HandlingunitTrackingUpdatedResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitTrackingUpdatedRequest, HandlingunitTrackingUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: TrackingETAUpdated(api.HandlingunitTrackingETAUpdatedRequest) returns (api.HandlingunitTrackingETAUpdatedResponse);
*/
trackingETAUpdated(input: HandlingunitTrackingETAUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitTrackingETAUpdatedRequest, HandlingunitTrackingETAUpdatedResponse> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitTrackingETAUpdatedRequest, HandlingunitTrackingETAUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ETAUpdated(api.HandlingunitETAUpdatedRequest) returns (api.HandlingunitETAUpdatedResponse);
*/
eTAUpdated(input: HandlingunitETAUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitETAUpdatedRequest, HandlingunitETAUpdatedResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitETAUpdatedRequest, HandlingunitETAUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Dispatched(api.HandlingunitDispatchedRequest) returns (api.HandlingunitDispatchedResponse);
*/
dispatched(input: HandlingunitDispatchedRequest, options?: RpcOptions): UnaryCall<HandlingunitDispatchedRequest, HandlingunitDispatchedResponse> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitDispatchedRequest, HandlingunitDispatchedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentAdded(api.HandlingunitAttachmentAddedRequest) returns (api.HandlingunitAttachmentAddedResponse);
*/
attachmentAdded(input: HandlingunitAttachmentAddedRequest, options?: RpcOptions): UnaryCall<HandlingunitAttachmentAddedRequest, HandlingunitAttachmentAddedResponse> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitAttachmentAddedRequest, HandlingunitAttachmentAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentRemoved(api.HandlingunitAttachmentRemovedRequest) returns (api.HandlingunitAttachmentRemovedResponse);
*/
attachmentRemoved(input: HandlingunitAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<HandlingunitAttachmentRemovedRequest, HandlingunitAttachmentRemovedResponse> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitAttachmentRemovedRequest, HandlingunitAttachmentRemovedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: MetaDataUpdated(api.HandlingunitMetaDataUpdatedRequest) returns (api.HandlingunitMetaDataUpdatedResponse);
*/
metaDataUpdated(input: HandlingunitMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitMetaDataUpdatedRequest, HandlingunitMetaDataUpdatedResponse> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitMetaDataUpdatedRequest, HandlingunitMetaDataUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ParentHUUpdated(api.HandlingunitParentHUUpdatedRequest) returns (api.HandlingunitParentHUUpdatedResponse);
*/
parentHUUpdated(input: HandlingunitParentHUUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitParentHUUpdatedRequest, HandlingunitParentHUUpdatedResponse> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitParentHUUpdatedRequest, HandlingunitParentHUUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ClaimAdded(api.HandlingunitClaimAddedRequest) returns (api.HandlingunitClaimAddedResponse);
*/
claimAdded(input: HandlingunitClaimAddedRequest, options?: RpcOptions): UnaryCall<HandlingunitClaimAddedRequest, HandlingunitClaimAddedResponse> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitClaimAddedRequest, HandlingunitClaimAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ReadyToBeCollected(api.HandlingunitReadyToBeCollectedRequest) returns (api.HandlingunitReadyToBeCollectedResponse);
*/
readyToBeCollected(input: HandlingunitReadyToBeCollectedRequest, options?: RpcOptions): UnaryCall<HandlingunitReadyToBeCollectedRequest, HandlingunitReadyToBeCollectedResponse> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitReadyToBeCollectedRequest, HandlingunitReadyToBeCollectedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Deleted(api.HandlingunitDeletedRequest) returns (api.HandlingunitDeletedResponse);
*/
deleted(input: HandlingunitDeletedRequest, options?: RpcOptions): UnaryCall<HandlingunitDeletedRequest, HandlingunitDeletedResponse> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<HandlingunitDeletedRequest, HandlingunitDeletedResponse>("unary", this._transport, method, opt, input);
}
}