@meshtrade/api-old 1.59.0 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,8 @@ const roleToStringMapping = {
17
17
  [role_pb_1.Role.ROLE_WALLET_VIEWER]: "Wallet Viewer",
18
18
  [role_pb_1.Role.ROLE_WALLET_ACCOUNT_ADMIN]: "Wallet Account Admin",
19
19
  [role_pb_1.Role.ROLE_WALLET_ACCOUNT_VIEWER]: "Wallet Account Viewer",
20
+ [role_pb_1.Role.ROLE_WALLET_TRANSFER_ADMIN]: "Wallet Transfer Admin",
21
+ [role_pb_1.Role.ROLE_WALLET_TRANSFER_VIEWER]: "Wallet Transfer Viewer",
20
22
  [role_pb_1.Role.ROLE_COMPLIANCE_ADMIN]: "Compliance Admin",
21
23
  [role_pb_1.Role.ROLE_COMPLIANCE_VIEWER]: "Compliance Viewer",
22
24
  [role_pb_1.Role.ROLE_COMPLIANCE_CLIENT_ADMIN]: "Compliance Client Admin",
@@ -8,6 +8,8 @@ export enum Role {
8
8
  ROLE_WALLET_VIEWER = 1000001,
9
9
  ROLE_WALLET_ACCOUNT_ADMIN = 1000002,
10
10
  ROLE_WALLET_ACCOUNT_VIEWER = 1000003,
11
+ ROLE_WALLET_TRANSFER_ADMIN = 1000004,
12
+ ROLE_WALLET_TRANSFER_VIEWER = 1000005,
11
13
  ROLE_COMPLIANCE_ADMIN = 2000000,
12
14
  ROLE_COMPLIANCE_VIEWER = 2000001,
13
15
  ROLE_COMPLIANCE_CLIENT_ADMIN = 2000002,
@@ -31,6 +31,8 @@ proto.meshtrade.iam.role.v1.Role = {
31
31
  ROLE_WALLET_VIEWER: 1000001,
32
32
  ROLE_WALLET_ACCOUNT_ADMIN: 1000002,
33
33
  ROLE_WALLET_ACCOUNT_VIEWER: 1000003,
34
+ ROLE_WALLET_TRANSFER_ADMIN: 1000004,
35
+ ROLE_WALLET_TRANSFER_VIEWER: 1000005,
34
36
  ROLE_COMPLIANCE_ADMIN: 2000000,
35
37
  ROLE_COMPLIANCE_VIEWER: 2000001,
36
38
  ROLE_COMPLIANCE_CLIENT_ADMIN: 2000002,
@@ -290,6 +290,11 @@ export class SearchAccountsRequest extends jspb.Message {
290
290
  getPopulateLedgerData(): boolean;
291
291
  setPopulateLedgerData(value: boolean): SearchAccountsRequest;
292
292
 
293
+ getOwnerList(): Array<string>;
294
+ setOwnerList(value: Array<string>): SearchAccountsRequest;
295
+ clearOwnerList(): SearchAccountsRequest;
296
+ addOwner(value: string, index?: number): SearchAccountsRequest;
297
+
293
298
  serializeBinary(): Uint8Array;
294
299
  toObject(includeInstance?: boolean): SearchAccountsRequest.AsObject;
295
300
  static toObject(includeInstance: boolean, msg: SearchAccountsRequest): SearchAccountsRequest.AsObject;
@@ -303,6 +308,7 @@ export namespace SearchAccountsRequest {
303
308
  sorting?: SearchAccountsRequest.Sorting.AsObject,
304
309
  displayName: string,
305
310
  populateLedgerData: boolean,
311
+ ownerList: Array<string>,
306
312
  }
307
313
 
308
314
  export class Sorting extends jspb.Message {
@@ -335,7 +335,7 @@ if (goog.DEBUG && !COMPILED) {
335
335
  * @constructor
336
336
  */
337
337
  proto.meshtrade.wallet.account.v1.SearchAccountsRequest = function(opt_data) {
338
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
338
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.wallet.account.v1.SearchAccountsRequest.repeatedFields_, null);
339
339
  };
340
340
  goog.inherits(proto.meshtrade.wallet.account.v1.SearchAccountsRequest, jspb.Message);
341
341
  if (goog.DEBUG && !COMPILED) {
@@ -2487,6 +2487,13 @@ proto.meshtrade.wallet.account.v1.ListAccountsResponse.prototype.clearAccountsLi
2487
2487
 
2488
2488
 
2489
2489
 
2490
+ /**
2491
+ * List of repeated fields within this message type.
2492
+ * @private {!Array<number>}
2493
+ * @const
2494
+ */
2495
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.repeatedFields_ = [4];
2496
+
2490
2497
 
2491
2498
 
2492
2499
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2520,7 +2527,8 @@ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.toObject = function(incl
2520
2527
  var f, obj = {
2521
2528
  sorting: (f = msg.getSorting()) && proto.meshtrade.wallet.account.v1.SearchAccountsRequest.Sorting.toObject(includeInstance, f),
2522
2529
  displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
2523
- populateLedgerData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
2530
+ populateLedgerData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
2531
+ ownerList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
2524
2532
  };
2525
2533
 
2526
2534
  if (includeInstance) {
@@ -2570,6 +2578,10 @@ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.deserializeBinaryFromRea
2570
2578
  var value = /** @type {boolean} */ (reader.readBool());
2571
2579
  msg.setPopulateLedgerData(value);
2572
2580
  break;
2581
+ case 4:
2582
+ var value = /** @type {string} */ (reader.readString());
2583
+ msg.addOwner(value);
2584
+ break;
2573
2585
  default:
2574
2586
  reader.skipField();
2575
2587
  break;
@@ -2621,6 +2633,13 @@ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.serializeBinaryToWriter
2621
2633
  f
2622
2634
  );
2623
2635
  }
2636
+ f = message.getOwnerList();
2637
+ if (f.length > 0) {
2638
+ writer.writeRepeatedString(
2639
+ 4,
2640
+ f
2641
+ );
2642
+ }
2624
2643
  };
2625
2644
 
2626
2645
 
@@ -2857,6 +2876,43 @@ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.setPopulateLed
2857
2876
  };
2858
2877
 
2859
2878
 
2879
+ /**
2880
+ * repeated string owner = 4;
2881
+ * @return {!Array<string>}
2882
+ */
2883
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.getOwnerList = function() {
2884
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
2885
+ };
2886
+
2887
+
2888
+ /**
2889
+ * @param {!Array<string>} value
2890
+ * @return {!proto.meshtrade.wallet.account.v1.SearchAccountsRequest} returns this
2891
+ */
2892
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.setOwnerList = function(value) {
2893
+ return jspb.Message.setField(this, 4, value || []);
2894
+ };
2895
+
2896
+
2897
+ /**
2898
+ * @param {string} value
2899
+ * @param {number=} opt_index
2900
+ * @return {!proto.meshtrade.wallet.account.v1.SearchAccountsRequest} returns this
2901
+ */
2902
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.addOwner = function(value, opt_index) {
2903
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
2904
+ };
2905
+
2906
+
2907
+ /**
2908
+ * Clears the list making it empty but non-null.
2909
+ * @return {!proto.meshtrade.wallet.account.v1.SearchAccountsRequest} returns this
2910
+ */
2911
+ proto.meshtrade.wallet.account.v1.SearchAccountsRequest.prototype.clearOwnerList = function() {
2912
+ return this.setOwnerList([]);
2913
+ };
2914
+
2915
+
2860
2916
 
2861
2917
  /**
2862
2918
  * List of repeated fields within this message type.
@@ -0,0 +1,4 @@
1
+ export * from "./service_grpc_web_client_meshts";
2
+ export * from "./service_grpc_web_pb";
3
+ export * from "./service_pb";
4
+ export * from "./transfer_pb";
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // ===================================================================
3
+ // AUTO-GENERATED SECTION - ONLY EDIT BELOW THE CLOSING COMMENT BLOCK
4
+ // ===================================================================
5
+ // This section is automatically managed by protoc-gen-meshts.
6
+ //
7
+ // DO NOT EDIT ANYTHING IN THIS SECTION MANUALLY!
8
+ // Your changes will be overwritten during code generation.
9
+ //
10
+ // To add custom exports, scroll down to the
11
+ // "MANUAL EXPORTS" section indicated below.
12
+ // ===================================================================
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
25
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ // Generated exports
29
+ __exportStar(require("./service_grpc_web_client_meshts"), exports);
30
+ __exportStar(require("./service_grpc_web_pb"), exports);
31
+ __exportStar(require("./service_pb"), exports);
32
+ __exportStar(require("./transfer_pb"), exports);
33
+ // ===================================================================
34
+ // END OF AUTO-GENERATED SECTION
35
+ // ===================================================================
36
+ //
37
+ // MANUAL EXPORTS - ADD YOUR CUSTOM EXPORTS BELOW
38
+ //
39
+ // You can safely add your own export statements in this section.
40
+ // They will be preserved across code generation.
41
+ //
42
+ // Example:
43
+ // export * from "./my_custom_module";
44
+ // export { MyCustomClass } from "./another_module";
45
+ // ===================================================================
@@ -0,0 +1,75 @@
1
+ import { CreateTransferRequest, GetTransferRequest, ListTransfersRequest, ListTransfersResponse, MonitorTransferRequest, SearchTransfersByAddressRequest, SearchTransfersByAddressResponse } from "./service_pb";
2
+ import { Transfer } from "./transfer_pb";
3
+ import { UnaryInterceptor } from "grpc-web";
4
+ import * as grpcWeb from "grpc-web";
5
+ import { ConfigOpts } from "../../../common/config";
6
+ /**
7
+ * Client for interacting with the meshtrade.wallet.transfer.v1 transfer v1 API resource service.
8
+ */
9
+ export declare class TransferServiceGrpcWebClientV1 {
10
+ private _service;
11
+ private readonly _config;
12
+ private readonly _interceptors;
13
+ /**
14
+ * Constructs an instance of TransferServiceGrpcWebClientV1.
15
+ * @param {ConfigOpts} [config] - Optional configuration for the client.
16
+ * @param {UnaryInterceptor<any, any>[]} [interceptors] - For internal use by `withGroup`.
17
+ */
18
+ constructor(config?: ConfigOpts, interceptors?: UnaryInterceptor<any, any>[]);
19
+ /**
20
+ * Returns a new client instance configured to send the specified group
21
+ * resource name in the request headers for subsequent API calls.
22
+ *
23
+ * @param {string} group - The operating group context to inject into the request
24
+ * in the format `groups/{ulid}` where {ulid} is a 26-character ULID.
25
+ * Example: 'groups/01ARZ3NDEKTSV4YWVF8F5BH32'
26
+ * @returns {TransferServiceGrpcWebClientV1} A new, configured instance of the client.
27
+ * @throws {Error} If the group format is invalid (validation occurs in GroupHeaderInterceptor)
28
+ */
29
+ withGroup(group: string): TransferServiceGrpcWebClientV1;
30
+ /**
31
+ * Creates a new transfer.
32
+ * @param {CreateTransferRequest} request - The request object for createtransfer.
33
+ * @returns {Promise<Transfer>} A promise that resolves with the transfer.
34
+ */
35
+ createTransfer(request: CreateTransferRequest): Promise<Transfer>;
36
+ /**
37
+ * Retrieves a transfer.
38
+ * @param {GetTransferRequest} request - The request object for gettransfer.
39
+ * @returns {Promise<Transfer>} A promise that resolves with the transfer.
40
+ */
41
+ getTransfer(request: GetTransferRequest): Promise<Transfer>;
42
+ /**
43
+ * Searches for transfers.
44
+ * @param {SearchTransfersByAddressRequest} request - The request object for searchtransfersbyaddress.
45
+ * @returns {Promise<SearchTransfersByAddressResponse>} A promise that resolves with the search results.
46
+ */
47
+ searchTransfersByAddress(request: SearchTransfersByAddressRequest): Promise<SearchTransfersByAddressResponse>;
48
+ /**
49
+ * Retrieves a list of transfers.
50
+ * @param {ListTransfersRequest} request - The request object for listtransfers.
51
+ * @returns {Promise<ListTransfersResponse>} A promise that resolves with the list of transfers.
52
+ */
53
+ listTransfers(request: ListTransfersRequest): Promise<ListTransfersResponse>;
54
+ /**
55
+ * Performs monitortransfer operation on transfer.
56
+ * Server-side streaming method with client-side validation and authentication.
57
+ * @param {MonitorTransferRequest} request - The request object for monitortransfer.
58
+ * @returns {grpcWeb.ClientReadableStream<Transfer>} A readable stream of Transfer messages.
59
+ * @throws {Error} If request validation fails.
60
+ *
61
+ * @example
62
+ * const stream = client.monitorTransfer(request);
63
+ * stream.on('data', (response) => {
64
+ * // Process each response
65
+ * console.log(response);
66
+ * });
67
+ * stream.on('end', () => {
68
+ * console.log('Stream ended');
69
+ * });
70
+ * stream.on('error', (err) => {
71
+ * console.error('Stream error:', err);
72
+ * });
73
+ */
74
+ monitorTransfer(request: MonitorTransferRequest): grpcWeb.ClientReadableStream<Transfer>;
75
+ }
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-meshts v1
3
+ // @generated from file meshtrade/wallet/transfer/v1/service.proto (package meshtrade.wallet.transfer.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TransferServiceGrpcWebClientV1 = void 0;
7
+ const grpc_web_1 = require("../../../common/grpc_web");
8
+ const service_grpc_web_pb_1 = require("./service_grpc_web_pb");
9
+ const config_1 = require("../../../common/config");
10
+ const groupHeaderInterceptor_1 = require("../../../common/groupHeaderInterceptor");
11
+ /**
12
+ * Validates that a request object is not null or undefined.
13
+ * @param {any} request - The request object to validate
14
+ * @throws {Error} If the request is null or undefined
15
+ */
16
+ function validateRequest(request) {
17
+ if (!request) {
18
+ throw new Error('Request cannot be null or undefined');
19
+ }
20
+ }
21
+ /**
22
+ * Client for interacting with the meshtrade.wallet.transfer.v1 transfer v1 API resource service.
23
+ */
24
+ class TransferServiceGrpcWebClientV1 {
25
+ /**
26
+ * Constructs an instance of TransferServiceGrpcWebClientV1.
27
+ * @param {ConfigOpts} [config] - Optional configuration for the client.
28
+ * @param {UnaryInterceptor<any, any>[]} [interceptors] - For internal use by `withGroup`.
29
+ */
30
+ constructor(config, interceptors) {
31
+ this._config = (0, config_1.getConfigFromOpts)(config);
32
+ this._interceptors = interceptors || [new grpc_web_1.LoggingInterceptor()];
33
+ // Construct the underlying gRPC-web service client
34
+ this._service = new service_grpc_web_pb_1.TransferServicePromiseClient(this._config.apiServerURL, null, {
35
+ withCredentials: true,
36
+ unaryInterceptors: this._interceptors,
37
+ });
38
+ }
39
+ /**
40
+ * Returns a new client instance configured to send the specified group
41
+ * resource name in the request headers for subsequent API calls.
42
+ *
43
+ * @param {string} group - The operating group context to inject into the request
44
+ * in the format `groups/{ulid}` where {ulid} is a 26-character ULID.
45
+ * Example: 'groups/01ARZ3NDEKTSV4YWVF8F5BH32'
46
+ * @returns {TransferServiceGrpcWebClientV1} A new, configured instance of the client.
47
+ * @throws {Error} If the group format is invalid (validation occurs in GroupHeaderInterceptor)
48
+ */
49
+ withGroup(group) {
50
+ // Check if a GroupHeaderInterceptor already exists.
51
+ const hasGroupInterceptor = this._interceptors.some((interceptor) => interceptor instanceof groupHeaderInterceptor_1.GroupHeaderInterceptor);
52
+ if (hasGroupInterceptor) {
53
+ throw new Error("Attempted to set group context twice. A group has already been set for this client instance.");
54
+ }
55
+ // Create a new interceptor for the group context
56
+ const groupInterceptor = new groupHeaderInterceptor_1.GroupHeaderInterceptor(group);
57
+ // Return a new client instance with the existing interceptors plus the new one
58
+ return new TransferServiceGrpcWebClientV1(this._config, [
59
+ ...this._interceptors,
60
+ groupInterceptor,
61
+ ]);
62
+ }
63
+ /**
64
+ * Creates a new transfer.
65
+ * @param {CreateTransferRequest} request - The request object for createtransfer.
66
+ * @returns {Promise<Transfer>} A promise that resolves with the transfer.
67
+ */
68
+ createTransfer(request) {
69
+ return this._service.createTransfer(request);
70
+ }
71
+ /**
72
+ * Retrieves a transfer.
73
+ * @param {GetTransferRequest} request - The request object for gettransfer.
74
+ * @returns {Promise<Transfer>} A promise that resolves with the transfer.
75
+ */
76
+ getTransfer(request) {
77
+ return this._service.getTransfer(request);
78
+ }
79
+ /**
80
+ * Searches for transfers.
81
+ * @param {SearchTransfersByAddressRequest} request - The request object for searchtransfersbyaddress.
82
+ * @returns {Promise<SearchTransfersByAddressResponse>} A promise that resolves with the search results.
83
+ */
84
+ searchTransfersByAddress(request) {
85
+ return this._service.searchTransfersByAddress(request);
86
+ }
87
+ /**
88
+ * Retrieves a list of transfers.
89
+ * @param {ListTransfersRequest} request - The request object for listtransfers.
90
+ * @returns {Promise<ListTransfersResponse>} A promise that resolves with the list of transfers.
91
+ */
92
+ listTransfers(request) {
93
+ return this._service.listTransfers(request);
94
+ }
95
+ /**
96
+ * Performs monitortransfer operation on transfer.
97
+ * Server-side streaming method with client-side validation and authentication.
98
+ * @param {MonitorTransferRequest} request - The request object for monitortransfer.
99
+ * @returns {grpcWeb.ClientReadableStream<Transfer>} A readable stream of Transfer messages.
100
+ * @throws {Error} If request validation fails.
101
+ *
102
+ * @example
103
+ * const stream = client.monitorTransfer(request);
104
+ * stream.on('data', (response) => {
105
+ * // Process each response
106
+ * console.log(response);
107
+ * });
108
+ * stream.on('end', () => {
109
+ * console.log('Stream ended');
110
+ * });
111
+ * stream.on('error', (err) => {
112
+ * console.error('Stream error:', err);
113
+ * });
114
+ */
115
+ monitorTransfer(request) {
116
+ // Validate request before initiating stream
117
+ validateRequest(request);
118
+ // Apply metadata from interceptors manually (grpc-web streaming doesn't support interceptors)
119
+ const metadata = {};
120
+ this._interceptors.forEach((interceptor) => {
121
+ if (interceptor instanceof groupHeaderInterceptor_1.GroupHeaderInterceptor) {
122
+ // Extract group header from GroupHeaderInterceptor
123
+ metadata['x-group'] = interceptor.group;
124
+ }
125
+ });
126
+ return this._service.monitorTransfer(request, metadata);
127
+ }
128
+ }
129
+ exports.TransferServiceGrpcWebClientV1 = TransferServiceGrpcWebClientV1;
@@ -0,0 +1,78 @@
1
+ import * as grpcWeb from 'grpc-web';
2
+
3
+ import * as meshtrade_wallet_transfer_v1_service_pb from '../../../../meshtrade/wallet/transfer/v1/service_pb'; // proto import: "meshtrade/wallet/transfer/v1/service.proto"
4
+ import * as meshtrade_wallet_transfer_v1_transfer_pb from '../../../../meshtrade/wallet/transfer/v1/transfer_pb'; // proto import: "meshtrade/wallet/transfer/v1/transfer.proto"
5
+
6
+
7
+ export class TransferServiceClient {
8
+ constructor (hostname: string,
9
+ credentials?: null | { [index: string]: string; },
10
+ options?: null | { [index: string]: any; });
11
+
12
+ createTransfer(
13
+ request: meshtrade_wallet_transfer_v1_service_pb.CreateTransferRequest,
14
+ metadata: grpcWeb.Metadata | undefined,
15
+ callback: (err: grpcWeb.RpcError,
16
+ response: meshtrade_wallet_transfer_v1_transfer_pb.Transfer) => void
17
+ ): grpcWeb.ClientReadableStream<meshtrade_wallet_transfer_v1_transfer_pb.Transfer>;
18
+
19
+ getTransfer(
20
+ request: meshtrade_wallet_transfer_v1_service_pb.GetTransferRequest,
21
+ metadata: grpcWeb.Metadata | undefined,
22
+ callback: (err: grpcWeb.RpcError,
23
+ response: meshtrade_wallet_transfer_v1_transfer_pb.Transfer) => void
24
+ ): grpcWeb.ClientReadableStream<meshtrade_wallet_transfer_v1_transfer_pb.Transfer>;
25
+
26
+ searchTransfersByAddress(
27
+ request: meshtrade_wallet_transfer_v1_service_pb.SearchTransfersByAddressRequest,
28
+ metadata: grpcWeb.Metadata | undefined,
29
+ callback: (err: grpcWeb.RpcError,
30
+ response: meshtrade_wallet_transfer_v1_service_pb.SearchTransfersByAddressResponse) => void
31
+ ): grpcWeb.ClientReadableStream<meshtrade_wallet_transfer_v1_service_pb.SearchTransfersByAddressResponse>;
32
+
33
+ listTransfers(
34
+ request: meshtrade_wallet_transfer_v1_service_pb.ListTransfersRequest,
35
+ metadata: grpcWeb.Metadata | undefined,
36
+ callback: (err: grpcWeb.RpcError,
37
+ response: meshtrade_wallet_transfer_v1_service_pb.ListTransfersResponse) => void
38
+ ): grpcWeb.ClientReadableStream<meshtrade_wallet_transfer_v1_service_pb.ListTransfersResponse>;
39
+
40
+ monitorTransfer(
41
+ request: meshtrade_wallet_transfer_v1_service_pb.MonitorTransferRequest,
42
+ metadata?: grpcWeb.Metadata
43
+ ): grpcWeb.ClientReadableStream<meshtrade_wallet_transfer_v1_transfer_pb.Transfer>;
44
+
45
+ }
46
+
47
+ export class TransferServicePromiseClient {
48
+ constructor (hostname: string,
49
+ credentials?: null | { [index: string]: string; },
50
+ options?: null | { [index: string]: any; });
51
+
52
+ createTransfer(
53
+ request: meshtrade_wallet_transfer_v1_service_pb.CreateTransferRequest,
54
+ metadata?: grpcWeb.Metadata
55
+ ): Promise<meshtrade_wallet_transfer_v1_transfer_pb.Transfer>;
56
+
57
+ getTransfer(
58
+ request: meshtrade_wallet_transfer_v1_service_pb.GetTransferRequest,
59
+ metadata?: grpcWeb.Metadata
60
+ ): Promise<meshtrade_wallet_transfer_v1_transfer_pb.Transfer>;
61
+
62
+ searchTransfersByAddress(
63
+ request: meshtrade_wallet_transfer_v1_service_pb.SearchTransfersByAddressRequest,
64
+ metadata?: grpcWeb.Metadata
65
+ ): Promise<meshtrade_wallet_transfer_v1_service_pb.SearchTransfersByAddressResponse>;
66
+
67
+ listTransfers(
68
+ request: meshtrade_wallet_transfer_v1_service_pb.ListTransfersRequest,
69
+ metadata?: grpcWeb.Metadata
70
+ ): Promise<meshtrade_wallet_transfer_v1_service_pb.ListTransfersResponse>;
71
+
72
+ monitorTransfer(
73
+ request: meshtrade_wallet_transfer_v1_service_pb.MonitorTransferRequest,
74
+ metadata?: grpcWeb.Metadata
75
+ ): grpcWeb.ClientReadableStream<meshtrade_wallet_transfer_v1_transfer_pb.Transfer>;
76
+
77
+ }
78
+