Files
npm-core-sdk/actorInput.client.ts
2025-06-19 09:15:58 +00:00

135 lines
6.9 KiB
TypeScript

// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "actorInput.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { ActorInputAPI } from "./actorInput";
import type { ActorMetaDataUpdatedResponse } from "./actorInput";
import type { ActorMetaDataUpdatedRequest } from "./actorInput";
import type { ActorClaimAddedResponse } from "./actorInput";
import type { ActorClaimAddedRequest } from "./actorInput";
import type { ActorAttachmentRemovedResponse } from "./actorInput";
import type { ActorAttachmentRemovedRequest } from "./actorInput";
import type { ActorAttachmentAddedResponse } from "./actorInput";
import type { ActorAttachmentAddedRequest } from "./actorInput";
import type { ActorSnapshotCompletedResponse } from "./actorInput";
import type { ActorSnapshotCompletedRequest } from "./actorInput";
import type { ActorDeletedResponse } from "./actorInput";
import type { ActorDeletedRequest } from "./actorInput";
import type { ActorCreatedv2Response } from "./actorInput";
import type { ActorCreatedv2Request } from "./actorInput";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { ActorCreatedResponse } from "./actorInput";
import type { ActorCreatedRequest } from "./actorInput";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
*
* API-server services
*
* @generated from protobuf service api.ActorInputAPI
*/
export interface IActorInputAPIClient {
/**
* @generated from protobuf rpc: Created
*/
created(input: ActorCreatedRequest, options?: RpcOptions): UnaryCall<ActorCreatedRequest, ActorCreatedResponse>;
/**
* @generated from protobuf rpc: Createdv2
*/
createdv2(input: ActorCreatedv2Request, options?: RpcOptions): UnaryCall<ActorCreatedv2Request, ActorCreatedv2Response>;
/**
* @generated from protobuf rpc: Deleted
*/
deleted(input: ActorDeletedRequest, options?: RpcOptions): UnaryCall<ActorDeletedRequest, ActorDeletedResponse>;
/**
* @generated from protobuf rpc: SnapshotCompleted
*/
snapshotCompleted(input: ActorSnapshotCompletedRequest, options?: RpcOptions): UnaryCall<ActorSnapshotCompletedRequest, ActorSnapshotCompletedResponse>;
/**
* @generated from protobuf rpc: AttachmentAdded
*/
attachmentAdded(input: ActorAttachmentAddedRequest, options?: RpcOptions): UnaryCall<ActorAttachmentAddedRequest, ActorAttachmentAddedResponse>;
/**
* @generated from protobuf rpc: AttachmentRemoved
*/
attachmentRemoved(input: ActorAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<ActorAttachmentRemovedRequest, ActorAttachmentRemovedResponse>;
/**
* @generated from protobuf rpc: ClaimAdded
*/
claimAdded(input: ActorClaimAddedRequest, options?: RpcOptions): UnaryCall<ActorClaimAddedRequest, ActorClaimAddedResponse>;
/**
* @generated from protobuf rpc: MetaDataUpdated
*/
metaDataUpdated(input: ActorMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall<ActorMetaDataUpdatedRequest, ActorMetaDataUpdatedResponse>;
}
/**
*
* API-server services
*
* @generated from protobuf service api.ActorInputAPI
*/
export class ActorInputAPIClient implements IActorInputAPIClient, ServiceInfo {
typeName = ActorInputAPI.typeName;
methods = ActorInputAPI.methods;
options = ActorInputAPI.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: Created
*/
created(input: ActorCreatedRequest, options?: RpcOptions): UnaryCall<ActorCreatedRequest, ActorCreatedResponse> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<ActorCreatedRequest, ActorCreatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Createdv2
*/
createdv2(input: ActorCreatedv2Request, options?: RpcOptions): UnaryCall<ActorCreatedv2Request, ActorCreatedv2Response> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<ActorCreatedv2Request, ActorCreatedv2Response>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Deleted
*/
deleted(input: ActorDeletedRequest, options?: RpcOptions): UnaryCall<ActorDeletedRequest, ActorDeletedResponse> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<ActorDeletedRequest, ActorDeletedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SnapshotCompleted
*/
snapshotCompleted(input: ActorSnapshotCompletedRequest, options?: RpcOptions): UnaryCall<ActorSnapshotCompletedRequest, ActorSnapshotCompletedResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<ActorSnapshotCompletedRequest, ActorSnapshotCompletedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentAdded
*/
attachmentAdded(input: ActorAttachmentAddedRequest, options?: RpcOptions): UnaryCall<ActorAttachmentAddedRequest, ActorAttachmentAddedResponse> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<ActorAttachmentAddedRequest, ActorAttachmentAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentRemoved
*/
attachmentRemoved(input: ActorAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<ActorAttachmentRemovedRequest, ActorAttachmentRemovedResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<ActorAttachmentRemovedRequest, ActorAttachmentRemovedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ClaimAdded
*/
claimAdded(input: ActorClaimAddedRequest, options?: RpcOptions): UnaryCall<ActorClaimAddedRequest, ActorClaimAddedResponse> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<ActorClaimAddedRequest, ActorClaimAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: MetaDataUpdated
*/
metaDataUpdated(input: ActorMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall<ActorMetaDataUpdatedRequest, ActorMetaDataUpdatedResponse> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<ActorMetaDataUpdatedRequest, ActorMetaDataUpdatedResponse>("unary", this._transport, method, opt, input);
}
}