@dalmore/api-contracts 0.0.0-dev.fb640f0 → 0.0.0-dev.fbec0a1

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