@meshtrade/api-web 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 (186) hide show
  1. package/README.md +68 -0
  2. package/dist/buf/validate/validate_pb.d.ts +4597 -0
  3. package/dist/buf/validate/validate_pb.js +354 -0
  4. package/dist/google/type/date_pb.d.ts +52 -0
  5. package/dist/google/type/date_pb.js +26 -0
  6. package/dist/meshtrade/common/config.d.ts +7 -0
  7. package/dist/meshtrade/common/config.js +9 -0
  8. package/dist/meshtrade/common/connectInterceptors.d.ts +73 -0
  9. package/dist/meshtrade/common/connectInterceptors.js +126 -0
  10. package/dist/meshtrade/common/validation.d.ts +62 -0
  11. package/dist/meshtrade/common/validation.js +77 -0
  12. package/dist/meshtrade/compliance/client/v1/client_pb.d.ts +138 -0
  13. package/dist/meshtrade/compliance/client/v1/client_pb.js +23 -0
  14. package/dist/meshtrade/compliance/client/v1/company_pb.d.ts +313 -0
  15. package/dist/meshtrade/compliance/client/v1/company_pb.js +100 -0
  16. package/dist/meshtrade/compliance/client/v1/company_representative_pb.d.ts +81 -0
  17. package/dist/meshtrade/compliance/client/v1/company_representative_pb.js +22 -0
  18. package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.d.ts +88 -0
  19. package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.js +95 -0
  20. package/dist/meshtrade/compliance/client/v1/fund_pb.d.ts +65 -0
  21. package/dist/meshtrade/compliance/client/v1/fund_pb.js +18 -0
  22. package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.d.ts +55 -0
  23. package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.js +62 -0
  24. package/dist/meshtrade/compliance/client/v1/index.d.ts +16 -0
  25. package/dist/meshtrade/compliance/client/v1/index.js +59 -0
  26. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.d.ts +86 -0
  27. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.js +16 -0
  28. package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.d.ts +133 -0
  29. package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.js +140 -0
  30. package/dist/meshtrade/compliance/client/v1/natural_person_pb.d.ts +143 -0
  31. package/dist/meshtrade/compliance/client/v1/natural_person_pb.js +24 -0
  32. package/dist/meshtrade/compliance/client/v1/pep_status_pb.d.ts +46 -0
  33. package/dist/meshtrade/compliance/client/v1/pep_status_pb.js +53 -0
  34. package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +123 -0
  35. package/dist/meshtrade/compliance/client/v1/service_pb.js +45 -0
  36. package/dist/meshtrade/compliance/client/v1/service_web_meshts.d.ts +48 -0
  37. package/dist/meshtrade/compliance/client/v1/service_web_meshts.js +92 -0
  38. package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.d.ts +180 -0
  39. package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.js +187 -0
  40. package/dist/meshtrade/compliance/client/v1/tax_residency_pb.d.ts +40 -0
  41. package/dist/meshtrade/compliance/client/v1/tax_residency_pb.js +17 -0
  42. package/dist/meshtrade/compliance/client/v1/trust_pb.d.ts +65 -0
  43. package/dist/meshtrade/compliance/client/v1/trust_pb.js +18 -0
  44. package/dist/meshtrade/compliance/client/v1/verification_status_pb.d.ts +57 -0
  45. package/dist/meshtrade/compliance/client/v1/verification_status_pb.js +64 -0
  46. package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.d.ts +43 -0
  47. package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.js +17 -0
  48. package/dist/meshtrade/iam/api_user/v1/api_user_pb.d.ts +152 -0
  49. package/dist/meshtrade/iam/api_user/v1/api_user_pb.js +95 -0
  50. package/dist/meshtrade/iam/api_user/v1/index.d.ts +4 -0
  51. package/dist/meshtrade/iam/api_user/v1/index.js +45 -0
  52. package/dist/meshtrade/iam/api_user/v1/service_pb.d.ts +343 -0
  53. package/dist/meshtrade/iam/api_user/v1/service_pb.js +86 -0
  54. package/dist/meshtrade/iam/api_user/v1/service_web_meshts.d.ts +84 -0
  55. package/dist/meshtrade/iam/api_user/v1/service_web_meshts.js +152 -0
  56. package/dist/meshtrade/iam/group/v1/group_pb.d.ts +58 -0
  57. package/dist/meshtrade/iam/group/v1/group_pb.js +17 -0
  58. package/dist/meshtrade/iam/group/v1/index.d.ts +3 -0
  59. package/dist/meshtrade/iam/group/v1/index.js +44 -0
  60. package/dist/meshtrade/iam/group/v1/service_pb.d.ts +306 -0
  61. package/dist/meshtrade/iam/group/v1/service_pb.js +75 -0
  62. package/dist/meshtrade/iam/group/v1/service_web_meshts.d.ts +60 -0
  63. package/dist/meshtrade/iam/group/v1/service_web_meshts.js +112 -0
  64. package/dist/meshtrade/iam/role/v1/index.d.ts +2 -0
  65. package/dist/meshtrade/iam/role/v1/index.js +43 -0
  66. package/dist/meshtrade/iam/role/v1/role.d.ts +71 -0
  67. package/dist/meshtrade/iam/role/v1/role.js +192 -0
  68. package/dist/meshtrade/iam/role/v1/role_pb.d.ts +164 -0
  69. package/dist/meshtrade/iam/role/v1/role_pb.js +171 -0
  70. package/dist/meshtrade/iam/user/v1/index.d.ts +3 -0
  71. package/dist/meshtrade/iam/user/v1/index.js +44 -0
  72. package/dist/meshtrade/iam/user/v1/service_pb.d.ts +379 -0
  73. package/dist/meshtrade/iam/user/v1/service_pb.js +90 -0
  74. package/dist/meshtrade/iam/user/v1/service_web_meshts.d.ts +78 -0
  75. package/dist/meshtrade/iam/user/v1/service_web_meshts.js +142 -0
  76. package/dist/meshtrade/iam/user/v1/user_pb.d.ts +58 -0
  77. package/dist/meshtrade/iam/user/v1/user_pb.js +17 -0
  78. package/dist/meshtrade/ledger/transaction/v1/index.d.ts +5 -0
  79. package/dist/meshtrade/ledger/transaction/v1/index.js +46 -0
  80. package/dist/meshtrade/ledger/transaction/v1/service_pb.d.ts +102 -0
  81. package/dist/meshtrade/ledger/transaction/v1/service_pb.js +41 -0
  82. package/dist/meshtrade/ledger/transaction/v1/service_web_meshts.d.ts +50 -0
  83. package/dist/meshtrade/ledger/transaction/v1/service_web_meshts.js +91 -0
  84. package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.d.ts +46 -0
  85. package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.js +53 -0
  86. package/dist/meshtrade/ledger/transaction/v1/transaction_state.d.ts +14 -0
  87. package/dist/meshtrade/ledger/transaction/v1/transaction_state.js +64 -0
  88. package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.d.ts +50 -0
  89. package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.js +57 -0
  90. package/dist/meshtrade/market_data/price/v1/index.d.ts +3 -0
  91. package/dist/meshtrade/market_data/price/v1/index.js +44 -0
  92. package/dist/meshtrade/market_data/price/v1/price_pb.d.ts +50 -0
  93. package/dist/meshtrade/market_data/price/v1/price_pb.js +19 -0
  94. package/dist/meshtrade/market_data/price/v1/service_pb.d.ts +48 -0
  95. package/dist/meshtrade/market_data/price/v1/service_pb.js +27 -0
  96. package/dist/meshtrade/market_data/price/v1/service_web_meshts.d.ts +36 -0
  97. package/dist/meshtrade/market_data/price/v1/service_web_meshts.js +72 -0
  98. package/dist/meshtrade/option/method_options/v1/index.d.ts +1 -0
  99. package/dist/meshtrade/option/method_options/v1/index.js +42 -0
  100. package/dist/meshtrade/option/method_options/v1/method_options_pb.d.ts +132 -0
  101. package/dist/meshtrade/option/method_options/v1/method_options_pb.js +108 -0
  102. package/dist/meshtrade/reporting/account_report/v1/account_report_pb.d.ts +136 -0
  103. package/dist/meshtrade/reporting/account_report/v1/account_report_pb.js +28 -0
  104. package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.d.ts +39 -0
  105. package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.js +16 -0
  106. package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.d.ts +66 -0
  107. package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.js +18 -0
  108. package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.d.ts +139 -0
  109. package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.js +80 -0
  110. package/dist/meshtrade/reporting/account_report/v1/index.d.ts +7 -0
  111. package/dist/meshtrade/reporting/account_report/v1/index.js +48 -0
  112. package/dist/meshtrade/reporting/account_report/v1/service_pb.d.ts +162 -0
  113. package/dist/meshtrade/reporting/account_report/v1/service_pb.js +46 -0
  114. package/dist/meshtrade/reporting/account_report/v1/service_web_meshts.d.ts +42 -0
  115. package/dist/meshtrade/reporting/account_report/v1/service_web_meshts.js +82 -0
  116. package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.d.ts +80 -0
  117. package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.js +18 -0
  118. package/dist/meshtrade/studio/instrument/v1/index.d.ts +3 -0
  119. package/dist/meshtrade/studio/instrument/v1/index.js +44 -0
  120. package/dist/meshtrade/studio/instrument/v1/instrument_pb.d.ts +53 -0
  121. package/dist/meshtrade/studio/instrument/v1/instrument_pb.js +18 -0
  122. package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.d.ts +214 -0
  123. package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.js +221 -0
  124. package/dist/meshtrade/studio/instrument/v1/unit_pb.d.ts +148 -0
  125. package/dist/meshtrade/studio/instrument/v1/unit_pb.js +155 -0
  126. package/dist/meshtrade/trading/limit_order/v1/index.d.ts +3 -0
  127. package/dist/meshtrade/trading/limit_order/v1/index.js +44 -0
  128. package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.d.ts +211 -0
  129. package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.js +111 -0
  130. package/dist/meshtrade/trading/limit_order/v1/service_pb.d.ts +357 -0
  131. package/dist/meshtrade/trading/limit_order/v1/service_pb.js +73 -0
  132. package/dist/meshtrade/trading/limit_order/v1/service_web_meshts.d.ts +81 -0
  133. package/dist/meshtrade/trading/limit_order/v1/service_web_meshts.js +141 -0
  134. package/dist/meshtrade/trading/market_order/v1/index.d.ts +3 -0
  135. package/dist/meshtrade/trading/market_order/v1/index.js +44 -0
  136. package/dist/meshtrade/trading/market_order/v1/market_order_pb.d.ts +20 -0
  137. package/dist/meshtrade/trading/market_order/v1/market_order_pb.js +16 -0
  138. package/dist/meshtrade/trading/market_order/v1/service_pb.d.ts +34 -0
  139. package/dist/meshtrade/trading/market_order/v1/service_pb.js +22 -0
  140. package/dist/meshtrade/trading/market_order/v1/service_web_meshts.d.ts +36 -0
  141. package/dist/meshtrade/trading/market_order/v1/service_web_meshts.js +72 -0
  142. package/dist/meshtrade/type/v1/address_pb.d.ts +82 -0
  143. package/dist/meshtrade/type/v1/address_pb.js +16 -0
  144. package/dist/meshtrade/type/v1/amount.d.ts +13 -0
  145. package/dist/meshtrade/type/v1/amount.js +68 -0
  146. package/dist/meshtrade/type/v1/amountWrapper.d.ts +74 -0
  147. package/dist/meshtrade/type/v1/amountWrapper.js +98 -0
  148. package/dist/meshtrade/type/v1/amount_pb.d.ts +44 -0
  149. package/dist/meshtrade/type/v1/amount_pb.js +18 -0
  150. package/dist/meshtrade/type/v1/contact_details_pb.d.ts +98 -0
  151. package/dist/meshtrade/type/v1/contact_details_pb.js +16 -0
  152. package/dist/meshtrade/type/v1/date.d.ts +49 -0
  153. package/dist/meshtrade/type/v1/date.js +136 -0
  154. package/dist/meshtrade/type/v1/date_pb.d.ts +50 -0
  155. package/dist/meshtrade/type/v1/date_pb.js +16 -0
  156. package/dist/meshtrade/type/v1/decimalConversions.d.ts +24 -0
  157. package/dist/meshtrade/type/v1/decimalConversions.js +39 -0
  158. package/dist/meshtrade/type/v1/decimal_pb.d.ts +24 -0
  159. package/dist/meshtrade/type/v1/decimal_pb.js +16 -0
  160. package/dist/meshtrade/type/v1/index.d.ts +15 -0
  161. package/dist/meshtrade/type/v1/index.js +56 -0
  162. package/dist/meshtrade/type/v1/ledger.d.ts +27 -0
  163. package/dist/meshtrade/type/v1/ledger.js +115 -0
  164. package/dist/meshtrade/type/v1/ledger_pb.d.ts +83 -0
  165. package/dist/meshtrade/type/v1/ledger_pb.js +90 -0
  166. package/dist/meshtrade/type/v1/sorting_pb.d.ts +35 -0
  167. package/dist/meshtrade/type/v1/sorting_pb.js +42 -0
  168. package/dist/meshtrade/type/v1/time_of_day.d.ts +74 -0
  169. package/dist/meshtrade/type/v1/time_of_day.js +199 -0
  170. package/dist/meshtrade/type/v1/time_of_day_pb.d.ts +67 -0
  171. package/dist/meshtrade/type/v1/time_of_day_pb.js +16 -0
  172. package/dist/meshtrade/type/v1/token.d.ts +4 -0
  173. package/dist/meshtrade/type/v1/token.js +23 -0
  174. package/dist/meshtrade/type/v1/tokenWrapper.d.ts +49 -0
  175. package/dist/meshtrade/type/v1/tokenWrapper.js +92 -0
  176. package/dist/meshtrade/type/v1/token_pb.d.ts +56 -0
  177. package/dist/meshtrade/type/v1/token_pb.js +17 -0
  178. package/dist/meshtrade/wallet/account/v1/account_pb.d.ts +264 -0
  179. package/dist/meshtrade/wallet/account/v1/account_pb.js +74 -0
  180. package/dist/meshtrade/wallet/account/v1/index.d.ts +3 -0
  181. package/dist/meshtrade/wallet/account/v1/index.js +44 -0
  182. package/dist/meshtrade/wallet/account/v1/service_pb.d.ts +559 -0
  183. package/dist/meshtrade/wallet/account/v1/service_pb.js +112 -0
  184. package/dist/meshtrade/wallet/account/v1/service_web_meshts.d.ts +84 -0
  185. package/dist/meshtrade/wallet/account/v1/service_web_meshts.js +152 -0
  186. package/package.json +171 -0
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-meshts v1
3
+ // @generated from file meshtrade/compliance/client/v1/service.proto (package meshtrade.compliance.client.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ClientServiceWeb = void 0;
7
+ const connect_1 = require("@connectrpc/connect");
8
+ const connect_web_1 = require("@connectrpc/connect-web");
9
+ const service_pb_1 = require("./service_pb");
10
+ const config_1 = require("../../../common/config");
11
+ const validation_1 = require("../../../common/validation");
12
+ const connectInterceptors_1 = require("../../../common/connectInterceptors");
13
+ /**
14
+ * Web client for interacting with the meshtrade.compliance.client.v1 client v1 API resource service.
15
+ * Uses Connect-ES with gRPC-Web transport for browser-compatible gRPC communication.
16
+ */
17
+ class ClientServiceWeb {
18
+ /**
19
+ * Constructs an instance of ClientServiceWeb.
20
+ * @param {ConfigOpts} [config] - Optional configuration for the client.
21
+ * @param {Interceptor[]} [interceptors] - For internal use by `withGroup`.
22
+ */
23
+ constructor(config, interceptors) {
24
+ this._config = (0, config_1.getConfigFromOpts)(config);
25
+ this._interceptors = interceptors || [];
26
+ // Create the gRPC-Web transport with interceptors
27
+ const transport = (0, connect_web_1.createGrpcWebTransport)({
28
+ baseUrl: this._config.apiServerURL,
29
+ interceptors: this._interceptors,
30
+ // Enable credentials (cookies) for cross-origin requests
31
+ fetch: (input, init) => globalThis.fetch(input, { ...init, credentials: 'include' }),
32
+ });
33
+ // Construct the Connect-ES client
34
+ this._client = (0, connect_1.createClient)(service_pb_1.ClientService, transport);
35
+ }
36
+ /**
37
+ * Returns a new client instance configured to send the specified group
38
+ * resource name in the request headers for subsequent API calls.
39
+ *
40
+ * @param {string} group - The operating group context to inject into the request
41
+ * in the format `groups/{ulid}` where {ulid} is a 26-character ULID.
42
+ * Example: 'groups/01ARZ3NDEKTSV4YWVF8F5BH32'
43
+ * @returns {ClientServiceWeb} A new, configured instance of the client.
44
+ * @throws {Error} If the group format is invalid (validation occurs in createGroupInterceptor)
45
+ */
46
+ withGroup(group) {
47
+ // Check if a group interceptor already exists.
48
+ // Group interceptors are identified by having a 'groupContext' property
49
+ const hasGroupInterceptor = this._interceptors.some((interceptor) => interceptor.groupContext !== undefined);
50
+ if (hasGroupInterceptor) {
51
+ throw new Error("Attempted to set group context twice. A group has already been set for this client instance.");
52
+ }
53
+ // Create a new interceptor for the group context
54
+ const groupInterceptor = (0, connectInterceptors_1.createGroupInterceptor)(group);
55
+ // Return a new client instance with the existing interceptors plus the new one
56
+ return new ClientServiceWeb(this._config, [
57
+ ...this._interceptors,
58
+ groupInterceptor,
59
+ ]);
60
+ }
61
+ /**
62
+ * Creates a new client.
63
+ * @param {CreateClientRequest} request - The request object for createclient.
64
+ * @returns {Promise<Client>} A promise that resolves with the client.
65
+ */
66
+ createClient(request) {
67
+ // Validate request
68
+ (0, validation_1.validateRequest)(request);
69
+ return this._client.createClient(request);
70
+ }
71
+ /**
72
+ * Retrieves a client.
73
+ * @param {GetClientRequest} request - The request object for getclient.
74
+ * @returns {Promise<Client>} A promise that resolves with the client.
75
+ */
76
+ getClient(request) {
77
+ // Validate request
78
+ (0, validation_1.validateRequest)(request);
79
+ return this._client.getClient(request);
80
+ }
81
+ /**
82
+ * Retrieves a list of clients.
83
+ * @param {ListClientsRequest} request - The request object for listclients.
84
+ * @returns {Promise<ListClientsResponse>} A promise that resolves with the list of clients.
85
+ */
86
+ listClients(request) {
87
+ // Validate request
88
+ (0, validation_1.validateRequest)(request);
89
+ return this._client.listClients(request);
90
+ }
91
+ }
92
+ exports.ClientServiceWeb = ClientServiceWeb;
@@ -0,0 +1,180 @@
1
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
2
+ /**
3
+ * Describes the file meshtrade/compliance/client/v1/source_of_income_and_wealth.proto.
4
+ */
5
+ export declare const file_meshtrade_compliance_client_v1_source_of_income_and_wealth: GenFile;
6
+ /**
7
+ *
8
+ * SourceOfIncomeAndWealth specifies the origin of a client's funds or assets.
9
+ * This is used for compliance and due diligence purposes.
10
+ *
11
+ * @generated from enum meshtrade.compliance.client.v1.SourceOfIncomeAndWealth
12
+ */
13
+ export declare enum SourceOfIncomeAndWealth {
14
+ /**
15
+ *
16
+ * Unknown or not specified.
17
+ * This is a default value to prevent accidental assignment and should not be used.
18
+ *
19
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_UNSPECIFIED = 0;
20
+ */
21
+ UNSPECIFIED = 0,
22
+ /**
23
+ *
24
+ * Funds from allowances.
25
+ *
26
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_ALLOWANCES = 1;
27
+ */
28
+ ALLOWANCES = 1,
29
+ /**
30
+ *
31
+ * Funds from a bursary or scholarship.
32
+ *
33
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_BURSARY = 2;
34
+ */
35
+ BURSARY = 2,
36
+ /**
37
+ *
38
+ * Funds received as part of a court order.
39
+ *
40
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_COURT_ORDER = 3;
41
+ */
42
+ COURT_ORDER = 3,
43
+ /**
44
+ *
45
+ * Funds from a loan provided by a financial institution.
46
+ *
47
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_LOAN_FINANCIAL_INSTITUTION = 4;
48
+ */
49
+ LOAN_FINANCIAL_INSTITUTION = 4,
50
+ /**
51
+ *
52
+ * Funds from a loan provided by another entity or individual.
53
+ *
54
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_LOAN_OTHER = 5;
55
+ */
56
+ LOAN_OTHER = 5,
57
+ /**
58
+ *
59
+ * Funds from maintenance payments.
60
+ *
61
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_MAINTENANCE = 6;
62
+ */
63
+ MAINTENANCE = 6,
64
+ /**
65
+ *
66
+ * Funds from investments that have reached maturity.
67
+ *
68
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_MATURING_INVESTMENTS = 7;
69
+ */
70
+ MATURING_INVESTMENTS = 7,
71
+ /**
72
+ *
73
+ * Funds from a pension.
74
+ *
75
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_PENSION = 8;
76
+ */
77
+ PENSION = 8,
78
+ /**
79
+ *
80
+ * Income generated from rental properties.
81
+ *
82
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_RENTAL_INCOME = 9;
83
+ */
84
+ RENTAL_INCOME = 9,
85
+ /**
86
+ *
87
+ * Profits generated from a company.
88
+ *
89
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_COMPANY_PROFITS = 10;
90
+ */
91
+ COMPANY_PROFITS = 10,
92
+ /**
93
+ *
94
+ * Proceeds from the sale of a company.
95
+ *
96
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_COMPANY_SALE = 11;
97
+ */
98
+ COMPANY_SALE = 11,
99
+ /**
100
+ *
101
+ * Funds from a deceased estate.
102
+ *
103
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_DECEASED_ESTATE = 12;
104
+ */
105
+ DECEASED_ESTATE = 12,
106
+ /**
107
+ *
108
+ * Funds received as part of a divorce settlement.
109
+ *
110
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_DIVORCE_SETTLEMENT = 13;
111
+ */
112
+ DIVORCE_SETTLEMENT = 13,
113
+ /**
114
+ *
115
+ * Funds received as a gift or donation.
116
+ *
117
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_GIFT_OR_DONATION = 14;
118
+ */
119
+ GIFT_OR_DONATION = 14,
120
+ /**
121
+ *
122
+ * Salary or wages from current employment.
123
+ *
124
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_INCOME_FROM_EMPLOYMENT = 15;
125
+ */
126
+ INCOME_FROM_EMPLOYMENT = 15,
127
+ /**
128
+ *
129
+ * Income from a previous employer, such as severance.
130
+ *
131
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_INCOME_FROM_PREVIOUS_EMPLOYMENT = 16;
132
+ */
133
+ INCOME_FROM_PREVIOUS_EMPLOYMENT = 16,
134
+ /**
135
+ *
136
+ * Funds received as an inheritance.
137
+ *
138
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_INHERITANCE = 17;
139
+ */
140
+ INHERITANCE = 17,
141
+ /**
142
+ *
143
+ * Winnings from a lottery, gambling, or other prizes.
144
+ *
145
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_LOTTERY_WINNINGS_OR_GAMBLING = 18;
146
+ */
147
+ LOTTERY_WINNINGS_OR_GAMBLING = 18,
148
+ /**
149
+ *
150
+ * Proceeds from the sale of a physical or digital asset.
151
+ *
152
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_SALE_OF_ASSET = 19;
153
+ */
154
+ SALE_OF_ASSET = 19,
155
+ /**
156
+ *
157
+ * Proceeds from the sale of stocks or shares.
158
+ *
159
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_SALE_OF_SHARES = 20;
160
+ */
161
+ SALE_OF_SHARES = 20,
162
+ /**
163
+ *
164
+ * Income from savings, investments, or dividends.
165
+ *
166
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_SAVINGS_INVESTMENT_OR_DIVIDEND = 21;
167
+ */
168
+ SAVINGS_INVESTMENT_OR_DIVIDEND = 21,
169
+ /**
170
+ *
171
+ * Funds distributed from a trust.
172
+ *
173
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_TRUST_DISTRIBUTIONS = 22;
174
+ */
175
+ TRUST_DISTRIBUTIONS = 22
176
+ }
177
+ /**
178
+ * Describes the enum meshtrade.compliance.client.v1.SourceOfIncomeAndWealth.
179
+ */
180
+ export declare const SourceOfIncomeAndWealthSchema: GenEnum<SourceOfIncomeAndWealth>;
@@ -0,0 +1,187 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/compliance/client/v1/source_of_income_and_wealth.proto (package meshtrade.compliance.client.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SourceOfIncomeAndWealthSchema = exports.SourceOfIncomeAndWealth = exports.file_meshtrade_compliance_client_v1_source_of_income_and_wealth = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file meshtrade/compliance/client/v1/source_of_income_and_wealth.proto.
10
+ */
11
+ exports.file_meshtrade_compliance_client_v1_source_of_income_and_wealth = (0, codegenv2_1.fileDesc)("CkBtZXNodHJhZGUvY29tcGxpYW5jZS9jbGllbnQvdjEvc291cmNlX29mX2luY29tZV9hbmRfd2VhbHRoLnByb3RvEh5tZXNodHJhZGUuY29tcGxpYW5jZS5jbGllbnQudjEqmQkKF1NvdXJjZU9mSW5jb21lQW5kV2VhbHRoEisKJ1NPVVJDRV9PRl9JTkNPTUVfQU5EX1dFQUxUSF9VTlNQRUNJRklFRBAAEioKJlNPVVJDRV9PRl9JTkNPTUVfQU5EX1dFQUxUSF9BTExPV0FOQ0VTEAESJwojU09VUkNFX09GX0lOQ09NRV9BTkRfV0VBTFRIX0JVUlNBUlkQAhIrCidTT1VSQ0VfT0ZfSU5DT01FX0FORF9XRUFMVEhfQ09VUlRfT1JERVIQAxI6CjZTT1VSQ0VfT0ZfSU5DT01FX0FORF9XRUFMVEhfTE9BTl9GSU5BTkNJQUxfSU5TVElUVVRJT04QBBIqCiZTT1VSQ0VfT0ZfSU5DT01FX0FORF9XRUFMVEhfTE9BTl9PVEhFUhAFEisKJ1NPVVJDRV9PRl9JTkNPTUVfQU5EX1dFQUxUSF9NQUlOVEVOQU5DRRAGEjQKMFNPVVJDRV9PRl9JTkNPTUVfQU5EX1dFQUxUSF9NQVRVUklOR19JTlZFU1RNRU5UUxAHEicKI1NPVVJDRV9PRl9JTkNPTUVfQU5EX1dFQUxUSF9QRU5TSU9OEAgSLQopU09VUkNFX09GX0lOQ09NRV9BTkRfV0VBTFRIX1JFTlRBTF9JTkNPTUUQCRIvCitTT1VSQ0VfT0ZfSU5DT01FX0FORF9XRUFMVEhfQ09NUEFOWV9QUk9GSVRTEAoSLAooU09VUkNFX09GX0lOQ09NRV9BTkRfV0VBTFRIX0NPTVBBTllfU0FMRRALEi8KK1NPVVJDRV9PRl9JTkNPTUVfQU5EX1dFQUxUSF9ERUNFQVNFRF9FU1RBVEUQDBIyCi5TT1VSQ0VfT0ZfSU5DT01FX0FORF9XRUFMVEhfRElWT1JDRV9TRVRUTEVNRU5UEA0SMAosU09VUkNFX09GX0lOQ09NRV9BTkRfV0VBTFRIX0dJRlRfT1JfRE9OQVRJT04QDhI2CjJTT1VSQ0VfT0ZfSU5DT01FX0FORF9XRUFMVEhfSU5DT01FX0ZST01fRU1QTE9ZTUVOVBAPEj8KO1NPVVJDRV9PRl9JTkNPTUVfQU5EX1dFQUxUSF9JTkNPTUVfRlJPTV9QUkVWSU9VU19FTVBMT1lNRU5UEBASKwonU09VUkNFX09GX0lOQ09NRV9BTkRfV0VBTFRIX0lOSEVSSVRBTkNFEBESPAo4U09VUkNFX09GX0lOQ09NRV9BTkRfV0VBTFRIX0xPVFRFUllfV0lOTklOR1NfT1JfR0FNQkxJTkcQEhItCilTT1VSQ0VfT0ZfSU5DT01FX0FORF9XRUFMVEhfU0FMRV9PRl9BU1NFVBATEi4KKlNPVVJDRV9PRl9JTkNPTUVfQU5EX1dFQUxUSF9TQUxFX09GX1NIQVJFUxAUEj4KOlNPVVJDRV9PRl9JTkNPTUVfQU5EX1dFQUxUSF9TQVZJTkdTX0lOVkVTVE1FTlRfT1JfRElWSURFTkQQFRIzCi9TT1VSQ0VfT0ZfSU5DT01FX0FORF9XRUFMVEhfVFJVU1RfRElTVFJJQlVUSU9OUxAWQmMKJWNvLm1lc2h0cmFkZS5hcGkuY29tcGxpYW5jZS5jbGllbnQudjFaOmdpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9jb21wbGlhbmNlL2NsaWVudC92MTtjbGllbnRfdjFiBnByb3RvMw");
12
+ /**
13
+ *
14
+ * SourceOfIncomeAndWealth specifies the origin of a client's funds or assets.
15
+ * This is used for compliance and due diligence purposes.
16
+ *
17
+ * @generated from enum meshtrade.compliance.client.v1.SourceOfIncomeAndWealth
18
+ */
19
+ var SourceOfIncomeAndWealth;
20
+ (function (SourceOfIncomeAndWealth) {
21
+ /**
22
+ *
23
+ * Unknown or not specified.
24
+ * This is a default value to prevent accidental assignment and should not be used.
25
+ *
26
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_UNSPECIFIED = 0;
27
+ */
28
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["UNSPECIFIED"] = 0] = "UNSPECIFIED";
29
+ /**
30
+ *
31
+ * Funds from allowances.
32
+ *
33
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_ALLOWANCES = 1;
34
+ */
35
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["ALLOWANCES"] = 1] = "ALLOWANCES";
36
+ /**
37
+ *
38
+ * Funds from a bursary or scholarship.
39
+ *
40
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_BURSARY = 2;
41
+ */
42
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["BURSARY"] = 2] = "BURSARY";
43
+ /**
44
+ *
45
+ * Funds received as part of a court order.
46
+ *
47
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_COURT_ORDER = 3;
48
+ */
49
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["COURT_ORDER"] = 3] = "COURT_ORDER";
50
+ /**
51
+ *
52
+ * Funds from a loan provided by a financial institution.
53
+ *
54
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_LOAN_FINANCIAL_INSTITUTION = 4;
55
+ */
56
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["LOAN_FINANCIAL_INSTITUTION"] = 4] = "LOAN_FINANCIAL_INSTITUTION";
57
+ /**
58
+ *
59
+ * Funds from a loan provided by another entity or individual.
60
+ *
61
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_LOAN_OTHER = 5;
62
+ */
63
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["LOAN_OTHER"] = 5] = "LOAN_OTHER";
64
+ /**
65
+ *
66
+ * Funds from maintenance payments.
67
+ *
68
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_MAINTENANCE = 6;
69
+ */
70
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["MAINTENANCE"] = 6] = "MAINTENANCE";
71
+ /**
72
+ *
73
+ * Funds from investments that have reached maturity.
74
+ *
75
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_MATURING_INVESTMENTS = 7;
76
+ */
77
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["MATURING_INVESTMENTS"] = 7] = "MATURING_INVESTMENTS";
78
+ /**
79
+ *
80
+ * Funds from a pension.
81
+ *
82
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_PENSION = 8;
83
+ */
84
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["PENSION"] = 8] = "PENSION";
85
+ /**
86
+ *
87
+ * Income generated from rental properties.
88
+ *
89
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_RENTAL_INCOME = 9;
90
+ */
91
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["RENTAL_INCOME"] = 9] = "RENTAL_INCOME";
92
+ /**
93
+ *
94
+ * Profits generated from a company.
95
+ *
96
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_COMPANY_PROFITS = 10;
97
+ */
98
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["COMPANY_PROFITS"] = 10] = "COMPANY_PROFITS";
99
+ /**
100
+ *
101
+ * Proceeds from the sale of a company.
102
+ *
103
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_COMPANY_SALE = 11;
104
+ */
105
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["COMPANY_SALE"] = 11] = "COMPANY_SALE";
106
+ /**
107
+ *
108
+ * Funds from a deceased estate.
109
+ *
110
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_DECEASED_ESTATE = 12;
111
+ */
112
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["DECEASED_ESTATE"] = 12] = "DECEASED_ESTATE";
113
+ /**
114
+ *
115
+ * Funds received as part of a divorce settlement.
116
+ *
117
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_DIVORCE_SETTLEMENT = 13;
118
+ */
119
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["DIVORCE_SETTLEMENT"] = 13] = "DIVORCE_SETTLEMENT";
120
+ /**
121
+ *
122
+ * Funds received as a gift or donation.
123
+ *
124
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_GIFT_OR_DONATION = 14;
125
+ */
126
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["GIFT_OR_DONATION"] = 14] = "GIFT_OR_DONATION";
127
+ /**
128
+ *
129
+ * Salary or wages from current employment.
130
+ *
131
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_INCOME_FROM_EMPLOYMENT = 15;
132
+ */
133
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["INCOME_FROM_EMPLOYMENT"] = 15] = "INCOME_FROM_EMPLOYMENT";
134
+ /**
135
+ *
136
+ * Income from a previous employer, such as severance.
137
+ *
138
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_INCOME_FROM_PREVIOUS_EMPLOYMENT = 16;
139
+ */
140
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["INCOME_FROM_PREVIOUS_EMPLOYMENT"] = 16] = "INCOME_FROM_PREVIOUS_EMPLOYMENT";
141
+ /**
142
+ *
143
+ * Funds received as an inheritance.
144
+ *
145
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_INHERITANCE = 17;
146
+ */
147
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["INHERITANCE"] = 17] = "INHERITANCE";
148
+ /**
149
+ *
150
+ * Winnings from a lottery, gambling, or other prizes.
151
+ *
152
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_LOTTERY_WINNINGS_OR_GAMBLING = 18;
153
+ */
154
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["LOTTERY_WINNINGS_OR_GAMBLING"] = 18] = "LOTTERY_WINNINGS_OR_GAMBLING";
155
+ /**
156
+ *
157
+ * Proceeds from the sale of a physical or digital asset.
158
+ *
159
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_SALE_OF_ASSET = 19;
160
+ */
161
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["SALE_OF_ASSET"] = 19] = "SALE_OF_ASSET";
162
+ /**
163
+ *
164
+ * Proceeds from the sale of stocks or shares.
165
+ *
166
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_SALE_OF_SHARES = 20;
167
+ */
168
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["SALE_OF_SHARES"] = 20] = "SALE_OF_SHARES";
169
+ /**
170
+ *
171
+ * Income from savings, investments, or dividends.
172
+ *
173
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_SAVINGS_INVESTMENT_OR_DIVIDEND = 21;
174
+ */
175
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["SAVINGS_INVESTMENT_OR_DIVIDEND"] = 21] = "SAVINGS_INVESTMENT_OR_DIVIDEND";
176
+ /**
177
+ *
178
+ * Funds distributed from a trust.
179
+ *
180
+ * @generated from enum value: SOURCE_OF_INCOME_AND_WEALTH_TRUST_DISTRIBUTIONS = 22;
181
+ */
182
+ SourceOfIncomeAndWealth[SourceOfIncomeAndWealth["TRUST_DISTRIBUTIONS"] = 22] = "TRUST_DISTRIBUTIONS";
183
+ })(SourceOfIncomeAndWealth || (exports.SourceOfIncomeAndWealth = SourceOfIncomeAndWealth = {}));
184
+ /**
185
+ * Describes the enum meshtrade.compliance.client.v1.SourceOfIncomeAndWealth.
186
+ */
187
+ exports.SourceOfIncomeAndWealthSchema = (0, codegenv2_1.enumDesc)(exports.file_meshtrade_compliance_client_v1_source_of_income_and_wealth, 0);
@@ -0,0 +1,40 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file meshtrade/compliance/client/v1/tax_residency.proto.
5
+ */
6
+ export declare const file_meshtrade_compliance_client_v1_tax_residency: GenFile;
7
+ /**
8
+ *
9
+ * Holds tax residency information for a single jurisdiction.
10
+ * Note on Required Fields: Fields marked as 'Required' are essential
11
+ * for a successful compliance check, but are not mandatory for creation.
12
+ *
13
+ * @generated from message meshtrade.compliance.client.v1.TaxResidency
14
+ */
15
+ export type TaxResidency = Message<"meshtrade.compliance.client.v1.TaxResidency"> & {
16
+ /**
17
+ *
18
+ * The ISO 3166-1 alpha-2 country code of the tax jurisdiction.
19
+ * This is the two-letter country code (e.g., "ZA" for South Africa,
20
+ * "NL" for the Netherlands). The value should be in uppercase.
21
+ * See https://www.iso.org/iso-3166-country-codes.html for a full list.
22
+ * Required for verification.
23
+ *
24
+ * @generated from field: string country_code = 1;
25
+ */
26
+ countryCode: string;
27
+ /**
28
+ *
29
+ * The Tax Identification Number (TIN) for the client in that jurisdiction.
30
+ * Required for verification.
31
+ *
32
+ * @generated from field: string tin = 2;
33
+ */
34
+ tin: string;
35
+ };
36
+ /**
37
+ * Describes the message meshtrade.compliance.client.v1.TaxResidency.
38
+ * Use `create(TaxResidencySchema)` to create a new message.
39
+ */
40
+ export declare const TaxResidencySchema: GenMessage<TaxResidency>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/compliance/client/v1/tax_residency.proto (package meshtrade.compliance.client.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TaxResidencySchema = exports.file_meshtrade_compliance_client_v1_tax_residency = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const validate_pb_1 = require("../../../../buf/validate/validate_pb");
9
+ /**
10
+ * Describes the file meshtrade/compliance/client/v1/tax_residency.proto.
11
+ */
12
+ exports.file_meshtrade_compliance_client_v1_tax_residency = (0, codegenv2_1.fileDesc)("CjJtZXNodHJhZGUvY29tcGxpYW5jZS9jbGllbnQvdjEvdGF4X3Jlc2lkZW5jeS5wcm90bxIebWVzaHRyYWRlLmNvbXBsaWFuY2UuY2xpZW50LnYxItoBCgxUYXhSZXNpZGVuY3kSswEKDGNvdW50cnlfY29kZRgBIAEoCUKcAbpImAG6AZQBChxjb3VudHJ5X2NvZGUuZm9ybWF0Lm9wdGlvbmFsEkVjb3VudHJ5X2NvZGUgbXVzdCBiZSBlbXB0eSBvciBhIHZhbGlkIElTTyAzMTY2LTEgYWxwaGEtMiBjb3VudHJ5IGNvZGUaLXNpemUodGhpcykgPT0gMCB8fCB0aGlzLm1hdGNoZXMoJ15bQS1aXXsyfSQnKRIUCgN0aW4YAiABKAlCB7pIBHICGGRCYwolY28ubWVzaHRyYWRlLmFwaS5jb21wbGlhbmNlLmNsaWVudC52MVo6Z2l0aHViLmNvbS9tZXNodHJhZGUvYXBpL2dvL2NvbXBsaWFuY2UvY2xpZW50L3YxO2NsaWVudF92MWIGcHJvdG8z", [validate_pb_1.file_buf_validate_validate]);
13
+ /**
14
+ * Describes the message meshtrade.compliance.client.v1.TaxResidency.
15
+ * Use `create(TaxResidencySchema)` to create a new message.
16
+ */
17
+ exports.TaxResidencySchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_tax_residency, 0);
@@ -0,0 +1,65 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Date } from "../../../../google/type/date_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file meshtrade/compliance/client/v1/trust.proto.
6
+ */
7
+ export declare const file_meshtrade_compliance_client_v1_trust: GenFile;
8
+ /**
9
+ *
10
+ * Defines a Trust as a legal entity. It contains the core, verifiable components of a trust's
11
+ * identity required for Know Your Trust (KYT) compliance checks.
12
+ * Fields essential for verification are noted but are not strictly mandatory for creating the record.
13
+ *
14
+ * @generated from message meshtrade.compliance.client.v1.Trust
15
+ */
16
+ export type Trust = Message<"meshtrade.compliance.client.v1.Trust"> & {
17
+ /**
18
+ *
19
+ * The official, registered name of the trust as it appears in its prospectus or formation documents.
20
+ * Required for verification.
21
+ *
22
+ * @generated from field: string registered_name = 1;
23
+ */
24
+ registeredName: string;
25
+ /**
26
+ *
27
+ * The unique registration or identification number assigned by a regulatory body or authority.
28
+ * Examples: SEC CIK number, LEI (Legal Entity Identifier).
29
+ * Required for verification.
30
+ *
31
+ * @generated from field: string registration_number = 2;
32
+ */
33
+ registrationNumber: string;
34
+ /**
35
+ *
36
+ * The primary tax identifier for the trust.
37
+ * Example: TIN in the US.
38
+ *
39
+ * @generated from field: string tax_identifier = 3;
40
+ */
41
+ taxIdentifier: string;
42
+ /**
43
+ *
44
+ * The ISO 3166-1 alpha-2 country code where the trust is domiciled (e.g., "KY" for Cayman Islands, "LU" for Luxembourg).
45
+ * The value must be the uppercase, two-letter code.
46
+ * See: https://www.iso.org/iso-3166-country-codes.html
47
+ * Required for verification.
48
+ *
49
+ * @generated from field: string country_of_domicile = 4;
50
+ */
51
+ countryOfDomicile: string;
52
+ /**
53
+ *
54
+ * The date on which the trust was established or began operations (inception date).
55
+ * Required for verification.
56
+ *
57
+ * @generated from field: google.type.Date date_of_inception = 5;
58
+ */
59
+ dateOfInception?: Date;
60
+ };
61
+ /**
62
+ * Describes the message meshtrade.compliance.client.v1.Trust.
63
+ * Use `create(TrustSchema)` to create a new message.
64
+ */
65
+ export declare const TrustSchema: GenMessage<Trust>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/compliance/client/v1/trust.proto (package meshtrade.compliance.client.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TrustSchema = exports.file_meshtrade_compliance_client_v1_trust = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const validate_pb_1 = require("../../../../buf/validate/validate_pb");
9
+ const date_pb_1 = require("../../../../google/type/date_pb");
10
+ /**
11
+ * Describes the file meshtrade/compliance/client/v1/trust.proto.
12
+ */
13
+ exports.file_meshtrade_compliance_client_v1_trust = (0, codegenv2_1.fileDesc)("CiptZXNodHJhZGUvY29tcGxpYW5jZS9jbGllbnQvdjEvdHJ1c3QucHJvdG8SHm1lc2h0cmFkZS5jb21wbGlhbmNlLmNsaWVudC52MSLjAgoFVHJ1c3QSIQoPcmVnaXN0ZXJlZF9uYW1lGAEgASgJQgi6SAVyAxj/ARIkChNyZWdpc3RyYXRpb25fbnVtYmVyGAIgASgJQge6SARyAhhkEh8KDnRheF9pZGVudGlmaWVyGAMgASgJQge6SARyAhgyEsEBChNjb3VudHJ5X29mX2RvbWljaWxlGAQgASgJQqMBukifAboBmwEKHGNvdW50cnlfY29kZS5mb3JtYXQub3B0aW9uYWwSTGNvdW50cnlfb2ZfZG9taWNpbGUgbXVzdCBiZSBlbXB0eSBvciBhIHZhbGlkIElTTyAzMTY2LTEgYWxwaGEtMiBjb3VudHJ5IGNvZGUaLXNpemUodGhpcykgPT0gMCB8fCB0aGlzLm1hdGNoZXMoJ15bQS1aXXsyfSQnKRIsChFkYXRlX29mX2luY2VwdGlvbhgFIAEoCzIRLmdvb2dsZS50eXBlLkRhdGVCYwolY28ubWVzaHRyYWRlLmFwaS5jb21wbGlhbmNlLmNsaWVudC52MVo6Z2l0aHViLmNvbS9tZXNodHJhZGUvYXBpL2dvL2NvbXBsaWFuY2UvY2xpZW50L3YxO2NsaWVudF92MWIGcHJvdG8z", [validate_pb_1.file_buf_validate_validate, date_pb_1.file_google_type_date]);
14
+ /**
15
+ * Describes the message meshtrade.compliance.client.v1.Trust.
16
+ * Use `create(TrustSchema)` to create a new message.
17
+ */
18
+ exports.TrustSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_trust, 0);
@@ -0,0 +1,57 @@
1
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
2
+ /**
3
+ * Describes the file meshtrade/compliance/client/v1/verification_status.proto.
4
+ */
5
+ export declare const file_meshtrade_compliance_client_v1_verification_status: GenFile;
6
+ /**
7
+ *
8
+ * VerificationStatus defines the possible states of a KYC/KYB verification process.
9
+ *
10
+ * @generated from enum meshtrade.compliance.client.v1.VerificationStatus
11
+ */
12
+ export declare enum VerificationStatus {
13
+ /**
14
+ *
15
+ * Unknown or not specified.
16
+ * This is a default value to prevent accidental assignment and should not be used.
17
+ *
18
+ * @generated from enum value: VERIFICATION_STATUS_UNSPECIFIED = 0;
19
+ */
20
+ UNSPECIFIED = 0,
21
+ /**
22
+ *
23
+ * No verification has been initiated yet, or no information has been submitted.
24
+ * This is the initial state for a new client.
25
+ *
26
+ * @generated from enum value: VERIFICATION_STATUS_NOT_STARTED = 1;
27
+ */
28
+ NOT_STARTED = 1,
29
+ /**
30
+ *
31
+ * The client has submitted their information, and it is pending review.
32
+ * The client should wait for the review to be completed.
33
+ *
34
+ * @generated from enum value: VERIFICATION_STATUS_PENDING = 2;
35
+ */
36
+ PENDING = 2,
37
+ /**
38
+ *
39
+ * The client's information has been successfully reviewed and verified.
40
+ *
41
+ * @generated from enum value: VERIFICATION_STATUS_VERIFIED = 3;
42
+ */
43
+ VERIFIED = 3,
44
+ /**
45
+ *
46
+ * The verification has failed. This could be due to invalid documents,
47
+ * mismatched information, or other compliance reasons. The client may need
48
+ * to resubmit information.
49
+ *
50
+ * @generated from enum value: VERIFICATION_STATUS_FAILED = 4;
51
+ */
52
+ FAILED = 4
53
+ }
54
+ /**
55
+ * Describes the enum meshtrade.compliance.client.v1.VerificationStatus.
56
+ */
57
+ export declare const VerificationStatusSchema: GenEnum<VerificationStatus>;