You've already forked npm-core-sdk
148 lines
8.0 KiB
TypeScript
148 lines
8.0 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "movementInput.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { MovementInputAPI } from "./movementInput";
|
|
import type { MovementCustomFieldsUpdatedResponse } from "./movementInput";
|
|
import type { MovementCustomFieldsUpdatedRequest } from "./movementInput";
|
|
import type { MovementSanitisedResponse } from "./movementInput";
|
|
import type { MovementSanitisedRequest } from "./movementInput";
|
|
import type { MovementDeletedResponse } from "./movementInput";
|
|
import type { MovementDeletedRequest } from "./movementInput";
|
|
import type { MovementAttachmentRemovedResponse } from "./movementInput";
|
|
import type { MovementAttachmentRemovedRequest } from "./movementInput";
|
|
import type { MovementAttachmentAddedResponse } from "./movementInput";
|
|
import type { MovementAttachmentAddedRequest } from "./movementInput";
|
|
import type { MovementClaimAddedResponse } from "./movementInput";
|
|
import type { MovementClaimAddedRequest } from "./movementInput";
|
|
import type { MovementStockValueUpdatedResponse } from "./movementInput";
|
|
import type { MovementStockValueUpdatedRequest } from "./movementInput";
|
|
import type { MovementGeneratedResponse } from "./movementInput";
|
|
import type { MovementGeneratedRequest } from "./movementInput";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { MovementCreatedResponse } from "./movementInput";
|
|
import type { MovementCreatedRequest } from "./movementInput";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
/**
|
|
*
|
|
* API-server services
|
|
*
|
|
* @generated from protobuf service api.MovementInputAPI
|
|
*/
|
|
export interface IMovementInputAPIClient {
|
|
/**
|
|
* @generated from protobuf rpc: Created
|
|
*/
|
|
created(input: MovementCreatedRequest, options?: RpcOptions): UnaryCall<MovementCreatedRequest, MovementCreatedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Generated
|
|
*/
|
|
generated(input: MovementGeneratedRequest, options?: RpcOptions): UnaryCall<MovementGeneratedRequest, MovementGeneratedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: StockValueUpdated
|
|
*/
|
|
stockValueUpdated(input: MovementStockValueUpdatedRequest, options?: RpcOptions): UnaryCall<MovementStockValueUpdatedRequest, MovementStockValueUpdatedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: ClaimAdded
|
|
*/
|
|
claimAdded(input: MovementClaimAddedRequest, options?: RpcOptions): UnaryCall<MovementClaimAddedRequest, MovementClaimAddedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: AttachmentAdded
|
|
*/
|
|
attachmentAdded(input: MovementAttachmentAddedRequest, options?: RpcOptions): UnaryCall<MovementAttachmentAddedRequest, MovementAttachmentAddedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: AttachmentRemoved
|
|
*/
|
|
attachmentRemoved(input: MovementAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<MovementAttachmentRemovedRequest, MovementAttachmentRemovedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Deleted
|
|
*/
|
|
deleted(input: MovementDeletedRequest, options?: RpcOptions): UnaryCall<MovementDeletedRequest, MovementDeletedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: Sanitised
|
|
*/
|
|
sanitised(input: MovementSanitisedRequest, options?: RpcOptions): UnaryCall<MovementSanitisedRequest, MovementSanitisedResponse>;
|
|
/**
|
|
* @generated from protobuf rpc: CustomFieldsUpdated
|
|
*/
|
|
customFieldsUpdated(input: MovementCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<MovementCustomFieldsUpdatedRequest, MovementCustomFieldsUpdatedResponse>;
|
|
}
|
|
/**
|
|
*
|
|
* API-server services
|
|
*
|
|
* @generated from protobuf service api.MovementInputAPI
|
|
*/
|
|
export class MovementInputAPIClient implements IMovementInputAPIClient, ServiceInfo {
|
|
typeName = MovementInputAPI.typeName;
|
|
methods = MovementInputAPI.methods;
|
|
options = MovementInputAPI.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Created
|
|
*/
|
|
created(input: MovementCreatedRequest, options?: RpcOptions): UnaryCall<MovementCreatedRequest, MovementCreatedResponse> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<MovementCreatedRequest, MovementCreatedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Generated
|
|
*/
|
|
generated(input: MovementGeneratedRequest, options?: RpcOptions): UnaryCall<MovementGeneratedRequest, MovementGeneratedResponse> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<MovementGeneratedRequest, MovementGeneratedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: StockValueUpdated
|
|
*/
|
|
stockValueUpdated(input: MovementStockValueUpdatedRequest, options?: RpcOptions): UnaryCall<MovementStockValueUpdatedRequest, MovementStockValueUpdatedResponse> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<MovementStockValueUpdatedRequest, MovementStockValueUpdatedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ClaimAdded
|
|
*/
|
|
claimAdded(input: MovementClaimAddedRequest, options?: RpcOptions): UnaryCall<MovementClaimAddedRequest, MovementClaimAddedResponse> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<MovementClaimAddedRequest, MovementClaimAddedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: AttachmentAdded
|
|
*/
|
|
attachmentAdded(input: MovementAttachmentAddedRequest, options?: RpcOptions): UnaryCall<MovementAttachmentAddedRequest, MovementAttachmentAddedResponse> {
|
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<MovementAttachmentAddedRequest, MovementAttachmentAddedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: AttachmentRemoved
|
|
*/
|
|
attachmentRemoved(input: MovementAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<MovementAttachmentRemovedRequest, MovementAttachmentRemovedResponse> {
|
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<MovementAttachmentRemovedRequest, MovementAttachmentRemovedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Deleted
|
|
*/
|
|
deleted(input: MovementDeletedRequest, options?: RpcOptions): UnaryCall<MovementDeletedRequest, MovementDeletedResponse> {
|
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<MovementDeletedRequest, MovementDeletedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Sanitised
|
|
*/
|
|
sanitised(input: MovementSanitisedRequest, options?: RpcOptions): UnaryCall<MovementSanitisedRequest, MovementSanitisedResponse> {
|
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<MovementSanitisedRequest, MovementSanitisedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CustomFieldsUpdated
|
|
*/
|
|
customFieldsUpdated(input: MovementCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<MovementCustomFieldsUpdatedRequest, MovementCustomFieldsUpdatedResponse> {
|
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<MovementCustomFieldsUpdatedRequest, MovementCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|