@meshtrade/api-old 1.30.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.
Files changed (205) hide show
  1. package/README.md +117 -0
  2. package/dist/buf/validate/validate_pb.js +17134 -0
  3. package/dist/meshtrade/common/config.d.ts +7 -0
  4. package/dist/meshtrade/common/config.js +9 -0
  5. package/dist/meshtrade/common/groupHeaderInterceptor.d.ts +64 -0
  6. package/dist/meshtrade/common/groupHeaderInterceptor.js +76 -0
  7. package/dist/meshtrade/common/grpc_web.d.ts +18 -0
  8. package/dist/meshtrade/common/grpc_web.js +34 -0
  9. package/dist/meshtrade/common/validation.d.ts +62 -0
  10. package/dist/meshtrade/common/validation.js +77 -0
  11. package/dist/meshtrade/compliance/client/v1/client_pb.d.ts +91 -0
  12. package/dist/meshtrade/compliance/client/v1/client_pb.js +645 -0
  13. package/dist/meshtrade/compliance/client/v1/company_pb.d.ts +178 -0
  14. package/dist/meshtrade/compliance/client/v1/company_pb.js +1322 -0
  15. package/dist/meshtrade/compliance/client/v1/company_representative_pb.d.ts +56 -0
  16. package/dist/meshtrade/compliance/client/v1/company_representative_pb.js +422 -0
  17. package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.d.ts +15 -0
  18. package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.js +40 -0
  19. package/dist/meshtrade/compliance/client/v1/fund_pb.d.ts +42 -0
  20. package/dist/meshtrade/compliance/client/v1/fund_pb.js +321 -0
  21. package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.d.ts +11 -0
  22. package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.js +36 -0
  23. package/dist/meshtrade/compliance/client/v1/index.d.ts +18 -0
  24. package/dist/meshtrade/compliance/client/v1/index.js +61 -0
  25. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.d.ts +50 -0
  26. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.js +386 -0
  27. package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.d.ts +22 -0
  28. package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.js +47 -0
  29. package/dist/meshtrade/compliance/client/v1/natural_person_pb.d.ts +94 -0
  30. package/dist/meshtrade/compliance/client/v1/natural_person_pb.js +729 -0
  31. package/dist/meshtrade/compliance/client/v1/pep_status_pb.d.ts +10 -0
  32. package/dist/meshtrade/compliance/client/v1/pep_status_pb.js +35 -0
  33. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.d.ts +47 -0
  34. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +78 -0
  35. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.d.ts +56 -0
  36. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.js +270 -0
  37. package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +79 -0
  38. package/dist/meshtrade/compliance/client/v1/service_pb.js +660 -0
  39. package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.d.ts +29 -0
  40. package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.js +54 -0
  41. package/dist/meshtrade/compliance/client/v1/tax_residency_pb.d.ts +27 -0
  42. package/dist/meshtrade/compliance/client/v1/tax_residency_pb.js +208 -0
  43. package/dist/meshtrade/compliance/client/v1/trust_pb.d.ts +42 -0
  44. package/dist/meshtrade/compliance/client/v1/trust_pb.js +321 -0
  45. package/dist/meshtrade/compliance/client/v1/verification_status_pb.d.ts +11 -0
  46. package/dist/meshtrade/compliance/client/v1/verification_status_pb.js +36 -0
  47. package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.d.ts +27 -0
  48. package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.js +208 -0
  49. package/dist/meshtrade/iam/api_user/v1/api_user_pb.d.ts +57 -0
  50. package/dist/meshtrade/iam/api_user/v1/api_user_pb.js +376 -0
  51. package/dist/meshtrade/iam/api_user/v1/index.d.ts +5 -0
  52. package/dist/meshtrade/iam/api_user/v1/index.js +46 -0
  53. package/dist/meshtrade/iam/api_user/v1/service_grpc_web_client_meshts.d.ts +83 -0
  54. package/dist/meshtrade/iam/api_user/v1/service_grpc_web_client_meshts.js +126 -0
  55. package/dist/meshtrade/iam/api_user/v1/service_grpc_web_pb.d.ts +128 -0
  56. package/dist/meshtrade/iam/api_user/v1/service_grpc_web_pb.js +636 -0
  57. package/dist/meshtrade/iam/api_user/v1/service_pb.d.ts +219 -0
  58. package/dist/meshtrade/iam/api_user/v1/service_pb.js +1866 -0
  59. package/dist/meshtrade/iam/group/v1/group_pb.d.ts +35 -0
  60. package/dist/meshtrade/iam/group/v1/group_pb.js +268 -0
  61. package/dist/meshtrade/iam/group/v1/index.d.ts +4 -0
  62. package/dist/meshtrade/iam/group/v1/index.js +45 -0
  63. package/dist/meshtrade/iam/group/v1/service_grpc_web_client_meshts.d.ts +59 -0
  64. package/dist/meshtrade/iam/group/v1/service_grpc_web_client_meshts.js +94 -0
  65. package/dist/meshtrade/iam/group/v1/service_grpc_web_pb.d.ts +80 -0
  66. package/dist/meshtrade/iam/group/v1/service_grpc_web_pb.js +394 -0
  67. package/dist/meshtrade/iam/group/v1/service_pb.d.ts +200 -0
  68. package/dist/meshtrade/iam/group/v1/service_pb.js +1664 -0
  69. package/dist/meshtrade/iam/role/v1/index.d.ts +2 -0
  70. package/dist/meshtrade/iam/role/v1/index.js +43 -0
  71. package/dist/meshtrade/iam/role/v1/role.d.ts +71 -0
  72. package/dist/meshtrade/iam/role/v1/role.js +192 -0
  73. package/dist/meshtrade/iam/role/v1/role_pb.d.ts +41 -0
  74. package/dist/meshtrade/iam/role/v1/role_pb.js +66 -0
  75. package/dist/meshtrade/iam/user/v1/index.d.ts +4 -0
  76. package/dist/meshtrade/iam/user/v1/index.js +45 -0
  77. package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.d.ts +77 -0
  78. package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.js +118 -0
  79. package/dist/meshtrade/iam/user/v1/service_grpc_web_pb.d.ts +116 -0
  80. package/dist/meshtrade/iam/user/v1/service_grpc_web_pb.js +577 -0
  81. package/dist/meshtrade/iam/user/v1/service_pb.d.ts +262 -0
  82. package/dist/meshtrade/iam/user/v1/service_pb.js +2202 -0
  83. package/dist/meshtrade/iam/user/v1/user_pb.d.ts +37 -0
  84. package/dist/meshtrade/iam/user/v1/user_pb.js +294 -0
  85. package/dist/meshtrade/ledger/transaction/v1/index.d.ts +6 -0
  86. package/dist/meshtrade/ledger/transaction/v1/index.js +47 -0
  87. package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_client_meshts.d.ts +56 -0
  88. package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_client_meshts.js +96 -0
  89. package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_pb.d.ts +41 -0
  90. package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_pb.js +204 -0
  91. package/dist/meshtrade/ledger/transaction/v1/service_pb.d.ts +79 -0
  92. package/dist/meshtrade/ledger/transaction/v1/service_pb.js +638 -0
  93. package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.d.ts +13 -0
  94. package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.js +38 -0
  95. package/dist/meshtrade/ledger/transaction/v1/transaction_state.d.ts +14 -0
  96. package/dist/meshtrade/ledger/transaction/v1/transaction_state.js +64 -0
  97. package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.d.ts +14 -0
  98. package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.js +39 -0
  99. package/dist/meshtrade/market_data/price/v1/index.d.ts +4 -0
  100. package/dist/meshtrade/market_data/price/v1/index.js +45 -0
  101. package/dist/meshtrade/market_data/price/v1/price_pb.d.ts +45 -0
  102. package/dist/meshtrade/market_data/price/v1/price_pb.js +356 -0
  103. package/dist/meshtrade/market_data/price/v1/service_grpc_web_client_meshts.d.ts +35 -0
  104. package/dist/meshtrade/market_data/price/v1/service_grpc_web_client_meshts.js +62 -0
  105. package/dist/meshtrade/market_data/price/v1/service_grpc_web_pb.d.ts +32 -0
  106. package/dist/meshtrade/market_data/price/v1/service_grpc_web_pb.js +150 -0
  107. package/dist/meshtrade/market_data/price/v1/service_pb.d.ts +34 -0
  108. package/dist/meshtrade/market_data/price/v1/service_pb.js +256 -0
  109. package/dist/meshtrade/option/method_options/v1/index.d.ts +1 -0
  110. package/dist/meshtrade/option/method_options/v1/index.js +42 -0
  111. package/dist/meshtrade/option/method_options/v1/method_options_pb.d.ts +44 -0
  112. package/dist/meshtrade/option/method_options/v1/method_options_pb.js +314 -0
  113. package/dist/meshtrade/reporting/account_report/v1/account_report_pb.d.ts +112 -0
  114. package/dist/meshtrade/reporting/account_report/v1/account_report_pb.js +897 -0
  115. package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.d.ts +26 -0
  116. package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.js +206 -0
  117. package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.d.ts +50 -0
  118. package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.js +393 -0
  119. package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.d.ts +66 -0
  120. package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.js +460 -0
  121. package/dist/meshtrade/reporting/account_report/v1/index.d.ts +8 -0
  122. package/dist/meshtrade/reporting/account_report/v1/index.js +49 -0
  123. package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_client_meshts.d.ts +41 -0
  124. package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_client_meshts.js +70 -0
  125. package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_pb.d.ts +44 -0
  126. package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_pb.js +213 -0
  127. package/dist/meshtrade/reporting/account_report/v1/service_pb.d.ts +99 -0
  128. package/dist/meshtrade/reporting/account_report/v1/service_pb.js +796 -0
  129. package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.d.ts +62 -0
  130. package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.js +495 -0
  131. package/dist/meshtrade/studio/instrument/v1/index.d.ts +3 -0
  132. package/dist/meshtrade/studio/instrument/v1/index.js +44 -0
  133. package/dist/meshtrade/studio/instrument/v1/instrument_pb.d.ts +38 -0
  134. package/dist/meshtrade/studio/instrument/v1/instrument_pb.js +291 -0
  135. package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.d.ts +34 -0
  136. package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.js +59 -0
  137. package/dist/meshtrade/studio/instrument/v1/unit_pb.d.ts +25 -0
  138. package/dist/meshtrade/studio/instrument/v1/unit_pb.js +50 -0
  139. package/dist/meshtrade/trading/limit_order/v1/index.d.ts +4 -0
  140. package/dist/meshtrade/trading/limit_order/v1/index.js +45 -0
  141. package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.d.ts +83 -0
  142. package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.js +559 -0
  143. package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_client_meshts.d.ts +87 -0
  144. package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_client_meshts.js +136 -0
  145. package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_pb.d.ts +102 -0
  146. package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_pb.js +509 -0
  147. package/dist/meshtrade/trading/limit_order/v1/service_pb.d.ts +203 -0
  148. package/dist/meshtrade/trading/limit_order/v1/service_pb.js +1692 -0
  149. package/dist/meshtrade/trading/market_order/v1/index.d.ts +4 -0
  150. package/dist/meshtrade/trading/market_order/v1/index.js +45 -0
  151. package/dist/meshtrade/trading/market_order/v1/market_order_pb.d.ts +22 -0
  152. package/dist/meshtrade/trading/market_order/v1/market_order_pb.js +176 -0
  153. package/dist/meshtrade/trading/market_order/v1/service_grpc_web_client_meshts.d.ts +35 -0
  154. package/dist/meshtrade/trading/market_order/v1/service_grpc_web_client_meshts.js +62 -0
  155. package/dist/meshtrade/trading/market_order/v1/service_grpc_web_pb.d.ts +32 -0
  156. package/dist/meshtrade/trading/market_order/v1/service_grpc_web_pb.js +146 -0
  157. package/dist/meshtrade/trading/market_order/v1/service_pb.d.ts +24 -0
  158. package/dist/meshtrade/trading/market_order/v1/service_pb.js +180 -0
  159. package/dist/meshtrade/type/v1/address_pb.d.ts +44 -0
  160. package/dist/meshtrade/type/v1/address_pb.js +352 -0
  161. package/dist/meshtrade/type/v1/amount.d.ts +13 -0
  162. package/dist/meshtrade/type/v1/amount.js +66 -0
  163. package/dist/meshtrade/type/v1/amountWrapper.d.ts +74 -0
  164. package/dist/meshtrade/type/v1/amountWrapper.js +98 -0
  165. package/dist/meshtrade/type/v1/amount_pb.d.ts +32 -0
  166. package/dist/meshtrade/type/v1/amount_pb.js +252 -0
  167. package/dist/meshtrade/type/v1/contact_details_pb.d.ts +54 -0
  168. package/dist/meshtrade/type/v1/contact_details_pb.js +416 -0
  169. package/dist/meshtrade/type/v1/date.d.ts +49 -0
  170. package/dist/meshtrade/type/v1/date.js +136 -0
  171. package/dist/meshtrade/type/v1/date_pb.d.ts +30 -0
  172. package/dist/meshtrade/type/v1/date_pb.js +236 -0
  173. package/dist/meshtrade/type/v1/decimalConversions.d.ts +24 -0
  174. package/dist/meshtrade/type/v1/decimalConversions.js +40 -0
  175. package/dist/meshtrade/type/v1/decimal_pb.d.ts +22 -0
  176. package/dist/meshtrade/type/v1/decimal_pb.js +176 -0
  177. package/dist/meshtrade/type/v1/index.d.ts +15 -0
  178. package/dist/meshtrade/type/v1/index.js +56 -0
  179. package/dist/meshtrade/type/v1/ledger.d.ts +27 -0
  180. package/dist/meshtrade/type/v1/ledger.js +115 -0
  181. package/dist/meshtrade/type/v1/ledger_pb.d.ts +14 -0
  182. package/dist/meshtrade/type/v1/ledger_pb.js +39 -0
  183. package/dist/meshtrade/type/v1/sorting_pb.d.ts +9 -0
  184. package/dist/meshtrade/type/v1/sorting_pb.js +34 -0
  185. package/dist/meshtrade/type/v1/time_of_day.d.ts +74 -0
  186. package/dist/meshtrade/type/v1/time_of_day.js +205 -0
  187. package/dist/meshtrade/type/v1/time_of_day_pb.d.ts +34 -0
  188. package/dist/meshtrade/type/v1/time_of_day_pb.js +266 -0
  189. package/dist/meshtrade/type/v1/token.d.ts +4 -0
  190. package/dist/meshtrade/type/v1/token.js +24 -0
  191. package/dist/meshtrade/type/v1/tokenWrapper.d.ts +49 -0
  192. package/dist/meshtrade/type/v1/tokenWrapper.js +76 -0
  193. package/dist/meshtrade/type/v1/token_pb.d.ts +31 -0
  194. package/dist/meshtrade/type/v1/token_pb.js +238 -0
  195. package/dist/meshtrade/wallet/account/v1/account_pb.d.ts +149 -0
  196. package/dist/meshtrade/wallet/account/v1/account_pb.js +1160 -0
  197. package/dist/meshtrade/wallet/account/v1/index.d.ts +4 -0
  198. package/dist/meshtrade/wallet/account/v1/index.js +45 -0
  199. package/dist/meshtrade/wallet/account/v1/service_grpc_web_client_meshts.d.ts +83 -0
  200. package/dist/meshtrade/wallet/account/v1/service_grpc_web_client_meshts.js +126 -0
  201. package/dist/meshtrade/wallet/account/v1/service_grpc_web_pb.d.ts +128 -0
  202. package/dist/meshtrade/wallet/account/v1/service_grpc_web_pb.js +638 -0
  203. package/dist/meshtrade/wallet/account/v1/service_pb.d.ts +350 -0
  204. package/dist/meshtrade/wallet/account/v1/service_pb.js +2930 -0
  205. package/package.json +171 -0
