You've already forked npm-core-sdk
239 lines
14 KiB
TypeScript
239 lines
14 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @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 { HandlingunitCustomFieldsUpdatedResponse } from "./handlingunitInput";
|
|
import type { HandlingunitCustomFieldsUpdatedRequest } from "./handlingunitInput";
|
|
import type { HandlingunitSanitisedResponse } from "./handlingunitInput";
|
|
import type { HandlingunitSanitisedRequest } 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
|
|
*/
|
|
goodsPrepared(input: HandlingunitGoodsPreparedRequest, options?: RpcOptions): UnaryCall<HandlingunitGoodsPreparedRequest, HandlingunitGoodsPreparedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: GoodsReceived
|
|
*/
|
|
goodsReceived(input: HandlingunitGoodsReceivedRequest, options?: RpcOptions): UnaryCall<HandlingunitGoodsReceivedRequest, HandlingunitGoodsReceivedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: HUsAdded
|
|
*/
|
|
hUsAdded(input: HandlingunitHUsAddedRequest, options?: RpcOptions): UnaryCall<HandlingunitHUsAddedRequest, HandlingunitHUsAddedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: TrackingUpdated
|
|
*/
|
|
trackingUpdated(input: HandlingunitTrackingUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitTrackingUpdatedRequest, HandlingunitTrackingUpdatedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: TrackingETAUpdated
|
|
*/
|
|
trackingETAUpdated(input: HandlingunitTrackingETAUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitTrackingETAUpdatedRequest, HandlingunitTrackingETAUpdatedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ETAUpdated
|
|
*/
|
|
eTAUpdated(input: HandlingunitETAUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitETAUpdatedRequest, HandlingunitETAUpdatedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Dispatched
|
|
*/
|
|
dispatched(input: HandlingunitDispatchedRequest, options?: RpcOptions): UnaryCall<HandlingunitDispatchedRequest, HandlingunitDispatchedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: AttachmentAdded
|
|
*/
|
|
attachmentAdded(input: HandlingunitAttachmentAddedRequest, options?: RpcOptions): UnaryCall<HandlingunitAttachmentAddedRequest, HandlingunitAttachmentAddedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: AttachmentRemoved
|
|
*/
|
|
attachmentRemoved(input: HandlingunitAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<HandlingunitAttachmentRemovedRequest, HandlingunitAttachmentRemovedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: MetaDataUpdated
|
|
*/
|
|
metaDataUpdated(input: HandlingunitMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitMetaDataUpdatedRequest, HandlingunitMetaDataUpdatedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ParentHUUpdated
|
|
*/
|
|
parentHUUpdated(input: HandlingunitParentHUUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitParentHUUpdatedRequest, HandlingunitParentHUUpdatedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ClaimAdded
|
|
*/
|
|
claimAdded(input: HandlingunitClaimAddedRequest, options?: RpcOptions): UnaryCall<HandlingunitClaimAddedRequest, HandlingunitClaimAddedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ReadyToBeCollected
|
|
*/
|
|
readyToBeCollected(input: HandlingunitReadyToBeCollectedRequest, options?: RpcOptions): UnaryCall<HandlingunitReadyToBeCollectedRequest, HandlingunitReadyToBeCollectedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Deleted
|
|
*/
|
|
deleted(input: HandlingunitDeletedRequest, options?: RpcOptions): UnaryCall<HandlingunitDeletedRequest, HandlingunitDeletedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Sanitised
|
|
*/
|
|
sanitised(input: HandlingunitSanitisedRequest, options?: RpcOptions): UnaryCall<HandlingunitSanitisedRequest, HandlingunitSanitisedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: CustomFieldsUpdated
|
|
*/
|
|
customFieldsUpdated(input: HandlingunitCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitCustomFieldsUpdatedRequest, HandlingunitCustomFieldsUpdatedResponse>;
|
|
}
|
|
/**
|
|
*
|
|
* 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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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
|
|
*/
|
|
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);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Sanitised
|
|
*/
|
|
sanitised(input: HandlingunitSanitisedRequest, options?: RpcOptions): UnaryCall<HandlingunitSanitisedRequest, HandlingunitSanitisedResponse> {
|
|
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<HandlingunitSanitisedRequest, HandlingunitSanitisedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CustomFieldsUpdated
|
|
*/
|
|
customFieldsUpdated(input: HandlingunitCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitCustomFieldsUpdatedRequest, HandlingunitCustomFieldsUpdatedResponse> {
|
|
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<HandlingunitCustomFieldsUpdatedRequest, HandlingunitCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|