@meshtrade/api-node 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 +93 -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 +50 -0
  7. package/dist/meshtrade/common/config.js +34 -0
  8. package/dist/meshtrade/common/connectInterceptors.d.ts +137 -0
  9. package/dist/meshtrade/common/connectInterceptors.js +233 -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_node_meshts.d.ts +78 -0
  35. package/dist/meshtrade/compliance/client/v1/service_node_meshts.js +141 -0
  36. package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +123 -0
  37. package/dist/meshtrade/compliance/client/v1/service_pb.js +45 -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_node_meshts.d.ts +114 -0
  53. package/dist/meshtrade/iam/api_user/v1/service_node_meshts.js +201 -0
  54. package/dist/meshtrade/iam/api_user/v1/service_pb.d.ts +343 -0
  55. package/dist/meshtrade/iam/api_user/v1/service_pb.js +86 -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_node_meshts.d.ts +90 -0
  61. package/dist/meshtrade/iam/group/v1/service_node_meshts.js +161 -0
  62. package/dist/meshtrade/iam/group/v1/service_pb.d.ts +306 -0
  63. package/dist/meshtrade/iam/group/v1/service_pb.js +75 -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_node_meshts.d.ts +108 -0
  73. package/dist/meshtrade/iam/user/v1/service_node_meshts.js +191 -0
  74. package/dist/meshtrade/iam/user/v1/service_pb.d.ts +379 -0
  75. package/dist/meshtrade/iam/user/v1/service_pb.js +90 -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_node_meshts.d.ts +80 -0
  81. package/dist/meshtrade/ledger/transaction/v1/service_node_meshts.js +140 -0
  82. package/dist/meshtrade/ledger/transaction/v1/service_pb.d.ts +102 -0
  83. package/dist/meshtrade/ledger/transaction/v1/service_pb.js +41 -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_node_meshts.d.ts +66 -0
  95. package/dist/meshtrade/market_data/price/v1/service_node_meshts.js +121 -0
  96. package/dist/meshtrade/market_data/price/v1/service_pb.d.ts +48 -0
  97. package/dist/meshtrade/market_data/price/v1/service_pb.js +27 -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_node_meshts.d.ts +72 -0
  113. package/dist/meshtrade/reporting/account_report/v1/service_node_meshts.js +131 -0
  114. package/dist/meshtrade/reporting/account_report/v1/service_pb.d.ts +162 -0
  115. package/dist/meshtrade/reporting/account_report/v1/service_pb.js +46 -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_node_meshts.d.ts +111 -0
  131. package/dist/meshtrade/trading/limit_order/v1/service_node_meshts.js +190 -0
  132. package/dist/meshtrade/trading/limit_order/v1/service_pb.d.ts +357 -0
  133. package/dist/meshtrade/trading/limit_order/v1/service_pb.js +73 -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_node_meshts.d.ts +66 -0
  139. package/dist/meshtrade/trading/market_order/v1/service_node_meshts.js +121 -0
  140. package/dist/meshtrade/trading/market_order/v1/service_pb.d.ts +34 -0
  141. package/dist/meshtrade/trading/market_order/v1/service_pb.js +22 -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_node_meshts.d.ts +114 -0
  183. package/dist/meshtrade/wallet/account/v1/service_node_meshts.js +201 -0
  184. package/dist/meshtrade/wallet/account/v1/service_pb.d.ts +559 -0
  185. package/dist/meshtrade/wallet/account/v1/service_pb.js +112 -0
  186. package/package.json +171 -0