@@ -0,0 +1,636 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for meshtrade.iam.api_user.v1
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v0.0.0
11
+ // source: meshtrade/iam/api_user/v1/service.proto
12
+
13
+
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+
18
+
19
+ const grpc = {};
20
+ grpc.web = require('grpc-web');
21
+
22
+
23
+ var buf_validate_validate_pb = require('../../../../buf/validate/validate_pb.js')
24
+
25
+ var meshtrade_iam_api_user_v1_api_user_pb = require('../../../../meshtrade/iam/api_user/v1/api_user_pb.js')
26
+
27
+ var meshtrade_option_method_options_v1_method_options_pb = require('../../../../meshtrade/option/method_options/v1/method_options_pb.js')
28
+ const proto = {};
29
+ proto.meshtrade = {};
30
+ proto.meshtrade.iam = {};
31
+ proto.meshtrade.iam.api_user = {};
32
+ proto.meshtrade.iam.api_user.v1 = require('./service_pb.js');
33
+
34
+ /**
35
+ * @param {string} hostname
36
+ * @param {?Object} credentials
37
+ * @param {?grpc.web.ClientOptions} options
38
+ * @constructor
39
+ * @struct
40
+ * @final
41
+ */
42
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient =
43
+ function(hostname, credentials, options) {
44
+ if (!options) options = {};
45
+ options.format = 'binary';
46
+
47
+ /**
48
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
49
+ */
50
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
51
+
52
+ /**
53
+ * @private @const {string} The hostname
54
+ */
55
+ this.hostname_ = hostname.replace(/\/+$/, '');
56
+
57
+ };
58
+
59
+
60
+ /**
61
+ * @param {string} hostname
62
+ * @param {?Object} credentials
63
+ * @param {?grpc.web.ClientOptions} options
64
+ * @constructor
65
+ * @struct
66
+ * @final
67
+ */
68
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient =
69
+ function(hostname, credentials, options) {
70
+ if (!options) options = {};
71
+ options.format = 'binary';
72
+
73
+ /**
74
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
75
+ */
76
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
77
+
78
+ /**
79
+ * @private @const {string} The hostname
80
+ */
81
+ this.hostname_ = hostname.replace(/\/+$/, '');
82
+
83
+ };
84
+
85
+
86
+ /**
87
+ * @const
88
+ * @type {!grpc.web.MethodDescriptor<
89
+ * !proto.meshtrade.iam.api_user.v1.GetAPIUserRequest,
90
+ * !proto.meshtrade.iam.api_user.v1.APIUser>}
91
+ */
92
+ const methodDescriptor_APIUserService_GetAPIUser = new grpc.web.MethodDescriptor(
93
+ '/meshtrade.iam.api_user.v1.APIUserService/GetAPIUser',
94
+ grpc.web.MethodType.UNARY,
95
+ proto.meshtrade.iam.api_user.v1.GetAPIUserRequest,
96
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser,
97
+ /**
98
+ * @param {!proto.meshtrade.iam.api_user.v1.GetAPIUserRequest} request
99
+ * @return {!Uint8Array}
100
+ */
101
+ function(request) {
102
+ return request.serializeBinary();
103
+ },
104
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser.deserializeBinary
105
+ );
106
+
107
+
108
+ /**
109
+ * @param {!proto.meshtrade.iam.api_user.v1.GetAPIUserRequest} request The
110
+ * request proto
111
+ * @param {?Object<string, string>} metadata User defined
112
+ * call metadata
113
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.api_user.v1.APIUser)}
114
+ * callback The callback function(error, response)
115
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.api_user.v1.APIUser>|undefined}
116
+ * The XHR Node Readable Stream
117
+ */
118
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient.prototype.getAPIUser =
119
+ function(request, metadata, callback) {
120
+ return this.client_.rpcCall(this.hostname_ +
121
+ '/meshtrade.iam.api_user.v1.APIUserService/GetAPIUser',
122
+ request,
123
+ metadata || {},
124
+ methodDescriptor_APIUserService_GetAPIUser,
125
+ callback);
126
+ };
127
+
128
+
129
+ /**
130
+ * @param {!proto.meshtrade.iam.api_user.v1.GetAPIUserRequest} request The
131
+ * request proto
132
+ * @param {?Object<string, string>=} metadata User defined
133
+ * call metadata
134
+ * @return {!Promise<!proto.meshtrade.iam.api_user.v1.APIUser>}
135
+ * Promise that resolves to the response
136
+ */
137
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient.prototype.getAPIUser =
138
+ function(request, metadata) {
139
+ return this.client_.unaryCall(this.hostname_ +
140
+ '/meshtrade.iam.api_user.v1.APIUserService/GetAPIUser',
141
+ request,
142
+ metadata || {},
143
+ methodDescriptor_APIUserService_GetAPIUser);
144
+ };
145
+
146
+
147
+ /**
148
+ * @const
149
+ * @type {!grpc.web.MethodDescriptor<
150
+ * !proto.meshtrade.iam.api_user.v1.CreateAPIUserRequest,
151
+ * !proto.meshtrade.iam.api_user.v1.APIUser>}
152
+ */
153
+ const methodDescriptor_APIUserService_CreateAPIUser = new grpc.web.MethodDescriptor(
154
+ '/meshtrade.iam.api_user.v1.APIUserService/CreateAPIUser',
155
+ grpc.web.MethodType.UNARY,
156
+ proto.meshtrade.iam.api_user.v1.CreateAPIUserRequest,
157
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser,
158
+ /**
159
+ * @param {!proto.meshtrade.iam.api_user.v1.CreateAPIUserRequest} request
160
+ * @return {!Uint8Array}
161
+ */
162
+ function(request) {
163
+ return request.serializeBinary();
164
+ },
165
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser.deserializeBinary
166
+ );
167
+
168
+
169
+ /**
170
+ * @param {!proto.meshtrade.iam.api_user.v1.CreateAPIUserRequest} request The
171
+ * request proto
172
+ * @param {?Object<string, string>} metadata User defined
173
+ * call metadata
174
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.api_user.v1.APIUser)}
175
+ * callback The callback function(error, response)
176
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.api_user.v1.APIUser>|undefined}
177
+ * The XHR Node Readable Stream
178
+ */
179
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient.prototype.createAPIUser =
180
+ function(request, metadata, callback) {
181
+ return this.client_.rpcCall(this.hostname_ +
182
+ '/meshtrade.iam.api_user.v1.APIUserService/CreateAPIUser',
183
+ request,
184
+ metadata || {},
185
+ methodDescriptor_APIUserService_CreateAPIUser,
186
+ callback);
187
+ };
188
+
189
+
190
+ /**
191
+ * @param {!proto.meshtrade.iam.api_user.v1.CreateAPIUserRequest} request The
192
+ * request proto
193
+ * @param {?Object<string, string>=} metadata User defined
194
+ * call metadata
195
+ * @return {!Promise<!proto.meshtrade.iam.api_user.v1.APIUser>}
196
+ * Promise that resolves to the response
197
+ */
198
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient.prototype.createAPIUser =
199
+ function(request, metadata) {
200
+ return this.client_.unaryCall(this.hostname_ +
201
+ '/meshtrade.iam.api_user.v1.APIUserService/CreateAPIUser',
202
+ request,
203
+ metadata || {},
204
+ methodDescriptor_APIUserService_CreateAPIUser);
205
+ };
206
+
207
+
208
+ /**
209
+ * @const
210
+ * @type {!grpc.web.MethodDescriptor<
211
+ * !proto.meshtrade.iam.api_user.v1.AssignRolesToAPIUserRequest,
212
+ * !proto.meshtrade.iam.api_user.v1.APIUser>}
213
+ */
214
+ const methodDescriptor_APIUserService_AssignRolesToAPIUser = new grpc.web.MethodDescriptor(
215
+ '/meshtrade.iam.api_user.v1.APIUserService/AssignRolesToAPIUser',
216
+ grpc.web.MethodType.UNARY,
217
+ proto.meshtrade.iam.api_user.v1.AssignRolesToAPIUserRequest,
218
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser,
219
+ /**
220
+ * @param {!proto.meshtrade.iam.api_user.v1.AssignRolesToAPIUserRequest} request
221
+ * @return {!Uint8Array}
222
+ */
223
+ function(request) {
224
+ return request.serializeBinary();
225
+ },
226
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser.deserializeBinary
227
+ );
228
+
229
+
230
+ /**
231
+ * @param {!proto.meshtrade.iam.api_user.v1.AssignRolesToAPIUserRequest} request The
232
+ * request proto
233
+ * @param {?Object<string, string>} metadata User defined
234
+ * call metadata
235
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.api_user.v1.APIUser)}
236
+ * callback The callback function(error, response)
237
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.api_user.v1.APIUser>|undefined}
238
+ * The XHR Node Readable Stream
239
+ */
240
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient.prototype.assignRolesToAPIUser =
241
+ function(request, metadata, callback) {
242
+ return this.client_.rpcCall(this.hostname_ +
243
+ '/meshtrade.iam.api_user.v1.APIUserService/AssignRolesToAPIUser',
244
+ request,
245
+ metadata || {},
246
+ methodDescriptor_APIUserService_AssignRolesToAPIUser,
247
+ callback);
248
+ };
249
+
250
+
251
+ /**
252
+ * @param {!proto.meshtrade.iam.api_user.v1.AssignRolesToAPIUserRequest} request The
253
+ * request proto
254
+ * @param {?Object<string, string>=} metadata User defined
255
+ * call metadata
256
+ * @return {!Promise<!proto.meshtrade.iam.api_user.v1.APIUser>}
257
+ * Promise that resolves to the response
258
+ */
259
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient.prototype.assignRolesToAPIUser =
260
+ function(request, metadata) {
261
+ return this.client_.unaryCall(this.hostname_ +
262
+ '/meshtrade.iam.api_user.v1.APIUserService/AssignRolesToAPIUser',
263
+ request,
264
+ metadata || {},
265
+ methodDescriptor_APIUserService_AssignRolesToAPIUser);
266
+ };
267
+
268
+
269
+ /**
270
+ * @const
271
+ * @type {!grpc.web.MethodDescriptor<
272
+ * !proto.meshtrade.iam.api_user.v1.RevokeRolesFromAPIUserRequest,
273
+ * !proto.meshtrade.iam.api_user.v1.APIUser>}
274
+ */
275
+ const methodDescriptor_APIUserService_RevokeRolesFromAPIUser = new grpc.web.MethodDescriptor(
276
+ '/meshtrade.iam.api_user.v1.APIUserService/RevokeRolesFromAPIUser',
277
+ grpc.web.MethodType.UNARY,
278
+ proto.meshtrade.iam.api_user.v1.RevokeRolesFromAPIUserRequest,
279
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser,
280
+ /**
281
+ * @param {!proto.meshtrade.iam.api_user.v1.RevokeRolesFromAPIUserRequest} request
282
+ * @return {!Uint8Array}
283
+ */
284
+ function(request) {
285
+ return request.serializeBinary();
286
+ },
287
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser.deserializeBinary
288
+ );
289
+
290
+
291
+ /**
292
+ * @param {!proto.meshtrade.iam.api_user.v1.RevokeRolesFromAPIUserRequest} request The
293
+ * request proto
294
+ * @param {?Object<string, string>} metadata User defined
295
+ * call metadata
296
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.api_user.v1.APIUser)}
297
+ * callback The callback function(error, response)
298
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.api_user.v1.APIUser>|undefined}
299
+ * The XHR Node Readable Stream
300
+ */
301
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient.prototype.revokeRolesFromAPIUser =
302
+ function(request, metadata, callback) {
303
+ return this.client_.rpcCall(this.hostname_ +
304
+ '/meshtrade.iam.api_user.v1.APIUserService/RevokeRolesFromAPIUser',
305
+ request,
306
+ metadata || {},
307
+ methodDescriptor_APIUserService_RevokeRolesFromAPIUser,
308
+ callback);
309
+ };
310
+
311
+
312
+ /**
313
+ * @param {!proto.meshtrade.iam.api_user.v1.RevokeRolesFromAPIUserRequest} request The
314
+ * request proto
315
+ * @param {?Object<string, string>=} metadata User defined
316
+ * call metadata
317
+ * @return {!Promise<!proto.meshtrade.iam.api_user.v1.APIUser>}
318
+ * Promise that resolves to the response
319
+ */
320
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient.prototype.revokeRolesFromAPIUser =
321
+ function(request, metadata) {
322
+ return this.client_.unaryCall(this.hostname_ +
323
+ '/meshtrade.iam.api_user.v1.APIUserService/RevokeRolesFromAPIUser',
324
+ request,
325
+ metadata || {},
326
+ methodDescriptor_APIUserService_RevokeRolesFromAPIUser);
327
+ };
328
+
329
+
330
+ /**
331
+ * @const
332
+ * @type {!grpc.web.MethodDescriptor<
333
+ * !proto.meshtrade.iam.api_user.v1.ListAPIUsersRequest,
334
+ * !proto.meshtrade.iam.api_user.v1.ListAPIUsersResponse>}
335
+ */
336
+ const methodDescriptor_APIUserService_ListAPIUsers = new grpc.web.MethodDescriptor(
337
+ '/meshtrade.iam.api_user.v1.APIUserService/ListAPIUsers',
338
+ grpc.web.MethodType.UNARY,
339
+ proto.meshtrade.iam.api_user.v1.ListAPIUsersRequest,
340
+ proto.meshtrade.iam.api_user.v1.ListAPIUsersResponse,
341
+ /**
342
+ * @param {!proto.meshtrade.iam.api_user.v1.ListAPIUsersRequest} request
343
+ * @return {!Uint8Array}
344
+ */
345
+ function(request) {
346
+ return request.serializeBinary();
347
+ },
348
+ proto.meshtrade.iam.api_user.v1.ListAPIUsersResponse.deserializeBinary
349
+ );
350
+
351
+
352
+ /**
353
+ * @param {!proto.meshtrade.iam.api_user.v1.ListAPIUsersRequest} request The
354
+ * request proto
355
+ * @param {?Object<string, string>} metadata User defined
356
+ * call metadata
357
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.api_user.v1.ListAPIUsersResponse)}
358
+ * callback The callback function(error, response)
359
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.api_user.v1.ListAPIUsersResponse>|undefined}
360
+ * The XHR Node Readable Stream
361
+ */
362
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient.prototype.listAPIUsers =
363
+ function(request, metadata, callback) {
364
+ return this.client_.rpcCall(this.hostname_ +
365
+ '/meshtrade.iam.api_user.v1.APIUserService/ListAPIUsers',
366
+ request,
367
+ metadata || {},
368
+ methodDescriptor_APIUserService_ListAPIUsers,
369
+ callback);
370
+ };
371
+
372
+
373
+ /**
374
+ * @param {!proto.meshtrade.iam.api_user.v1.ListAPIUsersRequest} request The
375
+ * request proto
376
+ * @param {?Object<string, string>=} metadata User defined
377
+ * call metadata
378
+ * @return {!Promise<!proto.meshtrade.iam.api_user.v1.ListAPIUsersResponse>}
379
+ * Promise that resolves to the response
380
+ */
381
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient.prototype.listAPIUsers =
382
+ function(request, metadata) {
383
+ return this.client_.unaryCall(this.hostname_ +
384
+ '/meshtrade.iam.api_user.v1.APIUserService/ListAPIUsers',
385
+ request,
386
+ metadata || {},
387
+ methodDescriptor_APIUserService_ListAPIUsers);
388
+ };
389
+
390
+
391
+ /**
392
+ * @const
393
+ * @type {!grpc.web.MethodDescriptor<
394
+ * !proto.meshtrade.iam.api_user.v1.SearchAPIUsersRequest,
395
+ * !proto.meshtrade.iam.api_user.v1.SearchAPIUsersResponse>}
396
+ */
397
+ const methodDescriptor_APIUserService_SearchAPIUsers = new grpc.web.MethodDescriptor(
398
+ '/meshtrade.iam.api_user.v1.APIUserService/SearchAPIUsers',
399
+ grpc.web.MethodType.UNARY,
400
+ proto.meshtrade.iam.api_user.v1.SearchAPIUsersRequest,
401
+ proto.meshtrade.iam.api_user.v1.SearchAPIUsersResponse,
402
+ /**
403
+ * @param {!proto.meshtrade.iam.api_user.v1.SearchAPIUsersRequest} request
404
+ * @return {!Uint8Array}
405
+ */
406
+ function(request) {
407
+ return request.serializeBinary();
408
+ },
409
+ proto.meshtrade.iam.api_user.v1.SearchAPIUsersResponse.deserializeBinary
410
+ );
411
+
412
+
413
+ /**
414
+ * @param {!proto.meshtrade.iam.api_user.v1.SearchAPIUsersRequest} request The
415
+ * request proto
416
+ * @param {?Object<string, string>} metadata User defined
417
+ * call metadata
418
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.api_user.v1.SearchAPIUsersResponse)}
419
+ * callback The callback function(error, response)
420
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.api_user.v1.SearchAPIUsersResponse>|undefined}
421
+ * The XHR Node Readable Stream
422
+ */
423
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient.prototype.searchAPIUsers =
424
+ function(request, metadata, callback) {
425
+ return this.client_.rpcCall(this.hostname_ +
426
+ '/meshtrade.iam.api_user.v1.APIUserService/SearchAPIUsers',
427
+ request,
428
+ metadata || {},
429
+ methodDescriptor_APIUserService_SearchAPIUsers,
430
+ callback);
431
+ };
432
+
433
+
434
+ /**
435
+ * @param {!proto.meshtrade.iam.api_user.v1.SearchAPIUsersRequest} request The
436
+ * request proto
437
+ * @param {?Object<string, string>=} metadata User defined
438
+ * call metadata
439
+ * @return {!Promise<!proto.meshtrade.iam.api_user.v1.SearchAPIUsersResponse>}
440
+ * Promise that resolves to the response
441
+ */
442
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient.prototype.searchAPIUsers =
443
+ function(request, metadata) {
444
+ return this.client_.unaryCall(this.hostname_ +
445
+ '/meshtrade.iam.api_user.v1.APIUserService/SearchAPIUsers',
446
+ request,
447
+ metadata || {},
448
+ methodDescriptor_APIUserService_SearchAPIUsers);
449
+ };
450
+
451
+
452
+ /**
453
+ * @const
454
+ * @type {!grpc.web.MethodDescriptor<
455
+ * !proto.meshtrade.iam.api_user.v1.ActivateAPIUserRequest,
456
+ * !proto.meshtrade.iam.api_user.v1.APIUser>}
457
+ */
458
+ const methodDescriptor_APIUserService_ActivateAPIUser = new grpc.web.MethodDescriptor(
459
+ '/meshtrade.iam.api_user.v1.APIUserService/ActivateAPIUser',
460
+ grpc.web.MethodType.UNARY,
461
+ proto.meshtrade.iam.api_user.v1.ActivateAPIUserRequest,
462
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser,
463
+ /**
464
+ * @param {!proto.meshtrade.iam.api_user.v1.ActivateAPIUserRequest} request
465
+ * @return {!Uint8Array}
466
+ */
467
+ function(request) {
468
+ return request.serializeBinary();
469
+ },
470
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser.deserializeBinary
471
+ );
472
+
473
+
474
+ /**
475
+ * @param {!proto.meshtrade.iam.api_user.v1.ActivateAPIUserRequest} request The
476
+ * request proto
477
+ * @param {?Object<string, string>} metadata User defined
478
+ * call metadata
479
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.api_user.v1.APIUser)}
480
+ * callback The callback function(error, response)
481
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.api_user.v1.APIUser>|undefined}
482
+ * The XHR Node Readable Stream
483
+ */
484
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient.prototype.activateAPIUser =
485
+ function(request, metadata, callback) {
486
+ return this.client_.rpcCall(this.hostname_ +
487
+ '/meshtrade.iam.api_user.v1.APIUserService/ActivateAPIUser',
488
+ request,
489
+ metadata || {},
490
+ methodDescriptor_APIUserService_ActivateAPIUser,
491
+ callback);
492
+ };
493
+
494
+
495
+ /**
496
+ * @param {!proto.meshtrade.iam.api_user.v1.ActivateAPIUserRequest} request The
497
+ * request proto
498
+ * @param {?Object<string, string>=} metadata User defined
499
+ * call metadata
500
+ * @return {!Promise<!proto.meshtrade.iam.api_user.v1.APIUser>}
501
+ * Promise that resolves to the response
502
+ */
503
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient.prototype.activateAPIUser =
504
+ function(request, metadata) {
505
+ return this.client_.unaryCall(this.hostname_ +
506
+ '/meshtrade.iam.api_user.v1.APIUserService/ActivateAPIUser',
507
+ request,
508
+ metadata || {},
509
+ methodDescriptor_APIUserService_ActivateAPIUser);
510
+ };
511
+
512
+
513
+ /**
514
+ * @const
515
+ * @type {!grpc.web.MethodDescriptor<
516
+ * !proto.meshtrade.iam.api_user.v1.DeactivateAPIUserRequest,
517
+ * !proto.meshtrade.iam.api_user.v1.APIUser>}
518
+ */
519
+ const methodDescriptor_APIUserService_DeactivateAPIUser = new grpc.web.MethodDescriptor(
520
+ '/meshtrade.iam.api_user.v1.APIUserService/DeactivateAPIUser',
521
+ grpc.web.MethodType.UNARY,
522
+ proto.meshtrade.iam.api_user.v1.DeactivateAPIUserRequest,
523
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser,
524
+ /**
525
+ * @param {!proto.meshtrade.iam.api_user.v1.DeactivateAPIUserRequest} request
526
+ * @return {!Uint8Array}
527
+ */
528
+ function(request) {
529
+ return request.serializeBinary();
530
+ },
531
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser.deserializeBinary
532
+ );
533
+
534
+
535
+ /**
536
+ * @param {!proto.meshtrade.iam.api_user.v1.DeactivateAPIUserRequest} request The
537
+ * request proto
538
+ * @param {?Object<string, string>} metadata User defined
539
+ * call metadata
540
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.api_user.v1.APIUser)}
541
+ * callback The callback function(error, response)
542
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.api_user.v1.APIUser>|undefined}
543
+ * The XHR Node Readable Stream
544
+ */
545
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient.prototype.deactivateAPIUser =
546
+ function(request, metadata, callback) {
547
+ return this.client_.rpcCall(this.hostname_ +
548
+ '/meshtrade.iam.api_user.v1.APIUserService/DeactivateAPIUser',
549
+ request,
550
+ metadata || {},
551
+ methodDescriptor_APIUserService_DeactivateAPIUser,
552
+ callback);
553
+ };
554
+
555
+
556
+ /**
557
+ * @param {!proto.meshtrade.iam.api_user.v1.DeactivateAPIUserRequest} request The
558
+ * request proto
559
+ * @param {?Object<string, string>=} metadata User defined
560
+ * call metadata
561
+ * @return {!Promise<!proto.meshtrade.iam.api_user.v1.APIUser>}
562
+ * Promise that resolves to the response
563
+ */
564
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient.prototype.deactivateAPIUser =
565
+ function(request, metadata) {
566
+ return this.client_.unaryCall(this.hostname_ +
567
+ '/meshtrade.iam.api_user.v1.APIUserService/DeactivateAPIUser',
568
+ request,
569
+ metadata || {},
570
+ methodDescriptor_APIUserService_DeactivateAPIUser);
571
+ };
572
+
573
+
574
+ /**
575
+ * @const
576
+ * @type {!grpc.web.MethodDescriptor<
577
+ * !proto.meshtrade.iam.api_user.v1.GetAPIUserByKeyHashRequest,
578
+ * !proto.meshtrade.iam.api_user.v1.APIUser>}
579
+ */
580
+ const methodDescriptor_APIUserService_GetAPIUserByKeyHash = new grpc.web.MethodDescriptor(
581
+ '/meshtrade.iam.api_user.v1.APIUserService/GetAPIUserByKeyHash',
582
+ grpc.web.MethodType.UNARY,
583
+ proto.meshtrade.iam.api_user.v1.GetAPIUserByKeyHashRequest,
584
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser,
585
+ /**
586
+ * @param {!proto.meshtrade.iam.api_user.v1.GetAPIUserByKeyHashRequest} request
587
+ * @return {!Uint8Array}
588
+ */
589
+ function(request) {
590
+ return request.serializeBinary();
591
+ },
592
+ meshtrade_iam_api_user_v1_api_user_pb.APIUser.deserializeBinary
593
+ );
594
+
595
+
596
+ /**
597
+ * @param {!proto.meshtrade.iam.api_user.v1.GetAPIUserByKeyHashRequest} request The
598
+ * request proto
599
+ * @param {?Object<string, string>} metadata User defined
600
+ * call metadata
601
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.api_user.v1.APIUser)}
602
+ * callback The callback function(error, response)
603
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.api_user.v1.APIUser>|undefined}
604
+ * The XHR Node Readable Stream
605
+ */
606
+ proto.meshtrade.iam.api_user.v1.APIUserServiceClient.prototype.getAPIUserByKeyHash =
607
+ function(request, metadata, callback) {
608
+ return this.client_.rpcCall(this.hostname_ +
609
+ '/meshtrade.iam.api_user.v1.APIUserService/GetAPIUserByKeyHash',
610
+ request,
611
+ metadata || {},
612
+ methodDescriptor_APIUserService_GetAPIUserByKeyHash,
613
+ callback);
614
+ };
615
+
616
+
617
+ /**
618
+ * @param {!proto.meshtrade.iam.api_user.v1.GetAPIUserByKeyHashRequest} request The
619
+ * request proto
620
+ * @param {?Object<string, string>=} metadata User defined
621
+ * call metadata
622
+ * @return {!Promise<!proto.meshtrade.iam.api_user.v1.APIUser>}
623
+ * Promise that resolves to the response
624
+ */
625
+ proto.meshtrade.iam.api_user.v1.APIUserServicePromiseClient.prototype.getAPIUserByKeyHash =
626
+ function(request, metadata) {
627
+ return this.client_.unaryCall(this.hostname_ +
628
+ '/meshtrade.iam.api_user.v1.APIUserService/GetAPIUserByKeyHash',
629
+ request,
630
+ metadata || {},
631
+ methodDescriptor_APIUserService_GetAPIUserByKeyHash);
632
+ };
633
+
634
+
635
+ module.exports = proto.meshtrade.iam.api_user.v1;
636
+