{"version":3,"file":"move_package_service.client.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/move_package_service.client.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/move_package_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { MovePackageService } from './move_package_service.js';\nimport type { ListPackageVersionsResponse } from './move_package_service.js';\nimport type { ListPackageVersionsRequest } from './move_package_service.js';\nimport type { GetFunctionResponse } from './move_package_service.js';\nimport type { GetFunctionRequest } from './move_package_service.js';\nimport type { GetDatatypeResponse } from './move_package_service.js';\nimport type { GetDatatypeRequest } from './move_package_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { GetPackageResponse } from './move_package_service.js';\nimport type { GetPackageRequest } from './move_package_service.js';\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2.MovePackageService\n */\nexport interface IMovePackageServiceClient {\n\t/**\n\t * @generated from protobuf rpc: GetPackage(sui.rpc.v2.GetPackageRequest) returns (sui.rpc.v2.GetPackageResponse);\n\t */\n\tgetPackage(\n\t\tinput: GetPackageRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetPackageRequest, GetPackageResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetDatatype(sui.rpc.v2.GetDatatypeRequest) returns (sui.rpc.v2.GetDatatypeResponse);\n\t */\n\tgetDatatype(\n\t\tinput: GetDatatypeRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetDatatypeRequest, GetDatatypeResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetFunction(sui.rpc.v2.GetFunctionRequest) returns (sui.rpc.v2.GetFunctionResponse);\n\t */\n\tgetFunction(\n\t\tinput: GetFunctionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetFunctionRequest, GetFunctionResponse>;\n\t/**\n\t * @generated from protobuf rpc: ListPackageVersions(sui.rpc.v2.ListPackageVersionsRequest) returns (sui.rpc.v2.ListPackageVersionsResponse);\n\t */\n\tlistPackageVersions(\n\t\tinput: ListPackageVersionsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.MovePackageService\n */\nexport class MovePackageServiceClient implements IMovePackageServiceClient, ServiceInfo {\n\ttypeName = MovePackageService.typeName;\n\tmethods = MovePackageService.methods;\n\toptions = MovePackageService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: GetPackage(sui.rpc.v2.GetPackageRequest) returns (sui.rpc.v2.GetPackageResponse);\n\t */\n\tgetPackage(\n\t\tinput: GetPackageRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetPackageRequest, GetPackageResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetPackageRequest, GetPackageResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetDatatype(sui.rpc.v2.GetDatatypeRequest) returns (sui.rpc.v2.GetDatatypeResponse);\n\t */\n\tgetDatatype(\n\t\tinput: GetDatatypeRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetDatatypeRequest, GetDatatypeResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetDatatypeRequest, GetDatatypeResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetFunction(sui.rpc.v2.GetFunctionRequest) returns (sui.rpc.v2.GetFunctionResponse);\n\t */\n\tgetFunction(\n\t\tinput: GetFunctionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetFunctionRequest, GetFunctionResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetFunctionRequest, GetFunctionResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: ListPackageVersions(sui.rpc.v2.ListPackageVersionsRequest) returns (sui.rpc.v2.ListPackageVersionsResponse);\n\t */\n\tlistPackageVersions(\n\t\tinput: ListPackageVersionsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListPackageVersionsRequest, ListPackageVersionsResponse> {\n\t\tconst method = this.methods[3],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListPackageVersionsRequest, ListPackageVersionsResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],"mappings":";;;;;;;AA6DA,IAAa,2BAAb,MAAwF;CAIvF,YAAY,AAAiB,YAA0B;EAA1B;kBAHlB,mBAAmB;iBACpB,mBAAmB;iBACnB,mBAAmB;;;;;CAK7B,WACC,OACA,SACmD;EACnD,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA;;;;;CAKF,YACC,OACA,SACqD;EACrD,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA;;;;;CAKF,YACC,OACA,SACqD;EACrD,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA;;;;;CAKF,oBACC,OACA,SACqE;EACrE,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA"}