@dalmore/api-contracts 0.0.0-dev.b823e2b → 0.0.0-dev.bcc2eb2

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 (116) hide show
  1. package/common/constants.d.ts +43 -0
  2. package/common/constants.js +77 -0
  3. package/common/constants.js.map +1 -0
  4. package/common/helpers/index.d.ts +27 -0
  5. package/common/helpers/index.js +43 -0
  6. package/common/helpers/index.js.map +1 -1
  7. package/common/types/account-setting.types.d.ts +22 -66
  8. package/common/types/account-setting.types.js +2 -31
  9. package/common/types/account-setting.types.js.map +1 -1
  10. package/common/types/account.types.d.ts +32 -23
  11. package/common/types/account.types.js +4 -3
  12. package/common/types/account.types.js.map +1 -1
  13. package/common/types/activity.types.d.ts +8 -1
  14. package/common/types/activity.types.js +7 -0
  15. package/common/types/activity.types.js.map +1 -1
  16. package/common/types/attribution.types.d.ts +147 -0
  17. package/common/types/attribution.types.js +103 -0
  18. package/common/types/attribution.types.js.map +1 -0
  19. package/common/types/auth.types.d.ts +36 -0
  20. package/common/types/auth.types.js +3 -2
  21. package/common/types/auth.types.js.map +1 -1
  22. package/common/types/cap-table.types.d.ts +162 -53
  23. package/common/types/cap-table.types.js +14 -0
  24. package/common/types/cap-table.types.js.map +1 -1
  25. package/common/types/common.types.d.ts +344 -7
  26. package/common/types/common.types.js +66 -4
  27. package/common/types/common.types.js.map +1 -1
  28. package/common/types/comply-advantage-api.types.d.ts +12 -12
  29. package/common/types/csv.types.d.ts +3612 -0
  30. package/common/types/csv.types.js +290 -0
  31. package/common/types/csv.types.js.map +1 -0
  32. package/common/types/disbursement-transaction.types.d.ts +1 -1
  33. package/common/types/disbursement-transaction.types.js +1 -1
  34. package/common/types/disbursement-transaction.types.js.map +1 -1
  35. package/common/types/disbursements.types.d.ts +939 -7
  36. package/common/types/disbursements.types.js +92 -2
  37. package/common/types/disbursements.types.js.map +1 -1
  38. package/common/types/exchange-provider.types.d.ts +12 -12
  39. package/common/types/file.types.d.ts +23 -0
  40. package/common/types/file.types.js +12 -0
  41. package/common/types/file.types.js.map +1 -1
  42. package/common/types/index.d.ts +4 -2
  43. package/common/types/index.js +4 -2
  44. package/common/types/index.js.map +1 -1
  45. package/common/types/individuals.types.d.ts +395 -5
  46. package/common/types/individuals.types.js +11 -14
  47. package/common/types/individuals.types.js.map +1 -1
  48. package/common/types/investor-account.types.d.ts +1 -1
  49. package/common/types/investor-account.types.js +3 -2
  50. package/common/types/investor-account.types.js.map +1 -1
  51. package/common/types/investors-offering.types.d.ts +8 -0
  52. package/common/types/investors-offering.types.js +1 -0
  53. package/common/types/investors-offering.types.js.map +1 -1
  54. package/common/types/invite.types.d.ts +5 -2
  55. package/common/types/invite.types.js +2 -1
  56. package/common/types/invite.types.js.map +1 -1
  57. package/common/types/issuer-offering.types.d.ts +346 -12
  58. package/common/types/issuer-offering.types.js +209 -42
  59. package/common/types/issuer-offering.types.js.map +1 -1
  60. package/common/types/legal-entity.types.d.ts +39 -1
  61. package/common/types/legal-entity.types.js +8 -5
  62. package/common/types/legal-entity.types.js.map +1 -1
  63. package/common/types/mail-template.types.d.ts +4 -4
  64. package/common/types/notification.types.d.ts +1 -0
  65. package/common/types/notification.types.js +3 -0
  66. package/common/types/notification.types.js.map +1 -1
  67. package/common/types/offering-submission.types.js +1 -1
  68. package/common/types/offering.types.d.ts +269 -25
  69. package/common/types/offering.types.js +251 -23
  70. package/common/types/offering.types.js.map +1 -1
  71. package/common/types/payment-methods.types.d.ts +365 -0
  72. package/common/types/payment-methods.types.js +121 -0
  73. package/common/types/payment-methods.types.js.map +1 -1
  74. package/common/types/portfolio.types.d.ts +6 -6
  75. package/common/types/review.types.js +1 -1
  76. package/common/types/review.types.js.map +1 -1
  77. package/common/types/secondary-order.types.d.ts +10 -10
  78. package/common/types/secondary-trade.types.d.ts +10 -10
  79. package/common/types/site.types.d.ts +12 -12
  80. package/common/types/state-machine.types.d.ts +3 -3
  81. package/common/types/state-machine.types.js +1 -1
  82. package/common/types/state-machine.types.js.map +1 -1
  83. package/common/types/task.types.d.ts +8 -0
  84. package/common/types/task.types.js +3 -0
  85. package/common/types/task.types.js.map +1 -1
  86. package/common/types/trade-line-item.types.d.ts +24 -0
  87. package/common/types/trade-line-item.types.js +3 -0
  88. package/common/types/trade-line-item.types.js.map +1 -1
  89. package/common/types/trade.types.d.ts +20 -14
  90. package/common/types/trade.types.js +18 -7
  91. package/common/types/trade.types.js.map +1 -1
  92. package/common/types/transaction.types.d.ts +24 -2
  93. package/common/types/transaction.types.js +26 -1
  94. package/common/types/transaction.types.js.map +1 -1
  95. package/common/types/user.types.d.ts +79 -82
  96. package/common/types/user.types.js +7 -23
  97. package/common/types/user.types.js.map +1 -1
  98. package/common/types/zapier.types.d.ts +126 -0
  99. package/common/types/zapier.types.js +247 -0
  100. package/common/types/zapier.types.js.map +1 -0
  101. package/contracts/clients/csv/index.d.ts +1988 -0
  102. package/contracts/clients/csv/index.js +96 -0
  103. package/contracts/clients/csv/index.js.map +1 -0
  104. package/contracts/clients/index.d.ts +4019 -1061
  105. package/contracts/clients/index.js +8 -2
  106. package/contracts/clients/index.js.map +1 -1
  107. package/contracts/clients/individuals/index.d.ts +381 -5
  108. package/contracts/clients/legal-entities/index.d.ts +1 -1
  109. package/contracts/clients/offerings/index.d.ts +90 -5
  110. package/contracts/clients/review/index.d.ts +85 -0
  111. package/contracts/clients/review/index.js +27 -0
  112. package/contracts/clients/review/index.js.map +1 -0
  113. package/contracts/clients/webhooks/index.d.ts +506 -0
  114. package/contracts/clients/webhooks/index.js +118 -0
  115. package/contracts/clients/webhooks/index.js.map +1 -0
  116. package/package.json +1 -1
