You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "attachmentV2.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -26,31 +26,31 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
*/
|
||||
export interface IAttachmentServiceV2Client {
|
||||
/**
|
||||
* @generated from protobuf rpc: Upload(api.UploadAttachmentV2Request) returns (api.UploadAttachmentV2Response);
|
||||
* @generated from protobuf rpc: Upload
|
||||
*/
|
||||
upload(input: UploadAttachmentV2Request, options?: RpcOptions): UnaryCall<UploadAttachmentV2Request, UploadAttachmentV2Response>;
|
||||
/**
|
||||
* @generated from protobuf rpc: AddLink(api.AddLinkV2Request) returns (api.AddLinkV2Response);
|
||||
* @generated from protobuf rpc: AddLink
|
||||
*/
|
||||
addLink(input: AddLinkV2Request, options?: RpcOptions): UnaryCall<AddLinkV2Request, AddLinkV2Response>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Download(api.DownloadAttachmentV2Request) returns (api.DownloadAttachmentV2Response);
|
||||
* @generated from protobuf rpc: Download
|
||||
*/
|
||||
download(input: DownloadAttachmentV2Request, options?: RpcOptions): UnaryCall<DownloadAttachmentV2Request, DownloadAttachmentV2Response>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Delete(api.DeleteAttachmentV2Request) returns (api.DeleteAttachmentV2Response);
|
||||
* @generated from protobuf rpc: Delete
|
||||
*/
|
||||
delete(input: DeleteAttachmentV2Request, options?: RpcOptions): UnaryCall<DeleteAttachmentV2Request, DeleteAttachmentV2Response>;
|
||||
/**
|
||||
* @generated from protobuf rpc: List(api.ListAttachmentsV2Request) returns (api.ListAttachmentsV2Response);
|
||||
* @generated from protobuf rpc: List
|
||||
*/
|
||||
list(input: ListAttachmentsV2Request, options?: RpcOptions): UnaryCall<ListAttachmentsV2Request, ListAttachmentsV2Response>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Share(api.ShareAttachmentV2Request) returns (api.ShareAttachmentV2Response);
|
||||
* @generated from protobuf rpc: Share
|
||||
*/
|
||||
share(input: ShareAttachmentV2Request, options?: RpcOptions): UnaryCall<ShareAttachmentV2Request, ShareAttachmentV2Response>;
|
||||
/**
|
||||
* @generated from protobuf rpc: DeleteAll(api.DeleteAllAttachmentsV2Request) returns (api.DeleteAllAttachmentsV2Response);
|
||||
* @generated from protobuf rpc: DeleteAll
|
||||
*/
|
||||
deleteAll(input: DeleteAllAttachmentsV2Request, options?: RpcOptions): UnaryCall<DeleteAllAttachmentsV2Request, DeleteAllAttachmentsV2Response>;
|
||||
}
|
||||
@@ -64,49 +64,49 @@ export class AttachmentServiceV2Client implements IAttachmentServiceV2Client, Se
|
||||
constructor(private readonly _transport: RpcTransport) {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Upload(api.UploadAttachmentV2Request) returns (api.UploadAttachmentV2Response);
|
||||
* @generated from protobuf rpc: Upload
|
||||
*/
|
||||
upload(input: UploadAttachmentV2Request, options?: RpcOptions): UnaryCall<UploadAttachmentV2Request, UploadAttachmentV2Response> {
|
||||
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<UploadAttachmentV2Request, UploadAttachmentV2Response>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: AddLink(api.AddLinkV2Request) returns (api.AddLinkV2Response);
|
||||
* @generated from protobuf rpc: AddLink
|
||||
*/
|
||||
addLink(input: AddLinkV2Request, options?: RpcOptions): UnaryCall<AddLinkV2Request, AddLinkV2Response> {
|
||||
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<AddLinkV2Request, AddLinkV2Response>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Download(api.DownloadAttachmentV2Request) returns (api.DownloadAttachmentV2Response);
|
||||
* @generated from protobuf rpc: Download
|
||||
*/
|
||||
download(input: DownloadAttachmentV2Request, options?: RpcOptions): UnaryCall<DownloadAttachmentV2Request, DownloadAttachmentV2Response> {
|
||||
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DownloadAttachmentV2Request, DownloadAttachmentV2Response>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Delete(api.DeleteAttachmentV2Request) returns (api.DeleteAttachmentV2Response);
|
||||
* @generated from protobuf rpc: Delete
|
||||
*/
|
||||
delete(input: DeleteAttachmentV2Request, options?: RpcOptions): UnaryCall<DeleteAttachmentV2Request, DeleteAttachmentV2Response> {
|
||||
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DeleteAttachmentV2Request, DeleteAttachmentV2Response>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: List(api.ListAttachmentsV2Request) returns (api.ListAttachmentsV2Response);
|
||||
* @generated from protobuf rpc: List
|
||||
*/
|
||||
list(input: ListAttachmentsV2Request, options?: RpcOptions): UnaryCall<ListAttachmentsV2Request, ListAttachmentsV2Response> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ListAttachmentsV2Request, ListAttachmentsV2Response>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Share(api.ShareAttachmentV2Request) returns (api.ShareAttachmentV2Response);
|
||||
* @generated from protobuf rpc: Share
|
||||
*/
|
||||
share(input: ShareAttachmentV2Request, options?: RpcOptions): UnaryCall<ShareAttachmentV2Request, ShareAttachmentV2Response> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ShareAttachmentV2Request, ShareAttachmentV2Response>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: DeleteAll(api.DeleteAllAttachmentsV2Request) returns (api.DeleteAllAttachmentsV2Response);
|
||||
* @generated from protobuf rpc: DeleteAll
|
||||
*/
|
||||
deleteAll(input: DeleteAllAttachmentsV2Request, options?: RpcOptions): UnaryCall<DeleteAllAttachmentsV2Request, DeleteAllAttachmentsV2Response> {
|
||||
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
||||
|
||||
Reference in New Issue
Block a user