@@ -0,0 +1,123 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Client, ClientSchema } from "./client_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file meshtrade/compliance/client/v1/service.proto.
6
+ */
7
+ export declare const file_meshtrade_compliance_client_v1_service: GenFile;
8
+ /**
9
+ * CreateClientRequest is the message used to create a single client resource.
10
+ *
11
+ * @generated from message meshtrade.compliance.client.v1.GetClientRequest
12
+ */
13
+ export type GetClientRequest = Message<"meshtrade.compliance.client.v1.GetClientRequest"> & {
14
+ /**
15
+ * The unique resource name of the client to be retrieved.
16
+ * The name serves as the primary identifier for the client resource.
17
+ * Format: "clients/{client_id}"
18
+ *
19
+ * @generated from field: string name = 1;
20
+ */
21
+ name: string;
22
+ };
23
+ /**
24
+ * Describes the message meshtrade.compliance.client.v1.GetClientRequest.
25
+ * Use `create(GetClientRequestSchema)` to create a new message.
26
+ */
27
+ export declare const GetClientRequestSchema: GenMessage<GetClientRequest>;
28
+ /**
29
+ * GetClientRequest is the message used to request a single client resource.
30
+ *
31
+ * @generated from message meshtrade.compliance.client.v1.CreateClientRequest
32
+ */
33
+ export type CreateClientRequest = Message<"meshtrade.compliance.client.v1.CreateClientRequest"> & {
34
+ /**
35
+ * Client is the client resource to create.
36
+ *
37
+ * @generated from field: meshtrade.compliance.client.v1.Client client = 1;
38
+ */
39
+ client?: Client;
40
+ };
41
+ /**
42
+ * Describes the message meshtrade.compliance.client.v1.CreateClientRequest.
43
+ * Use `create(CreateClientRequestSchema)` to create a new message.
44
+ */
45
+ export declare const CreateClientRequestSchema: GenMessage<CreateClientRequest>;
46
+ /**
47
+ * ListClientsRequest is the message used to request a list of client resources.
48
+ *
49
+ * @generated from message meshtrade.compliance.client.v1.ListClientsRequest
50
+ */
51
+ export type ListClientsRequest = Message<"meshtrade.compliance.client.v1.ListClientsRequest"> & {};
52
+ /**
53
+ * Describes the message meshtrade.compliance.client.v1.ListClientsRequest.
54
+ * Use `create(ListClientsRequestSchema)` to create a new message.
55
+ */
56
+ export declare const ListClientsRequestSchema: GenMessage<ListClientsRequest>;
57
+ /**
58
+ * ListClientsResponse contains a list of client resources.
59
+ *
60
+ * @generated from message meshtrade.compliance.client.v1.ListClientsResponse
61
+ */
62
+ export type ListClientsResponse = Message<"meshtrade.compliance.client.v1.ListClientsResponse"> & {
63
+ /**
64
+ * A repeated field containing the client resource objects.
65
+ *
66
+ * @generated from field: repeated meshtrade.compliance.client.v1.Client clients = 1;
67
+ */
68
+ clients: Client[];
69
+ };
70
+ /**
71
+ * Describes the message meshtrade.compliance.client.v1.ListClientsResponse.
72
+ * Use `create(ListClientsResponseSchema)` to create a new message.
73
+ */
74
+ export declare const ListClientsResponseSchema: GenMessage<ListClientsResponse>;
75
+ /**
76
+ * Service manages client profiles for compliance and Know Your Customer (KYC)
77
+ * purposes.
78
+ *
79
+ * The main entity managed by this service is the `Client` resource. A client can
80
+ * be a natural person, company, or trust. This service allows you to retrieve
81
+ * the compliance profiles for these clients.
82
+ *
83
+ * @generated from service meshtrade.compliance.client.v1.ClientService
84
+ */
85
+ export declare const ClientService: GenService<{
86
+ /**
87
+ * CreateClient creates a single client.
88
+ *
89
+ * @generated from rpc meshtrade.compliance.client.v1.ClientService.CreateClient
90
+ */
91
+ createClient: {
92
+ methodKind: "unary";
93
+ input: typeof CreateClientRequestSchema;
94
+ output: typeof ClientSchema;
95
+ };
96
+ /**
97
+ * GetClient retrieves a single client's compliance profile by its unique resource name.
98
+ *
99
+ * This allows for fetching the complete compliance details of a specific client,
100
+ * including all associated information like identification documents, tax residencies,
101
+ * and company structures.
102
+ *
103
+ * @generated from rpc meshtrade.compliance.client.v1.ClientService.GetClient
104
+ */
105
+ getClient: {
106
+ methodKind: "unary";
107
+ input: typeof GetClientRequestSchema;
108
+ output: typeof ClientSchema;
109
+ };
110
+ /**
111
+ * ListClients retrieves a collection of client compliance profiles.
112
+ *
113
+ * This method is useful for fetching multiple client records at once.
114
+ * Note: This endpoint does not currently support pagination or filtering.
115
+ *
116
+ * @generated from rpc meshtrade.compliance.client.v1.ClientService.ListClients
117
+ */
118
+ listClients: {
119
+ methodKind: "unary";
120
+ input: typeof ListClientsRequestSchema;
121
+ output: typeof ListClientsResponseSchema;
122
+ };
123
+ }>;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
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.ClientService = exports.ListClientsResponseSchema = exports.ListClientsRequestSchema = exports.CreateClientRequestSchema = exports.GetClientRequestSchema = exports.file_meshtrade_compliance_client_v1_service = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const validate_pb_1 = require("../../../../buf/validate/validate_pb");
9
+ const client_pb_1 = require("./client_pb");
10
+ const method_options_pb_1 = require("../../../option/method_options/v1/method_options_pb");
11
+ /**
12
+ * Describes the file meshtrade/compliance/client/v1/service.proto.
13
+ */
14
+ exports.file_meshtrade_compliance_client_v1_service = (0, codegenv2_1.fileDesc)("CixtZXNodHJhZGUvY29tcGxpYW5jZS9jbGllbnQvdjEvc2VydmljZS5wcm90bxIebWVzaHRyYWRlLmNvbXBsaWFuY2UuY2xpZW50LnYxIl8KEEdldENsaWVudFJlcXVlc3QSSwoEbmFtZRgBIAEoCUI9ukg6yAEBcjUyMF5jbGllbnRzL1swMTIzNDU2Nzg5QUJDREVGR0hKS01OUFFSU1RWV1hZWl17MjZ9JJgBISJVChNDcmVhdGVDbGllbnRSZXF1ZXN0Ej4KBmNsaWVudBgBIAEoCzImLm1lc2h0cmFkZS5jb21wbGlhbmNlLmNsaWVudC52MS5DbGllbnRCBrpIA8gBASIUChJMaXN0Q2xpZW50c1JlcXVlc3QiTgoTTGlzdENsaWVudHNSZXNwb25zZRI3CgdjbGllbnRzGAEgAygLMiYubWVzaHRyYWRlLmNvbXBsaWFuY2UuY2xpZW50LnYxLkNsaWVudDKeAwoNQ2xpZW50U2VydmljZRJ9CgxDcmVhdGVDbGllbnQSMy5tZXNodHJhZGUuY29tcGxpYW5jZS5jbGllbnQudjEuQ3JlYXRlQ2xpZW50UmVxdWVzdBomLm1lc2h0cmFkZS5jb21wbGlhbmNlLmNsaWVudC52MS5DbGllbnQiELK1GAwIAhACGgaAiXqCiXoSfQoJR2V0Q2xpZW50EjAubWVzaHRyYWRlLmNvbXBsaWFuY2UuY2xpZW50LnYxLkdldENsaWVudFJlcXVlc3QaJi5tZXNodHJhZGUuY29tcGxpYW5jZS5jbGllbnQudjEuQ2xpZW50IhaytRgSCAEQAhoMgIl6gYl6gol6g4l6Eo4BCgtMaXN0Q2xpZW50cxIyLm1lc2h0cmFkZS5jb21wbGlhbmNlLmNsaWVudC52MS5MaXN0Q2xpZW50c1JlcXVlc3QaMy5tZXNodHJhZGUuY29tcGxpYW5jZS5jbGllbnQudjEuTGlzdENsaWVudHNSZXNwb25zZSIWsrUYEggBEAIaDICJeoGJeoKJeoOJekJjCiVjby5tZXNodHJhZGUuYXBpLmNvbXBsaWFuY2UuY2xpZW50LnYxWjpnaXRodWIuY29tL21lc2h0cmFkZS9hcGkvZ28vY29tcGxpYW5jZS9jbGllbnQvdjE7Y2xpZW50X3YxYgZwcm90bzM", [validate_pb_1.file_buf_validate_validate, client_pb_1.file_meshtrade_compliance_client_v1_client, method_options_pb_1.file_meshtrade_option_method_options_v1_method_options]);
15
+ /**
16
+ * Describes the message meshtrade.compliance.client.v1.GetClientRequest.
17
+ * Use `create(GetClientRequestSchema)` to create a new message.
18
+ */
19
+ exports.GetClientRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service, 0);
20
+ /**
21
+ * Describes the message meshtrade.compliance.client.v1.CreateClientRequest.
22
+ * Use `create(CreateClientRequestSchema)` to create a new message.
23
+ */
24
+ exports.CreateClientRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service, 1);
25
+ /**
26
+ * Describes the message meshtrade.compliance.client.v1.ListClientsRequest.
27
+ * Use `create(ListClientsRequestSchema)` to create a new message.
28
+ */
29
+ exports.ListClientsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service, 2);
30
+ /**
31
+ * Describes the message meshtrade.compliance.client.v1.ListClientsResponse.
32
+ * Use `create(ListClientsResponseSchema)` to create a new message.
33
+ */
34
+ exports.ListClientsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service, 3);
35
+ /**
36
+ * Service manages client profiles for compliance and Know Your Customer (KYC)
37
+ * purposes.
38
+ *
39
+ * The main entity managed by this service is the `Client` resource. A client can
40
+ * be a natural person, company, or trust. This service allows you to retrieve
41
+ * the compliance profiles for these clients.
42
+ *
43
+ * @generated from service meshtrade.compliance.client.v1.ClientService
44
+ */
45
+ exports.ClientService = (0, codegenv2_1.serviceDesc)(exports.file_meshtrade_compliance_client_v1_service, 0);
@@ -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>;