Files
npm-core-sdk/trackingInput.client.ts
2025-11-18 14:26:14 +00:00

176 lines
9.4 KiB
TypeScript

// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "trackingInput.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { TrackingInputAPI } from "./trackingInput";
import type { TrackingCustomFieldsUpdatedResponse } from "./trackingInput";
import type { TrackingCustomFieldsUpdatedRequest } from "./trackingInput";
import type { TrackingSanitisedResponse } from "./trackingInput";
import type { TrackingSanitisedRequest } from "./trackingInput";
import type { TrackingURLUpdatedResponse } from "./trackingInput";
import type { TrackingURLUpdatedRequest } from "./trackingInput";
import type { TrackingDeletedResponse } from "./trackingInput";
import type { TrackingDeletedRequest } from "./trackingInput";
import type { TrackingAttachmentRemovedResponse } from "./trackingInput";
import type { TrackingAttachmentRemovedRequest } from "./trackingInput";
import type { TrackingAttachmentAddedResponse } from "./trackingInput";
import type { TrackingAttachmentAddedRequest } from "./trackingInput";
import type { TrackingSwitchedResponse } from "./trackingInput";
import type { TrackingSwitchedRequest } from "./trackingInput";
import type { TrackingHULabeledResponse } from "./trackingInput";
import type { TrackingHULabeledRequest } from "./trackingInput";
import type { TrackingDispatchedResponse } from "./trackingInput";
import type { TrackingDispatchedRequest } from "./trackingInput";
import type { TrackingETAUpdatedResponse } from "./trackingInput";
import type { TrackingETAUpdatedRequest } from "./trackingInput";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { TrackingNotifiedResponse } from "./trackingInput";
import type { TrackingNotifiedRequest } from "./trackingInput";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
*
* API-server services
*
* @generated from protobuf service api.TrackingInputAPI
*/
export interface ITrackingInputAPIClient {
/**
* @generated from protobuf rpc: Notified
*/
notified(input: TrackingNotifiedRequest, options?: RpcOptions): UnaryCall<TrackingNotifiedRequest, TrackingNotifiedResponse>;
/**
* @generated from protobuf rpc: ETAUpdated
*/
eTAUpdated(input: TrackingETAUpdatedRequest, options?: RpcOptions): UnaryCall<TrackingETAUpdatedRequest, TrackingETAUpdatedResponse>;
/**
* @deprecated
* @generated from protobuf rpc: Dispatched
*/
dispatched(input: TrackingDispatchedRequest, options?: RpcOptions): UnaryCall<TrackingDispatchedRequest, TrackingDispatchedResponse>;
/**
* @generated from protobuf rpc: HULabeled
*/
hULabeled(input: TrackingHULabeledRequest, options?: RpcOptions): UnaryCall<TrackingHULabeledRequest, TrackingHULabeledResponse>;
/**
* @generated from protobuf rpc: Switched
*/
switched(input: TrackingSwitchedRequest, options?: RpcOptions): UnaryCall<TrackingSwitchedRequest, TrackingSwitchedResponse>;
/**
* @generated from protobuf rpc: AttachmentAdded
*/
attachmentAdded(input: TrackingAttachmentAddedRequest, options?: RpcOptions): UnaryCall<TrackingAttachmentAddedRequest, TrackingAttachmentAddedResponse>;
/**
* @generated from protobuf rpc: AttachmentRemoved
*/
attachmentRemoved(input: TrackingAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<TrackingAttachmentRemovedRequest, TrackingAttachmentRemovedResponse>;
/**
* @generated from protobuf rpc: Deleted
*/
deleted(input: TrackingDeletedRequest, options?: RpcOptions): UnaryCall<TrackingDeletedRequest, TrackingDeletedResponse>;
/**
* @generated from protobuf rpc: URLUpdated
*/
uRLUpdated(input: TrackingURLUpdatedRequest, options?: RpcOptions): UnaryCall<TrackingURLUpdatedRequest, TrackingURLUpdatedResponse>;
/**
* @generated from protobuf rpc: Sanitised
*/
sanitised(input: TrackingSanitisedRequest, options?: RpcOptions): UnaryCall<TrackingSanitisedRequest, TrackingSanitisedResponse>;
/**
* @generated from protobuf rpc: CustomFieldsUpdated
*/
customFieldsUpdated(input: TrackingCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<TrackingCustomFieldsUpdatedRequest, TrackingCustomFieldsUpdatedResponse>;
}
/**
*
* API-server services
*
* @generated from protobuf service api.TrackingInputAPI
*/
export class TrackingInputAPIClient implements ITrackingInputAPIClient, ServiceInfo {
typeName = TrackingInputAPI.typeName;
methods = TrackingInputAPI.methods;
options = TrackingInputAPI.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: Notified
*/
notified(input: TrackingNotifiedRequest, options?: RpcOptions): UnaryCall<TrackingNotifiedRequest, TrackingNotifiedResponse> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingNotifiedRequest, TrackingNotifiedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ETAUpdated
*/
eTAUpdated(input: TrackingETAUpdatedRequest, options?: RpcOptions): UnaryCall<TrackingETAUpdatedRequest, TrackingETAUpdatedResponse> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingETAUpdatedRequest, TrackingETAUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @deprecated
* @generated from protobuf rpc: Dispatched
*/
dispatched(input: TrackingDispatchedRequest, options?: RpcOptions): UnaryCall<TrackingDispatchedRequest, TrackingDispatchedResponse> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingDispatchedRequest, TrackingDispatchedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: HULabeled
*/
hULabeled(input: TrackingHULabeledRequest, options?: RpcOptions): UnaryCall<TrackingHULabeledRequest, TrackingHULabeledResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingHULabeledRequest, TrackingHULabeledResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Switched
*/
switched(input: TrackingSwitchedRequest, options?: RpcOptions): UnaryCall<TrackingSwitchedRequest, TrackingSwitchedResponse> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingSwitchedRequest, TrackingSwitchedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentAdded
*/
attachmentAdded(input: TrackingAttachmentAddedRequest, options?: RpcOptions): UnaryCall<TrackingAttachmentAddedRequest, TrackingAttachmentAddedResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingAttachmentAddedRequest, TrackingAttachmentAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentRemoved
*/
attachmentRemoved(input: TrackingAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<TrackingAttachmentRemovedRequest, TrackingAttachmentRemovedResponse> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingAttachmentRemovedRequest, TrackingAttachmentRemovedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Deleted
*/
deleted(input: TrackingDeletedRequest, options?: RpcOptions): UnaryCall<TrackingDeletedRequest, TrackingDeletedResponse> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingDeletedRequest, TrackingDeletedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: URLUpdated
*/
uRLUpdated(input: TrackingURLUpdatedRequest, options?: RpcOptions): UnaryCall<TrackingURLUpdatedRequest, TrackingURLUpdatedResponse> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingURLUpdatedRequest, TrackingURLUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Sanitised
*/
sanitised(input: TrackingSanitisedRequest, options?: RpcOptions): UnaryCall<TrackingSanitisedRequest, TrackingSanitisedResponse> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingSanitisedRequest, TrackingSanitisedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CustomFieldsUpdated
*/
customFieldsUpdated(input: TrackingCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<TrackingCustomFieldsUpdatedRequest, TrackingCustomFieldsUpdatedResponse> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<TrackingCustomFieldsUpdatedRequest, TrackingCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
}
}