@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,386 @@
1
+ // source: meshtrade/compliance/client/v1/industry_classification.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ goog.exportSymbol('proto.meshtrade.compliance.client.v1.IndustryClassification', null, global);
25
+ /**
26
+ * Generated by JsPbCodeGenerator.
27
+ * @param {Array=} opt_data Optional initial data array, typically from a
28
+ * server response, or constructed directly in Javascript. The array is used
29
+ * in place and becomes part of the constructed object. It is not cloned.
30
+ * If no data is provided, the constructed object will be empty, but still
31
+ * valid.
32
+ * @extends {jspb.Message}
33
+ * @constructor
34
+ */
35
+ proto.meshtrade.compliance.client.v1.IndustryClassification = function(opt_data) {
36
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
37
+ };
38
+ goog.inherits(proto.meshtrade.compliance.client.v1.IndustryClassification, jspb.Message);
39
+ if (goog.DEBUG && !COMPILED) {
40
+ /**
41
+ * @public
42
+ * @override
43
+ */
44
+ proto.meshtrade.compliance.client.v1.IndustryClassification.displayName = 'proto.meshtrade.compliance.client.v1.IndustryClassification';
45
+ }
46
+
47
+
48
+
49
+ if (jspb.Message.GENERATE_TO_OBJECT) {
50
+ /**
51
+ * Creates an object representation of this proto.
52
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53
+ * Optional fields that are not set will be set to undefined.
54
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55
+ * For the list of reserved names please see:
56
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58
+ * JSPB instance for transitional soy proto support:
59
+ * http://goto/soy-param-migration
60
+ * @return {!Object}
61
+ */
62
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.toObject = function(opt_includeInstance) {
63
+ return proto.meshtrade.compliance.client.v1.IndustryClassification.toObject(opt_includeInstance, this);
64
+ };
65
+
66
+
67
+ /**
68
+ * Static version of the {@see toObject} method.
69
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70
+ * the JSPB instance for transitional soy proto support:
71
+ * http://goto/soy-param-migration
72
+ * @param {!proto.meshtrade.compliance.client.v1.IndustryClassification} msg The msg instance to transform.
73
+ * @return {!Object}
74
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75
+ */
76
+ proto.meshtrade.compliance.client.v1.IndustryClassification.toObject = function(includeInstance, msg) {
77
+ var f, obj = {
78
+ sectorCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
79
+ sectorName: jspb.Message.getFieldWithDefault(msg, 2, ""),
80
+ industryGroupCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
81
+ industryGroupName: jspb.Message.getFieldWithDefault(msg, 4, ""),
82
+ industryCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
83
+ industryName: jspb.Message.getFieldWithDefault(msg, 6, ""),
84
+ subIndustryCode: jspb.Message.getFieldWithDefault(msg, 7, ""),
85
+ subIndustryName: jspb.Message.getFieldWithDefault(msg, 8, "")
86
+ };
87
+
88
+ if (includeInstance) {
89
+ obj.$jspbMessageInstance = msg;
90
+ }
91
+ return obj;
92
+ };
93
+ }
94
+
95
+
96
+ /**
97
+ * Deserializes binary data (in protobuf wire format).
98
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
99
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification}
100
+ */
101
+ proto.meshtrade.compliance.client.v1.IndustryClassification.deserializeBinary = function(bytes) {
102
+ var reader = new jspb.BinaryReader(bytes);
103
+ var msg = new proto.meshtrade.compliance.client.v1.IndustryClassification;
104
+ return proto.meshtrade.compliance.client.v1.IndustryClassification.deserializeBinaryFromReader(msg, reader);
105
+ };
106
+
107
+
108
+ /**
109
+ * Deserializes binary data (in protobuf wire format) from the
110
+ * given reader into the given message object.
111
+ * @param {!proto.meshtrade.compliance.client.v1.IndustryClassification} msg The message object to deserialize into.
112
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
113
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification}
114
+ */
115
+ proto.meshtrade.compliance.client.v1.IndustryClassification.deserializeBinaryFromReader = function(msg, reader) {
116
+ while (reader.nextField()) {
117
+ if (reader.isEndGroup()) {
118
+ break;
119
+ }
120
+ var field = reader.getFieldNumber();
121
+ switch (field) {
122
+ case 1:
123
+ var value = /** @type {string} */ (reader.readString());
124
+ msg.setSectorCode(value);
125
+ break;
126
+ case 2:
127
+ var value = /** @type {string} */ (reader.readString());
128
+ msg.setSectorName(value);
129
+ break;
130
+ case 3:
131
+ var value = /** @type {string} */ (reader.readString());
132
+ msg.setIndustryGroupCode(value);
133
+ break;
134
+ case 4:
135
+ var value = /** @type {string} */ (reader.readString());
136
+ msg.setIndustryGroupName(value);
137
+ break;
138
+ case 5:
139
+ var value = /** @type {string} */ (reader.readString());
140
+ msg.setIndustryCode(value);
141
+ break;
142
+ case 6:
143
+ var value = /** @type {string} */ (reader.readString());
144
+ msg.setIndustryName(value);
145
+ break;
146
+ case 7:
147
+ var value = /** @type {string} */ (reader.readString());
148
+ msg.setSubIndustryCode(value);
149
+ break;
150
+ case 8:
151
+ var value = /** @type {string} */ (reader.readString());
152
+ msg.setSubIndustryName(value);
153
+ break;
154
+ default:
155
+ reader.skipField();
156
+ break;
157
+ }
158
+ }
159
+ return msg;
160
+ };
161
+
162
+
163
+ /**
164
+ * Serializes the message to binary data (in protobuf wire format).
165
+ * @return {!Uint8Array}
166
+ */
167
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.serializeBinary = function() {
168
+ var writer = new jspb.BinaryWriter();
169
+ proto.meshtrade.compliance.client.v1.IndustryClassification.serializeBinaryToWriter(this, writer);
170
+ return writer.getResultBuffer();
171
+ };
172
+
173
+
174
+ /**
175
+ * Serializes the given message to binary data (in protobuf wire
176
+ * format), writing to the given BinaryWriter.
177
+ * @param {!proto.meshtrade.compliance.client.v1.IndustryClassification} message
178
+ * @param {!jspb.BinaryWriter} writer
179
+ * @suppress {unusedLocalVariables} f is only used for nested messages
180
+ */
181
+ proto.meshtrade.compliance.client.v1.IndustryClassification.serializeBinaryToWriter = function(message, writer) {
182
+ var f = undefined;
183
+ f = message.getSectorCode();
184
+ if (f.length > 0) {
185
+ writer.writeString(
186
+ 1,
187
+ f
188
+ );
189
+ }
190
+ f = message.getSectorName();
191
+ if (f.length > 0) {
192
+ writer.writeString(
193
+ 2,
194
+ f
195
+ );
196
+ }
197
+ f = message.getIndustryGroupCode();
198
+ if (f.length > 0) {
199
+ writer.writeString(
200
+ 3,
201
+ f
202
+ );
203
+ }
204
+ f = message.getIndustryGroupName();
205
+ if (f.length > 0) {
206
+ writer.writeString(
207
+ 4,
208
+ f
209
+ );
210
+ }
211
+ f = message.getIndustryCode();
212
+ if (f.length > 0) {
213
+ writer.writeString(
214
+ 5,
215
+ f
216
+ );
217
+ }
218
+ f = message.getIndustryName();
219
+ if (f.length > 0) {
220
+ writer.writeString(
221
+ 6,
222
+ f
223
+ );
224
+ }
225
+ f = message.getSubIndustryCode();
226
+ if (f.length > 0) {
227
+ writer.writeString(
228
+ 7,
229
+ f
230
+ );
231
+ }
232
+ f = message.getSubIndustryName();
233
+ if (f.length > 0) {
234
+ writer.writeString(
235
+ 8,
236
+ f
237
+ );
238
+ }
239
+ };
240
+
241
+
242
+ /**
243
+ * optional string sector_code = 1;
244
+ * @return {string}
245
+ */
246
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.getSectorCode = function() {
247
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
248
+ };
249
+
250
+
251
+ /**
252
+ * @param {string} value
253
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification} returns this
254
+ */
255
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.setSectorCode = function(value) {
256
+ return jspb.Message.setProto3StringField(this, 1, value);
257
+ };
258
+
259
+
260
+ /**
261
+ * optional string sector_name = 2;
262
+ * @return {string}
263
+ */
264
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.getSectorName = function() {
265
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
266
+ };
267
+
268
+
269
+ /**
270
+ * @param {string} value
271
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification} returns this
272
+ */
273
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.setSectorName = function(value) {
274
+ return jspb.Message.setProto3StringField(this, 2, value);
275
+ };
276
+
277
+
278
+ /**
279
+ * optional string industry_group_code = 3;
280
+ * @return {string}
281
+ */
282
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.getIndustryGroupCode = function() {
283
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
284
+ };
285
+
286
+
287
+ /**
288
+ * @param {string} value
289
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification} returns this
290
+ */
291
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.setIndustryGroupCode = function(value) {
292
+ return jspb.Message.setProto3StringField(this, 3, value);
293
+ };
294
+
295
+
296
+ /**
297
+ * optional string industry_group_name = 4;
298
+ * @return {string}
299
+ */
300
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.getIndustryGroupName = function() {
301
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
302
+ };
303
+
304
+
305
+ /**
306
+ * @param {string} value
307
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification} returns this
308
+ */
309
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.setIndustryGroupName = function(value) {
310
+ return jspb.Message.setProto3StringField(this, 4, value);
311
+ };
312
+
313
+
314
+ /**
315
+ * optional string industry_code = 5;
316
+ * @return {string}
317
+ */
318
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.getIndustryCode = function() {
319
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
320
+ };
321
+
322
+
323
+ /**
324
+ * @param {string} value
325
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification} returns this
326
+ */
327
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.setIndustryCode = function(value) {
328
+ return jspb.Message.setProto3StringField(this, 5, value);
329
+ };
330
+
331
+
332
+ /**
333
+ * optional string industry_name = 6;
334
+ * @return {string}
335
+ */
336
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.getIndustryName = function() {
337
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
338
+ };
339
+
340
+
341
+ /**
342
+ * @param {string} value
343
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification} returns this
344
+ */
345
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.setIndustryName = function(value) {
346
+ return jspb.Message.setProto3StringField(this, 6, value);
347
+ };
348
+
349
+
350
+ /**
351
+ * optional string sub_industry_code = 7;
352
+ * @return {string}
353
+ */
354
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.getSubIndustryCode = function() {
355
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
356
+ };
357
+
358
+
359
+ /**
360
+ * @param {string} value
361
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification} returns this
362
+ */
363
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.setSubIndustryCode = function(value) {
364
+ return jspb.Message.setProto3StringField(this, 7, value);
365
+ };
366
+
367
+
368
+ /**
369
+ * optional string sub_industry_name = 8;
370
+ * @return {string}
371
+ */
372
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.getSubIndustryName = function() {
373
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
374
+ };
375
+
376
+
377
+ /**
378
+ * @param {string} value
379
+ * @return {!proto.meshtrade.compliance.client.v1.IndustryClassification} returns this
380
+ */
381
+ proto.meshtrade.compliance.client.v1.IndustryClassification.prototype.setSubIndustryName = function(value) {
382
+ return jspb.Message.setProto3StringField(this, 8, value);
383
+ };
384
+
385
+
386
+ goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
@@ -0,0 +1,22 @@
1
+ import * as jspb from 'google-protobuf'
2
+
3
+
4
+
5
+ export enum NaturalPersonConnectionType {
6
+ NATURAL_PERSON_CONNECTION_TYPE_UNSPECIFIED = 0,
7
+ NATURAL_PERSON_CONNECTION_TYPE_ULTIMATE_BENEFICIAL_OWNER = 1,
8
+ NATURAL_PERSON_CONNECTION_TYPE_SHAREHOLDER = 2,
9
+ NATURAL_PERSON_CONNECTION_TYPE_DIRECTOR = 3,
10
+ NATURAL_PERSON_CONNECTION_TYPE_SENIOR_MANAGEMENT = 4,
11
+ NATURAL_PERSON_CONNECTION_TYPE_AUTHORIZED_SIGNATORY = 5,
12
+ NATURAL_PERSON_CONNECTION_TYPE_FOUNDER = 6,
13
+ NATURAL_PERSON_CONNECTION_TYPE_SPOUSE = 20,
14
+ NATURAL_PERSON_CONNECTION_TYPE_DOMESTIC_PARTNER = 21,
15
+ NATURAL_PERSON_CONNECTION_TYPE_PARENT = 22,
16
+ NATURAL_PERSON_CONNECTION_TYPE_CHILD = 23,
17
+ NATURAL_PERSON_CONNECTION_TYPE_SIBLING = 24,
18
+ NATURAL_PERSON_CONNECTION_TYPE_BUSINESS_PARTNER = 30,
19
+ NATURAL_PERSON_CONNECTION_TYPE_CLOSE_ASSOCIATE = 31,
20
+ NATURAL_PERSON_CONNECTION_TYPE_GUARANTOR = 32,
21
+ NATURAL_PERSON_CONNECTION_TYPE_BENEFICIARY_OF_TRUST = 33,
22
+ }
@@ -0,0 +1,47 @@
1
+ // source: meshtrade/compliance/client/v1/natural_person_connection_type.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ goog.exportSymbol('proto.meshtrade.compliance.client.v1.NaturalPersonConnectionType', null, global);
25
+ /**
26
+ * @enum {number}
27
+ */
28
+ proto.meshtrade.compliance.client.v1.NaturalPersonConnectionType = {
29
+ NATURAL_PERSON_CONNECTION_TYPE_UNSPECIFIED: 0,
30
+ NATURAL_PERSON_CONNECTION_TYPE_ULTIMATE_BENEFICIAL_OWNER: 1,
31
+ NATURAL_PERSON_CONNECTION_TYPE_SHAREHOLDER: 2,
32
+ NATURAL_PERSON_CONNECTION_TYPE_DIRECTOR: 3,
33
+ NATURAL_PERSON_CONNECTION_TYPE_SENIOR_MANAGEMENT: 4,
34
+ NATURAL_PERSON_CONNECTION_TYPE_AUTHORIZED_SIGNATORY: 5,
35
+ NATURAL_PERSON_CONNECTION_TYPE_FOUNDER: 6,
36
+ NATURAL_PERSON_CONNECTION_TYPE_SPOUSE: 20,
37
+ NATURAL_PERSON_CONNECTION_TYPE_DOMESTIC_PARTNER: 21,
38
+ NATURAL_PERSON_CONNECTION_TYPE_PARENT: 22,
39
+ NATURAL_PERSON_CONNECTION_TYPE_CHILD: 23,
40
+ NATURAL_PERSON_CONNECTION_TYPE_SIBLING: 24,
41
+ NATURAL_PERSON_CONNECTION_TYPE_BUSINESS_PARTNER: 30,
42
+ NATURAL_PERSON_CONNECTION_TYPE_CLOSE_ASSOCIATE: 31,
43
+ NATURAL_PERSON_CONNECTION_TYPE_GUARANTOR: 32,
44
+ NATURAL_PERSON_CONNECTION_TYPE_BENEFICIARY_OF_TRUST: 33
45
+ };
46
+
47
+ goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
@@ -0,0 +1,94 @@
1
+ import * as jspb from 'google-protobuf'
2
+
3
+ import * as buf_validate_validate_pb from '../../../../buf/validate/validate_pb'; // proto import: "buf/validate/validate.proto"
4
+ import * as google_type_date_pb from '../../../../google/type/date_pb'; // proto import: "google/type/date.proto"
5
+ import * as meshtrade_compliance_client_v1_identification_document_type_pb from '../../../../meshtrade/compliance/client/v1/identification_document_type_pb'; // proto import: "meshtrade/compliance/client/v1/identification_document_type.proto"
6
+ import * as meshtrade_compliance_client_v1_pep_status_pb from '../../../../meshtrade/compliance/client/v1/pep_status_pb'; // proto import: "meshtrade/compliance/client/v1/pep_status.proto"
7
+ import * as meshtrade_compliance_client_v1_source_of_income_and_wealth_pb from '../../../../meshtrade/compliance/client/v1/source_of_income_and_wealth_pb'; // proto import: "meshtrade/compliance/client/v1/source_of_income_and_wealth.proto"
8
+ import * as meshtrade_compliance_client_v1_tax_residency_pb from '../../../../meshtrade/compliance/client/v1/tax_residency_pb'; // proto import: "meshtrade/compliance/client/v1/tax_residency.proto"
9
+ import * as meshtrade_type_v1_address_pb from '../../../../meshtrade/type/v1/address_pb'; // proto import: "meshtrade/type/v1/address.proto"
10
+ import * as meshtrade_type_v1_contact_details_pb from '../../../../meshtrade/type/v1/contact_details_pb'; // proto import: "meshtrade/type/v1/contact_details.proto"
11
+
12
+
13
+ export class NaturalPerson extends jspb.Message {
14
+ getFullName(): string;
15
+ setFullName(value: string): NaturalPerson;
16
+
17
+ getDateOfBirth(): google_type_date_pb.Date | undefined;
18
+ setDateOfBirth(value?: google_type_date_pb.Date): NaturalPerson;
19
+ hasDateOfBirth(): boolean;
20
+ clearDateOfBirth(): NaturalPerson;
21
+
22
+ getCountryOfCitizenship(): string;
23
+ setCountryOfCitizenship(value: string): NaturalPerson;
24
+
25
+ getIdentificationNumber(): string;
26
+ setIdentificationNumber(value: string): NaturalPerson;
27
+
28
+ getIdentificationDocumentType(): meshtrade_compliance_client_v1_identification_document_type_pb.IdentificationDocumentType;
29
+ setIdentificationDocumentType(value: meshtrade_compliance_client_v1_identification_document_type_pb.IdentificationDocumentType): NaturalPerson;
30
+
31
+ getIdentificationDocumentExpiryDate(): google_type_date_pb.Date | undefined;
32
+ setIdentificationDocumentExpiryDate(value?: google_type_date_pb.Date): NaturalPerson;
33
+ hasIdentificationDocumentExpiryDate(): boolean;
34
+ clearIdentificationDocumentExpiryDate(): NaturalPerson;
35
+
36
+ getPhysicalAddress(): meshtrade_type_v1_address_pb.Address | undefined;
37
+ setPhysicalAddress(value?: meshtrade_type_v1_address_pb.Address): NaturalPerson;
38
+ hasPhysicalAddress(): boolean;
39
+ clearPhysicalAddress(): NaturalPerson;
40
+
41
+ getPostalAddress(): meshtrade_type_v1_address_pb.Address | undefined;
42
+ setPostalAddress(value?: meshtrade_type_v1_address_pb.Address): NaturalPerson;
43
+ hasPostalAddress(): boolean;
44
+ clearPostalAddress(): NaturalPerson;
45
+
46
+ getPepStatus(): meshtrade_compliance_client_v1_pep_status_pb.PepStatus;
47
+ setPepStatus(value: meshtrade_compliance_client_v1_pep_status_pb.PepStatus): NaturalPerson;
48
+
49
+ getContactDetails(): meshtrade_type_v1_contact_details_pb.ContactDetails | undefined;
50
+ setContactDetails(value?: meshtrade_type_v1_contact_details_pb.ContactDetails): NaturalPerson;
51
+ hasContactDetails(): boolean;
52
+ clearContactDetails(): NaturalPerson;
53
+
54
+ getSourcesOfIncomeList(): Array<meshtrade_compliance_client_v1_source_of_income_and_wealth_pb.SourceOfIncomeAndWealth>;
55
+ setSourcesOfIncomeList(value: Array<meshtrade_compliance_client_v1_source_of_income_and_wealth_pb.SourceOfIncomeAndWealth>): NaturalPerson;
56
+ clearSourcesOfIncomeList(): NaturalPerson;
57
+ addSourcesOfIncome(value: meshtrade_compliance_client_v1_source_of_income_and_wealth_pb.SourceOfIncomeAndWealth, index?: number): NaturalPerson;
58
+
59
+ getSourcesOfWealthList(): Array<meshtrade_compliance_client_v1_source_of_income_and_wealth_pb.SourceOfIncomeAndWealth>;
60
+ setSourcesOfWealthList(value: Array<meshtrade_compliance_client_v1_source_of_income_and_wealth_pb.SourceOfIncomeAndWealth>): NaturalPerson;
61
+ clearSourcesOfWealthList(): NaturalPerson;
62
+ addSourcesOfWealth(value: meshtrade_compliance_client_v1_source_of_income_and_wealth_pb.SourceOfIncomeAndWealth, index?: number): NaturalPerson;
63
+
64
+ getTaxResidenciesList(): Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency>;
65
+ setTaxResidenciesList(value: Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency>): NaturalPerson;
66
+ clearTaxResidenciesList(): NaturalPerson;
67
+ addTaxResidencies(value?: meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency, index?: number): meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency;
68
+
69
+ serializeBinary(): Uint8Array;
70
+ toObject(includeInstance?: boolean): NaturalPerson.AsObject;
71
+ static toObject(includeInstance: boolean, msg: NaturalPerson): NaturalPerson.AsObject;
72
+ static serializeBinaryToWriter(message: NaturalPerson, writer: jspb.BinaryWriter): void;
73
+ static deserializeBinary(bytes: Uint8Array): NaturalPerson;
74
+ static deserializeBinaryFromReader(message: NaturalPerson, reader: jspb.BinaryReader): NaturalPerson;
75
+ }
76
+
77
+ export namespace NaturalPerson {
78
+ export type AsObject = {
79
+ fullName: string,
80
+ dateOfBirth?: google_type_date_pb.Date.AsObject,
81
+ countryOfCitizenship: string,
82
+ identificationNumber: string,
83
+ identificationDocumentType: meshtrade_compliance_client_v1_identification_document_type_pb.IdentificationDocumentType,
84
+ identificationDocumentExpiryDate?: google_type_date_pb.Date.AsObject,
85
+ physicalAddress?: meshtrade_type_v1_address_pb.Address.AsObject,
86
+ postalAddress?: meshtrade_type_v1_address_pb.Address.AsObject,
87
+ pepStatus: meshtrade_compliance_client_v1_pep_status_pb.PepStatus,
88
+ contactDetails?: meshtrade_type_v1_contact_details_pb.ContactDetails.AsObject,
89
+ sourcesOfIncomeList: Array<meshtrade_compliance_client_v1_source_of_income_and_wealth_pb.SourceOfIncomeAndWealth>,
90
+ sourcesOfWealthList: Array<meshtrade_compliance_client_v1_source_of_income_and_wealth_pb.SourceOfIncomeAndWealth>,
91
+ taxResidenciesList: Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.AsObject>,
92
+ }
93
+ }
94
+