@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,56 @@
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_company_representative_role_pb from '../../../../meshtrade/compliance/client/v1/company_representative_role_pb'; // proto import: "meshtrade/compliance/client/v1/company_representative_role.proto"
6
+ import * as meshtrade_compliance_client_v1_natural_person_pb from '../../../../meshtrade/compliance/client/v1/natural_person_pb'; // proto import: "meshtrade/compliance/client/v1/natural_person.proto"
7
+ import * as meshtrade_type_v1_contact_details_pb from '../../../../meshtrade/type/v1/contact_details_pb'; // proto import: "meshtrade/type/v1/contact_details.proto"
8
+ import * as meshtrade_type_v1_decimal_pb from '../../../../meshtrade/type/v1/decimal_pb'; // proto import: "meshtrade/type/v1/decimal.proto"
9
+
10
+
11
+ export class CompanyRepresentative extends jspb.Message {
12
+ getNaturalPerson(): meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson | undefined;
13
+ setNaturalPerson(value?: meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson): CompanyRepresentative;
14
+ hasNaturalPerson(): boolean;
15
+ clearNaturalPerson(): CompanyRepresentative;
16
+
17
+ getRole(): meshtrade_compliance_client_v1_company_representative_role_pb.CompanyRepresentativeRole;
18
+ setRole(value: meshtrade_compliance_client_v1_company_representative_role_pb.CompanyRepresentativeRole): CompanyRepresentative;
19
+
20
+ getPosition(): string;
21
+ setPosition(value: string): CompanyRepresentative;
22
+
23
+ getOwnershipPercentage(): meshtrade_type_v1_decimal_pb.Decimal | undefined;
24
+ setOwnershipPercentage(value?: meshtrade_type_v1_decimal_pb.Decimal): CompanyRepresentative;
25
+ hasOwnershipPercentage(): boolean;
26
+ clearOwnershipPercentage(): CompanyRepresentative;
27
+
28
+ getProfessionalContactDetails(): meshtrade_type_v1_contact_details_pb.ContactDetails | undefined;
29
+ setProfessionalContactDetails(value?: meshtrade_type_v1_contact_details_pb.ContactDetails): CompanyRepresentative;
30
+ hasProfessionalContactDetails(): boolean;
31
+ clearProfessionalContactDetails(): CompanyRepresentative;
32
+
33
+ getDateOfAppointment(): google_type_date_pb.Date | undefined;
34
+ setDateOfAppointment(value?: google_type_date_pb.Date): CompanyRepresentative;
35
+ hasDateOfAppointment(): boolean;
36
+ clearDateOfAppointment(): CompanyRepresentative;
37
+
38
+ serializeBinary(): Uint8Array;
39
+ toObject(includeInstance?: boolean): CompanyRepresentative.AsObject;
40
+ static toObject(includeInstance: boolean, msg: CompanyRepresentative): CompanyRepresentative.AsObject;
41
+ static serializeBinaryToWriter(message: CompanyRepresentative, writer: jspb.BinaryWriter): void;
42
+ static deserializeBinary(bytes: Uint8Array): CompanyRepresentative;
43
+ static deserializeBinaryFromReader(message: CompanyRepresentative, reader: jspb.BinaryReader): CompanyRepresentative;
44
+ }
45
+
46
+ export namespace CompanyRepresentative {
47
+ export type AsObject = {
48
+ naturalPerson?: meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.AsObject,
49
+ role: meshtrade_compliance_client_v1_company_representative_role_pb.CompanyRepresentativeRole,
50
+ position: string,
51
+ ownershipPercentage?: meshtrade_type_v1_decimal_pb.Decimal.AsObject,
52
+ professionalContactDetails?: meshtrade_type_v1_contact_details_pb.ContactDetails.AsObject,
53
+ dateOfAppointment?: google_type_date_pb.Date.AsObject,
54
+ }
55
+ }
56
+
@@ -0,0 +1,422 @@
1
+ // source: meshtrade/compliance/client/v1/company_representative.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_company_representative_role_pb = require('../../../../meshtrade/compliance/client/v1/company_representative_role_pb.js');
29
+ goog.object.extend(proto, meshtrade_compliance_client_v1_company_representative_role_pb);
30
+ var meshtrade_compliance_client_v1_natural_person_pb = require('../../../../meshtrade/compliance/client/v1/natural_person_pb.js');
31
+ goog.object.extend(proto, meshtrade_compliance_client_v1_natural_person_pb);
32
+ var meshtrade_type_v1_contact_details_pb = require('../../../../meshtrade/type/v1/contact_details_pb.js');
33
+ goog.object.extend(proto, meshtrade_type_v1_contact_details_pb);
34
+ var meshtrade_type_v1_decimal_pb = require('../../../../meshtrade/type/v1/decimal_pb.js');
35
+ goog.object.extend(proto, meshtrade_type_v1_decimal_pb);
36
+ goog.exportSymbol('proto.meshtrade.compliance.client.v1.CompanyRepresentative', null, global);
37
+ /**
38
+ * Generated by JsPbCodeGenerator.
39
+ * @param {Array=} opt_data Optional initial data array, typically from a
40
+ * server response, or constructed directly in Javascript. The array is used
41
+ * in place and becomes part of the constructed object. It is not cloned.
42
+ * If no data is provided, the constructed object will be empty, but still
43
+ * valid.
44
+ * @extends {jspb.Message}
45
+ * @constructor
46
+ */
47
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative = function(opt_data) {
48
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
49
+ };
50
+ goog.inherits(proto.meshtrade.compliance.client.v1.CompanyRepresentative, jspb.Message);
51
+ if (goog.DEBUG && !COMPILED) {
52
+ /**
53
+ * @public
54
+ * @override
55
+ */
56
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.displayName = 'proto.meshtrade.compliance.client.v1.CompanyRepresentative';
57
+ }
58
+
59
+
60
+
61
+ if (jspb.Message.GENERATE_TO_OBJECT) {
62
+ /**
63
+ * Creates an object representation of this proto.
64
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
65
+ * Optional fields that are not set will be set to undefined.
66
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
67
+ * For the list of reserved names please see:
68
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
69
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
70
+ * JSPB instance for transitional soy proto support:
71
+ * http://goto/soy-param-migration
72
+ * @return {!Object}
73
+ */
74
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.toObject = function(opt_includeInstance) {
75
+ return proto.meshtrade.compliance.client.v1.CompanyRepresentative.toObject(opt_includeInstance, this);
76
+ };
77
+
78
+
79
+ /**
80
+ * Static version of the {@see toObject} method.
81
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
82
+ * the JSPB instance for transitional soy proto support:
83
+ * http://goto/soy-param-migration
84
+ * @param {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} msg The msg instance to transform.
85
+ * @return {!Object}
86
+ * @suppress {unusedLocalVariables} f is only used for nested messages
87
+ */
88
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.toObject = function(includeInstance, msg) {
89
+ var f, obj = {
90
+ naturalPerson: (f = msg.getNaturalPerson()) && meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.toObject(includeInstance, f),
91
+ role: jspb.Message.getFieldWithDefault(msg, 2, 0),
92
+ position: jspb.Message.getFieldWithDefault(msg, 3, ""),
93
+ ownershipPercentage: (f = msg.getOwnershipPercentage()) && meshtrade_type_v1_decimal_pb.Decimal.toObject(includeInstance, f),
94
+ professionalContactDetails: (f = msg.getProfessionalContactDetails()) && meshtrade_type_v1_contact_details_pb.ContactDetails.toObject(includeInstance, f),
95
+ dateOfAppointment: (f = msg.getDateOfAppointment()) && google_type_date_pb.Date.toObject(includeInstance, f)
96
+ };
97
+
98
+ if (includeInstance) {
99
+ obj.$jspbMessageInstance = msg;
100
+ }
101
+ return obj;
102
+ };
103
+ }
104
+
105
+
106
+ /**
107
+ * Deserializes binary data (in protobuf wire format).
108
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
109
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative}
110
+ */
111
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.deserializeBinary = function(bytes) {
112
+ var reader = new jspb.BinaryReader(bytes);
113
+ var msg = new proto.meshtrade.compliance.client.v1.CompanyRepresentative;
114
+ return proto.meshtrade.compliance.client.v1.CompanyRepresentative.deserializeBinaryFromReader(msg, reader);
115
+ };
116
+
117
+
118
+ /**
119
+ * Deserializes binary data (in protobuf wire format) from the
120
+ * given reader into the given message object.
121
+ * @param {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} msg The message object to deserialize into.
122
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
123
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative}
124
+ */
125
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.deserializeBinaryFromReader = function(msg, reader) {
126
+ while (reader.nextField()) {
127
+ if (reader.isEndGroup()) {
128
+ break;
129
+ }
130
+ var field = reader.getFieldNumber();
131
+ switch (field) {
132
+ case 1:
133
+ var value = new meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson;
134
+ reader.readMessage(value,meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.deserializeBinaryFromReader);
135
+ msg.setNaturalPerson(value);
136
+ break;
137
+ case 2:
138
+ var value = /** @type {!proto.meshtrade.compliance.client.v1.CompanyRepresentativeRole} */ (reader.readEnum());
139
+ msg.setRole(value);
140
+ break;
141
+ case 3:
142
+ var value = /** @type {string} */ (reader.readString());
143
+ msg.setPosition(value);
144
+ break;
145
+ case 4:
146
+ var value = new meshtrade_type_v1_decimal_pb.Decimal;
147
+ reader.readMessage(value,meshtrade_type_v1_decimal_pb.Decimal.deserializeBinaryFromReader);
148
+ msg.setOwnershipPercentage(value);
149
+ break;
150
+ case 5:
151
+ var value = new meshtrade_type_v1_contact_details_pb.ContactDetails;
152
+ reader.readMessage(value,meshtrade_type_v1_contact_details_pb.ContactDetails.deserializeBinaryFromReader);
153
+ msg.setProfessionalContactDetails(value);
154
+ break;
155
+ case 6:
156
+ var value = new google_type_date_pb.Date;
157
+ reader.readMessage(value,google_type_date_pb.Date.deserializeBinaryFromReader);
158
+ msg.setDateOfAppointment(value);
159
+ break;
160
+ default:
161
+ reader.skipField();
162
+ break;
163
+ }
164
+ }
165
+ return msg;
166
+ };
167
+
168
+
169
+ /**
170
+ * Serializes the message to binary data (in protobuf wire format).
171
+ * @return {!Uint8Array}
172
+ */
173
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.serializeBinary = function() {
174
+ var writer = new jspb.BinaryWriter();
175
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.serializeBinaryToWriter(this, writer);
176
+ return writer.getResultBuffer();
177
+ };
178
+
179
+
180
+ /**
181
+ * Serializes the given message to binary data (in protobuf wire
182
+ * format), writing to the given BinaryWriter.
183
+ * @param {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} message
184
+ * @param {!jspb.BinaryWriter} writer
185
+ * @suppress {unusedLocalVariables} f is only used for nested messages
186
+ */
187
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.serializeBinaryToWriter = function(message, writer) {
188
+ var f = undefined;
189
+ f = message.getNaturalPerson();
190
+ if (f != null) {
191
+ writer.writeMessage(
192
+ 1,
193
+ f,
194
+ meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.serializeBinaryToWriter
195
+ );
196
+ }
197
+ f = message.getRole();
198
+ if (f !== 0.0) {
199
+ writer.writeEnum(
200
+ 2,
201
+ f
202
+ );
203
+ }
204
+ f = message.getPosition();
205
+ if (f.length > 0) {
206
+ writer.writeString(
207
+ 3,
208
+ f
209
+ );
210
+ }
211
+ f = message.getOwnershipPercentage();
212
+ if (f != null) {
213
+ writer.writeMessage(
214
+ 4,
215
+ f,
216
+ meshtrade_type_v1_decimal_pb.Decimal.serializeBinaryToWriter
217
+ );
218
+ }
219
+ f = message.getProfessionalContactDetails();
220
+ if (f != null) {
221
+ writer.writeMessage(
222
+ 5,
223
+ f,
224
+ meshtrade_type_v1_contact_details_pb.ContactDetails.serializeBinaryToWriter
225
+ );
226
+ }
227
+ f = message.getDateOfAppointment();
228
+ if (f != null) {
229
+ writer.writeMessage(
230
+ 6,
231
+ f,
232
+ google_type_date_pb.Date.serializeBinaryToWriter
233
+ );
234
+ }
235
+ };
236
+
237
+
238
+ /**
239
+ * optional NaturalPerson natural_person = 1;
240
+ * @return {?proto.meshtrade.compliance.client.v1.NaturalPerson}
241
+ */
242
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.getNaturalPerson = function() {
243
+ return /** @type{?proto.meshtrade.compliance.client.v1.NaturalPerson} */ (
244
+ jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson, 1));
245
+ };
246
+
247
+
248
+ /**
249
+ * @param {?proto.meshtrade.compliance.client.v1.NaturalPerson|undefined} value
250
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
251
+ */
252
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.setNaturalPerson = function(value) {
253
+ return jspb.Message.setWrapperField(this, 1, value);
254
+ };
255
+
256
+
257
+ /**
258
+ * Clears the message field making it undefined.
259
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
260
+ */
261
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.clearNaturalPerson = function() {
262
+ return this.setNaturalPerson(undefined);
263
+ };
264
+
265
+
266
+ /**
267
+ * Returns whether this field is set.
268
+ * @return {boolean}
269
+ */
270
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.hasNaturalPerson = function() {
271
+ return jspb.Message.getField(this, 1) != null;
272
+ };
273
+
274
+
275
+ /**
276
+ * optional CompanyRepresentativeRole role = 2;
277
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentativeRole}
278
+ */
279
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.getRole = function() {
280
+ return /** @type {!proto.meshtrade.compliance.client.v1.CompanyRepresentativeRole} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
281
+ };
282
+
283
+
284
+ /**
285
+ * @param {!proto.meshtrade.compliance.client.v1.CompanyRepresentativeRole} value
286
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
287
+ */
288
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.setRole = function(value) {
289
+ return jspb.Message.setProto3EnumField(this, 2, value);
290
+ };
291
+
292
+
293
+ /**
294
+ * optional string position = 3;
295
+ * @return {string}
296
+ */
297
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.getPosition = function() {
298
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
299
+ };
300
+
301
+
302
+ /**
303
+ * @param {string} value
304
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
305
+ */
306
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.setPosition = function(value) {
307
+ return jspb.Message.setProto3StringField(this, 3, value);
308
+ };
309
+
310
+
311
+ /**
312
+ * optional meshtrade.type.v1.Decimal ownership_percentage = 4;
313
+ * @return {?proto.meshtrade.type.v1.Decimal}
314
+ */
315
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.getOwnershipPercentage = function() {
316
+ return /** @type{?proto.meshtrade.type.v1.Decimal} */ (
317
+ jspb.Message.getWrapperField(this, meshtrade_type_v1_decimal_pb.Decimal, 4));
318
+ };
319
+
320
+
321
+ /**
322
+ * @param {?proto.meshtrade.type.v1.Decimal|undefined} value
323
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
324
+ */
325
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.setOwnershipPercentage = function(value) {
326
+ return jspb.Message.setWrapperField(this, 4, value);
327
+ };
328
+
329
+
330
+ /**
331
+ * Clears the message field making it undefined.
332
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
333
+ */
334
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.clearOwnershipPercentage = function() {
335
+ return this.setOwnershipPercentage(undefined);
336
+ };
337
+
338
+
339
+ /**
340
+ * Returns whether this field is set.
341
+ * @return {boolean}
342
+ */
343
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.hasOwnershipPercentage = function() {
344
+ return jspb.Message.getField(this, 4) != null;
345
+ };
346
+
347
+
348
+ /**
349
+ * optional meshtrade.type.v1.ContactDetails professional_contact_details = 5;
350
+ * @return {?proto.meshtrade.type.v1.ContactDetails}
351
+ */
352
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.getProfessionalContactDetails = function() {
353
+ return /** @type{?proto.meshtrade.type.v1.ContactDetails} */ (
354
+ jspb.Message.getWrapperField(this, meshtrade_type_v1_contact_details_pb.ContactDetails, 5));
355
+ };
356
+
357
+
358
+ /**
359
+ * @param {?proto.meshtrade.type.v1.ContactDetails|undefined} value
360
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
361
+ */
362
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.setProfessionalContactDetails = function(value) {
363
+ return jspb.Message.setWrapperField(this, 5, value);
364
+ };
365
+
366
+
367
+ /**
368
+ * Clears the message field making it undefined.
369
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
370
+ */
371
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.clearProfessionalContactDetails = function() {
372
+ return this.setProfessionalContactDetails(undefined);
373
+ };
374
+
375
+
376
+ /**
377
+ * Returns whether this field is set.
378
+ * @return {boolean}
379
+ */
380
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.hasProfessionalContactDetails = function() {
381
+ return jspb.Message.getField(this, 5) != null;
382
+ };
383
+
384
+
385
+ /**
386
+ * optional google.type.Date date_of_appointment = 6;
387
+ * @return {?proto.google.type.Date}
388
+ */
389
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.getDateOfAppointment = function() {
390
+ return /** @type{?proto.google.type.Date} */ (
391
+ jspb.Message.getWrapperField(this, google_type_date_pb.Date, 6));
392
+ };
393
+
394
+
395
+ /**
396
+ * @param {?proto.google.type.Date|undefined} value
397
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
398
+ */
399
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.setDateOfAppointment = function(value) {
400
+ return jspb.Message.setWrapperField(this, 6, value);
401
+ };
402
+
403
+
404
+ /**
405
+ * Clears the message field making it undefined.
406
+ * @return {!proto.meshtrade.compliance.client.v1.CompanyRepresentative} returns this
407
+ */
408
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.clearDateOfAppointment = function() {
409
+ return this.setDateOfAppointment(undefined);
410
+ };
411
+
412
+
413
+ /**
414
+ * Returns whether this field is set.
415
+ * @return {boolean}
416
+ */
417
+ proto.meshtrade.compliance.client.v1.CompanyRepresentative.prototype.hasDateOfAppointment = function() {
418
+ return jspb.Message.getField(this, 6) != null;
419
+ };
420
+
421
+
422
+ goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
@@ -0,0 +1,15 @@
1
+ import * as jspb from 'google-protobuf'
2
+
3
+
4
+
5
+ export enum CompanyRepresentativeRole {
6
+ COMPANY_REPRESENTATIVE_ROLE_UNSPECIFIED = 0,
7
+ COMPANY_REPRESENTATIVE_ROLE_ULTIMATE_BENEFICIAL_OWNER = 1,
8
+ COMPANY_REPRESENTATIVE_ROLE_SHAREHOLDER = 2,
9
+ COMPANY_REPRESENTATIVE_ROLE_SOLE_PROPRIETOR = 3,
10
+ COMPANY_REPRESENTATIVE_ROLE_PARTNER = 4,
11
+ COMPANY_REPRESENTATIVE_ROLE_DIRECTOR = 5,
12
+ COMPANY_REPRESENTATIVE_ROLE_MANAGER = 6,
13
+ COMPANY_REPRESENTATIVE_ROLE_AUTHORIZED_SIGNATORY = 7,
14
+ COMPANY_REPRESENTATIVE_ROLE_PRIMARY_CONTACT = 8,
15
+ }
@@ -0,0 +1,40 @@
1
+ // source: meshtrade/compliance/client/v1/company_representative_role.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.CompanyRepresentativeRole', null, global);
25
+ /**
26
+ * @enum {number}
27
+ */
28
+ proto.meshtrade.compliance.client.v1.CompanyRepresentativeRole = {
29
+ COMPANY_REPRESENTATIVE_ROLE_UNSPECIFIED: 0,
30
+ COMPANY_REPRESENTATIVE_ROLE_ULTIMATE_BENEFICIAL_OWNER: 1,
31
+ COMPANY_REPRESENTATIVE_ROLE_SHAREHOLDER: 2,
32
+ COMPANY_REPRESENTATIVE_ROLE_SOLE_PROPRIETOR: 3,
33
+ COMPANY_REPRESENTATIVE_ROLE_PARTNER: 4,
34
+ COMPANY_REPRESENTATIVE_ROLE_DIRECTOR: 5,
35
+ COMPANY_REPRESENTATIVE_ROLE_MANAGER: 6,
36
+ COMPANY_REPRESENTATIVE_ROLE_AUTHORIZED_SIGNATORY: 7,
37
+ COMPANY_REPRESENTATIVE_ROLE_PRIMARY_CONTACT: 8
38
+ };
39
+
40
+ goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
@@ -0,0 +1,42 @@
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
+
6
+
7
+ export class Fund extends jspb.Message {
8
+ getRegisteredName(): string;
9
+ setRegisteredName(value: string): Fund;
10
+
11
+ getRegistrationNumber(): string;
12
+ setRegistrationNumber(value: string): Fund;
13
+
14
+ getTaxIdentifier(): string;
15
+ setTaxIdentifier(value: string): Fund;
16
+
17
+ getCountryOfDomicile(): string;
18
+ setCountryOfDomicile(value: string): Fund;
19
+
20
+ getDateOfInception(): google_type_date_pb.Date | undefined;
21
+ setDateOfInception(value?: google_type_date_pb.Date): Fund;
22
+ hasDateOfInception(): boolean;
23
+ clearDateOfInception(): Fund;
24
+
25
+ serializeBinary(): Uint8Array;
26
+ toObject(includeInstance?: boolean): Fund.AsObject;
27
+ static toObject(includeInstance: boolean, msg: Fund): Fund.AsObject;
28
+ static serializeBinaryToWriter(message: Fund, writer: jspb.BinaryWriter): void;
29
+ static deserializeBinary(bytes: Uint8Array): Fund;
30
+ static deserializeBinaryFromReader(message: Fund, reader: jspb.BinaryReader): Fund;
31
+ }
32
+
33
+ export namespace Fund {
34
+ export type AsObject = {
35
+ registeredName: string,
36
+ registrationNumber: string,
37
+ taxIdentifier: string,
38
+ countryOfDomicile: string,
39
+ dateOfInception?: google_type_date_pb.Date.AsObject,
40
+ }
41
+ }
42
+