@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,729 @@
1
+ // source: meshtrade/compliance/client/v1/natural_person.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
+ var buf_validate_validate_pb = require('../../../../buf/validate/validate_pb.js');
25
+ goog.object.extend(proto, buf_validate_validate_pb);
26
+ var google_type_date_pb = require('../../../../google/type/date_pb.js');
27
+ goog.object.extend(proto, google_type_date_pb);
28
+ var meshtrade_compliance_client_v1_identification_document_type_pb = require('../../../../meshtrade/compliance/client/v1/identification_document_type_pb.js');
29
+ goog.object.extend(proto, meshtrade_compliance_client_v1_identification_document_type_pb);
30
+ var meshtrade_compliance_client_v1_pep_status_pb = require('../../../../meshtrade/compliance/client/v1/pep_status_pb.js');
31
+ goog.object.extend(proto, meshtrade_compliance_client_v1_pep_status_pb);
32
+ var meshtrade_compliance_client_v1_source_of_income_and_wealth_pb = require('../../../../meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.js');
33
+ goog.object.extend(proto, meshtrade_compliance_client_v1_source_of_income_and_wealth_pb);
34
+ var meshtrade_compliance_client_v1_tax_residency_pb = require('../../../../meshtrade/compliance/client/v1/tax_residency_pb.js');
35
+ goog.object.extend(proto, meshtrade_compliance_client_v1_tax_residency_pb);
36
+ var meshtrade_type_v1_address_pb = require('../../../../meshtrade/type/v1/address_pb.js');
37
+ goog.object.extend(proto, meshtrade_type_v1_address_pb);
38
+ var meshtrade_type_v1_contact_details_pb = require('../../../../meshtrade/type/v1/contact_details_pb.js');
39
+ goog.object.extend(proto, meshtrade_type_v1_contact_details_pb);
40
+ goog.exportSymbol('proto.meshtrade.compliance.client.v1.NaturalPerson', null, global);
41
+ /**
42
+ * Generated by JsPbCodeGenerator.
43
+ * @param {Array=} opt_data Optional initial data array, typically from a
44
+ * server response, or constructed directly in Javascript. The array is used
45
+ * in place and becomes part of the constructed object. It is not cloned.
46
+ * If no data is provided, the constructed object will be empty, but still
47
+ * valid.
48
+ * @extends {jspb.Message}
49
+ * @constructor
50
+ */
51
+ proto.meshtrade.compliance.client.v1.NaturalPerson = function(opt_data) {
52
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.compliance.client.v1.NaturalPerson.repeatedFields_, null);
53
+ };
54
+ goog.inherits(proto.meshtrade.compliance.client.v1.NaturalPerson, jspb.Message);
55
+ if (goog.DEBUG && !COMPILED) {
56
+ /**
57
+ * @public
58
+ * @override
59
+ */
60
+ proto.meshtrade.compliance.client.v1.NaturalPerson.displayName = 'proto.meshtrade.compliance.client.v1.NaturalPerson';
61
+ }
62
+
63
+ /**
64
+ * List of repeated fields within this message type.
65
+ * @private {!Array<number>}
66
+ * @const
67
+ */
68
+ proto.meshtrade.compliance.client.v1.NaturalPerson.repeatedFields_ = [11,12,13];
69
+
70
+
71
+
72
+ if (jspb.Message.GENERATE_TO_OBJECT) {
73
+ /**
74
+ * Creates an object representation of this proto.
75
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76
+ * Optional fields that are not set will be set to undefined.
77
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
78
+ * For the list of reserved names please see:
79
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
80
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
81
+ * JSPB instance for transitional soy proto support:
82
+ * http://goto/soy-param-migration
83
+ * @return {!Object}
84
+ */
85
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.toObject = function(opt_includeInstance) {
86
+ return proto.meshtrade.compliance.client.v1.NaturalPerson.toObject(opt_includeInstance, this);
87
+ };
88
+
89
+
90
+ /**
91
+ * Static version of the {@see toObject} method.
92
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
93
+ * the JSPB instance for transitional soy proto support:
94
+ * http://goto/soy-param-migration
95
+ * @param {!proto.meshtrade.compliance.client.v1.NaturalPerson} msg The msg instance to transform.
96
+ * @return {!Object}
97
+ * @suppress {unusedLocalVariables} f is only used for nested messages
98
+ */
99
+ proto.meshtrade.compliance.client.v1.NaturalPerson.toObject = function(includeInstance, msg) {
100
+ var f, obj = {
101
+ fullName: jspb.Message.getFieldWithDefault(msg, 1, ""),
102
+ dateOfBirth: (f = msg.getDateOfBirth()) && google_type_date_pb.Date.toObject(includeInstance, f),
103
+ countryOfCitizenship: jspb.Message.getFieldWithDefault(msg, 3, ""),
104
+ identificationNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
105
+ identificationDocumentType: jspb.Message.getFieldWithDefault(msg, 5, 0),
106
+ identificationDocumentExpiryDate: (f = msg.getIdentificationDocumentExpiryDate()) && google_type_date_pb.Date.toObject(includeInstance, f),
107
+ physicalAddress: (f = msg.getPhysicalAddress()) && meshtrade_type_v1_address_pb.Address.toObject(includeInstance, f),
108
+ postalAddress: (f = msg.getPostalAddress()) && meshtrade_type_v1_address_pb.Address.toObject(includeInstance, f),
109
+ pepStatus: jspb.Message.getFieldWithDefault(msg, 9, 0),
110
+ contactDetails: (f = msg.getContactDetails()) && meshtrade_type_v1_contact_details_pb.ContactDetails.toObject(includeInstance, f),
111
+ sourcesOfIncomeList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
112
+ sourcesOfWealthList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
113
+ taxResidenciesList: jspb.Message.toObjectList(msg.getTaxResidenciesList(),
114
+ meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.toObject, includeInstance)
115
+ };
116
+
117
+ if (includeInstance) {
118
+ obj.$jspbMessageInstance = msg;
119
+ }
120
+ return obj;
121
+ };
122
+ }
123
+
124
+
125
+ /**
126
+ * Deserializes binary data (in protobuf wire format).
127
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
128
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson}
129
+ */
130
+ proto.meshtrade.compliance.client.v1.NaturalPerson.deserializeBinary = function(bytes) {
131
+ var reader = new jspb.BinaryReader(bytes);
132
+ var msg = new proto.meshtrade.compliance.client.v1.NaturalPerson;
133
+ return proto.meshtrade.compliance.client.v1.NaturalPerson.deserializeBinaryFromReader(msg, reader);
134
+ };
135
+
136
+
137
+ /**
138
+ * Deserializes binary data (in protobuf wire format) from the
139
+ * given reader into the given message object.
140
+ * @param {!proto.meshtrade.compliance.client.v1.NaturalPerson} msg The message object to deserialize into.
141
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
142
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson}
143
+ */
144
+ proto.meshtrade.compliance.client.v1.NaturalPerson.deserializeBinaryFromReader = function(msg, reader) {
145
+ while (reader.nextField()) {
146
+ if (reader.isEndGroup()) {
147
+ break;
148
+ }
149
+ var field = reader.getFieldNumber();
150
+ switch (field) {
151
+ case 1:
152
+ var value = /** @type {string} */ (reader.readString());
153
+ msg.setFullName(value);
154
+ break;
155
+ case 2:
156
+ var value = new google_type_date_pb.Date;
157
+ reader.readMessage(value,google_type_date_pb.Date.deserializeBinaryFromReader);
158
+ msg.setDateOfBirth(value);
159
+ break;
160
+ case 3:
161
+ var value = /** @type {string} */ (reader.readString());
162
+ msg.setCountryOfCitizenship(value);
163
+ break;
164
+ case 4:
165
+ var value = /** @type {string} */ (reader.readString());
166
+ msg.setIdentificationNumber(value);
167
+ break;
168
+ case 5:
169
+ var value = /** @type {!proto.meshtrade.compliance.client.v1.IdentificationDocumentType} */ (reader.readEnum());
170
+ msg.setIdentificationDocumentType(value);
171
+ break;
172
+ case 6:
173
+ var value = new google_type_date_pb.Date;
174
+ reader.readMessage(value,google_type_date_pb.Date.deserializeBinaryFromReader);
175
+ msg.setIdentificationDocumentExpiryDate(value);
176
+ break;
177
+ case 7:
178
+ var value = new meshtrade_type_v1_address_pb.Address;
179
+ reader.readMessage(value,meshtrade_type_v1_address_pb.Address.deserializeBinaryFromReader);
180
+ msg.setPhysicalAddress(value);
181
+ break;
182
+ case 8:
183
+ var value = new meshtrade_type_v1_address_pb.Address;
184
+ reader.readMessage(value,meshtrade_type_v1_address_pb.Address.deserializeBinaryFromReader);
185
+ msg.setPostalAddress(value);
186
+ break;
187
+ case 9:
188
+ var value = /** @type {!proto.meshtrade.compliance.client.v1.PepStatus} */ (reader.readEnum());
189
+ msg.setPepStatus(value);
190
+ break;
191
+ case 10:
192
+ var value = new meshtrade_type_v1_contact_details_pb.ContactDetails;
193
+ reader.readMessage(value,meshtrade_type_v1_contact_details_pb.ContactDetails.deserializeBinaryFromReader);
194
+ msg.setContactDetails(value);
195
+ break;
196
+ case 11:
197
+ var values = /** @type {!Array<!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
198
+ for (var i = 0; i < values.length; i++) {
199
+ msg.addSourcesOfIncome(values[i]);
200
+ }
201
+ break;
202
+ case 12:
203
+ var values = /** @type {!Array<!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
204
+ for (var i = 0; i < values.length; i++) {
205
+ msg.addSourcesOfWealth(values[i]);
206
+ }
207
+ break;
208
+ case 13:
209
+ var value = new meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency;
210
+ reader.readMessage(value,meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.deserializeBinaryFromReader);
211
+ msg.addTaxResidencies(value);
212
+ break;
213
+ default:
214
+ reader.skipField();
215
+ break;
216
+ }
217
+ }
218
+ return msg;
219
+ };
220
+
221
+
222
+ /**
223
+ * Serializes the message to binary data (in protobuf wire format).
224
+ * @return {!Uint8Array}
225
+ */
226
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.serializeBinary = function() {
227
+ var writer = new jspb.BinaryWriter();
228
+ proto.meshtrade.compliance.client.v1.NaturalPerson.serializeBinaryToWriter(this, writer);
229
+ return writer.getResultBuffer();
230
+ };
231
+
232
+
233
+ /**
234
+ * Serializes the given message to binary data (in protobuf wire
235
+ * format), writing to the given BinaryWriter.
236
+ * @param {!proto.meshtrade.compliance.client.v1.NaturalPerson} message
237
+ * @param {!jspb.BinaryWriter} writer
238
+ * @suppress {unusedLocalVariables} f is only used for nested messages
239
+ */
240
+ proto.meshtrade.compliance.client.v1.NaturalPerson.serializeBinaryToWriter = function(message, writer) {
241
+ var f = undefined;
242
+ f = message.getFullName();
243
+ if (f.length > 0) {
244
+ writer.writeString(
245
+ 1,
246
+ f
247
+ );
248
+ }
249
+ f = message.getDateOfBirth();
250
+ if (f != null) {
251
+ writer.writeMessage(
252
+ 2,
253
+ f,
254
+ google_type_date_pb.Date.serializeBinaryToWriter
255
+ );
256
+ }
257
+ f = message.getCountryOfCitizenship();
258
+ if (f.length > 0) {
259
+ writer.writeString(
260
+ 3,
261
+ f
262
+ );
263
+ }
264
+ f = message.getIdentificationNumber();
265
+ if (f.length > 0) {
266
+ writer.writeString(
267
+ 4,
268
+ f
269
+ );
270
+ }
271
+ f = message.getIdentificationDocumentType();
272
+ if (f !== 0.0) {
273
+ writer.writeEnum(
274
+ 5,
275
+ f
276
+ );
277
+ }
278
+ f = message.getIdentificationDocumentExpiryDate();
279
+ if (f != null) {
280
+ writer.writeMessage(
281
+ 6,
282
+ f,
283
+ google_type_date_pb.Date.serializeBinaryToWriter
284
+ );
285
+ }
286
+ f = message.getPhysicalAddress();
287
+ if (f != null) {
288
+ writer.writeMessage(
289
+ 7,
290
+ f,
291
+ meshtrade_type_v1_address_pb.Address.serializeBinaryToWriter
292
+ );
293
+ }
294
+ f = message.getPostalAddress();
295
+ if (f != null) {
296
+ writer.writeMessage(
297
+ 8,
298
+ f,
299
+ meshtrade_type_v1_address_pb.Address.serializeBinaryToWriter
300
+ );
301
+ }
302
+ f = message.getPepStatus();
303
+ if (f !== 0.0) {
304
+ writer.writeEnum(
305
+ 9,
306
+ f
307
+ );
308
+ }
309
+ f = message.getContactDetails();
310
+ if (f != null) {
311
+ writer.writeMessage(
312
+ 10,
313
+ f,
314
+ meshtrade_type_v1_contact_details_pb.ContactDetails.serializeBinaryToWriter
315
+ );
316
+ }
317
+ f = message.getSourcesOfIncomeList();
318
+ if (f.length > 0) {
319
+ writer.writePackedEnum(
320
+ 11,
321
+ f
322
+ );
323
+ }
324
+ f = message.getSourcesOfWealthList();
325
+ if (f.length > 0) {
326
+ writer.writePackedEnum(
327
+ 12,
328
+ f
329
+ );
330
+ }
331
+ f = message.getTaxResidenciesList();
332
+ if (f.length > 0) {
333
+ writer.writeRepeatedMessage(
334
+ 13,
335
+ f,
336
+ meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.serializeBinaryToWriter
337
+ );
338
+ }
339
+ };
340
+
341
+
342
+ /**
343
+ * optional string full_name = 1;
344
+ * @return {string}
345
+ */
346
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getFullName = function() {
347
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
348
+ };
349
+
350
+
351
+ /**
352
+ * @param {string} value
353
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
354
+ */
355
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setFullName = function(value) {
356
+ return jspb.Message.setProto3StringField(this, 1, value);
357
+ };
358
+
359
+
360
+ /**
361
+ * optional google.type.Date date_of_birth = 2;
362
+ * @return {?proto.google.type.Date}
363
+ */
364
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getDateOfBirth = function() {
365
+ return /** @type{?proto.google.type.Date} */ (
366
+ jspb.Message.getWrapperField(this, google_type_date_pb.Date, 2));
367
+ };
368
+
369
+
370
+ /**
371
+ * @param {?proto.google.type.Date|undefined} value
372
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
373
+ */
374
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setDateOfBirth = function(value) {
375
+ return jspb.Message.setWrapperField(this, 2, value);
376
+ };
377
+
378
+
379
+ /**
380
+ * Clears the message field making it undefined.
381
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
382
+ */
383
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.clearDateOfBirth = function() {
384
+ return this.setDateOfBirth(undefined);
385
+ };
386
+
387
+
388
+ /**
389
+ * Returns whether this field is set.
390
+ * @return {boolean}
391
+ */
392
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.hasDateOfBirth = function() {
393
+ return jspb.Message.getField(this, 2) != null;
394
+ };
395
+
396
+
397
+ /**
398
+ * optional string country_of_citizenship = 3;
399
+ * @return {string}
400
+ */
401
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getCountryOfCitizenship = function() {
402
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
403
+ };
404
+
405
+
406
+ /**
407
+ * @param {string} value
408
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
409
+ */
410
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setCountryOfCitizenship = function(value) {
411
+ return jspb.Message.setProto3StringField(this, 3, value);
412
+ };
413
+
414
+
415
+ /**
416
+ * optional string identification_number = 4;
417
+ * @return {string}
418
+ */
419
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getIdentificationNumber = function() {
420
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
421
+ };
422
+
423
+
424
+ /**
425
+ * @param {string} value
426
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
427
+ */
428
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setIdentificationNumber = function(value) {
429
+ return jspb.Message.setProto3StringField(this, 4, value);
430
+ };
431
+
432
+
433
+ /**
434
+ * optional IdentificationDocumentType identification_document_type = 5;
435
+ * @return {!proto.meshtrade.compliance.client.v1.IdentificationDocumentType}
436
+ */
437
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getIdentificationDocumentType = function() {
438
+ return /** @type {!proto.meshtrade.compliance.client.v1.IdentificationDocumentType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
439
+ };
440
+
441
+
442
+ /**
443
+ * @param {!proto.meshtrade.compliance.client.v1.IdentificationDocumentType} value
444
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
445
+ */
446
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setIdentificationDocumentType = function(value) {
447
+ return jspb.Message.setProto3EnumField(this, 5, value);
448
+ };
449
+
450
+
451
+ /**
452
+ * optional google.type.Date identification_document_expiry_date = 6;
453
+ * @return {?proto.google.type.Date}
454
+ */
455
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getIdentificationDocumentExpiryDate = function() {
456
+ return /** @type{?proto.google.type.Date} */ (
457
+ jspb.Message.getWrapperField(this, google_type_date_pb.Date, 6));
458
+ };
459
+
460
+
461
+ /**
462
+ * @param {?proto.google.type.Date|undefined} value
463
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
464
+ */
465
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setIdentificationDocumentExpiryDate = function(value) {
466
+ return jspb.Message.setWrapperField(this, 6, value);
467
+ };
468
+
469
+
470
+ /**
471
+ * Clears the message field making it undefined.
472
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
473
+ */
474
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.clearIdentificationDocumentExpiryDate = function() {
475
+ return this.setIdentificationDocumentExpiryDate(undefined);
476
+ };
477
+
478
+
479
+ /**
480
+ * Returns whether this field is set.
481
+ * @return {boolean}
482
+ */
483
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.hasIdentificationDocumentExpiryDate = function() {
484
+ return jspb.Message.getField(this, 6) != null;
485
+ };
486
+
487
+
488
+ /**
489
+ * optional meshtrade.type.v1.Address physical_address = 7;
490
+ * @return {?proto.meshtrade.type.v1.Address}
491
+ */
492
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getPhysicalAddress = function() {
493
+ return /** @type{?proto.meshtrade.type.v1.Address} */ (
494
+ jspb.Message.getWrapperField(this, meshtrade_type_v1_address_pb.Address, 7));
495
+ };
496
+
497
+
498
+ /**
499
+ * @param {?proto.meshtrade.type.v1.Address|undefined} value
500
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
501
+ */
502
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setPhysicalAddress = function(value) {
503
+ return jspb.Message.setWrapperField(this, 7, value);
504
+ };
505
+
506
+
507
+ /**
508
+ * Clears the message field making it undefined.
509
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
510
+ */
511
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.clearPhysicalAddress = function() {
512
+ return this.setPhysicalAddress(undefined);
513
+ };
514
+
515
+
516
+ /**
517
+ * Returns whether this field is set.
518
+ * @return {boolean}
519
+ */
520
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.hasPhysicalAddress = function() {
521
+ return jspb.Message.getField(this, 7) != null;
522
+ };
523
+
524
+
525
+ /**
526
+ * optional meshtrade.type.v1.Address postal_address = 8;
527
+ * @return {?proto.meshtrade.type.v1.Address}
528
+ */
529
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getPostalAddress = function() {
530
+ return /** @type{?proto.meshtrade.type.v1.Address} */ (
531
+ jspb.Message.getWrapperField(this, meshtrade_type_v1_address_pb.Address, 8));
532
+ };
533
+
534
+
535
+ /**
536
+ * @param {?proto.meshtrade.type.v1.Address|undefined} value
537
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
538
+ */
539
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setPostalAddress = function(value) {
540
+ return jspb.Message.setWrapperField(this, 8, value);
541
+ };
542
+
543
+
544
+ /**
545
+ * Clears the message field making it undefined.
546
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
547
+ */
548
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.clearPostalAddress = function() {
549
+ return this.setPostalAddress(undefined);
550
+ };
551
+
552
+
553
+ /**
554
+ * Returns whether this field is set.
555
+ * @return {boolean}
556
+ */
557
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.hasPostalAddress = function() {
558
+ return jspb.Message.getField(this, 8) != null;
559
+ };
560
+
561
+
562
+ /**
563
+ * optional PepStatus pep_status = 9;
564
+ * @return {!proto.meshtrade.compliance.client.v1.PepStatus}
565
+ */
566
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getPepStatus = function() {
567
+ return /** @type {!proto.meshtrade.compliance.client.v1.PepStatus} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
568
+ };
569
+
570
+
571
+ /**
572
+ * @param {!proto.meshtrade.compliance.client.v1.PepStatus} value
573
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
574
+ */
575
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setPepStatus = function(value) {
576
+ return jspb.Message.setProto3EnumField(this, 9, value);
577
+ };
578
+
579
+
580
+ /**
581
+ * optional meshtrade.type.v1.ContactDetails contact_details = 10;
582
+ * @return {?proto.meshtrade.type.v1.ContactDetails}
583
+ */
584
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getContactDetails = function() {
585
+ return /** @type{?proto.meshtrade.type.v1.ContactDetails} */ (
586
+ jspb.Message.getWrapperField(this, meshtrade_type_v1_contact_details_pb.ContactDetails, 10));
587
+ };
588
+
589
+
590
+ /**
591
+ * @param {?proto.meshtrade.type.v1.ContactDetails|undefined} value
592
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
593
+ */
594
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setContactDetails = function(value) {
595
+ return jspb.Message.setWrapperField(this, 10, value);
596
+ };
597
+
598
+
599
+ /**
600
+ * Clears the message field making it undefined.
601
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
602
+ */
603
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.clearContactDetails = function() {
604
+ return this.setContactDetails(undefined);
605
+ };
606
+
607
+
608
+ /**
609
+ * Returns whether this field is set.
610
+ * @return {boolean}
611
+ */
612
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.hasContactDetails = function() {
613
+ return jspb.Message.getField(this, 10) != null;
614
+ };
615
+
616
+
617
+ /**
618
+ * repeated SourceOfIncomeAndWealth sources_of_income = 11;
619
+ * @return {!Array<!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth>}
620
+ */
621
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getSourcesOfIncomeList = function() {
622
+ return /** @type {!Array<!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth>} */ (jspb.Message.getRepeatedField(this, 11));
623
+ };
624
+
625
+
626
+ /**
627
+ * @param {!Array<!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth>} value
628
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
629
+ */
630
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setSourcesOfIncomeList = function(value) {
631
+ return jspb.Message.setField(this, 11, value || []);
632
+ };
633
+
634
+
635
+ /**
636
+ * @param {!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth} value
637
+ * @param {number=} opt_index
638
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
639
+ */
640
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.addSourcesOfIncome = function(value, opt_index) {
641
+ return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
642
+ };
643
+
644
+
645
+ /**
646
+ * Clears the list making it empty but non-null.
647
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
648
+ */
649
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.clearSourcesOfIncomeList = function() {
650
+ return this.setSourcesOfIncomeList([]);
651
+ };
652
+
653
+
654
+ /**
655
+ * repeated SourceOfIncomeAndWealth sources_of_wealth = 12;
656
+ * @return {!Array<!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth>}
657
+ */
658
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getSourcesOfWealthList = function() {
659
+ return /** @type {!Array<!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth>} */ (jspb.Message.getRepeatedField(this, 12));
660
+ };
661
+
662
+
663
+ /**
664
+ * @param {!Array<!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth>} value
665
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
666
+ */
667
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setSourcesOfWealthList = function(value) {
668
+ return jspb.Message.setField(this, 12, value || []);
669
+ };
670
+
671
+
672
+ /**
673
+ * @param {!proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth} value
674
+ * @param {number=} opt_index
675
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
676
+ */
677
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.addSourcesOfWealth = function(value, opt_index) {
678
+ return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
679
+ };
680
+
681
+
682
+ /**
683
+ * Clears the list making it empty but non-null.
684
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
685
+ */
686
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.clearSourcesOfWealthList = function() {
687
+ return this.setSourcesOfWealthList([]);
688
+ };
689
+
690
+
691
+ /**
692
+ * repeated TaxResidency tax_residencies = 13;
693
+ * @return {!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>}
694
+ */
695
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.getTaxResidenciesList = function() {
696
+ return /** @type{!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>} */ (
697
+ jspb.Message.getRepeatedWrapperField(this, meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency, 13));
698
+ };
699
+
700
+
701
+ /**
702
+ * @param {!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>} value
703
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
704
+ */
705
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.setTaxResidenciesList = function(value) {
706
+ return jspb.Message.setRepeatedWrapperField(this, 13, value);
707
+ };
708
+
709
+
710
+ /**
711
+ * @param {!proto.meshtrade.compliance.client.v1.TaxResidency=} opt_value
712
+ * @param {number=} opt_index
713
+ * @return {!proto.meshtrade.compliance.client.v1.TaxResidency}
714
+ */
715
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.addTaxResidencies = function(opt_value, opt_index) {
716
+ return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.meshtrade.compliance.client.v1.TaxResidency, opt_index);
717
+ };
718
+
719
+
720
+ /**
721
+ * Clears the list making it empty but non-null.
722
+ * @return {!proto.meshtrade.compliance.client.v1.NaturalPerson} returns this
723
+ */
724
+ proto.meshtrade.compliance.client.v1.NaturalPerson.prototype.clearTaxResidenciesList = function() {
725
+ return this.setTaxResidenciesList([]);
726
+ };
727
+
728
+
729
+ goog.object.extend(exports, proto.meshtrade.compliance.client.v1);