@dalmore/api-contracts 0.0.0-dev.c1dc422 → 0.0.0-dev.c81baa3
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.
- package/common/constants.d.ts +43 -0
- package/common/constants.js +77 -0
- package/common/constants.js.map +1 -0
- package/common/helpers/index.d.ts +27 -0
- package/common/helpers/index.js +43 -0
- package/common/helpers/index.js.map +1 -1
- package/common/types/account-setting.types.d.ts +22 -66
- package/common/types/account-setting.types.js +2 -31
- package/common/types/account-setting.types.js.map +1 -1
- package/common/types/account.types.d.ts +32 -23
- package/common/types/account.types.js +4 -3
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +34 -25
- package/common/types/activity.types.js +11 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +25 -111
- package/common/types/asset.types.js +24 -100
- package/common/types/asset.types.js.map +1 -1
- package/common/types/attribution.types.d.ts +582 -0
- package/common/types/attribution.types.js +126 -0
- package/common/types/attribution.types.js.map +1 -0
- package/common/types/auth.types.d.ts +36 -0
- package/common/types/auth.types.js +3 -2
- package/common/types/auth.types.js.map +1 -1
- package/common/types/bonus-tier.types.d.ts +0 -30
- package/common/types/cap-table.types.d.ts +240 -53
- package/common/types/cap-table.types.js +52 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/cart.types.d.ts +3 -0
- package/common/types/cart.types.js +1 -0
- package/common/types/cart.types.js.map +1 -1
- package/common/types/common.types.d.ts +354 -7
- package/common/types/common.types.js +72 -4
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +12 -12
- package/common/types/csv.types.d.ts +3612 -0
- package/common/types/csv.types.js +290 -0
- package/common/types/csv.types.js.map +1 -0
- package/common/types/dashboard.types.d.ts +7 -7
- package/common/types/disbursement-transaction.types.d.ts +1 -1
- package/common/types/disbursement-transaction.types.js +1 -1
- package/common/types/disbursement-transaction.types.js.map +1 -1
- package/common/types/disbursements.types.d.ts +1022 -13
- package/common/types/disbursements.types.js +105 -3
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/exchange-provider.types.d.ts +12 -12
- package/common/types/file.types.d.ts +33 -9
- package/common/types/file.types.js +12 -0
- package/common/types/file.types.js.map +1 -1
- package/common/types/index.d.ts +5 -2
- package/common/types/index.js +5 -2
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.d.ts +395 -5
- package/common/types/individuals.types.js +11 -14
- package/common/types/individuals.types.js.map +1 -1
- package/common/types/investor-account.types.d.ts +1 -1
- package/common/types/investor-account.types.js +3 -2
- package/common/types/investor-account.types.js.map +1 -1
- package/common/types/investors-offering.types.d.ts +8 -0
- package/common/types/investors-offering.types.js +1 -0
- package/common/types/investors-offering.types.js.map +1 -1
- package/common/types/invite.types.d.ts +5 -2
- package/common/types/invite.types.js +2 -1
- package/common/types/invite.types.js.map +1 -1
- package/common/types/issuer-offering.types.d.ts +347 -79
- package/common/types/issuer-offering.types.js +188 -63
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/job-item.types.d.ts +14 -14
- package/common/types/legal-entity.types.d.ts +39 -1
- package/common/types/legal-entity.types.js +8 -5
- package/common/types/legal-entity.types.js.map +1 -1
- package/common/types/mail-template.types.d.ts +4 -4
- package/common/types/note.types.d.ts +15 -15
- package/common/types/notification.types.d.ts +1 -0
- package/common/types/notification.types.js +3 -0
- package/common/types/notification.types.js.map +1 -1
- package/common/types/offering-submission.types.d.ts +198 -0
- package/common/types/offering-submission.types.js +17 -4
- package/common/types/offering-submission.types.js.map +1 -1
- package/common/types/offering.types.d.ts +276 -71
- package/common/types/offering.types.js +241 -55
- package/common/types/offering.types.js.map +1 -1
- package/common/types/payment-methods.types.d.ts +365 -0
- package/common/types/payment-methods.types.js +121 -0
- package/common/types/payment-methods.types.js.map +1 -1
- package/common/types/portfolio.types.d.ts +6 -6
- package/common/types/reports.types.d.ts +345 -0
- package/common/types/reports.types.js +69 -0
- package/common/types/reports.types.js.map +1 -0
- package/common/types/review.types.js +1 -1
- package/common/types/review.types.js.map +1 -1
- package/common/types/secondary-order.types.d.ts +10 -10
- package/common/types/secondary-trade.types.d.ts +10 -10
- package/common/types/site.types.d.ts +12 -27
- package/common/types/state-machine.types.d.ts +3 -3
- package/common/types/state-machine.types.js +1 -1
- package/common/types/state-machine.types.js.map +1 -1
- package/common/types/task.types.d.ts +30 -22
- package/common/types/task.types.js +3 -0
- package/common/types/task.types.js.map +1 -1
- package/common/types/trade-line-item.types.d.ts +24 -0
- package/common/types/trade-line-item.types.js +3 -0
- package/common/types/trade-line-item.types.js.map +1 -1
- package/common/types/trade.types.d.ts +20 -14
- package/common/types/trade.types.js +18 -7
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +24 -2
- package/common/types/transaction.types.js +26 -1
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +108 -82
- package/common/types/user.types.js +10 -23
- package/common/types/user.types.js.map +1 -1
- package/common/types/zapier.types.d.ts +126 -0
- package/common/types/zapier.types.js +247 -0
- package/common/types/zapier.types.js.map +1 -0
- package/contracts/clients/assets/index.d.ts +0 -66
- package/contracts/clients/cart/index.d.ts +3 -0
- package/contracts/clients/csv/index.d.ts +1988 -0
- package/contracts/clients/csv/index.js +96 -0
- package/contracts/clients/csv/index.js.map +1 -0
- package/contracts/clients/files/index.d.ts +3 -3
- package/contracts/clients/files-public/index.d.ts +3 -3
- package/contracts/clients/index.d.ts +4028 -1163
- package/contracts/clients/index.js +8 -2
- package/contracts/clients/index.js.map +1 -1
- package/contracts/clients/individuals/index.d.ts +381 -5
- package/contracts/clients/legal-entities/index.d.ts +1 -1
- package/contracts/clients/offerings/index.d.ts +90 -35
- package/contracts/clients/review/index.d.ts +85 -0
- package/contracts/clients/review/index.js +27 -0
- package/contracts/clients/review/index.js.map +1 -0
- package/contracts/clients/webhooks/index.d.ts +506 -0
- package/contracts/clients/webhooks/index.js +118 -0
- package/contracts/clients/webhooks/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -32,12 +32,27 @@ export declare enum CapTableSigningStatus {
|
|
|
32
32
|
export declare const capTableIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
33
33
|
export declare const capShareClassIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
34
34
|
export declare const capEntryIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
35
|
+
/**
|
|
36
|
+
* Optional issuer ID filter. Required when account has multiple issuers.
|
|
37
|
+
* All cap table endpoints should accept this to scope to a specific issuer.
|
|
38
|
+
*/
|
|
39
|
+
export declare const IssuerIdFilterQuery: z.ZodObject<{
|
|
40
|
+
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
issuerId?: string | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
issuerId?: string | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
export type IssuerIdFilterQuery = z.infer<typeof IssuerIdFilterQuery>;
|
|
35
47
|
export declare const CapTableIncludeQuery: z.ZodObject<{
|
|
36
48
|
include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
|
|
49
|
+
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
37
50
|
}, "strip", z.ZodTypeAny, {
|
|
38
51
|
include: string[];
|
|
52
|
+
issuerId?: string | undefined;
|
|
39
53
|
}, {
|
|
40
54
|
include?: string | undefined;
|
|
55
|
+
issuerId?: string | undefined;
|
|
41
56
|
}>;
|
|
42
57
|
export declare const CapTableEntryIncludeQuery: z.ZodObject<{
|
|
43
58
|
include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
|
|
@@ -217,8 +232,8 @@ export declare const CreateCapTableEntryZod: z.ZodObject<{
|
|
|
217
232
|
individualId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
233
|
legalEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
234
|
}, "strip", z.ZodTypeAny, {
|
|
220
|
-
numberOfShares: number;
|
|
221
235
|
shareClassId: string;
|
|
236
|
+
numberOfShares: number;
|
|
222
237
|
holderType: CapTableHolderType;
|
|
223
238
|
holderName: string;
|
|
224
239
|
allocationDate: string;
|
|
@@ -230,8 +245,8 @@ export declare const CreateCapTableEntryZod: z.ZodObject<{
|
|
|
230
245
|
holderEmail?: string | null | undefined;
|
|
231
246
|
certificateNumber?: string | null | undefined;
|
|
232
247
|
}, {
|
|
233
|
-
numberOfShares: number;
|
|
234
248
|
shareClassId: string;
|
|
249
|
+
numberOfShares: number;
|
|
235
250
|
holderType: CapTableHolderType;
|
|
236
251
|
holderName: string;
|
|
237
252
|
allocationDate: string;
|
|
@@ -258,9 +273,9 @@ export declare const UpdateCapTableEntryZod: z.ZodObject<{
|
|
|
258
273
|
}, "strip", z.ZodTypeAny, {
|
|
259
274
|
status?: CapTableEntryStatus | undefined;
|
|
260
275
|
notes?: string | null | undefined;
|
|
276
|
+
shareClassId?: string | undefined;
|
|
261
277
|
pricePerShare?: number | null | undefined;
|
|
262
278
|
numberOfShares?: number | undefined;
|
|
263
|
-
shareClassId?: string | undefined;
|
|
264
279
|
holderType?: CapTableHolderType | undefined;
|
|
265
280
|
holderName?: string | undefined;
|
|
266
281
|
holderEmail?: string | null | undefined;
|
|
@@ -269,9 +284,9 @@ export declare const UpdateCapTableEntryZod: z.ZodObject<{
|
|
|
269
284
|
}, {
|
|
270
285
|
status?: CapTableEntryStatus | undefined;
|
|
271
286
|
notes?: string | null | undefined;
|
|
287
|
+
shareClassId?: string | undefined;
|
|
272
288
|
pricePerShare?: number | null | undefined;
|
|
273
289
|
numberOfShares?: number | undefined;
|
|
274
|
-
shareClassId?: string | undefined;
|
|
275
290
|
holderType?: CapTableHolderType | undefined;
|
|
276
291
|
holderName?: string | undefined;
|
|
277
292
|
holderEmail?: string | null | undefined;
|
|
@@ -301,6 +316,7 @@ export declare const CapTableEntryZod: z.ZodObject<{
|
|
|
301
316
|
investorAccountId: z.ZodNullable<z.ZodString>;
|
|
302
317
|
individualId: z.ZodNullable<z.ZodString>;
|
|
303
318
|
legalEntityId: z.ZodNullable<z.ZodString>;
|
|
319
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
304
320
|
signingDocumentId: z.ZodNullable<z.ZodString>;
|
|
305
321
|
signingStatus: z.ZodNativeEnum<typeof CapTableSigningStatus>;
|
|
306
322
|
createdByUserId: z.ZodString;
|
|
@@ -317,10 +333,11 @@ export declare const CapTableEntryZod: z.ZodObject<{
|
|
|
317
333
|
individualId: string | null;
|
|
318
334
|
legalEntityId: string | null;
|
|
319
335
|
investorAccountId: string | null;
|
|
336
|
+
shareClassId: string;
|
|
320
337
|
pricePerShare: number | null;
|
|
338
|
+
tradeId: string | null;
|
|
321
339
|
numberOfShares: number;
|
|
322
340
|
capTableId: string;
|
|
323
|
-
shareClassId: string;
|
|
324
341
|
holderType: CapTableHolderType;
|
|
325
342
|
holderName: string;
|
|
326
343
|
holderEmail: string | null;
|
|
@@ -343,10 +360,11 @@ export declare const CapTableEntryZod: z.ZodObject<{
|
|
|
343
360
|
individualId: string | null;
|
|
344
361
|
legalEntityId: string | null;
|
|
345
362
|
investorAccountId: string | null;
|
|
363
|
+
shareClassId: string;
|
|
346
364
|
pricePerShare: number | null;
|
|
365
|
+
tradeId: string | null;
|
|
347
366
|
numberOfShares: number;
|
|
348
367
|
capTableId: string;
|
|
349
|
-
shareClassId: string;
|
|
350
368
|
holderType: CapTableHolderType;
|
|
351
369
|
holderName: string;
|
|
352
370
|
holderEmail: string | null;
|
|
@@ -383,6 +401,7 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
383
401
|
investorAccountId: z.ZodNullable<z.ZodString>;
|
|
384
402
|
individualId: z.ZodNullable<z.ZodString>;
|
|
385
403
|
legalEntityId: z.ZodNullable<z.ZodString>;
|
|
404
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
386
405
|
signingDocumentId: z.ZodNullable<z.ZodString>;
|
|
387
406
|
signingStatus: z.ZodNativeEnum<typeof CapTableSigningStatus>;
|
|
388
407
|
createdByUserId: z.ZodString;
|
|
@@ -399,10 +418,11 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
399
418
|
individualId: string | null;
|
|
400
419
|
legalEntityId: string | null;
|
|
401
420
|
investorAccountId: string | null;
|
|
421
|
+
shareClassId: string;
|
|
402
422
|
pricePerShare: number | null;
|
|
423
|
+
tradeId: string | null;
|
|
403
424
|
numberOfShares: number;
|
|
404
425
|
capTableId: string;
|
|
405
|
-
shareClassId: string;
|
|
406
426
|
holderType: CapTableHolderType;
|
|
407
427
|
holderName: string;
|
|
408
428
|
holderEmail: string | null;
|
|
@@ -425,10 +445,11 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
425
445
|
individualId: string | null;
|
|
426
446
|
legalEntityId: string | null;
|
|
427
447
|
investorAccountId: string | null;
|
|
448
|
+
shareClassId: string;
|
|
428
449
|
pricePerShare: number | null;
|
|
450
|
+
tradeId: string | null;
|
|
429
451
|
numberOfShares: number;
|
|
430
452
|
capTableId: string;
|
|
431
|
-
shareClassId: string;
|
|
432
453
|
holderType: CapTableHolderType;
|
|
433
454
|
holderName: string;
|
|
434
455
|
holderEmail: string | null;
|
|
@@ -472,10 +493,11 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
472
493
|
individualId: string | null;
|
|
473
494
|
legalEntityId: string | null;
|
|
474
495
|
investorAccountId: string | null;
|
|
496
|
+
shareClassId: string;
|
|
475
497
|
pricePerShare: number | null;
|
|
498
|
+
tradeId: string | null;
|
|
476
499
|
numberOfShares: number;
|
|
477
500
|
capTableId: string;
|
|
478
|
-
shareClassId: string;
|
|
479
501
|
holderType: CapTableHolderType;
|
|
480
502
|
holderName: string;
|
|
481
503
|
holderEmail: string | null;
|
|
@@ -507,10 +529,11 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
507
529
|
individualId: string | null;
|
|
508
530
|
legalEntityId: string | null;
|
|
509
531
|
investorAccountId: string | null;
|
|
532
|
+
shareClassId: string;
|
|
510
533
|
pricePerShare: number | null;
|
|
534
|
+
tradeId: string | null;
|
|
511
535
|
numberOfShares: number;
|
|
512
536
|
capTableId: string;
|
|
513
|
-
shareClassId: string;
|
|
514
537
|
holderType: CapTableHolderType;
|
|
515
538
|
holderName: string;
|
|
516
539
|
holderEmail: string | null;
|
|
@@ -563,17 +586,17 @@ export declare const CapTableShareClassSummaryZod: z.ZodObject<{
|
|
|
563
586
|
remainingAuthorized: z.ZodNullable<z.ZodNumber>;
|
|
564
587
|
percentage: z.ZodNumber;
|
|
565
588
|
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
|
|
589
|
+
totalShares: number;
|
|
567
590
|
shareClassId: string;
|
|
591
|
+
totalAuthorized: number | null;
|
|
568
592
|
shareClassName: string;
|
|
569
|
-
totalShares: number;
|
|
570
593
|
remainingAuthorized: number | null;
|
|
571
594
|
percentage: number;
|
|
572
595
|
}, {
|
|
573
|
-
|
|
596
|
+
totalShares: number;
|
|
574
597
|
shareClassId: string;
|
|
598
|
+
totalAuthorized: number | null;
|
|
575
599
|
shareClassName: string;
|
|
576
|
-
totalShares: number;
|
|
577
600
|
remainingAuthorized: number | null;
|
|
578
601
|
percentage: number;
|
|
579
602
|
}>;
|
|
@@ -588,17 +611,17 @@ export declare const CapTableSummaryZod: z.ZodObject<{
|
|
|
588
611
|
remainingAuthorized: z.ZodNullable<z.ZodNumber>;
|
|
589
612
|
percentage: z.ZodNumber;
|
|
590
613
|
}, "strip", z.ZodTypeAny, {
|
|
591
|
-
|
|
614
|
+
totalShares: number;
|
|
592
615
|
shareClassId: string;
|
|
616
|
+
totalAuthorized: number | null;
|
|
593
617
|
shareClassName: string;
|
|
594
|
-
totalShares: number;
|
|
595
618
|
remainingAuthorized: number | null;
|
|
596
619
|
percentage: number;
|
|
597
620
|
}, {
|
|
598
|
-
|
|
621
|
+
totalShares: number;
|
|
599
622
|
shareClassId: string;
|
|
623
|
+
totalAuthorized: number | null;
|
|
600
624
|
shareClassName: string;
|
|
601
|
-
totalShares: number;
|
|
602
625
|
remainingAuthorized: number | null;
|
|
603
626
|
percentage: number;
|
|
604
627
|
}>, "many">;
|
|
@@ -618,14 +641,14 @@ export declare const CapTableSummaryZod: z.ZodObject<{
|
|
|
618
641
|
totalAuthorizedShares: z.ZodNullable<z.ZodNumber>;
|
|
619
642
|
stockConversionRate: z.ZodNullable<z.ZodNumber>;
|
|
620
643
|
}, "strip", z.ZodTypeAny, {
|
|
644
|
+
totalShares: number;
|
|
621
645
|
totalAuthorizedShares: number | null;
|
|
622
646
|
stockConversionRate: number | null;
|
|
623
|
-
totalShares: number;
|
|
624
647
|
totalSharesByClass: {
|
|
625
|
-
|
|
648
|
+
totalShares: number;
|
|
626
649
|
shareClassId: string;
|
|
650
|
+
totalAuthorized: number | null;
|
|
627
651
|
shareClassName: string;
|
|
628
|
-
totalShares: number;
|
|
629
652
|
remainingAuthorized: number | null;
|
|
630
653
|
percentage: number;
|
|
631
654
|
}[];
|
|
@@ -637,14 +660,14 @@ export declare const CapTableSummaryZod: z.ZodObject<{
|
|
|
637
660
|
pendingAllocations: number;
|
|
638
661
|
acceptedAllocations: number;
|
|
639
662
|
}, {
|
|
663
|
+
totalShares: number;
|
|
640
664
|
totalAuthorizedShares: number | null;
|
|
641
665
|
stockConversionRate: number | null;
|
|
642
|
-
totalShares: number;
|
|
643
666
|
totalSharesByClass: {
|
|
644
|
-
|
|
667
|
+
totalShares: number;
|
|
645
668
|
shareClassId: string;
|
|
669
|
+
totalAuthorized: number | null;
|
|
646
670
|
shareClassName: string;
|
|
647
|
-
totalShares: number;
|
|
648
671
|
remainingAuthorized: number | null;
|
|
649
672
|
percentage: number;
|
|
650
673
|
}[];
|
|
@@ -665,20 +688,23 @@ export declare const CapTableHolderAllocationZod: z.ZodObject<{
|
|
|
665
688
|
allocationDate: z.ZodString;
|
|
666
689
|
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
667
690
|
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
691
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
668
692
|
}, "strip", z.ZodTypeAny, {
|
|
669
693
|
status: CapTableEntryStatus;
|
|
670
694
|
id: string;
|
|
671
695
|
source: CapTableEntrySource;
|
|
672
|
-
numberOfShares: number;
|
|
673
696
|
shareClassId: string;
|
|
697
|
+
tradeId: string | null;
|
|
698
|
+
numberOfShares: number;
|
|
674
699
|
allocationDate: string;
|
|
675
700
|
shareClassName: string;
|
|
676
701
|
}, {
|
|
677
702
|
status: CapTableEntryStatus;
|
|
678
703
|
id: string;
|
|
679
704
|
source: CapTableEntrySource;
|
|
680
|
-
numberOfShares: number;
|
|
681
705
|
shareClassId: string;
|
|
706
|
+
tradeId: string | null;
|
|
707
|
+
numberOfShares: number;
|
|
682
708
|
allocationDate: string;
|
|
683
709
|
shareClassName: string;
|
|
684
710
|
}>;
|
|
@@ -689,15 +715,15 @@ export declare const CapTableHolderSharesByClassZod: z.ZodObject<{
|
|
|
689
715
|
shares: z.ZodNumber;
|
|
690
716
|
percentage: z.ZodNumber;
|
|
691
717
|
}, "strip", z.ZodTypeAny, {
|
|
692
|
-
shares: number;
|
|
693
718
|
shareClassId: string;
|
|
694
719
|
shareClassName: string;
|
|
695
720
|
percentage: number;
|
|
696
|
-
}, {
|
|
697
721
|
shares: number;
|
|
722
|
+
}, {
|
|
698
723
|
shareClassId: string;
|
|
699
724
|
shareClassName: string;
|
|
700
725
|
percentage: number;
|
|
726
|
+
shares: number;
|
|
701
727
|
}>;
|
|
702
728
|
export type CapTableHolderSharesByClassZod = z.infer<typeof CapTableHolderSharesByClassZod>;
|
|
703
729
|
export declare const CapTableHolderZod: z.ZodObject<{
|
|
@@ -713,15 +739,15 @@ export declare const CapTableHolderZod: z.ZodObject<{
|
|
|
713
739
|
shares: z.ZodNumber;
|
|
714
740
|
percentage: z.ZodNumber;
|
|
715
741
|
}, "strip", z.ZodTypeAny, {
|
|
716
|
-
shares: number;
|
|
717
742
|
shareClassId: string;
|
|
718
743
|
shareClassName: string;
|
|
719
744
|
percentage: number;
|
|
720
|
-
}, {
|
|
721
745
|
shares: number;
|
|
746
|
+
}, {
|
|
722
747
|
shareClassId: string;
|
|
723
748
|
shareClassName: string;
|
|
724
749
|
percentage: number;
|
|
750
|
+
shares: number;
|
|
725
751
|
}>, "many">;
|
|
726
752
|
allocations: z.ZodArray<z.ZodObject<{
|
|
727
753
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -731,69 +757,177 @@ export declare const CapTableHolderZod: z.ZodObject<{
|
|
|
731
757
|
allocationDate: z.ZodString;
|
|
732
758
|
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
733
759
|
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
760
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
734
761
|
}, "strip", z.ZodTypeAny, {
|
|
735
762
|
status: CapTableEntryStatus;
|
|
736
763
|
id: string;
|
|
737
764
|
source: CapTableEntrySource;
|
|
738
|
-
numberOfShares: number;
|
|
739
765
|
shareClassId: string;
|
|
766
|
+
tradeId: string | null;
|
|
767
|
+
numberOfShares: number;
|
|
740
768
|
allocationDate: string;
|
|
741
769
|
shareClassName: string;
|
|
742
770
|
}, {
|
|
743
771
|
status: CapTableEntryStatus;
|
|
744
772
|
id: string;
|
|
745
773
|
source: CapTableEntrySource;
|
|
746
|
-
numberOfShares: number;
|
|
747
774
|
shareClassId: string;
|
|
775
|
+
tradeId: string | null;
|
|
776
|
+
numberOfShares: number;
|
|
748
777
|
allocationDate: string;
|
|
749
778
|
shareClassName: string;
|
|
750
779
|
}>, "many">;
|
|
751
780
|
}, "strip", z.ZodTypeAny, {
|
|
752
781
|
investorAccountId: string | null;
|
|
782
|
+
totalShares: number;
|
|
753
783
|
holderType: CapTableHolderType;
|
|
754
784
|
holderName: string;
|
|
755
785
|
holderEmail: string | null;
|
|
756
|
-
totalShares: number;
|
|
757
786
|
totalSharesByClass: {
|
|
758
|
-
shares: number;
|
|
759
787
|
shareClassId: string;
|
|
760
788
|
shareClassName: string;
|
|
761
789
|
percentage: number;
|
|
790
|
+
shares: number;
|
|
762
791
|
}[];
|
|
763
792
|
holderId: string;
|
|
764
793
|
allocations: {
|
|
765
794
|
status: CapTableEntryStatus;
|
|
766
795
|
id: string;
|
|
767
796
|
source: CapTableEntrySource;
|
|
768
|
-
numberOfShares: number;
|
|
769
797
|
shareClassId: string;
|
|
798
|
+
tradeId: string | null;
|
|
799
|
+
numberOfShares: number;
|
|
770
800
|
allocationDate: string;
|
|
771
801
|
shareClassName: string;
|
|
772
802
|
}[];
|
|
773
803
|
}, {
|
|
774
804
|
investorAccountId: string | null;
|
|
805
|
+
totalShares: number;
|
|
775
806
|
holderType: CapTableHolderType;
|
|
776
807
|
holderName: string;
|
|
777
808
|
holderEmail: string | null;
|
|
778
|
-
totalShares: number;
|
|
779
809
|
totalSharesByClass: {
|
|
810
|
+
shareClassId: string;
|
|
811
|
+
shareClassName: string;
|
|
812
|
+
percentage: number;
|
|
780
813
|
shares: number;
|
|
814
|
+
}[];
|
|
815
|
+
holderId: string;
|
|
816
|
+
allocations: {
|
|
817
|
+
status: CapTableEntryStatus;
|
|
818
|
+
id: string;
|
|
819
|
+
source: CapTableEntrySource;
|
|
820
|
+
shareClassId: string;
|
|
821
|
+
tradeId: string | null;
|
|
822
|
+
numberOfShares: number;
|
|
823
|
+
allocationDate: string;
|
|
824
|
+
shareClassName: string;
|
|
825
|
+
}[];
|
|
826
|
+
}>;
|
|
827
|
+
export type CapTableHolderZod = z.infer<typeof CapTableHolderZod>;
|
|
828
|
+
export declare const CapTableHolderDetailZod: z.ZodObject<{
|
|
829
|
+
holderId: z.ZodString;
|
|
830
|
+
holderName: z.ZodString;
|
|
831
|
+
holderEmail: z.ZodNullable<z.ZodString>;
|
|
832
|
+
holderType: z.ZodNativeEnum<typeof CapTableHolderType>;
|
|
833
|
+
investorAccountId: z.ZodNullable<z.ZodString>;
|
|
834
|
+
totalShares: z.ZodNumber;
|
|
835
|
+
totalSharesByClass: z.ZodArray<z.ZodObject<{
|
|
836
|
+
shareClassId: z.ZodString;
|
|
837
|
+
shareClassName: z.ZodString;
|
|
838
|
+
shares: z.ZodNumber;
|
|
839
|
+
percentage: z.ZodNumber;
|
|
840
|
+
}, "strip", z.ZodTypeAny, {
|
|
841
|
+
shareClassId: string;
|
|
842
|
+
shareClassName: string;
|
|
843
|
+
percentage: number;
|
|
844
|
+
shares: number;
|
|
845
|
+
}, {
|
|
781
846
|
shareClassId: string;
|
|
782
847
|
shareClassName: string;
|
|
783
848
|
percentage: number;
|
|
849
|
+
shares: number;
|
|
850
|
+
}>, "many">;
|
|
851
|
+
allocations: z.ZodArray<z.ZodObject<{
|
|
852
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
853
|
+
shareClassId: z.ZodString;
|
|
854
|
+
shareClassName: z.ZodString;
|
|
855
|
+
numberOfShares: z.ZodNumber;
|
|
856
|
+
allocationDate: z.ZodString;
|
|
857
|
+
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
858
|
+
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
859
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
860
|
+
}, "strip", z.ZodTypeAny, {
|
|
861
|
+
status: CapTableEntryStatus;
|
|
862
|
+
id: string;
|
|
863
|
+
source: CapTableEntrySource;
|
|
864
|
+
shareClassId: string;
|
|
865
|
+
tradeId: string | null;
|
|
866
|
+
numberOfShares: number;
|
|
867
|
+
allocationDate: string;
|
|
868
|
+
shareClassName: string;
|
|
869
|
+
}, {
|
|
870
|
+
status: CapTableEntryStatus;
|
|
871
|
+
id: string;
|
|
872
|
+
source: CapTableEntrySource;
|
|
873
|
+
shareClassId: string;
|
|
874
|
+
tradeId: string | null;
|
|
875
|
+
numberOfShares: number;
|
|
876
|
+
allocationDate: string;
|
|
877
|
+
shareClassName: string;
|
|
878
|
+
}>, "many">;
|
|
879
|
+
} & {
|
|
880
|
+
ownershipPercentage: z.ZodNumber;
|
|
881
|
+
}, "strip", z.ZodTypeAny, {
|
|
882
|
+
investorAccountId: string | null;
|
|
883
|
+
totalShares: number;
|
|
884
|
+
holderType: CapTableHolderType;
|
|
885
|
+
holderName: string;
|
|
886
|
+
holderEmail: string | null;
|
|
887
|
+
totalSharesByClass: {
|
|
888
|
+
shareClassId: string;
|
|
889
|
+
shareClassName: string;
|
|
890
|
+
percentage: number;
|
|
891
|
+
shares: number;
|
|
784
892
|
}[];
|
|
785
893
|
holderId: string;
|
|
786
894
|
allocations: {
|
|
787
895
|
status: CapTableEntryStatus;
|
|
788
896
|
id: string;
|
|
789
897
|
source: CapTableEntrySource;
|
|
898
|
+
shareClassId: string;
|
|
899
|
+
tradeId: string | null;
|
|
790
900
|
numberOfShares: number;
|
|
901
|
+
allocationDate: string;
|
|
902
|
+
shareClassName: string;
|
|
903
|
+
}[];
|
|
904
|
+
ownershipPercentage: number;
|
|
905
|
+
}, {
|
|
906
|
+
investorAccountId: string | null;
|
|
907
|
+
totalShares: number;
|
|
908
|
+
holderType: CapTableHolderType;
|
|
909
|
+
holderName: string;
|
|
910
|
+
holderEmail: string | null;
|
|
911
|
+
totalSharesByClass: {
|
|
791
912
|
shareClassId: string;
|
|
913
|
+
shareClassName: string;
|
|
914
|
+
percentage: number;
|
|
915
|
+
shares: number;
|
|
916
|
+
}[];
|
|
917
|
+
holderId: string;
|
|
918
|
+
allocations: {
|
|
919
|
+
status: CapTableEntryStatus;
|
|
920
|
+
id: string;
|
|
921
|
+
source: CapTableEntrySource;
|
|
922
|
+
shareClassId: string;
|
|
923
|
+
tradeId: string | null;
|
|
924
|
+
numberOfShares: number;
|
|
792
925
|
allocationDate: string;
|
|
793
926
|
shareClassName: string;
|
|
794
927
|
}[];
|
|
928
|
+
ownershipPercentage: number;
|
|
795
929
|
}>;
|
|
796
|
-
export type
|
|
930
|
+
export type CapTableHolderDetailZod = z.infer<typeof CapTableHolderDetailZod>;
|
|
797
931
|
export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
798
932
|
items: z.ZodArray<z.ZodObject<{
|
|
799
933
|
holderId: z.ZodString;
|
|
@@ -808,15 +942,15 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
808
942
|
shares: z.ZodNumber;
|
|
809
943
|
percentage: z.ZodNumber;
|
|
810
944
|
}, "strip", z.ZodTypeAny, {
|
|
811
|
-
shares: number;
|
|
812
945
|
shareClassId: string;
|
|
813
946
|
shareClassName: string;
|
|
814
947
|
percentage: number;
|
|
815
|
-
}, {
|
|
816
948
|
shares: number;
|
|
949
|
+
}, {
|
|
817
950
|
shareClassId: string;
|
|
818
951
|
shareClassName: string;
|
|
819
952
|
percentage: number;
|
|
953
|
+
shares: number;
|
|
820
954
|
}>, "many">;
|
|
821
955
|
allocations: z.ZodArray<z.ZodObject<{
|
|
822
956
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -826,64 +960,69 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
826
960
|
allocationDate: z.ZodString;
|
|
827
961
|
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
828
962
|
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
963
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
829
964
|
}, "strip", z.ZodTypeAny, {
|
|
830
965
|
status: CapTableEntryStatus;
|
|
831
966
|
id: string;
|
|
832
967
|
source: CapTableEntrySource;
|
|
833
|
-
numberOfShares: number;
|
|
834
968
|
shareClassId: string;
|
|
969
|
+
tradeId: string | null;
|
|
970
|
+
numberOfShares: number;
|
|
835
971
|
allocationDate: string;
|
|
836
972
|
shareClassName: string;
|
|
837
973
|
}, {
|
|
838
974
|
status: CapTableEntryStatus;
|
|
839
975
|
id: string;
|
|
840
976
|
source: CapTableEntrySource;
|
|
841
|
-
numberOfShares: number;
|
|
842
977
|
shareClassId: string;
|
|
978
|
+
tradeId: string | null;
|
|
979
|
+
numberOfShares: number;
|
|
843
980
|
allocationDate: string;
|
|
844
981
|
shareClassName: string;
|
|
845
982
|
}>, "many">;
|
|
846
983
|
}, "strip", z.ZodTypeAny, {
|
|
847
984
|
investorAccountId: string | null;
|
|
985
|
+
totalShares: number;
|
|
848
986
|
holderType: CapTableHolderType;
|
|
849
987
|
holderName: string;
|
|
850
988
|
holderEmail: string | null;
|
|
851
|
-
totalShares: number;
|
|
852
989
|
totalSharesByClass: {
|
|
853
|
-
shares: number;
|
|
854
990
|
shareClassId: string;
|
|
855
991
|
shareClassName: string;
|
|
856
992
|
percentage: number;
|
|
993
|
+
shares: number;
|
|
857
994
|
}[];
|
|
858
995
|
holderId: string;
|
|
859
996
|
allocations: {
|
|
860
997
|
status: CapTableEntryStatus;
|
|
861
998
|
id: string;
|
|
862
999
|
source: CapTableEntrySource;
|
|
863
|
-
numberOfShares: number;
|
|
864
1000
|
shareClassId: string;
|
|
1001
|
+
tradeId: string | null;
|
|
1002
|
+
numberOfShares: number;
|
|
865
1003
|
allocationDate: string;
|
|
866
1004
|
shareClassName: string;
|
|
867
1005
|
}[];
|
|
868
1006
|
}, {
|
|
869
1007
|
investorAccountId: string | null;
|
|
1008
|
+
totalShares: number;
|
|
870
1009
|
holderType: CapTableHolderType;
|
|
871
1010
|
holderName: string;
|
|
872
1011
|
holderEmail: string | null;
|
|
873
|
-
totalShares: number;
|
|
874
1012
|
totalSharesByClass: {
|
|
875
|
-
shares: number;
|
|
876
1013
|
shareClassId: string;
|
|
877
1014
|
shareClassName: string;
|
|
878
1015
|
percentage: number;
|
|
1016
|
+
shares: number;
|
|
879
1017
|
}[];
|
|
880
1018
|
holderId: string;
|
|
881
1019
|
allocations: {
|
|
882
1020
|
status: CapTableEntryStatus;
|
|
883
1021
|
id: string;
|
|
884
1022
|
source: CapTableEntrySource;
|
|
885
|
-
numberOfShares: number;
|
|
886
1023
|
shareClassId: string;
|
|
1024
|
+
tradeId: string | null;
|
|
1025
|
+
numberOfShares: number;
|
|
887
1026
|
allocationDate: string;
|
|
888
1027
|
shareClassName: string;
|
|
889
1028
|
}[];
|
|
@@ -910,23 +1049,24 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
910
1049
|
}, "strip", z.ZodTypeAny, {
|
|
911
1050
|
items: {
|
|
912
1051
|
investorAccountId: string | null;
|
|
1052
|
+
totalShares: number;
|
|
913
1053
|
holderType: CapTableHolderType;
|
|
914
1054
|
holderName: string;
|
|
915
1055
|
holderEmail: string | null;
|
|
916
|
-
totalShares: number;
|
|
917
1056
|
totalSharesByClass: {
|
|
918
|
-
shares: number;
|
|
919
1057
|
shareClassId: string;
|
|
920
1058
|
shareClassName: string;
|
|
921
1059
|
percentage: number;
|
|
1060
|
+
shares: number;
|
|
922
1061
|
}[];
|
|
923
1062
|
holderId: string;
|
|
924
1063
|
allocations: {
|
|
925
1064
|
status: CapTableEntryStatus;
|
|
926
1065
|
id: string;
|
|
927
1066
|
source: CapTableEntrySource;
|
|
928
|
-
numberOfShares: number;
|
|
929
1067
|
shareClassId: string;
|
|
1068
|
+
tradeId: string | null;
|
|
1069
|
+
numberOfShares: number;
|
|
930
1070
|
allocationDate: string;
|
|
931
1071
|
shareClassName: string;
|
|
932
1072
|
}[];
|
|
@@ -941,23 +1081,24 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
941
1081
|
}, {
|
|
942
1082
|
items: {
|
|
943
1083
|
investorAccountId: string | null;
|
|
1084
|
+
totalShares: number;
|
|
944
1085
|
holderType: CapTableHolderType;
|
|
945
1086
|
holderName: string;
|
|
946
1087
|
holderEmail: string | null;
|
|
947
|
-
totalShares: number;
|
|
948
1088
|
totalSharesByClass: {
|
|
949
|
-
shares: number;
|
|
950
1089
|
shareClassId: string;
|
|
951
1090
|
shareClassName: string;
|
|
952
1091
|
percentage: number;
|
|
1092
|
+
shares: number;
|
|
953
1093
|
}[];
|
|
954
1094
|
holderId: string;
|
|
955
1095
|
allocations: {
|
|
956
1096
|
status: CapTableEntryStatus;
|
|
957
1097
|
id: string;
|
|
958
1098
|
source: CapTableEntrySource;
|
|
959
|
-
numberOfShares: number;
|
|
960
1099
|
shareClassId: string;
|
|
1100
|
+
tradeId: string | null;
|
|
1101
|
+
numberOfShares: number;
|
|
961
1102
|
allocationDate: string;
|
|
962
1103
|
shareClassName: string;
|
|
963
1104
|
}[];
|
|
@@ -1122,3 +1263,49 @@ export declare const CsvImportResultZod: z.ZodObject<{
|
|
|
1122
1263
|
failedRows: number;
|
|
1123
1264
|
}>;
|
|
1124
1265
|
export type CsvImportResultZod = z.infer<typeof CsvImportResultZod>;
|
|
1266
|
+
export declare const CsvTemplateResponseZod: z.ZodObject<{
|
|
1267
|
+
template: z.ZodString;
|
|
1268
|
+
headers: z.ZodArray<z.ZodString, "many">;
|
|
1269
|
+
}, "strip", z.ZodTypeAny, {
|
|
1270
|
+
headers: string[];
|
|
1271
|
+
template: string;
|
|
1272
|
+
}, {
|
|
1273
|
+
headers: string[];
|
|
1274
|
+
template: string;
|
|
1275
|
+
}>;
|
|
1276
|
+
export type CsvTemplateResponseZod = z.infer<typeof CsvTemplateResponseZod>;
|
|
1277
|
+
export declare const InvestorHoldingZod: z.ZodObject<{
|
|
1278
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1279
|
+
shareClassName: z.ZodString;
|
|
1280
|
+
numberOfShares: z.ZodNumber;
|
|
1281
|
+
pricePerShare: z.ZodNullable<z.ZodNumber>;
|
|
1282
|
+
allocationDate: z.ZodDate;
|
|
1283
|
+
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
1284
|
+
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
1285
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
1286
|
+
offeringName: z.ZodNullable<z.ZodString>;
|
|
1287
|
+
issuerName: z.ZodNullable<z.ZodString>;
|
|
1288
|
+
}, "strip", z.ZodTypeAny, {
|
|
1289
|
+
status: CapTableEntryStatus;
|
|
1290
|
+
id: string;
|
|
1291
|
+
source: CapTableEntrySource;
|
|
1292
|
+
pricePerShare: number | null;
|
|
1293
|
+
tradeId: string | null;
|
|
1294
|
+
numberOfShares: number;
|
|
1295
|
+
allocationDate: Date;
|
|
1296
|
+
shareClassName: string;
|
|
1297
|
+
offeringName: string | null;
|
|
1298
|
+
issuerName: string | null;
|
|
1299
|
+
}, {
|
|
1300
|
+
status: CapTableEntryStatus;
|
|
1301
|
+
id: string;
|
|
1302
|
+
source: CapTableEntrySource;
|
|
1303
|
+
pricePerShare: number | null;
|
|
1304
|
+
tradeId: string | null;
|
|
1305
|
+
numberOfShares: number;
|
|
1306
|
+
allocationDate: Date;
|
|
1307
|
+
shareClassName: string;
|
|
1308
|
+
offeringName: string | null;
|
|
1309
|
+
issuerName: string | null;
|
|
1310
|
+
}>;
|
|
1311
|
+
export type InvestorHoldingZod = z.infer<typeof InvestorHoldingZod>;
|