@@ -0,0 +1,1988 @@
1
+ export declare const csvContract: {
2
+ uploadInvestorCsv: {
3
+ method: "POST";
4
+ metadata: {
5
+ auth: boolean;
6
+ };
7
+ body: import("@ts-rest/core").ContractPlainType<{
8
+ file: File;
9
+ }>;
10
+ summary: "Upload and process CSV file for investor account creation";
11
+ contentType: "multipart/form-data";
12
+ path: "csv/investors";
13
+ responses: {
14
+ 200: import("zod").ZodObject<{
15
+ totalRows: import("zod").ZodNumber;
16
+ successfulRows: import("zod").ZodNumber;
17
+ createdAccounts: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
18
+ row: import("zod").ZodNumber;
19
+ userId: import("zod").ZodString;
20
+ investorAccountId: import("zod").ZodString;
21
+ }, "strip", import("zod").ZodTypeAny, {
22
+ userId: string;
23
+ investorAccountId: string;
24
+ row: number;
25
+ }, {
26
+ userId: string;
27
+ investorAccountId: string;
28
+ row: number;
29
+ }>, import("zod").ZodObject<{
30
+ row: import("zod").ZodNumber;
31
+ userId: import("zod").ZodString;
32
+ accountId: import("zod").ZodString;
33
+ }, "strip", import("zod").ZodTypeAny, {
34
+ accountId: string;
35
+ userId: string;
36
+ row: number;
37
+ }, {
38
+ accountId: string;
39
+ userId: string;
40
+ row: number;
41
+ }>]>, "many">;
42
+ }, "strip", import("zod").ZodTypeAny, {
43
+ totalRows: number;
44
+ successfulRows: number;
45
+ createdAccounts: ({
46
+ userId: string;
47
+ investorAccountId: string;
48
+ row: number;
49
+ } | {
50
+ accountId: string;
51
+ userId: string;
52
+ row: number;
53
+ })[];
54
+ }, {
55
+ totalRows: number;
56
+ successfulRows: number;
57
+ createdAccounts: ({
58
+ userId: string;
59
+ investorAccountId: string;
60
+ row: number;
61
+ } | {
62
+ accountId: string;
63
+ userId: string;
64
+ row: number;
65
+ })[];
66
+ }>;
67
+ 400: import("zod").ZodObject<{
68
+ status: import("zod").ZodNumber;
69
+ message: import("zod").ZodString;
70
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
71
+ }, "strip", import("zod").ZodTypeAny, {
72
+ message: string;
73
+ status: number;
74
+ errors: string[];
75
+ }, {
76
+ message: string;
77
+ status: number;
78
+ errors: string[];
79
+ }>;
80
+ 401: import("zod").ZodObject<{
81
+ status: import("zod").ZodNumber;
82
+ message: import("zod").ZodString;
83
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
84
+ }, "strip", import("zod").ZodTypeAny, {
85
+ message: string;
86
+ status: number;
87
+ errors: string[];
88
+ }, {
89
+ message: string;
90
+ status: number;
91
+ errors: string[];
92
+ }>;
93
+ 422: import("zod").ZodObject<{
94
+ status: import("zod").ZodNumber;
95
+ message: import("zod").ZodString;
96
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
97
+ }, "strip", import("zod").ZodTypeAny, {
98
+ message: string;
99
+ status: number;
100
+ errors: string[];
101
+ }, {
102
+ message: string;
103
+ status: number;
104
+ errors: string[];
105
+ }>;
106
+ 500: import("zod").ZodObject<{
107
+ status: import("zod").ZodNumber;
108
+ message: import("zod").ZodString;
109
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
110
+ }, "strip", import("zod").ZodTypeAny, {
111
+ message: string;
112
+ status: number;
113
+ errors: string[];
114
+ }, {
115
+ message: string;
116
+ status: number;
117
+ errors: string[];
118
+ }>;
119
+ };
120
+ };
121
+ uploadAicCsv: {
122
+ method: "POST";
123
+ metadata: {
124
+ auth: boolean;
125
+ };
126
+ body: import("@ts-rest/core").ContractPlainType<{
127
+ file: File;
128
+ }>;
129
+ query: import("zod").ZodObject<{
130
+ accredited: import("zod").ZodBoolean;
131
+ aicAccreditationType: import("zod").ZodNativeEnum<typeof import("../../..").AicAccreditationType>;
132
+ investorAccountId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
133
+ }, "strip", import("zod").ZodTypeAny, {
134
+ investorAccountId: string;
135
+ aicAccreditationType: import("../../..").AicAccreditationType;
136
+ accredited: boolean;
137
+ }, {
138
+ investorAccountId: string;
139
+ aicAccreditationType: import("../../..").AicAccreditationType;
140
+ accredited: boolean;
141
+ }>;
142
+ summary: "Upload and process CSV file for AIC questionnaire data";
143
+ contentType: "multipart/form-data";
144
+ path: "csv/aic";
145
+ responses: {
146
+ 200: import("zod").ZodObject<{
147
+ id: import("zod").ZodString;
148
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
149
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
150
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
151
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
152
+ } & {
153
+ tid: import("zod").ZodNullable<import("zod").ZodString>;
154
+ accountId: import("zod").ZodString;
155
+ account: import("zod").ZodOptional<import("zod").ZodLazy<import("zod").ZodObject<{
156
+ id: import("zod").ZodString;
157
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
158
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
159
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
160
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
161
+ } & {
162
+ name: import("zod").ZodString;
163
+ status: import("zod").ZodNativeEnum<typeof import("../../..").AccountStatus>;
164
+ managedBy: import("zod").ZodNullable<import("zod").ZodNativeEnum<typeof import("../../..").ManagedByType>>;
165
+ platform: import("zod").ZodNativeEnum<typeof import("../../..").Platform>;
166
+ onboardingReviewerId: import("zod").ZodNullable<import("zod").ZodString>;
167
+ onboardingReviewAt: import("zod").ZodNullable<import("zod").ZodDate>;
168
+ allowPendingComplianceReview: import("zod").ZodBoolean;
169
+ }, "strip", import("zod").ZodTypeAny, {
170
+ status: import("../../..").AccountStatus;
171
+ id: string;
172
+ createdAt: string | Date;
173
+ updatedAt: string | Date;
174
+ deletedAt: string | Date | null;
175
+ name: string;
176
+ managedBy: import("../../..").ManagedByType | null;
177
+ platform: import("../../..").Platform;
178
+ onboardingReviewerId: string | null;
179
+ onboardingReviewAt: Date | null;
180
+ allowPendingComplianceReview: boolean;
181
+ __entity?: string | undefined;
182
+ }, {
183
+ status: import("../../..").AccountStatus;
184
+ id: string;
185
+ createdAt: string | Date;
186
+ updatedAt: string | Date;
187
+ deletedAt: string | Date | null;
188
+ name: string;
189
+ managedBy: import("../../..").ManagedByType | null;
190
+ platform: import("../../..").Platform;
191
+ onboardingReviewerId: string | null;
192
+ onboardingReviewAt: Date | null;
193
+ allowPendingComplianceReview: boolean;
194
+ __entity?: string | undefined;
195
+ }>>>;
196
+ investorAccountId: import("zod").ZodString;
197
+ investorAccount: import("zod").ZodOptional<import("zod").ZodLazy<import("zod").ZodObject<{
198
+ id: import("zod").ZodString;
199
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
200
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
201
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
202
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
203
+ } & {
204
+ tid: import("zod").ZodNullable<import("zod").ZodString>;
205
+ investorAccountType: import("zod").ZodNativeEnum<typeof import("../../..").InvestorAccountType>;
206
+ user: import("zod").ZodLazy<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
207
+ id: import("zod").ZodString;
208
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
209
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
210
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
211
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
212
+ } & {
213
+ userLoginId: import("zod").ZodNullable<import("zod").ZodString>;
214
+ roleId: import("zod").ZodNullable<import("zod").ZodString>;
215
+ inviteId: import("zod").ZodNullable<import("zod").ZodString>;
216
+ accountId: import("zod").ZodNullable<import("zod").ZodString>;
217
+ onboarding: import("zod").ZodNullable<import("zod").ZodString>;
218
+ account: import("zod").ZodOptional<import("zod").ZodObject<{
219
+ id: import("zod").ZodString;
220
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
221
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
222
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
223
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
224
+ } & {
225
+ name: import("zod").ZodString;
226
+ status: import("zod").ZodNativeEnum<typeof import("../../..").AccountStatus>;
227
+ managedBy: import("zod").ZodNullable<import("zod").ZodNativeEnum<typeof import("../../..").ManagedByType>>;
228
+ platform: import("zod").ZodNativeEnum<typeof import("../../..").Platform>;
229
+ onboardingReviewerId: import("zod").ZodNullable<import("zod").ZodString>;
230
+ onboardingReviewAt: import("zod").ZodNullable<import("zod").ZodDate>;
231
+ allowPendingComplianceReview: import("zod").ZodBoolean;
232
+ }, "strip", import("zod").ZodTypeAny, {
233
+ status: import("../../..").AccountStatus;
234
+ id: string;
235
+ createdAt: string | Date;
236
+ updatedAt: string | Date;
237
+ deletedAt: string | Date | null;
238
+ name: string;
239
+ managedBy: import("../../..").ManagedByType | null;
240
+ platform: import("../../..").Platform;
241
+ onboardingReviewerId: string | null;
242
+ onboardingReviewAt: Date | null;
243
+ allowPendingComplianceReview: boolean;
244
+ __entity?: string | undefined;
245
+ }, {
246
+ status: import("../../..").AccountStatus;
247
+ id: string;
248
+ createdAt: string | Date;
249
+ updatedAt: string | Date;
250
+ deletedAt: string | Date | null;
251
+ name: string;
252
+ managedBy: import("../../..").ManagedByType | null;
253
+ platform: import("../../..").Platform;
254
+ onboardingReviewerId: string | null;
255
+ onboardingReviewAt: Date | null;
256
+ allowPendingComplianceReview: boolean;
257
+ __entity?: string | undefined;
258
+ }>>;
259
+ active: import("zod").ZodBoolean;
260
+ locked: import("zod").ZodBoolean;
261
+ userLogin: import("zod").ZodObject<{
262
+ id: import("zod").ZodString;
263
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
264
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
265
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
266
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
267
+ } & {
268
+ firstName: import("zod").ZodString;
269
+ lastName: import("zod").ZodString;
270
+ email: import("zod").ZodString;
271
+ provider: import("zod").ZodString;
272
+ lastLoginAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
273
+ loginCount: import("zod").ZodNumber;
274
+ }, "strip", import("zod").ZodTypeAny, {
275
+ id: string;
276
+ createdAt: string | Date;
277
+ updatedAt: string | Date;
278
+ deletedAt: string | Date | null;
279
+ firstName: string;
280
+ lastName: string;
281
+ email: string;
282
+ provider: string;
283
+ lastLoginAt: string | Date | null;
284
+ loginCount: number;
285
+ __entity?: string | undefined;
286
+ }, {
287
+ id: string;
288
+ createdAt: string | Date;
289
+ updatedAt: string | Date;
290
+ deletedAt: string | Date | null;
291
+ firstName: string;
292
+ lastName: string;
293
+ email: string;
294
+ provider: string;
295
+ lastLoginAt: string | Date | null;
296
+ loginCount: number;
297
+ __entity?: string | undefined;
298
+ }>;
299
+ }, "strip", import("zod").ZodTypeAny, {
300
+ id: string;
301
+ createdAt: string | Date;
302
+ updatedAt: string | Date;
303
+ deletedAt: string | Date | null;
304
+ active: boolean;
305
+ inviteId: string | null;
306
+ accountId: string | null;
307
+ roleId: string | null;
308
+ userLoginId: string | null;
309
+ locked: boolean;
310
+ onboarding: string | null;
311
+ userLogin: {
312
+ id: string;
313
+ createdAt: string | Date;
314
+ updatedAt: string | Date;
315
+ deletedAt: string | Date | null;
316
+ firstName: string;
317
+ lastName: string;
318
+ email: string;
319
+ provider: string;
320
+ lastLoginAt: string | Date | null;
321
+ loginCount: number;
322
+ __entity?: string | undefined;
323
+ };
324
+ __entity?: string | undefined;
325
+ account?: {
326
+ status: import("../../..").AccountStatus;
327
+ id: string;
328
+ createdAt: string | Date;
329
+ updatedAt: string | Date;
330
+ deletedAt: string | Date | null;
331
+ name: string;
332
+ managedBy: import("../../..").ManagedByType | null;
333
+ platform: import("../../..").Platform;
334
+ onboardingReviewerId: string | null;
335
+ onboardingReviewAt: Date | null;
336
+ allowPendingComplianceReview: boolean;
337
+ __entity?: string | undefined;
338
+ } | undefined;
339
+ }, {
340
+ id: string;
341
+ createdAt: string | Date;
342
+ updatedAt: string | Date;
343
+ deletedAt: string | Date | null;
344
+ active: boolean;
345
+ inviteId: string | null;
346
+ accountId: string | null;
347
+ roleId: string | null;
348
+ userLoginId: string | null;
349
+ locked: boolean;
350
+ onboarding: string | null;
351
+ userLogin: {
352
+ id: string;
353
+ createdAt: string | Date;
354
+ updatedAt: string | Date;
355
+ deletedAt: string | Date | null;
356
+ firstName: string;
357
+ lastName: string;
358
+ email: string;
359
+ provider: string;
360
+ lastLoginAt: string | Date | null;
361
+ loginCount: number;
362
+ __entity?: string | undefined;
363
+ };
364
+ __entity?: string | undefined;
365
+ account?: {
366
+ status: import("../../..").AccountStatus;
367
+ id: string;
368
+ createdAt: string | Date;
369
+ updatedAt: string | Date;
370
+ deletedAt: string | Date | null;
371
+ name: string;
372
+ managedBy: import("../../..").ManagedByType | null;
373
+ platform: import("../../..").Platform;
374
+ onboardingReviewerId: string | null;
375
+ onboardingReviewAt: Date | null;
376
+ allowPendingComplianceReview: boolean;
377
+ __entity?: string | undefined;
378
+ } | undefined;
379
+ }>>>>;
380
+ userId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
381
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
382
+ name: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
383
+ regAQualified: import("zod").ZodBoolean;
384
+ regCfQualified: import("zod").ZodBoolean;
385
+ regDQualified: import("zod").ZodBoolean;
386
+ accountId: import("zod").ZodString;
387
+ account: import("zod").ZodOptional<import("zod").ZodLazy<import("zod").ZodObject<{
388
+ id: import("zod").ZodString;
389
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
390
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
391
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
392
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
393
+ } & {
394
+ name: import("zod").ZodString;
395
+ status: import("zod").ZodNativeEnum<typeof import("../../..").AccountStatus>;
396
+ managedBy: import("zod").ZodNullable<import("zod").ZodNativeEnum<typeof import("../../..").ManagedByType>>;
397
+ platform: import("zod").ZodNativeEnum<typeof import("../../..").Platform>;
398
+ onboardingReviewerId: import("zod").ZodNullable<import("zod").ZodString>;
399
+ onboardingReviewAt: import("zod").ZodNullable<import("zod").ZodDate>;
400
+ allowPendingComplianceReview: import("zod").ZodBoolean;
401
+ }, "strip", import("zod").ZodTypeAny, {
402
+ status: import("../../..").AccountStatus;
403
+ id: string;
404
+ createdAt: string | Date;
405
+ updatedAt: string | Date;
406
+ deletedAt: string | Date | null;
407
+ name: string;
408
+ managedBy: import("../../..").ManagedByType | null;
409
+ platform: import("../../..").Platform;
410
+ onboardingReviewerId: string | null;
411
+ onboardingReviewAt: Date | null;
412
+ allowPendingComplianceReview: boolean;
413
+ __entity?: string | undefined;
414
+ }, {
415
+ status: import("../../..").AccountStatus;
416
+ id: string;
417
+ createdAt: string | Date;
418
+ updatedAt: string | Date;
419
+ deletedAt: string | Date | null;
420
+ name: string;
421
+ managedBy: import("../../..").ManagedByType | null;
422
+ platform: import("../../..").Platform;
423
+ onboardingReviewerId: string | null;
424
+ onboardingReviewAt: Date | null;
425
+ allowPendingComplianceReview: boolean;
426
+ __entity?: string | undefined;
427
+ }>>>;
428
+ trades: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodLazy<any>, "many">>;
429
+ individuals: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodLazy<any>, "many">>;
430
+ legalEntities: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodLazy<import("zod").ZodObject<{
431
+ id: import("zod").ZodString;
432
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
433
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
434
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
435
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
436
+ } & {
437
+ thirdPartyId: import("zod").ZodNullable<import("zod").ZodString>;
438
+ accountId: import("zod").ZodString;
439
+ investorAccountId: import("zod").ZodString;
440
+ kybStatus: import("zod").ZodLazy<import("zod").ZodNativeEnum<typeof import("../../..").KYBStatus>>;
441
+ sanctionsStatus: import("zod").ZodLazy<import("zod").ZodNativeEnum<typeof import("../../..").SanctionsStatus>>;
442
+ kybs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
443
+ id: import("zod").ZodString;
444
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
445
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
446
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
447
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
448
+ } & {
449
+ thirdPartyId: import("zod").ZodString;
450
+ platform: import("zod").ZodString;
451
+ legalEntityId: import("zod").ZodString;
452
+ documentType: import("zod").ZodString;
453
+ documentImage: import("zod").ZodString;
454
+ kybStatus: import("zod").ZodNativeEnum<typeof import("../../..").KYBStatus>;
455
+ reason: import("zod").ZodNullable<import("zod").ZodString>;
456
+ response: import("zod").ZodNullable<import("zod").ZodString>;
457
+ }, "strip", import("zod").ZodTypeAny, {
458
+ id: string;
459
+ createdAt: string | Date;
460
+ updatedAt: string | Date;
461
+ deletedAt: string | Date | null;
462
+ platform: string;
463
+ documentType: string;
464
+ documentImage: string;
465
+ reason: string | null;
466
+ response: string | null;
467
+ thirdPartyId: string;
468
+ legalEntityId: string;
469
+ kybStatus: import("../../..").KYBStatus;
470
+ __entity?: string | undefined;
471
+ }, {
472
+ id: string;
473
+ createdAt: string | Date;
474
+ updatedAt: string | Date;
475
+ deletedAt: string | Date | null;
476
+ platform: string;
477
+ documentType: string;
478
+ documentImage: string;
479
+ reason: string | null;
480
+ response: string | null;
481
+ thirdPartyId: string;
482
+ legalEntityId: string;
483
+ kybStatus: import("../../..").KYBStatus;
484
+ __entity?: string | undefined;
485
+ }>, "many">>;
486
+ name: import("zod").ZodString;
487
+ ein: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
488
+ companyType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
489
+ streetAddress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
490
+ city: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
491
+ state: import("zod").ZodNullable<import("zod").ZodString>;
492
+ zip: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
493
+ country: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
494
+ phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
495
+ setupStatus: import("zod").ZodNativeEnum<typeof import("../../..").SetupStatusType>;
496
+ }, "strip", import("zod").ZodTypeAny, {
497
+ id: string;
498
+ createdAt: string | Date;
499
+ updatedAt: string | Date;
500
+ deletedAt: string | Date | null;
501
+ accountId: string;
502
+ name: string;
503
+ state: string | null;
504
+ thirdPartyId: string | null;
505
+ kybStatus: import("../../..").KYBStatus;
506
+ investorAccountId: string;
507
+ sanctionsStatus: import("../../..").SanctionsStatus;
508
+ setupStatus: import("../../..").SetupStatusType;
509
+ __entity?: string | undefined;
510
+ country?: string | null | undefined;
511
+ kybs?: {
512
+ id: string;
513
+ createdAt: string | Date;
514
+ updatedAt: string | Date;
515
+ deletedAt: string | Date | null;
516
+ platform: string;
517
+ documentType: string;
518
+ documentImage: string;
519
+ reason: string | null;
520
+ response: string | null;
521
+ thirdPartyId: string;
522
+ legalEntityId: string;
523
+ kybStatus: import("../../..").KYBStatus;
524
+ __entity?: string | undefined;
525
+ }[] | undefined;
526
+ phone?: string | null | undefined;
527
+ city?: string | null | undefined;
528
+ zip?: string | null | undefined;
529
+ ein?: string | null | undefined;
530
+ companyType?: string | null | undefined;
531
+ streetAddress?: string | null | undefined;
532
+ }, {
533
+ id: string;
534
+ createdAt: string | Date;
535
+ updatedAt: string | Date;
536
+ deletedAt: string | Date | null;
537
+ accountId: string;
538
+ name: string;
539
+ state: string | null;
540
+ thirdPartyId: string | null;
541
+ kybStatus: import("../../..").KYBStatus;
542
+ investorAccountId: string;
543
+ sanctionsStatus: import("../../..").SanctionsStatus;
544
+ setupStatus: import("../../..").SetupStatusType;
545
+ __entity?: string | undefined;
546
+ country?: string | null | undefined;
547
+ kybs?: {
548
+ id: string;
549
+ createdAt: string | Date;
550
+ updatedAt: string | Date;
551
+ deletedAt: string | Date | null;
552
+ platform: string;
553
+ documentType: string;
554
+ documentImage: string;
555
+ reason: string | null;
556
+ response: string | null;
557
+ thirdPartyId: string;
558
+ legalEntityId: string;
559
+ kybStatus: import("../../..").KYBStatus;
560
+ __entity?: string | undefined;
561
+ }[] | undefined;
562
+ phone?: string | null | undefined;
563
+ city?: string | null | undefined;
564
+ zip?: string | null | undefined;
565
+ ein?: string | null | undefined;
566
+ companyType?: string | null | undefined;
567
+ streetAddress?: string | null | undefined;
568
+ }>>, "many">>;
569
+ setupStatus: import("zod").ZodNativeEnum<typeof import("../../..").SetupStatusType>;
570
+ systemReviewLog: import("zod").ZodNullable<import("zod").ZodString>;
571
+ totalAmount: import("zod").ZodOptional<import("zod").ZodNumber>;
572
+ statusCheck: import("zod").ZodOptional<import("zod").ZodLazy<import("zod").ZodObject<{
573
+ entity: import("zod").ZodOptional<import("zod").ZodObject<{
574
+ information: import("zod").ZodDefault<import("zod").ZodBoolean>;
575
+ address: import("zod").ZodDefault<import("zod").ZodBoolean>;
576
+ }, "strip", import("zod").ZodTypeAny, {
577
+ address: boolean;
578
+ information: boolean;
579
+ }, {
580
+ address?: boolean | undefined;
581
+ information?: boolean | undefined;
582
+ }>>;
583
+ primary: import("zod").ZodOptional<import("zod").ZodObject<{
584
+ account: import("zod").ZodDefault<import("zod").ZodBoolean>;
585
+ personal: import("zod").ZodDefault<import("zod").ZodBoolean>;
586
+ residential: import("zod").ZodDefault<import("zod").ZodBoolean>;
587
+ identity: import("zod").ZodDefault<import("zod").ZodBoolean>;
588
+ financial: import("zod").ZodDefault<import("zod").ZodBoolean>;
589
+ investorQuestionnaire: import("zod").ZodDefault<import("zod").ZodBoolean>;
590
+ accreditation: import("zod").ZodDefault<import("zod").ZodBoolean>;
591
+ trustedContact: import("zod").ZodDefault<import("zod").ZodBoolean>;
592
+ retirement: import("zod").ZodOptional<import("zod").ZodBoolean>;
593
+ }, "strip", import("zod").ZodTypeAny, {
594
+ account: boolean;
595
+ personal: boolean;
596
+ residential: boolean;
597
+ identity: boolean;
598
+ financial: boolean;
599
+ investorQuestionnaire: boolean;
600
+ accreditation: boolean;
601
+ trustedContact: boolean;
602
+ retirement?: boolean | undefined;
603
+ }, {
604
+ account?: boolean | undefined;
605
+ personal?: boolean | undefined;
606
+ residential?: boolean | undefined;
607
+ identity?: boolean | undefined;
608
+ financial?: boolean | undefined;
609
+ investorQuestionnaire?: boolean | undefined;
610
+ accreditation?: boolean | undefined;
611
+ trustedContact?: boolean | undefined;
612
+ retirement?: boolean | undefined;
613
+ }>>;
614
+ secondary: import("zod").ZodOptional<import("zod").ZodObject<{
615
+ personal: import("zod").ZodDefault<import("zod").ZodBoolean>;
616
+ residential: import("zod").ZodDefault<import("zod").ZodBoolean>;
617
+ identity: import("zod").ZodDefault<import("zod").ZodBoolean>;
618
+ financial: import("zod").ZodDefault<import("zod").ZodBoolean>;
619
+ }, "strip", import("zod").ZodTypeAny, {
620
+ personal: boolean;
621
+ residential: boolean;
622
+ identity: boolean;
623
+ financial: boolean;
624
+ }, {
625
+ personal?: boolean | undefined;
626
+ residential?: boolean | undefined;
627
+ identity?: boolean | undefined;
628
+ financial?: boolean | undefined;
629
+ }>>;
630
+ }, "strip", import("zod").ZodTypeAny, {
631
+ entity?: {
632
+ address: boolean;
633
+ information: boolean;
634
+ } | undefined;
635
+ primary?: {
636
+ account: boolean;
637
+ personal: boolean;
638
+ residential: boolean;
639
+ identity: boolean;
640
+ financial: boolean;
641
+ investorQuestionnaire: boolean;
642
+ accreditation: boolean;
643
+ trustedContact: boolean;
644
+ retirement?: boolean | undefined;
645
+ } | undefined;
646
+ secondary?: {
647
+ personal: boolean;
648
+ residential: boolean;
649
+ identity: boolean;
650
+ financial: boolean;
651
+ } | undefined;
652
+ }, {
653
+ entity?: {
654
+ address?: boolean | undefined;
655
+ information?: boolean | undefined;
656
+ } | undefined;
657
+ primary?: {
658
+ account?: boolean | undefined;
659
+ personal?: boolean | undefined;
660
+ residential?: boolean | undefined;
661
+ identity?: boolean | undefined;
662
+ financial?: boolean | undefined;
663
+ investorQuestionnaire?: boolean | undefined;
664
+ accreditation?: boolean | undefined;
665
+ trustedContact?: boolean | undefined;
666
+ retirement?: boolean | undefined;
667
+ } | undefined;
668
+ secondary?: {
669
+ personal?: boolean | undefined;
670
+ residential?: boolean | undefined;
671
+ identity?: boolean | undefined;
672
+ financial?: boolean | undefined;
673
+ } | undefined;
674
+ }>>>;
675
+ trustedContacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodLazy<import("zod").ZodObject<{
676
+ id: import("zod").ZodString;
677
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
678
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
679
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
680
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
681
+ } & {
682
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
683
+ lastName: import("zod").ZodNullable<import("zod").ZodString>;
684
+ email: import("zod").ZodNullable<import("zod").ZodString>;
685
+ phone: import("zod").ZodNullable<import("zod").ZodObject<{
686
+ countryCallingCode: import("zod").ZodString;
687
+ country: import("zod").ZodString;
688
+ nationalNumber: import("zod").ZodString;
689
+ number: import("zod").ZodString;
690
+ formatNational: import("zod").ZodString;
691
+ formatInternational: import("zod").ZodString;
692
+ }, "strip", import("zod").ZodTypeAny, {
693
+ number: string;
694
+ countryCallingCode: string;
695
+ country: string;
696
+ nationalNumber: string;
697
+ formatNational: string;
698
+ formatInternational: string;
699
+ }, {
700
+ number: string;
701
+ countryCallingCode: string;
702
+ country: string;
703
+ nationalNumber: string;
704
+ formatNational: string;
705
+ formatInternational: string;
706
+ }>>;
707
+ address: import("zod").ZodNullable<import("zod").ZodString>;
708
+ address2: import("zod").ZodNullable<import("zod").ZodString>;
709
+ city: import("zod").ZodNullable<import("zod").ZodString>;
710
+ state: import("zod").ZodNullable<import("zod").ZodString>;
711
+ zip: import("zod").ZodNullable<import("zod").ZodString>;
712
+ country: import("zod").ZodNullable<import("zod").ZodString>;
713
+ relationship: import("zod").ZodNativeEnum<typeof import("../../..").TrustedContactRelationship>;
714
+ }, "strip", import("zod").ZodTypeAny, {
715
+ id: string;
716
+ createdAt: string | Date;
717
+ updatedAt: string | Date;
718
+ deletedAt: string | Date | null;
719
+ country: string | null;
720
+ firstName: string | null;
721
+ lastName: string | null;
722
+ email: string | null;
723
+ phone: {
724
+ number: string;
725
+ countryCallingCode: string;
726
+ country: string;
727
+ nationalNumber: string;
728
+ formatNational: string;
729
+ formatInternational: string;
730
+ } | null;
731
+ state: string | null;
732
+ address: string | null;
733
+ city: string | null;
734
+ zip: string | null;
735
+ address2: string | null;
736
+ relationship: import("../../..").TrustedContactRelationship;
737
+ __entity?: string | undefined;
738
+ }, {
739
+ id: string;
740
+ createdAt: string | Date;
741
+ updatedAt: string | Date;
742
+ deletedAt: string | Date | null;
743
+ country: string | null;
744
+ firstName: string | null;
745
+ lastName: string | null;
746
+ email: string | null;
747
+ phone: {
748
+ number: string;
749
+ countryCallingCode: string;
750
+ country: string;
751
+ nationalNumber: string;
752
+ formatNational: string;
753
+ formatInternational: string;
754
+ } | null;
755
+ state: string | null;
756
+ address: string | null;
757
+ city: string | null;
758
+ zip: string | null;
759
+ address2: string | null;
760
+ relationship: import("../../..").TrustedContactRelationship;
761
+ __entity?: string | undefined;
762
+ }>>, "many">>;
763
+ }, "strip", import("zod").ZodTypeAny, {
764
+ id: string;
765
+ createdAt: string | Date;
766
+ updatedAt: string | Date;
767
+ deletedAt: string | Date | null;
768
+ accountId: string;
769
+ tid: string | null;
770
+ investorAccountType: import("../../..").InvestorAccountType;
771
+ regAQualified: boolean;
772
+ regCfQualified: boolean;
773
+ regDQualified: boolean;
774
+ systemReviewLog: string | null;
775
+ setupStatus: import("../../..").SetupStatusType;
776
+ __entity?: string | undefined;
777
+ email?: string | null | undefined;
778
+ name?: string | null | undefined;
779
+ account?: {
780
+ status: import("../../..").AccountStatus;
781
+ id: string;
782
+ createdAt: string | Date;
783
+ updatedAt: string | Date;
784
+ deletedAt: string | Date | null;
785
+ name: string;
786
+ managedBy: import("../../..").ManagedByType | null;
787
+ platform: import("../../..").Platform;
788
+ onboardingReviewerId: string | null;
789
+ onboardingReviewAt: Date | null;
790
+ allowPendingComplianceReview: boolean;
791
+ __entity?: string | undefined;
792
+ } | undefined;
793
+ individuals?: any[] | undefined;
794
+ trades?: any[] | undefined;
795
+ user?: {
796
+ id: string;
797
+ createdAt: string | Date;
798
+ updatedAt: string | Date;
799
+ deletedAt: string | Date | null;
800
+ active: boolean;
801
+ inviteId: string | null;
802
+ accountId: string | null;
803
+ roleId: string | null;
804
+ userLoginId: string | null;
805
+ locked: boolean;
806
+ onboarding: string | null;
807
+ userLogin: {
808
+ id: string;
809
+ createdAt: string | Date;
810
+ updatedAt: string | Date;
811
+ deletedAt: string | Date | null;
812
+ firstName: string;
813
+ lastName: string;
814
+ email: string;
815
+ provider: string;
816
+ lastLoginAt: string | Date | null;
817
+ loginCount: number;
818
+ __entity?: string | undefined;
819
+ };
820
+ __entity?: string | undefined;
821
+ account?: {
822
+ status: import("../../..").AccountStatus;
823
+ id: string;
824
+ createdAt: string | Date;
825
+ updatedAt: string | Date;
826
+ deletedAt: string | Date | null;
827
+ name: string;
828
+ managedBy: import("../../..").ManagedByType | null;
829
+ platform: import("../../..").Platform;
830
+ onboardingReviewerId: string | null;
831
+ onboardingReviewAt: Date | null;
832
+ allowPendingComplianceReview: boolean;
833
+ __entity?: string | undefined;
834
+ } | undefined;
835
+ } | null | undefined;
836
+ legalEntities?: {
837
+ id: string;
838
+ createdAt: string | Date;
839
+ updatedAt: string | Date;
840
+ deletedAt: string | Date | null;
841
+ accountId: string;
842
+ name: string;
843
+ state: string | null;
844
+ thirdPartyId: string | null;
845
+ kybStatus: import("../../..").KYBStatus;
846
+ investorAccountId: string;
847
+ sanctionsStatus: import("../../..").SanctionsStatus;
848
+ setupStatus: import("../../..").SetupStatusType;
849
+ __entity?: string | undefined;
850
+ country?: string | null | undefined;
851
+ kybs?: {
852
+ id: string;
853
+ createdAt: string | Date;
854
+ updatedAt: string | Date;
855
+ deletedAt: string | Date | null;
856
+ platform: string;
857
+ documentType: string;
858
+ documentImage: string;
859
+ reason: string | null;
860
+ response: string | null;
861
+ thirdPartyId: string;
862
+ legalEntityId: string;
863
+ kybStatus: import("../../..").KYBStatus;
864
+ __entity?: string | undefined;
865
+ }[] | undefined;
866
+ phone?: string | null | undefined;
867
+ city?: string | null | undefined;
868
+ zip?: string | null | undefined;
869
+ ein?: string | null | undefined;
870
+ companyType?: string | null | undefined;
871
+ streetAddress?: string | null | undefined;
872
+ }[] | undefined;
873
+ userId?: string | null | undefined;
874
+ totalAmount?: number | undefined;
875
+ statusCheck?: {
876
+ entity?: {
877
+ address: boolean;
878
+ information: boolean;
879
+ } | undefined;
880
+ primary?: {
881
+ account: boolean;
882
+ personal: boolean;
883
+ residential: boolean;
884
+ identity: boolean;
885
+ financial: boolean;
886
+ investorQuestionnaire: boolean;
887
+ accreditation: boolean;
888
+ trustedContact: boolean;
889
+ retirement?: boolean | undefined;
890
+ } | undefined;
891
+ secondary?: {
892
+ personal: boolean;
893
+ residential: boolean;
894
+ identity: boolean;
895
+ financial: boolean;
896
+ } | undefined;
897
+ } | undefined;
898
+ trustedContacts?: {
899
+ id: string;
900
+ createdAt: string | Date;
901
+ updatedAt: string | Date;
902
+ deletedAt: string | Date | null;
903
+ country: string | null;
904
+ firstName: string | null;
905
+ lastName: string | null;
906
+ email: string | null;
907
+ phone: {
908
+ number: string;
909
+ countryCallingCode: string;
910
+ country: string;
911
+ nationalNumber: string;
912
+ formatNational: string;
913
+ formatInternational: string;
914
+ } | null;
915
+ state: string | null;
916
+ address: string | null;
917
+ city: string | null;
918
+ zip: string | null;
919
+ address2: string | null;
920
+ relationship: import("../../..").TrustedContactRelationship;
921
+ __entity?: string | undefined;
922
+ }[] | undefined;
923
+ }, {
924
+ id: string;
925
+ createdAt: string | Date;
926
+ updatedAt: string | Date;
927
+ deletedAt: string | Date | null;
928
+ accountId: string;
929
+ tid: string | null;
930
+ investorAccountType: import("../../..").InvestorAccountType;
931
+ regAQualified: boolean;
932
+ regCfQualified: boolean;
933
+ regDQualified: boolean;
934
+ systemReviewLog: string | null;
935
+ setupStatus: import("../../..").SetupStatusType;
936
+ __entity?: string | undefined;
937
+ email?: string | null | undefined;
938
+ name?: string | null | undefined;
939
+ account?: {
940
+ status: import("../../..").AccountStatus;
941
+ id: string;
942
+ createdAt: string | Date;
943
+ updatedAt: string | Date;
944
+ deletedAt: string | Date | null;
945
+ name: string;
946
+ managedBy: import("../../..").ManagedByType | null;
947
+ platform: import("../../..").Platform;
948
+ onboardingReviewerId: string | null;
949
+ onboardingReviewAt: Date | null;
950
+ allowPendingComplianceReview: boolean;
951
+ __entity?: string | undefined;
952
+ } | undefined;
953
+ individuals?: any[] | undefined;
954
+ trades?: any[] | undefined;
955
+ user?: {
956
+ id: string;
957
+ createdAt: string | Date;
958
+ updatedAt: string | Date;
959
+ deletedAt: string | Date | null;
960
+ active: boolean;
961
+ inviteId: string | null;
962
+ accountId: string | null;
963
+ roleId: string | null;
964
+ userLoginId: string | null;
965
+ locked: boolean;
966
+ onboarding: string | null;
967
+ userLogin: {
968
+ id: string;
969
+ createdAt: string | Date;
970
+ updatedAt: string | Date;
971
+ deletedAt: string | Date | null;
972
+ firstName: string;
973
+ lastName: string;
974
+ email: string;
975
+ provider: string;
976
+ lastLoginAt: string | Date | null;
977
+ loginCount: number;
978
+ __entity?: string | undefined;
979
+ };
980
+ __entity?: string | undefined;
981
+ account?: {
982
+ status: import("../../..").AccountStatus;
983
+ id: string;
984
+ createdAt: string | Date;
985
+ updatedAt: string | Date;
986
+ deletedAt: string | Date | null;
987
+ name: string;
988
+ managedBy: import("../../..").ManagedByType | null;
989
+ platform: import("../../..").Platform;
990
+ onboardingReviewerId: string | null;
991
+ onboardingReviewAt: Date | null;
992
+ allowPendingComplianceReview: boolean;
993
+ __entity?: string | undefined;
994
+ } | undefined;
995
+ } | null | undefined;
996
+ legalEntities?: {
997
+ id: string;
998
+ createdAt: string | Date;
999
+ updatedAt: string | Date;
1000
+ deletedAt: string | Date | null;
1001
+ accountId: string;
1002
+ name: string;
1003
+ state: string | null;
1004
+ thirdPartyId: string | null;
1005
+ kybStatus: import("../../..").KYBStatus;
1006
+ investorAccountId: string;
1007
+ sanctionsStatus: import("../../..").SanctionsStatus;
1008
+ setupStatus: import("../../..").SetupStatusType;
1009
+ __entity?: string | undefined;
1010
+ country?: string | null | undefined;
1011
+ kybs?: {
1012
+ id: string;
1013
+ createdAt: string | Date;
1014
+ updatedAt: string | Date;
1015
+ deletedAt: string | Date | null;
1016
+ platform: string;
1017
+ documentType: string;
1018
+ documentImage: string;
1019
+ reason: string | null;
1020
+ response: string | null;
1021
+ thirdPartyId: string;
1022
+ legalEntityId: string;
1023
+ kybStatus: import("../../..").KYBStatus;
1024
+ __entity?: string | undefined;
1025
+ }[] | undefined;
1026
+ phone?: string | null | undefined;
1027
+ city?: string | null | undefined;
1028
+ zip?: string | null | undefined;
1029
+ ein?: string | null | undefined;
1030
+ companyType?: string | null | undefined;
1031
+ streetAddress?: string | null | undefined;
1032
+ }[] | undefined;
1033
+ userId?: string | null | undefined;
1034
+ totalAmount?: number | undefined;
1035
+ statusCheck?: {
1036
+ entity?: {
1037
+ address?: boolean | undefined;
1038
+ information?: boolean | undefined;
1039
+ } | undefined;
1040
+ primary?: {
1041
+ account?: boolean | undefined;
1042
+ personal?: boolean | undefined;
1043
+ residential?: boolean | undefined;
1044
+ identity?: boolean | undefined;
1045
+ financial?: boolean | undefined;
1046
+ investorQuestionnaire?: boolean | undefined;
1047
+ accreditation?: boolean | undefined;
1048
+ trustedContact?: boolean | undefined;
1049
+ retirement?: boolean | undefined;
1050
+ } | undefined;
1051
+ secondary?: {
1052
+ personal?: boolean | undefined;
1053
+ residential?: boolean | undefined;
1054
+ identity?: boolean | undefined;
1055
+ financial?: boolean | undefined;
1056
+ } | undefined;
1057
+ } | undefined;
1058
+ trustedContacts?: {
1059
+ id: string;
1060
+ createdAt: string | Date;
1061
+ updatedAt: string | Date;
1062
+ deletedAt: string | Date | null;
1063
+ country: string | null;
1064
+ firstName: string | null;
1065
+ lastName: string | null;
1066
+ email: string | null;
1067
+ phone: {
1068
+ number: string;
1069
+ countryCallingCode: string;
1070
+ country: string;
1071
+ nationalNumber: string;
1072
+ formatNational: string;
1073
+ formatInternational: string;
1074
+ } | null;
1075
+ state: string | null;
1076
+ address: string | null;
1077
+ city: string | null;
1078
+ zip: string | null;
1079
+ address2: string | null;
1080
+ relationship: import("../../..").TrustedContactRelationship;
1081
+ __entity?: string | undefined;
1082
+ }[] | undefined;
1083
+ }>>>;
1084
+ role: import("zod").ZodNativeEnum<typeof import("../../..").IndividualRole>;
1085
+ firstName: import("zod").ZodString;
1086
+ lastName: import("zod").ZodNullable<import("zod").ZodString>;
1087
+ dob: import("zod").ZodNullable<import("zod").ZodDate>;
1088
+ isUsCitizenOrGreenCardHolder: import("zod").ZodBoolean;
1089
+ ssn: import("zod").ZodNullable<import("zod").ZodString>;
1090
+ lastFour: import("zod").ZodNullable<import("zod").ZodString>;
1091
+ address: import("zod").ZodNullable<import("zod").ZodString>;
1092
+ address2: import("zod").ZodNullable<import("zod").ZodString>;
1093
+ email: import("zod").ZodNullable<import("zod").ZodString>;
1094
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
1095
+ city: import("zod").ZodNullable<import("zod").ZodString>;
1096
+ country: import("zod").ZodNullable<import("zod").ZodString>;
1097
+ citizenship: import("zod").ZodNullable<import("zod").ZodString>;
1098
+ state: import("zod").ZodNullable<import("zod").ZodString>;
1099
+ zip: import("zod").ZodNullable<import("zod").ZodString>;
1100
+ currencyCode: import("zod").ZodNullable<import("zod").ZodString>;
1101
+ financialAdvisor: import("zod").ZodBoolean;
1102
+ occupation: import("zod").ZodNullable<import("zod").ZodString>;
1103
+ employmentStatus: import("zod").ZodNativeEnum<typeof import("../../..").EmploymentStatus>;
1104
+ employerName: import("zod").ZodNullable<import("zod").ZodString>;
1105
+ employerAddressLine1: import("zod").ZodNullable<import("zod").ZodString>;
1106
+ employerAddressLine2: import("zod").ZodNullable<import("zod").ZodString>;
1107
+ employerCity: import("zod").ZodNullable<import("zod").ZodString>;
1108
+ employerState: import("zod").ZodNullable<import("zod").ZodString>;
1109
+ employerZip: import("zod").ZodNullable<import("zod").ZodString>;
1110
+ employerCountry: import("zod").ZodNullable<import("zod").ZodString>;
1111
+ kycDocumentType: import("zod").ZodNullable<import("zod").ZodNativeEnum<typeof import("../../..").KYCDocumentType>>;
1112
+ kycDocumentIssuer: import("zod").ZodNullable<import("zod").ZodString>;
1113
+ kycExpirationDate: import("zod").ZodNullable<import("zod").ZodString>;
1114
+ kycIssuerDate: import("zod").ZodNullable<import("zod").ZodString>;
1115
+ kycDocumentNumber: import("zod").ZodNullable<import("zod").ZodString>;
1116
+ kycFirstName: import("zod").ZodNullable<import("zod").ZodString>;
1117
+ kycLastName: import("zod").ZodNullable<import("zod").ZodString>;
1118
+ ownership: import("zod").ZodNullable<import("zod").ZodNumber>;
1119
+ householdNetWorth: import("zod").ZodNullable<import("zod").ZodNumber>;
1120
+ liquidNetWorth: import("zod").ZodNullable<import("zod").ZodNumber>;
1121
+ currentHouseholdIncome: import("zod").ZodNullable<import("zod").ZodNumber>;
1122
+ currentAnnualIncome: import("zod").ZodNullable<import("zod").ZodNumber>;
1123
+ investedInCrowdfunding: import("zod").ZodNullable<import("zod").ZodNumber>;
1124
+ setupStatus: import("zod").ZodNativeEnum<typeof import("../../..").SetupStatusType>;
1125
+ setupStep: import("zod").ZodNativeEnum<typeof import("../../..").SetupStepType>;
1126
+ sourceOfIncome: import("zod").ZodNullable<import("zod").ZodNativeEnum<typeof import("../../..").SourceOfIncome>>;
1127
+ aicQuestionnaire: import("zod").ZodNullable<import("zod").ZodString>;
1128
+ kycStatus: import("zod").ZodNativeEnum<typeof import("../../..").KYCStatus>;
1129
+ kycProvider: import("zod").ZodNullable<import("zod").ZodString>;
1130
+ kycTid: import("zod").ZodNullable<import("zod").ZodString>;
1131
+ aicAccreditationType: import("zod").ZodNativeEnum<typeof import("../../..").AicAccreditationType>;
1132
+ accredited: import("zod").ZodBoolean;
1133
+ retirementAccountType: import("zod").ZodNullable<import("zod").ZodNativeEnum<typeof import("../../..").RetirementAccountType>>;
1134
+ custodianName: import("zod").ZodNullable<import("zod").ZodString>;
1135
+ custodianAccountNumber: import("zod").ZodNullable<import("zod").ZodString>;
1136
+ custodianRepresentativeName: import("zod").ZodNullable<import("zod").ZodString>;
1137
+ custodianEmail: import("zod").ZodNullable<import("zod").ZodString>;
1138
+ }, "strip", import("zod").ZodTypeAny, {
1139
+ id: string;
1140
+ createdAt: string | Date;
1141
+ updatedAt: string | Date;
1142
+ deletedAt: string | Date | null;
1143
+ country: string | null;
1144
+ firstName: string;
1145
+ lastName: string | null;
1146
+ email: string | null;
1147
+ accountId: string;
1148
+ role: import("../../..").IndividualRole;
1149
+ kycStatus: import("../../..").KYCStatus;
1150
+ tid: string | null;
1151
+ phone: string | null;
1152
+ state: string | null;
1153
+ address: string | null;
1154
+ city: string | null;
1155
+ kycFirstName: string | null;
1156
+ kycLastName: string | null;
1157
+ kycDocumentType: import("../../..").KYCDocumentType | null;
1158
+ kycDocumentIssuer: string | null;
1159
+ kycProvider: string | null;
1160
+ zip: string | null;
1161
+ address2: string | null;
1162
+ investorAccountId: string;
1163
+ currencyCode: string | null;
1164
+ setupStatus: import("../../..").SetupStatusType;
1165
+ kycDocumentNumber: string | null;
1166
+ kycIssuerDate: string | null;
1167
+ kycExpirationDate: string | null;
1168
+ liquidNetWorth: number | null;
1169
+ aicAccreditationType: import("../../..").AicAccreditationType;
1170
+ aicQuestionnaire: string | null;
1171
+ dob: Date | null;
1172
+ isUsCitizenOrGreenCardHolder: boolean;
1173
+ citizenship: string | null;
1174
+ ssn: string | null;
1175
+ lastFour: string | null;
1176
+ kycTid: string | null;
1177
+ investedInCrowdfunding: number | null;
1178
+ currentAnnualIncome: number | null;
1179
+ currentHouseholdIncome: number | null;
1180
+ householdNetWorth: number | null;
1181
+ financialAdvisor: boolean;
1182
+ occupation: string | null;
1183
+ employmentStatus: import("../../..").EmploymentStatus;
1184
+ employerName: string | null;
1185
+ employerAddressLine1: string | null;
1186
+ employerAddressLine2: string | null;
1187
+ employerCity: string | null;
1188
+ employerState: string | null;
1189
+ employerZip: string | null;
1190
+ employerCountry: string | null;
1191
+ setupStep: import("../../..").SetupStepType;
1192
+ sourceOfIncome: import("../../..").SourceOfIncome | null;
1193
+ ownership: number | null;
1194
+ retirementAccountType: import("../../..").RetirementAccountType | null;
1195
+ custodianName: string | null;
1196
+ custodianAccountNumber: string | null;
1197
+ custodianRepresentativeName: string | null;
1198
+ custodianEmail: string | null;
1199
+ accredited: boolean;
1200
+ __entity?: string | undefined;
1201
+ account?: {
1202
+ status: import("../../..").AccountStatus;
1203
+ id: string;
1204
+ createdAt: string | Date;
1205
+ updatedAt: string | Date;
1206
+ deletedAt: string | Date | null;
1207
+ name: string;
1208
+ managedBy: import("../../..").ManagedByType | null;
1209
+ platform: import("../../..").Platform;
1210
+ onboardingReviewerId: string | null;
1211
+ onboardingReviewAt: Date | null;
1212
+ allowPendingComplianceReview: boolean;
1213
+ __entity?: string | undefined;
1214
+ } | undefined;
1215
+ investorAccount?: {
1216
+ id: string;
1217
+ createdAt: string | Date;
1218
+ updatedAt: string | Date;
1219
+ deletedAt: string | Date | null;
1220
+ accountId: string;
1221
+ tid: string | null;
1222
+ investorAccountType: import("../../..").InvestorAccountType;
1223
+ regAQualified: boolean;
1224
+ regCfQualified: boolean;
1225
+ regDQualified: boolean;
1226
+ systemReviewLog: string | null;
1227
+ setupStatus: import("../../..").SetupStatusType;
1228
+ __entity?: string | undefined;
1229
+ email?: string | null | undefined;
1230
+ name?: string | null | undefined;
1231
+ account?: {
1232
+ status: import("../../..").AccountStatus;
1233
+ id: string;
1234
+ createdAt: string | Date;
1235
+ updatedAt: string | Date;
1236
+ deletedAt: string | Date | null;
1237
+ name: string;
1238
+ managedBy: import("../../..").ManagedByType | null;
1239
+ platform: import("../../..").Platform;
1240
+ onboardingReviewerId: string | null;
1241
+ onboardingReviewAt: Date | null;
1242
+ allowPendingComplianceReview: boolean;
1243
+ __entity?: string | undefined;
1244
+ } | undefined;
1245
+ individuals?: any[] | undefined;
1246
+ trades?: any[] | undefined;
1247
+ user?: {
1248
+ id: string;
1249
+ createdAt: string | Date;
1250
+ updatedAt: string | Date;
1251
+ deletedAt: string | Date | null;
1252
+ active: boolean;
1253
+ inviteId: string | null;
1254
+ accountId: string | null;
1255
+ roleId: string | null;
1256
+ userLoginId: string | null;
1257
+ locked: boolean;
1258
+ onboarding: string | null;
1259
+ userLogin: {
1260
+ id: string;
1261
+ createdAt: string | Date;
1262
+ updatedAt: string | Date;
1263
+ deletedAt: string | Date | null;
1264
+ firstName: string;
1265
+ lastName: string;
1266
+ email: string;
1267
+ provider: string;
1268
+ lastLoginAt: string | Date | null;
1269
+ loginCount: number;
1270
+ __entity?: string | undefined;
1271
+ };
1272
+ __entity?: string | undefined;
1273
+ account?: {
1274
+ status: import("../../..").AccountStatus;
1275
+ id: string;
1276
+ createdAt: string | Date;
1277
+ updatedAt: string | Date;
1278
+ deletedAt: string | Date | null;
1279
+ name: string;
1280
+ managedBy: import("../../..").ManagedByType | null;
1281
+ platform: import("../../..").Platform;
1282
+ onboardingReviewerId: string | null;
1283
+ onboardingReviewAt: Date | null;
1284
+ allowPendingComplianceReview: boolean;
1285
+ __entity?: string | undefined;
1286
+ } | undefined;
1287
+ } | null | undefined;
1288
+ legalEntities?: {
1289
+ id: string;
1290
+ createdAt: string | Date;
1291
+ updatedAt: string | Date;
1292
+ deletedAt: string | Date | null;
1293
+ accountId: string;
1294
+ name: string;
1295
+ state: string | null;
1296
+ thirdPartyId: string | null;
1297
+ kybStatus: import("../../..").KYBStatus;
1298
+ investorAccountId: string;
1299
+ sanctionsStatus: import("../../..").SanctionsStatus;
1300
+ setupStatus: import("../../..").SetupStatusType;
1301
+ __entity?: string | undefined;
1302
+ country?: string | null | undefined;
1303
+ kybs?: {
1304
+ id: string;
1305
+ createdAt: string | Date;
1306
+ updatedAt: string | Date;
1307
+ deletedAt: string | Date | null;
1308
+ platform: string;
1309
+ documentType: string;
1310
+ documentImage: string;
1311
+ reason: string | null;
1312
+ response: string | null;
1313
+ thirdPartyId: string;
1314
+ legalEntityId: string;
1315
+ kybStatus: import("../../..").KYBStatus;
1316
+ __entity?: string | undefined;
1317
+ }[] | undefined;
1318
+ phone?: string | null | undefined;
1319
+ city?: string | null | undefined;
1320
+ zip?: string | null | undefined;
1321
+ ein?: string | null | undefined;
1322
+ companyType?: string | null | undefined;
1323
+ streetAddress?: string | null | undefined;
1324
+ }[] | undefined;
1325
+ userId?: string | null | undefined;
1326
+ totalAmount?: number | undefined;
1327
+ statusCheck?: {
1328
+ entity?: {
1329
+ address: boolean;
1330
+ information: boolean;
1331
+ } | undefined;
1332
+ primary?: {
1333
+ account: boolean;
1334
+ personal: boolean;
1335
+ residential: boolean;
1336
+ identity: boolean;
1337
+ financial: boolean;
1338
+ investorQuestionnaire: boolean;
1339
+ accreditation: boolean;
1340
+ trustedContact: boolean;
1341
+ retirement?: boolean | undefined;
1342
+ } | undefined;
1343
+ secondary?: {
1344
+ personal: boolean;
1345
+ residential: boolean;
1346
+ identity: boolean;
1347
+ financial: boolean;
1348
+ } | undefined;
1349
+ } | undefined;
1350
+ trustedContacts?: {
1351
+ id: string;
1352
+ createdAt: string | Date;
1353
+ updatedAt: string | Date;
1354
+ deletedAt: string | Date | null;
1355
+ country: string | null;
1356
+ firstName: string | null;
1357
+ lastName: string | null;
1358
+ email: string | null;
1359
+ phone: {
1360
+ number: string;
1361
+ countryCallingCode: string;
1362
+ country: string;
1363
+ nationalNumber: string;
1364
+ formatNational: string;
1365
+ formatInternational: string;
1366
+ } | null;
1367
+ state: string | null;
1368
+ address: string | null;
1369
+ city: string | null;
1370
+ zip: string | null;
1371
+ address2: string | null;
1372
+ relationship: import("../../..").TrustedContactRelationship;
1373
+ __entity?: string | undefined;
1374
+ }[] | undefined;
1375
+ } | undefined;
1376
+ }, {
1377
+ id: string;
1378
+ createdAt: string | Date;
1379
+ updatedAt: string | Date;
1380
+ deletedAt: string | Date | null;
1381
+ country: string | null;
1382
+ firstName: string;
1383
+ lastName: string | null;
1384
+ email: string | null;
1385
+ accountId: string;
1386
+ role: import("../../..").IndividualRole;
1387
+ kycStatus: import("../../..").KYCStatus;
1388
+ tid: string | null;
1389
+ phone: string | null;
1390
+ state: string | null;
1391
+ address: string | null;
1392
+ city: string | null;
1393
+ kycFirstName: string | null;
1394
+ kycLastName: string | null;
1395
+ kycDocumentType: import("../../..").KYCDocumentType | null;
1396
+ kycDocumentIssuer: string | null;
1397
+ kycProvider: string | null;
1398
+ zip: string | null;
1399
+ address2: string | null;
1400
+ investorAccountId: string;
1401
+ currencyCode: string | null;
1402
+ setupStatus: import("../../..").SetupStatusType;
1403
+ kycDocumentNumber: string | null;
1404
+ kycIssuerDate: string | null;
1405
+ kycExpirationDate: string | null;
1406
+ liquidNetWorth: number | null;
1407
+ aicAccreditationType: import("../../..").AicAccreditationType;
1408
+ aicQuestionnaire: string | null;
1409
+ dob: Date | null;
1410
+ isUsCitizenOrGreenCardHolder: boolean;
1411
+ citizenship: string | null;
1412
+ ssn: string | null;
1413
+ lastFour: string | null;
1414
+ kycTid: string | null;
1415
+ investedInCrowdfunding: number | null;
1416
+ currentAnnualIncome: number | null;
1417
+ currentHouseholdIncome: number | null;
1418
+ householdNetWorth: number | null;
1419
+ financialAdvisor: boolean;
1420
+ occupation: string | null;
1421
+ employmentStatus: import("../../..").EmploymentStatus;
1422
+ employerName: string | null;
1423
+ employerAddressLine1: string | null;
1424
+ employerAddressLine2: string | null;
1425
+ employerCity: string | null;
1426
+ employerState: string | null;
1427
+ employerZip: string | null;
1428
+ employerCountry: string | null;
1429
+ setupStep: import("../../..").SetupStepType;
1430
+ sourceOfIncome: import("../../..").SourceOfIncome | null;
1431
+ ownership: number | null;
1432
+ retirementAccountType: import("../../..").RetirementAccountType | null;
1433
+ custodianName: string | null;
1434
+ custodianAccountNumber: string | null;
1435
+ custodianRepresentativeName: string | null;
1436
+ custodianEmail: string | null;
1437
+ accredited: boolean;
1438
+ __entity?: string | undefined;
1439
+ account?: {
1440
+ status: import("../../..").AccountStatus;
1441
+ id: string;
1442
+ createdAt: string | Date;
1443
+ updatedAt: string | Date;
1444
+ deletedAt: string | Date | null;
1445
+ name: string;
1446
+ managedBy: import("../../..").ManagedByType | null;
1447
+ platform: import("../../..").Platform;
1448
+ onboardingReviewerId: string | null;
1449
+ onboardingReviewAt: Date | null;
1450
+ allowPendingComplianceReview: boolean;
1451
+ __entity?: string | undefined;
1452
+ } | undefined;
1453
+ investorAccount?: {
1454
+ id: string;
1455
+ createdAt: string | Date;
1456
+ updatedAt: string | Date;
1457
+ deletedAt: string | Date | null;
1458
+ accountId: string;
1459
+ tid: string | null;
1460
+ investorAccountType: import("../../..").InvestorAccountType;
1461
+ regAQualified: boolean;
1462
+ regCfQualified: boolean;
1463
+ regDQualified: boolean;
1464
+ systemReviewLog: string | null;
1465
+ setupStatus: import("../../..").SetupStatusType;
1466
+ __entity?: string | undefined;
1467
+ email?: string | null | undefined;
1468
+ name?: string | null | undefined;
1469
+ account?: {
1470
+ status: import("../../..").AccountStatus;
1471
+ id: string;
1472
+ createdAt: string | Date;
1473
+ updatedAt: string | Date;
1474
+ deletedAt: string | Date | null;
1475
+ name: string;
1476
+ managedBy: import("../../..").ManagedByType | null;
1477
+ platform: import("../../..").Platform;
1478
+ onboardingReviewerId: string | null;
1479
+ onboardingReviewAt: Date | null;
1480
+ allowPendingComplianceReview: boolean;
1481
+ __entity?: string | undefined;
1482
+ } | undefined;
1483
+ individuals?: any[] | undefined;
1484
+ trades?: any[] | undefined;
1485
+ user?: {
1486
+ id: string;
1487
+ createdAt: string | Date;
1488
+ updatedAt: string | Date;
1489
+ deletedAt: string | Date | null;
1490
+ active: boolean;
1491
+ inviteId: string | null;
1492
+ accountId: string | null;
1493
+ roleId: string | null;
1494
+ userLoginId: string | null;
1495
+ locked: boolean;
1496
+ onboarding: string | null;
1497
+ userLogin: {
1498
+ id: string;
1499
+ createdAt: string | Date;
1500
+ updatedAt: string | Date;
1501
+ deletedAt: string | Date | null;
1502
+ firstName: string;
1503
+ lastName: string;
1504
+ email: string;
1505
+ provider: string;
1506
+ lastLoginAt: string | Date | null;
1507
+ loginCount: number;
1508
+ __entity?: string | undefined;
1509
+ };
1510
+ __entity?: string | undefined;
1511
+ account?: {
1512
+ status: import("../../..").AccountStatus;
1513
+ id: string;
1514
+ createdAt: string | Date;
1515
+ updatedAt: string | Date;
1516
+ deletedAt: string | Date | null;
1517
+ name: string;
1518
+ managedBy: import("../../..").ManagedByType | null;
1519
+ platform: import("../../..").Platform;
1520
+ onboardingReviewerId: string | null;
1521
+ onboardingReviewAt: Date | null;
1522
+ allowPendingComplianceReview: boolean;
1523
+ __entity?: string | undefined;
1524
+ } | undefined;
1525
+ } | null | undefined;
1526
+ legalEntities?: {
1527
+ id: string;
1528
+ createdAt: string | Date;
1529
+ updatedAt: string | Date;
1530
+ deletedAt: string | Date | null;
1531
+ accountId: string;
1532
+ name: string;
1533
+ state: string | null;
1534
+ thirdPartyId: string | null;
1535
+ kybStatus: import("../../..").KYBStatus;
1536
+ investorAccountId: string;
1537
+ sanctionsStatus: import("../../..").SanctionsStatus;
1538
+ setupStatus: import("../../..").SetupStatusType;
1539
+ __entity?: string | undefined;
1540
+ country?: string | null | undefined;
1541
+ kybs?: {
1542
+ id: string;
1543
+ createdAt: string | Date;
1544
+ updatedAt: string | Date;
1545
+ deletedAt: string | Date | null;
1546
+ platform: string;
1547
+ documentType: string;
1548
+ documentImage: string;
1549
+ reason: string | null;
1550
+ response: string | null;
1551
+ thirdPartyId: string;
1552
+ legalEntityId: string;
1553
+ kybStatus: import("../../..").KYBStatus;
1554
+ __entity?: string | undefined;
1555
+ }[] | undefined;
1556
+ phone?: string | null | undefined;
1557
+ city?: string | null | undefined;
1558
+ zip?: string | null | undefined;
1559
+ ein?: string | null | undefined;
1560
+ companyType?: string | null | undefined;
1561
+ streetAddress?: string | null | undefined;
1562
+ }[] | undefined;
1563
+ userId?: string | null | undefined;
1564
+ totalAmount?: number | undefined;
1565
+ statusCheck?: {
1566
+ entity?: {
1567
+ address?: boolean | undefined;
1568
+ information?: boolean | undefined;
1569
+ } | undefined;
1570
+ primary?: {
1571
+ account?: boolean | undefined;
1572
+ personal?: boolean | undefined;
1573
+ residential?: boolean | undefined;
1574
+ identity?: boolean | undefined;
1575
+ financial?: boolean | undefined;
1576
+ investorQuestionnaire?: boolean | undefined;
1577
+ accreditation?: boolean | undefined;
1578
+ trustedContact?: boolean | undefined;
1579
+ retirement?: boolean | undefined;
1580
+ } | undefined;
1581
+ secondary?: {
1582
+ personal?: boolean | undefined;
1583
+ residential?: boolean | undefined;
1584
+ identity?: boolean | undefined;
1585
+ financial?: boolean | undefined;
1586
+ } | undefined;
1587
+ } | undefined;
1588
+ trustedContacts?: {
1589
+ id: string;
1590
+ createdAt: string | Date;
1591
+ updatedAt: string | Date;
1592
+ deletedAt: string | Date | null;
1593
+ country: string | null;
1594
+ firstName: string | null;
1595
+ lastName: string | null;
1596
+ email: string | null;
1597
+ phone: {
1598
+ number: string;
1599
+ countryCallingCode: string;
1600
+ country: string;
1601
+ nationalNumber: string;
1602
+ formatNational: string;
1603
+ formatInternational: string;
1604
+ } | null;
1605
+ state: string | null;
1606
+ address: string | null;
1607
+ city: string | null;
1608
+ zip: string | null;
1609
+ address2: string | null;
1610
+ relationship: import("../../..").TrustedContactRelationship;
1611
+ __entity?: string | undefined;
1612
+ }[] | undefined;
1613
+ } | undefined;
1614
+ }>;
1615
+ 400: import("zod").ZodObject<{
1616
+ status: import("zod").ZodNumber;
1617
+ message: import("zod").ZodString;
1618
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1619
+ }, "strip", import("zod").ZodTypeAny, {
1620
+ message: string;
1621
+ status: number;
1622
+ errors: string[];
1623
+ }, {
1624
+ message: string;
1625
+ status: number;
1626
+ errors: string[];
1627
+ }>;
1628
+ 401: import("zod").ZodObject<{
1629
+ status: import("zod").ZodNumber;
1630
+ message: import("zod").ZodString;
1631
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1632
+ }, "strip", import("zod").ZodTypeAny, {
1633
+ message: string;
1634
+ status: number;
1635
+ errors: string[];
1636
+ }, {
1637
+ message: string;
1638
+ status: number;
1639
+ errors: string[];
1640
+ }>;
1641
+ 404: import("zod").ZodObject<{
1642
+ status: import("zod").ZodNumber;
1643
+ message: import("zod").ZodString;
1644
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1645
+ }, "strip", import("zod").ZodTypeAny, {
1646
+ message: string;
1647
+ status: number;
1648
+ errors: string[];
1649
+ }, {
1650
+ message: string;
1651
+ status: number;
1652
+ errors: string[];
1653
+ }>;
1654
+ 500: import("zod").ZodObject<{
1655
+ status: import("zod").ZodNumber;
1656
+ message: import("zod").ZodString;
1657
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1658
+ }, "strip", import("zod").ZodTypeAny, {
1659
+ message: string;
1660
+ status: number;
1661
+ errors: string[];
1662
+ }, {
1663
+ message: string;
1664
+ status: number;
1665
+ errors: string[];
1666
+ }>;
1667
+ };
1668
+ };
1669
+ uploadKycCsv: {
1670
+ method: "POST";
1671
+ metadata: {
1672
+ auth: boolean;
1673
+ };
1674
+ body: import("@ts-rest/core").ContractPlainType<{
1675
+ file: File;
1676
+ }>;
1677
+ query: import("zod").ZodObject<{
1678
+ individualId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
1679
+ frontFileId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
1680
+ backFileId: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
1681
+ selfieFileId: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
1682
+ }, "strip", import("zod").ZodTypeAny, {
1683
+ individualId: string;
1684
+ frontFileId: string;
1685
+ backFileId?: string | undefined;
1686
+ selfieFileId?: string | undefined;
1687
+ }, {
1688
+ individualId: string;
1689
+ frontFileId: string;
1690
+ backFileId?: string | undefined;
1691
+ selfieFileId?: string | undefined;
1692
+ }>;
1693
+ summary: "Upload and process CSV file for KYC data";
1694
+ contentType: "multipart/form-data";
1695
+ path: "csv/kyc";
1696
+ responses: {
1697
+ 200: import("zod").ZodObject<{
1698
+ id: import("zod").ZodString;
1699
+ __entity: import("zod").ZodOptional<import("zod").ZodString>;
1700
+ createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
1701
+ updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
1702
+ deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
1703
+ } & {
1704
+ tid: import("zod").ZodNullable<import("zod").ZodString>;
1705
+ platform: import("zod").ZodString;
1706
+ individualId: import("zod").ZodString;
1707
+ documentType: import("zod").ZodString;
1708
+ documentImage: import("zod").ZodString;
1709
+ kycStatus: import("zod").ZodNativeEnum<typeof import("../../..").KYCStatus>;
1710
+ reason: import("zod").ZodNullable<import("zod").ZodString>;
1711
+ response: import("zod").ZodNullable<import("zod").ZodString>;
1712
+ }, "strip", import("zod").ZodTypeAny, {
1713
+ id: string;
1714
+ createdAt: string | Date;
1715
+ updatedAt: string | Date;
1716
+ deletedAt: string | Date | null;
1717
+ platform: string;
1718
+ kycStatus: import("../../..").KYCStatus;
1719
+ tid: string | null;
1720
+ individualId: string;
1721
+ documentType: string;
1722
+ documentImage: string;
1723
+ reason: string | null;
1724
+ response: string | null;
1725
+ __entity?: string | undefined;
1726
+ }, {
1727
+ id: string;
1728
+ createdAt: string | Date;
1729
+ updatedAt: string | Date;
1730
+ deletedAt: string | Date | null;
1731
+ platform: string;
1732
+ kycStatus: import("../../..").KYCStatus;
1733
+ tid: string | null;
1734
+ individualId: string;
1735
+ documentType: string;
1736
+ documentImage: string;
1737
+ reason: string | null;
1738
+ response: string | null;
1739
+ __entity?: string | undefined;
1740
+ }>;
1741
+ 400: import("zod").ZodObject<{
1742
+ status: import("zod").ZodNumber;
1743
+ message: import("zod").ZodString;
1744
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1745
+ }, "strip", import("zod").ZodTypeAny, {
1746
+ message: string;
1747
+ status: number;
1748
+ errors: string[];
1749
+ }, {
1750
+ message: string;
1751
+ status: number;
1752
+ errors: string[];
1753
+ }>;
1754
+ 401: import("zod").ZodObject<{
1755
+ status: import("zod").ZodNumber;
1756
+ message: import("zod").ZodString;
1757
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1758
+ }, "strip", import("zod").ZodTypeAny, {
1759
+ message: string;
1760
+ status: number;
1761
+ errors: string[];
1762
+ }, {
1763
+ message: string;
1764
+ status: number;
1765
+ errors: string[];
1766
+ }>;
1767
+ 404: import("zod").ZodObject<{
1768
+ status: import("zod").ZodNumber;
1769
+ message: import("zod").ZodString;
1770
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1771
+ }, "strip", import("zod").ZodTypeAny, {
1772
+ message: string;
1773
+ status: number;
1774
+ errors: string[];
1775
+ }, {
1776
+ message: string;
1777
+ status: number;
1778
+ errors: string[];
1779
+ }>;
1780
+ 500: import("zod").ZodObject<{
1781
+ status: import("zod").ZodNumber;
1782
+ message: import("zod").ZodString;
1783
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1784
+ }, "strip", import("zod").ZodTypeAny, {
1785
+ message: string;
1786
+ status: number;
1787
+ errors: string[];
1788
+ }, {
1789
+ message: string;
1790
+ status: number;
1791
+ errors: string[];
1792
+ }>;
1793
+ };
1794
+ };
1795
+ uploadIssuerCsv: {
1796
+ method: "POST";
1797
+ metadata: {
1798
+ auth: boolean;
1799
+ };
1800
+ body: import("@ts-rest/core").ContractPlainType<{
1801
+ file: File;
1802
+ }>;
1803
+ summary: "Upload and process CSV file for issuer account creation";
1804
+ contentType: "multipart/form-data";
1805
+ path: "csv/issuers";
1806
+ responses: {
1807
+ 200: import("zod").ZodObject<{
1808
+ totalRows: import("zod").ZodNumber;
1809
+ successfulRows: import("zod").ZodNumber;
1810
+ createdAccounts: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
1811
+ row: import("zod").ZodNumber;
1812
+ userId: import("zod").ZodString;
1813
+ investorAccountId: import("zod").ZodString;
1814
+ }, "strip", import("zod").ZodTypeAny, {
1815
+ userId: string;
1816
+ investorAccountId: string;
1817
+ row: number;
1818
+ }, {
1819
+ userId: string;
1820
+ investorAccountId: string;
1821
+ row: number;
1822
+ }>, import("zod").ZodObject<{
1823
+ row: import("zod").ZodNumber;
1824
+ userId: import("zod").ZodString;
1825
+ accountId: import("zod").ZodString;
1826
+ }, "strip", import("zod").ZodTypeAny, {
1827
+ accountId: string;
1828
+ userId: string;
1829
+ row: number;
1830
+ }, {
1831
+ accountId: string;
1832
+ userId: string;
1833
+ row: number;
1834
+ }>]>, "many">;
1835
+ }, "strip", import("zod").ZodTypeAny, {
1836
+ totalRows: number;
1837
+ successfulRows: number;
1838
+ createdAccounts: ({
1839
+ userId: string;
1840
+ investorAccountId: string;
1841
+ row: number;
1842
+ } | {
1843
+ accountId: string;
1844
+ userId: string;
1845
+ row: number;
1846
+ })[];
1847
+ }, {
1848
+ totalRows: number;
1849
+ successfulRows: number;
1850
+ createdAccounts: ({
1851
+ userId: string;
1852
+ investorAccountId: string;
1853
+ row: number;
1854
+ } | {
1855
+ accountId: string;
1856
+ userId: string;
1857
+ row: number;
1858
+ })[];
1859
+ }>;
1860
+ 400: import("zod").ZodObject<{
1861
+ status: import("zod").ZodNumber;
1862
+ message: import("zod").ZodString;
1863
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1864
+ }, "strip", import("zod").ZodTypeAny, {
1865
+ message: string;
1866
+ status: number;
1867
+ errors: string[];
1868
+ }, {
1869
+ message: string;
1870
+ status: number;
1871
+ errors: string[];
1872
+ }>;
1873
+ 401: import("zod").ZodObject<{
1874
+ status: import("zod").ZodNumber;
1875
+ message: import("zod").ZodString;
1876
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1877
+ }, "strip", import("zod").ZodTypeAny, {
1878
+ message: string;
1879
+ status: number;
1880
+ errors: string[];
1881
+ }, {
1882
+ message: string;
1883
+ status: number;
1884
+ errors: string[];
1885
+ }>;
1886
+ 422: import("zod").ZodObject<{
1887
+ status: import("zod").ZodNumber;
1888
+ message: import("zod").ZodString;
1889
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1890
+ }, "strip", import("zod").ZodTypeAny, {
1891
+ message: string;
1892
+ status: number;
1893
+ errors: string[];
1894
+ }, {
1895
+ message: string;
1896
+ status: number;
1897
+ errors: string[];
1898
+ }>;
1899
+ 500: import("zod").ZodObject<{
1900
+ status: import("zod").ZodNumber;
1901
+ message: import("zod").ZodString;
1902
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1903
+ }, "strip", import("zod").ZodTypeAny, {
1904
+ message: string;
1905
+ status: number;
1906
+ errors: string[];
1907
+ }, {
1908
+ message: string;
1909
+ status: number;
1910
+ errors: string[];
1911
+ }>;
1912
+ };
1913
+ };
1914
+ uploadOfferingCsv: {
1915
+ method: "POST";
1916
+ metadata: {
1917
+ auth: boolean;
1918
+ };
1919
+ body: import("@ts-rest/core").ContractPlainType<{
1920
+ file: File;
1921
+ }>;
1922
+ query: import("zod").ZodObject<{
1923
+ issuerId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
1924
+ }, "strip", import("zod").ZodTypeAny, {
1925
+ issuerId: string;
1926
+ }, {
1927
+ issuerId: string;
1928
+ }>;
1929
+ summary: "Upload and process CSV file for offering creation";
1930
+ contentType: "multipart/form-data";
1931
+ path: "csv/offering";
1932
+ responses: {
1933
+ 200: import("zod").ZodLazy<any>;
1934
+ 400: import("zod").ZodObject<{
1935
+ status: import("zod").ZodNumber;
1936
+ message: import("zod").ZodString;
1937
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1938
+ }, "strip", import("zod").ZodTypeAny, {
1939
+ message: string;
1940
+ status: number;
1941
+ errors: string[];
1942
+ }, {
1943
+ message: string;
1944
+ status: number;
1945
+ errors: string[];
1946
+ }>;
1947
+ 401: import("zod").ZodObject<{
1948
+ status: import("zod").ZodNumber;
1949
+ message: import("zod").ZodString;
1950
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1951
+ }, "strip", import("zod").ZodTypeAny, {
1952
+ message: string;
1953
+ status: number;
1954
+ errors: string[];
1955
+ }, {
1956
+ message: string;
1957
+ status: number;
1958
+ errors: string[];
1959
+ }>;
1960
+ 404: import("zod").ZodObject<{
1961
+ status: import("zod").ZodNumber;
1962
+ message: import("zod").ZodString;
1963
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1964
+ }, "strip", import("zod").ZodTypeAny, {
1965
+ message: string;
1966
+ status: number;
1967
+ errors: string[];
1968
+ }, {
1969
+ message: string;
1970
+ status: number;
1971
+ errors: string[];
1972
+ }>;
1973
+ 500: import("zod").ZodObject<{
1974
+ status: import("zod").ZodNumber;
1975
+ message: import("zod").ZodString;
1976
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
1977
+ }, "strip", import("zod").ZodTypeAny, {
1978
+ message: string;
1979
+ status: number;
1980
+ errors: string[];
1981
+ }, {
1982
+ message: string;
1983
+ status: number;
1984
+ errors: string[];
1985
+ }>;
1986
+ };
1987
+ };
1988
+ };