@dalmore/api-contracts 0.0.0-dev.685c0b3 → 0.0.0-dev.6d952b2
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 +46 -26
- package/common/types/account-setting.types.js +2 -23
- package/common/types/account-setting.types.js.map +1 -1
- package/common/types/account.types.d.ts +63 -18
- package/common/types/account.types.js +7 -3
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +36 -25
- package/common/types/activity.types.js +14 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +212 -0
- package/common/types/asset.types.js +115 -42
- 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 +37 -1
- package/common/types/auth.types.js +4 -3
- package/common/types/auth.types.js.map +1 -1
- package/common/types/bonus-tier.types.d.ts +15 -4
- package/common/types/bonus-tier.types.js +14 -7
- package/common/types/bonus-tier.types.js.map +1 -1
- package/common/types/cap-table.types.d.ts +256 -61
- 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 +375 -9
- package/common/types/common.types.js +85 -4
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +145 -478
- package/common/types/comply-advantage-api.types.js +24 -3
- package/common/types/comply-advantage-api.types.js.map +1 -1
- 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/data-record.types.d.ts +4 -4
- 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 +1642 -412
- package/common/types/disbursements.types.js +142 -3
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/escrow-account.types.d.ts +17 -0
- package/common/types/escrow-account.types.js +3 -0
- package/common/types/escrow-account.types.js.map +1 -1
- package/common/types/exchange-provider.types.d.ts +12 -12
- package/common/types/file.types.d.ts +38 -11
- package/common/types/file.types.js +14 -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 +16 -16
- package/common/types/individuals.types.js.map +1 -1
- package/common/types/investor-account.types.d.ts +5 -5
- 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-bank-account.types.d.ts +4 -276
- package/common/types/issuer-offering.types.d.ts +1007 -16
- package/common/types/issuer-offering.types.js +304 -43
- 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 +85 -4
- package/common/types/mail-template.types.js +130 -0
- package/common/types/mail-template.types.js.map +1 -1
- 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 +555 -31
- package/common/types/offering.types.js +355 -28
- 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/signer.types.d.ts +23 -11
- package/common/types/signer.types.js +16 -1
- package/common/types/signer.types.js.map +1 -1
- package/common/types/site.types.d.ts +17 -12
- 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 +42 -1
- package/common/types/trade-line-item.types.js +15 -1
- package/common/types/trade-line-item.types.js.map +1 -1
- package/common/types/trade.types.d.ts +84 -59
- package/common/types/trade.types.js +31 -11
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +104 -3
- package/common/types/transaction.types.js +48 -3
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +108 -77
- package/common/types/user.types.js +10 -22
- 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 +22 -0
- 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 +4265 -1060
- 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 +310 -9
- 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/trades/index.d.ts +9 -3
- 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
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* BoldSign event → cap table status mapping type.
|
|
4
|
+
* Used by CapTableSigningService to map webhook events to internal statuses.
|
|
5
|
+
*/
|
|
6
|
+
export type BoldSignEventMapping = Record<string, {
|
|
7
|
+
signingStatus: CapTableSigningStatus;
|
|
8
|
+
entryStatus?: CapTableEntryStatus;
|
|
9
|
+
}>;
|
|
2
10
|
export declare enum CapTableStatus {
|
|
3
11
|
DRAFT = "DRAFT",
|
|
4
12
|
ACTIVE = "ACTIVE",
|
|
@@ -32,12 +40,27 @@ export declare enum CapTableSigningStatus {
|
|
|
32
40
|
export declare const capTableIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
33
41
|
export declare const capShareClassIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
34
42
|
export declare const capEntryIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
43
|
+
/**
|
|
44
|
+
* Optional issuer ID filter. Required when account has multiple issuers.
|
|
45
|
+
* All cap table endpoints should accept this to scope to a specific issuer.
|
|
46
|
+
*/
|
|
47
|
+
export declare const IssuerIdFilterQuery: z.ZodObject<{
|
|
48
|
+
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
issuerId?: string | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
issuerId?: string | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
export type IssuerIdFilterQuery = z.infer<typeof IssuerIdFilterQuery>;
|
|
35
55
|
export declare const CapTableIncludeQuery: z.ZodObject<{
|
|
36
56
|
include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
|
|
57
|
+
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
37
58
|
}, "strip", z.ZodTypeAny, {
|
|
38
59
|
include: string[];
|
|
60
|
+
issuerId?: string | undefined;
|
|
39
61
|
}, {
|
|
40
62
|
include?: string | undefined;
|
|
63
|
+
issuerId?: string | undefined;
|
|
41
64
|
}>;
|
|
42
65
|
export declare const CapTableEntryIncludeQuery: z.ZodObject<{
|
|
43
66
|
include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
|
|
@@ -217,8 +240,8 @@ export declare const CreateCapTableEntryZod: z.ZodObject<{
|
|
|
217
240
|
individualId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
241
|
legalEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
242
|
}, "strip", z.ZodTypeAny, {
|
|
220
|
-
numberOfShares: number;
|
|
221
243
|
shareClassId: string;
|
|
244
|
+
numberOfShares: number;
|
|
222
245
|
holderType: CapTableHolderType;
|
|
223
246
|
holderName: string;
|
|
224
247
|
allocationDate: string;
|
|
@@ -230,8 +253,8 @@ export declare const CreateCapTableEntryZod: z.ZodObject<{
|
|
|
230
253
|
holderEmail?: string | null | undefined;
|
|
231
254
|
certificateNumber?: string | null | undefined;
|
|
232
255
|
}, {
|
|
233
|
-
numberOfShares: number;
|
|
234
256
|
shareClassId: string;
|
|
257
|
+
numberOfShares: number;
|
|
235
258
|
holderType: CapTableHolderType;
|
|
236
259
|
holderName: string;
|
|
237
260
|
allocationDate: string;
|
|
@@ -258,9 +281,9 @@ export declare const UpdateCapTableEntryZod: z.ZodObject<{
|
|
|
258
281
|
}, "strip", z.ZodTypeAny, {
|
|
259
282
|
status?: CapTableEntryStatus | undefined;
|
|
260
283
|
notes?: string | null | undefined;
|
|
261
|
-
numberOfShares?: number | undefined;
|
|
262
|
-
pricePerShare?: number | null | undefined;
|
|
263
284
|
shareClassId?: string | undefined;
|
|
285
|
+
pricePerShare?: number | null | undefined;
|
|
286
|
+
numberOfShares?: number | undefined;
|
|
264
287
|
holderType?: CapTableHolderType | undefined;
|
|
265
288
|
holderName?: string | undefined;
|
|
266
289
|
holderEmail?: string | null | undefined;
|
|
@@ -269,9 +292,9 @@ export declare const UpdateCapTableEntryZod: z.ZodObject<{
|
|
|
269
292
|
}, {
|
|
270
293
|
status?: CapTableEntryStatus | undefined;
|
|
271
294
|
notes?: string | null | undefined;
|
|
272
|
-
numberOfShares?: number | undefined;
|
|
273
|
-
pricePerShare?: number | null | undefined;
|
|
274
295
|
shareClassId?: string | undefined;
|
|
296
|
+
pricePerShare?: number | null | undefined;
|
|
297
|
+
numberOfShares?: number | undefined;
|
|
275
298
|
holderType?: CapTableHolderType | undefined;
|
|
276
299
|
holderName?: string | undefined;
|
|
277
300
|
holderEmail?: string | null | undefined;
|
|
@@ -301,6 +324,7 @@ export declare const CapTableEntryZod: z.ZodObject<{
|
|
|
301
324
|
investorAccountId: z.ZodNullable<z.ZodString>;
|
|
302
325
|
individualId: z.ZodNullable<z.ZodString>;
|
|
303
326
|
legalEntityId: z.ZodNullable<z.ZodString>;
|
|
327
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
304
328
|
signingDocumentId: z.ZodNullable<z.ZodString>;
|
|
305
329
|
signingStatus: z.ZodNativeEnum<typeof CapTableSigningStatus>;
|
|
306
330
|
createdByUserId: z.ZodString;
|
|
@@ -317,10 +341,11 @@ export declare const CapTableEntryZod: z.ZodObject<{
|
|
|
317
341
|
individualId: string | null;
|
|
318
342
|
legalEntityId: string | null;
|
|
319
343
|
investorAccountId: string | null;
|
|
320
|
-
|
|
344
|
+
shareClassId: string;
|
|
321
345
|
pricePerShare: number | null;
|
|
346
|
+
tradeId: string | null;
|
|
347
|
+
numberOfShares: number;
|
|
322
348
|
capTableId: string;
|
|
323
|
-
shareClassId: string;
|
|
324
349
|
holderType: CapTableHolderType;
|
|
325
350
|
holderName: string;
|
|
326
351
|
holderEmail: string | null;
|
|
@@ -343,10 +368,11 @@ export declare const CapTableEntryZod: z.ZodObject<{
|
|
|
343
368
|
individualId: string | null;
|
|
344
369
|
legalEntityId: string | null;
|
|
345
370
|
investorAccountId: string | null;
|
|
346
|
-
|
|
371
|
+
shareClassId: string;
|
|
347
372
|
pricePerShare: number | null;
|
|
373
|
+
tradeId: string | null;
|
|
374
|
+
numberOfShares: number;
|
|
348
375
|
capTableId: string;
|
|
349
|
-
shareClassId: string;
|
|
350
376
|
holderType: CapTableHolderType;
|
|
351
377
|
holderName: string;
|
|
352
378
|
holderEmail: string | null;
|
|
@@ -383,6 +409,7 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
383
409
|
investorAccountId: z.ZodNullable<z.ZodString>;
|
|
384
410
|
individualId: z.ZodNullable<z.ZodString>;
|
|
385
411
|
legalEntityId: z.ZodNullable<z.ZodString>;
|
|
412
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
386
413
|
signingDocumentId: z.ZodNullable<z.ZodString>;
|
|
387
414
|
signingStatus: z.ZodNativeEnum<typeof CapTableSigningStatus>;
|
|
388
415
|
createdByUserId: z.ZodString;
|
|
@@ -399,10 +426,11 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
399
426
|
individualId: string | null;
|
|
400
427
|
legalEntityId: string | null;
|
|
401
428
|
investorAccountId: string | null;
|
|
402
|
-
|
|
429
|
+
shareClassId: string;
|
|
403
430
|
pricePerShare: number | null;
|
|
431
|
+
tradeId: string | null;
|
|
432
|
+
numberOfShares: number;
|
|
404
433
|
capTableId: string;
|
|
405
|
-
shareClassId: string;
|
|
406
434
|
holderType: CapTableHolderType;
|
|
407
435
|
holderName: string;
|
|
408
436
|
holderEmail: string | null;
|
|
@@ -425,10 +453,11 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
425
453
|
individualId: string | null;
|
|
426
454
|
legalEntityId: string | null;
|
|
427
455
|
investorAccountId: string | null;
|
|
428
|
-
|
|
456
|
+
shareClassId: string;
|
|
429
457
|
pricePerShare: number | null;
|
|
458
|
+
tradeId: string | null;
|
|
459
|
+
numberOfShares: number;
|
|
430
460
|
capTableId: string;
|
|
431
|
-
shareClassId: string;
|
|
432
461
|
holderType: CapTableHolderType;
|
|
433
462
|
holderName: string;
|
|
434
463
|
holderEmail: string | null;
|
|
@@ -472,10 +501,11 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
472
501
|
individualId: string | null;
|
|
473
502
|
legalEntityId: string | null;
|
|
474
503
|
investorAccountId: string | null;
|
|
475
|
-
|
|
504
|
+
shareClassId: string;
|
|
476
505
|
pricePerShare: number | null;
|
|
506
|
+
tradeId: string | null;
|
|
507
|
+
numberOfShares: number;
|
|
477
508
|
capTableId: string;
|
|
478
|
-
shareClassId: string;
|
|
479
509
|
holderType: CapTableHolderType;
|
|
480
510
|
holderName: string;
|
|
481
511
|
holderEmail: string | null;
|
|
@@ -507,10 +537,11 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
507
537
|
individualId: string | null;
|
|
508
538
|
legalEntityId: string | null;
|
|
509
539
|
investorAccountId: string | null;
|
|
510
|
-
|
|
540
|
+
shareClassId: string;
|
|
511
541
|
pricePerShare: number | null;
|
|
542
|
+
tradeId: string | null;
|
|
543
|
+
numberOfShares: number;
|
|
512
544
|
capTableId: string;
|
|
513
|
-
shareClassId: string;
|
|
514
545
|
holderType: CapTableHolderType;
|
|
515
546
|
holderName: string;
|
|
516
547
|
holderEmail: string | null;
|
|
@@ -563,17 +594,17 @@ export declare const CapTableShareClassSummaryZod: z.ZodObject<{
|
|
|
563
594
|
remainingAuthorized: z.ZodNullable<z.ZodNumber>;
|
|
564
595
|
percentage: z.ZodNumber;
|
|
565
596
|
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
|
|
597
|
+
totalShares: number;
|
|
567
598
|
shareClassId: string;
|
|
599
|
+
totalAuthorized: number | null;
|
|
568
600
|
shareClassName: string;
|
|
569
|
-
totalShares: number;
|
|
570
601
|
remainingAuthorized: number | null;
|
|
571
602
|
percentage: number;
|
|
572
603
|
}, {
|
|
573
|
-
|
|
604
|
+
totalShares: number;
|
|
574
605
|
shareClassId: string;
|
|
606
|
+
totalAuthorized: number | null;
|
|
575
607
|
shareClassName: string;
|
|
576
|
-
totalShares: number;
|
|
577
608
|
remainingAuthorized: number | null;
|
|
578
609
|
percentage: number;
|
|
579
610
|
}>;
|
|
@@ -588,17 +619,17 @@ export declare const CapTableSummaryZod: z.ZodObject<{
|
|
|
588
619
|
remainingAuthorized: z.ZodNullable<z.ZodNumber>;
|
|
589
620
|
percentage: z.ZodNumber;
|
|
590
621
|
}, "strip", z.ZodTypeAny, {
|
|
591
|
-
|
|
622
|
+
totalShares: number;
|
|
592
623
|
shareClassId: string;
|
|
624
|
+
totalAuthorized: number | null;
|
|
593
625
|
shareClassName: string;
|
|
594
|
-
totalShares: number;
|
|
595
626
|
remainingAuthorized: number | null;
|
|
596
627
|
percentage: number;
|
|
597
628
|
}, {
|
|
598
|
-
|
|
629
|
+
totalShares: number;
|
|
599
630
|
shareClassId: string;
|
|
631
|
+
totalAuthorized: number | null;
|
|
600
632
|
shareClassName: string;
|
|
601
|
-
totalShares: number;
|
|
602
633
|
remainingAuthorized: number | null;
|
|
603
634
|
percentage: number;
|
|
604
635
|
}>, "many">;
|
|
@@ -618,14 +649,14 @@ export declare const CapTableSummaryZod: z.ZodObject<{
|
|
|
618
649
|
totalAuthorizedShares: z.ZodNullable<z.ZodNumber>;
|
|
619
650
|
stockConversionRate: z.ZodNullable<z.ZodNumber>;
|
|
620
651
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
+
totalShares: number;
|
|
621
653
|
totalAuthorizedShares: number | null;
|
|
622
654
|
stockConversionRate: number | null;
|
|
623
|
-
totalShares: number;
|
|
624
655
|
totalSharesByClass: {
|
|
625
|
-
|
|
656
|
+
totalShares: number;
|
|
626
657
|
shareClassId: string;
|
|
658
|
+
totalAuthorized: number | null;
|
|
627
659
|
shareClassName: string;
|
|
628
|
-
totalShares: number;
|
|
629
660
|
remainingAuthorized: number | null;
|
|
630
661
|
percentage: number;
|
|
631
662
|
}[];
|
|
@@ -637,14 +668,14 @@ export declare const CapTableSummaryZod: z.ZodObject<{
|
|
|
637
668
|
pendingAllocations: number;
|
|
638
669
|
acceptedAllocations: number;
|
|
639
670
|
}, {
|
|
671
|
+
totalShares: number;
|
|
640
672
|
totalAuthorizedShares: number | null;
|
|
641
673
|
stockConversionRate: number | null;
|
|
642
|
-
totalShares: number;
|
|
643
674
|
totalSharesByClass: {
|
|
644
|
-
|
|
675
|
+
totalShares: number;
|
|
645
676
|
shareClassId: string;
|
|
677
|
+
totalAuthorized: number | null;
|
|
646
678
|
shareClassName: string;
|
|
647
|
-
totalShares: number;
|
|
648
679
|
remainingAuthorized: number | null;
|
|
649
680
|
percentage: number;
|
|
650
681
|
}[];
|
|
@@ -665,20 +696,23 @@ export declare const CapTableHolderAllocationZod: z.ZodObject<{
|
|
|
665
696
|
allocationDate: z.ZodString;
|
|
666
697
|
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
667
698
|
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
699
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
668
700
|
}, "strip", z.ZodTypeAny, {
|
|
669
701
|
status: CapTableEntryStatus;
|
|
670
702
|
id: string;
|
|
671
703
|
source: CapTableEntrySource;
|
|
672
|
-
numberOfShares: number;
|
|
673
704
|
shareClassId: string;
|
|
705
|
+
tradeId: string | null;
|
|
706
|
+
numberOfShares: number;
|
|
674
707
|
allocationDate: string;
|
|
675
708
|
shareClassName: string;
|
|
676
709
|
}, {
|
|
677
710
|
status: CapTableEntryStatus;
|
|
678
711
|
id: string;
|
|
679
712
|
source: CapTableEntrySource;
|
|
680
|
-
numberOfShares: number;
|
|
681
713
|
shareClassId: string;
|
|
714
|
+
tradeId: string | null;
|
|
715
|
+
numberOfShares: number;
|
|
682
716
|
allocationDate: string;
|
|
683
717
|
shareClassName: string;
|
|
684
718
|
}>;
|
|
@@ -689,15 +723,15 @@ export declare const CapTableHolderSharesByClassZod: z.ZodObject<{
|
|
|
689
723
|
shares: z.ZodNumber;
|
|
690
724
|
percentage: z.ZodNumber;
|
|
691
725
|
}, "strip", z.ZodTypeAny, {
|
|
692
|
-
shares: number;
|
|
693
726
|
shareClassId: string;
|
|
694
727
|
shareClassName: string;
|
|
695
728
|
percentage: number;
|
|
696
|
-
}, {
|
|
697
729
|
shares: number;
|
|
730
|
+
}, {
|
|
698
731
|
shareClassId: string;
|
|
699
732
|
shareClassName: string;
|
|
700
733
|
percentage: number;
|
|
734
|
+
shares: number;
|
|
701
735
|
}>;
|
|
702
736
|
export type CapTableHolderSharesByClassZod = z.infer<typeof CapTableHolderSharesByClassZod>;
|
|
703
737
|
export declare const CapTableHolderZod: z.ZodObject<{
|
|
@@ -713,15 +747,15 @@ export declare const CapTableHolderZod: z.ZodObject<{
|
|
|
713
747
|
shares: z.ZodNumber;
|
|
714
748
|
percentage: z.ZodNumber;
|
|
715
749
|
}, "strip", z.ZodTypeAny, {
|
|
716
|
-
shares: number;
|
|
717
750
|
shareClassId: string;
|
|
718
751
|
shareClassName: string;
|
|
719
752
|
percentage: number;
|
|
720
|
-
}, {
|
|
721
753
|
shares: number;
|
|
754
|
+
}, {
|
|
722
755
|
shareClassId: string;
|
|
723
756
|
shareClassName: string;
|
|
724
757
|
percentage: number;
|
|
758
|
+
shares: number;
|
|
725
759
|
}>, "many">;
|
|
726
760
|
allocations: z.ZodArray<z.ZodObject<{
|
|
727
761
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -731,69 +765,177 @@ export declare const CapTableHolderZod: z.ZodObject<{
|
|
|
731
765
|
allocationDate: z.ZodString;
|
|
732
766
|
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
733
767
|
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
768
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
734
769
|
}, "strip", z.ZodTypeAny, {
|
|
735
770
|
status: CapTableEntryStatus;
|
|
736
771
|
id: string;
|
|
737
772
|
source: CapTableEntrySource;
|
|
738
|
-
numberOfShares: number;
|
|
739
773
|
shareClassId: string;
|
|
774
|
+
tradeId: string | null;
|
|
775
|
+
numberOfShares: number;
|
|
740
776
|
allocationDate: string;
|
|
741
777
|
shareClassName: string;
|
|
742
778
|
}, {
|
|
743
779
|
status: CapTableEntryStatus;
|
|
744
780
|
id: string;
|
|
745
781
|
source: CapTableEntrySource;
|
|
746
|
-
numberOfShares: number;
|
|
747
782
|
shareClassId: string;
|
|
783
|
+
tradeId: string | null;
|
|
784
|
+
numberOfShares: number;
|
|
748
785
|
allocationDate: string;
|
|
749
786
|
shareClassName: string;
|
|
750
787
|
}>, "many">;
|
|
751
788
|
}, "strip", z.ZodTypeAny, {
|
|
752
789
|
investorAccountId: string | null;
|
|
790
|
+
totalShares: number;
|
|
753
791
|
holderType: CapTableHolderType;
|
|
754
792
|
holderName: string;
|
|
755
793
|
holderEmail: string | null;
|
|
756
|
-
totalShares: number;
|
|
757
794
|
totalSharesByClass: {
|
|
758
|
-
shares: number;
|
|
759
795
|
shareClassId: string;
|
|
760
796
|
shareClassName: string;
|
|
761
797
|
percentage: number;
|
|
798
|
+
shares: number;
|
|
762
799
|
}[];
|
|
763
800
|
holderId: string;
|
|
764
801
|
allocations: {
|
|
765
802
|
status: CapTableEntryStatus;
|
|
766
803
|
id: string;
|
|
767
804
|
source: CapTableEntrySource;
|
|
768
|
-
numberOfShares: number;
|
|
769
805
|
shareClassId: string;
|
|
806
|
+
tradeId: string | null;
|
|
807
|
+
numberOfShares: number;
|
|
770
808
|
allocationDate: string;
|
|
771
809
|
shareClassName: string;
|
|
772
810
|
}[];
|
|
773
811
|
}, {
|
|
774
812
|
investorAccountId: string | null;
|
|
813
|
+
totalShares: number;
|
|
775
814
|
holderType: CapTableHolderType;
|
|
776
815
|
holderName: string;
|
|
777
816
|
holderEmail: string | null;
|
|
778
|
-
totalShares: number;
|
|
779
817
|
totalSharesByClass: {
|
|
818
|
+
shareClassId: string;
|
|
819
|
+
shareClassName: string;
|
|
820
|
+
percentage: number;
|
|
780
821
|
shares: number;
|
|
822
|
+
}[];
|
|
823
|
+
holderId: string;
|
|
824
|
+
allocations: {
|
|
825
|
+
status: CapTableEntryStatus;
|
|
826
|
+
id: string;
|
|
827
|
+
source: CapTableEntrySource;
|
|
828
|
+
shareClassId: string;
|
|
829
|
+
tradeId: string | null;
|
|
830
|
+
numberOfShares: number;
|
|
831
|
+
allocationDate: string;
|
|
832
|
+
shareClassName: string;
|
|
833
|
+
}[];
|
|
834
|
+
}>;
|
|
835
|
+
export type CapTableHolderZod = z.infer<typeof CapTableHolderZod>;
|
|
836
|
+
export declare const CapTableHolderDetailZod: z.ZodObject<{
|
|
837
|
+
holderId: z.ZodString;
|
|
838
|
+
holderName: z.ZodString;
|
|
839
|
+
holderEmail: z.ZodNullable<z.ZodString>;
|
|
840
|
+
holderType: z.ZodNativeEnum<typeof CapTableHolderType>;
|
|
841
|
+
investorAccountId: z.ZodNullable<z.ZodString>;
|
|
842
|
+
totalShares: z.ZodNumber;
|
|
843
|
+
totalSharesByClass: z.ZodArray<z.ZodObject<{
|
|
844
|
+
shareClassId: z.ZodString;
|
|
845
|
+
shareClassName: z.ZodString;
|
|
846
|
+
shares: z.ZodNumber;
|
|
847
|
+
percentage: z.ZodNumber;
|
|
848
|
+
}, "strip", z.ZodTypeAny, {
|
|
781
849
|
shareClassId: string;
|
|
782
850
|
shareClassName: string;
|
|
783
851
|
percentage: number;
|
|
852
|
+
shares: number;
|
|
853
|
+
}, {
|
|
854
|
+
shareClassId: string;
|
|
855
|
+
shareClassName: string;
|
|
856
|
+
percentage: number;
|
|
857
|
+
shares: number;
|
|
858
|
+
}>, "many">;
|
|
859
|
+
allocations: z.ZodArray<z.ZodObject<{
|
|
860
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
861
|
+
shareClassId: z.ZodString;
|
|
862
|
+
shareClassName: z.ZodString;
|
|
863
|
+
numberOfShares: z.ZodNumber;
|
|
864
|
+
allocationDate: z.ZodString;
|
|
865
|
+
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
866
|
+
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
867
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
868
|
+
}, "strip", z.ZodTypeAny, {
|
|
869
|
+
status: CapTableEntryStatus;
|
|
870
|
+
id: string;
|
|
871
|
+
source: CapTableEntrySource;
|
|
872
|
+
shareClassId: string;
|
|
873
|
+
tradeId: string | null;
|
|
874
|
+
numberOfShares: number;
|
|
875
|
+
allocationDate: string;
|
|
876
|
+
shareClassName: string;
|
|
877
|
+
}, {
|
|
878
|
+
status: CapTableEntryStatus;
|
|
879
|
+
id: string;
|
|
880
|
+
source: CapTableEntrySource;
|
|
881
|
+
shareClassId: string;
|
|
882
|
+
tradeId: string | null;
|
|
883
|
+
numberOfShares: number;
|
|
884
|
+
allocationDate: string;
|
|
885
|
+
shareClassName: string;
|
|
886
|
+
}>, "many">;
|
|
887
|
+
} & {
|
|
888
|
+
ownershipPercentage: z.ZodNumber;
|
|
889
|
+
}, "strip", z.ZodTypeAny, {
|
|
890
|
+
investorAccountId: string | null;
|
|
891
|
+
totalShares: number;
|
|
892
|
+
holderType: CapTableHolderType;
|
|
893
|
+
holderName: string;
|
|
894
|
+
holderEmail: string | null;
|
|
895
|
+
totalSharesByClass: {
|
|
896
|
+
shareClassId: string;
|
|
897
|
+
shareClassName: string;
|
|
898
|
+
percentage: number;
|
|
899
|
+
shares: number;
|
|
784
900
|
}[];
|
|
785
901
|
holderId: string;
|
|
786
902
|
allocations: {
|
|
787
903
|
status: CapTableEntryStatus;
|
|
788
904
|
id: string;
|
|
789
905
|
source: CapTableEntrySource;
|
|
906
|
+
shareClassId: string;
|
|
907
|
+
tradeId: string | null;
|
|
790
908
|
numberOfShares: number;
|
|
909
|
+
allocationDate: string;
|
|
910
|
+
shareClassName: string;
|
|
911
|
+
}[];
|
|
912
|
+
ownershipPercentage: number;
|
|
913
|
+
}, {
|
|
914
|
+
investorAccountId: string | null;
|
|
915
|
+
totalShares: number;
|
|
916
|
+
holderType: CapTableHolderType;
|
|
917
|
+
holderName: string;
|
|
918
|
+
holderEmail: string | null;
|
|
919
|
+
totalSharesByClass: {
|
|
920
|
+
shareClassId: string;
|
|
921
|
+
shareClassName: string;
|
|
922
|
+
percentage: number;
|
|
923
|
+
shares: number;
|
|
924
|
+
}[];
|
|
925
|
+
holderId: string;
|
|
926
|
+
allocations: {
|
|
927
|
+
status: CapTableEntryStatus;
|
|
928
|
+
id: string;
|
|
929
|
+
source: CapTableEntrySource;
|
|
791
930
|
shareClassId: string;
|
|
931
|
+
tradeId: string | null;
|
|
932
|
+
numberOfShares: number;
|
|
792
933
|
allocationDate: string;
|
|
793
934
|
shareClassName: string;
|
|
794
935
|
}[];
|
|
936
|
+
ownershipPercentage: number;
|
|
795
937
|
}>;
|
|
796
|
-
export type
|
|
938
|
+
export type CapTableHolderDetailZod = z.infer<typeof CapTableHolderDetailZod>;
|
|
797
939
|
export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
798
940
|
items: z.ZodArray<z.ZodObject<{
|
|
799
941
|
holderId: z.ZodString;
|
|
@@ -808,15 +950,15 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
808
950
|
shares: z.ZodNumber;
|
|
809
951
|
percentage: z.ZodNumber;
|
|
810
952
|
}, "strip", z.ZodTypeAny, {
|
|
811
|
-
shares: number;
|
|
812
953
|
shareClassId: string;
|
|
813
954
|
shareClassName: string;
|
|
814
955
|
percentage: number;
|
|
815
|
-
}, {
|
|
816
956
|
shares: number;
|
|
957
|
+
}, {
|
|
817
958
|
shareClassId: string;
|
|
818
959
|
shareClassName: string;
|
|
819
960
|
percentage: number;
|
|
961
|
+
shares: number;
|
|
820
962
|
}>, "many">;
|
|
821
963
|
allocations: z.ZodArray<z.ZodObject<{
|
|
822
964
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -826,64 +968,69 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
826
968
|
allocationDate: z.ZodString;
|
|
827
969
|
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
828
970
|
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
971
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
829
972
|
}, "strip", z.ZodTypeAny, {
|
|
830
973
|
status: CapTableEntryStatus;
|
|
831
974
|
id: string;
|
|
832
975
|
source: CapTableEntrySource;
|
|
833
|
-
numberOfShares: number;
|
|
834
976
|
shareClassId: string;
|
|
977
|
+
tradeId: string | null;
|
|
978
|
+
numberOfShares: number;
|
|
835
979
|
allocationDate: string;
|
|
836
980
|
shareClassName: string;
|
|
837
981
|
}, {
|
|
838
982
|
status: CapTableEntryStatus;
|
|
839
983
|
id: string;
|
|
840
984
|
source: CapTableEntrySource;
|
|
841
|
-
numberOfShares: number;
|
|
842
985
|
shareClassId: string;
|
|
986
|
+
tradeId: string | null;
|
|
987
|
+
numberOfShares: number;
|
|
843
988
|
allocationDate: string;
|
|
844
989
|
shareClassName: string;
|
|
845
990
|
}>, "many">;
|
|
846
991
|
}, "strip", z.ZodTypeAny, {
|
|
847
992
|
investorAccountId: string | null;
|
|
993
|
+
totalShares: number;
|
|
848
994
|
holderType: CapTableHolderType;
|
|
849
995
|
holderName: string;
|
|
850
996
|
holderEmail: string | null;
|
|
851
|
-
totalShares: number;
|
|
852
997
|
totalSharesByClass: {
|
|
853
|
-
shares: number;
|
|
854
998
|
shareClassId: string;
|
|
855
999
|
shareClassName: string;
|
|
856
1000
|
percentage: number;
|
|
1001
|
+
shares: number;
|
|
857
1002
|
}[];
|
|
858
1003
|
holderId: string;
|
|
859
1004
|
allocations: {
|
|
860
1005
|
status: CapTableEntryStatus;
|
|
861
1006
|
id: string;
|
|
862
1007
|
source: CapTableEntrySource;
|
|
863
|
-
numberOfShares: number;
|
|
864
1008
|
shareClassId: string;
|
|
1009
|
+
tradeId: string | null;
|
|
1010
|
+
numberOfShares: number;
|
|
865
1011
|
allocationDate: string;
|
|
866
1012
|
shareClassName: string;
|
|
867
1013
|
}[];
|
|
868
1014
|
}, {
|
|
869
1015
|
investorAccountId: string | null;
|
|
1016
|
+
totalShares: number;
|
|
870
1017
|
holderType: CapTableHolderType;
|
|
871
1018
|
holderName: string;
|
|
872
1019
|
holderEmail: string | null;
|
|
873
|
-
totalShares: number;
|
|
874
1020
|
totalSharesByClass: {
|
|
875
|
-
shares: number;
|
|
876
1021
|
shareClassId: string;
|
|
877
1022
|
shareClassName: string;
|
|
878
1023
|
percentage: number;
|
|
1024
|
+
shares: number;
|
|
879
1025
|
}[];
|
|
880
1026
|
holderId: string;
|
|
881
1027
|
allocations: {
|
|
882
1028
|
status: CapTableEntryStatus;
|
|
883
1029
|
id: string;
|
|
884
1030
|
source: CapTableEntrySource;
|
|
885
|
-
numberOfShares: number;
|
|
886
1031
|
shareClassId: string;
|
|
1032
|
+
tradeId: string | null;
|
|
1033
|
+
numberOfShares: number;
|
|
887
1034
|
allocationDate: string;
|
|
888
1035
|
shareClassName: string;
|
|
889
1036
|
}[];
|
|
@@ -910,23 +1057,24 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
910
1057
|
}, "strip", z.ZodTypeAny, {
|
|
911
1058
|
items: {
|
|
912
1059
|
investorAccountId: string | null;
|
|
1060
|
+
totalShares: number;
|
|
913
1061
|
holderType: CapTableHolderType;
|
|
914
1062
|
holderName: string;
|
|
915
1063
|
holderEmail: string | null;
|
|
916
|
-
totalShares: number;
|
|
917
1064
|
totalSharesByClass: {
|
|
918
|
-
shares: number;
|
|
919
1065
|
shareClassId: string;
|
|
920
1066
|
shareClassName: string;
|
|
921
1067
|
percentage: number;
|
|
1068
|
+
shares: number;
|
|
922
1069
|
}[];
|
|
923
1070
|
holderId: string;
|
|
924
1071
|
allocations: {
|
|
925
1072
|
status: CapTableEntryStatus;
|
|
926
1073
|
id: string;
|
|
927
1074
|
source: CapTableEntrySource;
|
|
928
|
-
numberOfShares: number;
|
|
929
1075
|
shareClassId: string;
|
|
1076
|
+
tradeId: string | null;
|
|
1077
|
+
numberOfShares: number;
|
|
930
1078
|
allocationDate: string;
|
|
931
1079
|
shareClassName: string;
|
|
932
1080
|
}[];
|
|
@@ -941,23 +1089,24 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
941
1089
|
}, {
|
|
942
1090
|
items: {
|
|
943
1091
|
investorAccountId: string | null;
|
|
1092
|
+
totalShares: number;
|
|
944
1093
|
holderType: CapTableHolderType;
|
|
945
1094
|
holderName: string;
|
|
946
1095
|
holderEmail: string | null;
|
|
947
|
-
totalShares: number;
|
|
948
1096
|
totalSharesByClass: {
|
|
949
|
-
shares: number;
|
|
950
1097
|
shareClassId: string;
|
|
951
1098
|
shareClassName: string;
|
|
952
1099
|
percentage: number;
|
|
1100
|
+
shares: number;
|
|
953
1101
|
}[];
|
|
954
1102
|
holderId: string;
|
|
955
1103
|
allocations: {
|
|
956
1104
|
status: CapTableEntryStatus;
|
|
957
1105
|
id: string;
|
|
958
1106
|
source: CapTableEntrySource;
|
|
959
|
-
numberOfShares: number;
|
|
960
1107
|
shareClassId: string;
|
|
1108
|
+
tradeId: string | null;
|
|
1109
|
+
numberOfShares: number;
|
|
961
1110
|
allocationDate: string;
|
|
962
1111
|
shareClassName: string;
|
|
963
1112
|
}[];
|
|
@@ -1122,3 +1271,49 @@ export declare const CsvImportResultZod: z.ZodObject<{
|
|
|
1122
1271
|
failedRows: number;
|
|
1123
1272
|
}>;
|
|
1124
1273
|
export type CsvImportResultZod = z.infer<typeof CsvImportResultZod>;
|
|
1274
|
+
export declare const CsvTemplateResponseZod: z.ZodObject<{
|
|
1275
|
+
template: z.ZodString;
|
|
1276
|
+
headers: z.ZodArray<z.ZodString, "many">;
|
|
1277
|
+
}, "strip", z.ZodTypeAny, {
|
|
1278
|
+
headers: string[];
|
|
1279
|
+
template: string;
|
|
1280
|
+
}, {
|
|
1281
|
+
headers: string[];
|
|
1282
|
+
template: string;
|
|
1283
|
+
}>;
|
|
1284
|
+
export type CsvTemplateResponseZod = z.infer<typeof CsvTemplateResponseZod>;
|
|
1285
|
+
export declare const InvestorHoldingZod: z.ZodObject<{
|
|
1286
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1287
|
+
shareClassName: z.ZodString;
|
|
1288
|
+
numberOfShares: z.ZodNumber;
|
|
1289
|
+
pricePerShare: z.ZodNullable<z.ZodNumber>;
|
|
1290
|
+
allocationDate: z.ZodDate;
|
|
1291
|
+
source: z.ZodNativeEnum<typeof CapTableEntrySource>;
|
|
1292
|
+
status: z.ZodNativeEnum<typeof CapTableEntryStatus>;
|
|
1293
|
+
tradeId: z.ZodNullable<z.ZodString>;
|
|
1294
|
+
offeringName: z.ZodNullable<z.ZodString>;
|
|
1295
|
+
issuerName: z.ZodNullable<z.ZodString>;
|
|
1296
|
+
}, "strip", z.ZodTypeAny, {
|
|
1297
|
+
status: CapTableEntryStatus;
|
|
1298
|
+
id: string;
|
|
1299
|
+
source: CapTableEntrySource;
|
|
1300
|
+
pricePerShare: number | null;
|
|
1301
|
+
tradeId: string | null;
|
|
1302
|
+
numberOfShares: number;
|
|
1303
|
+
allocationDate: Date;
|
|
1304
|
+
shareClassName: string;
|
|
1305
|
+
offeringName: string | null;
|
|
1306
|
+
issuerName: string | null;
|
|
1307
|
+
}, {
|
|
1308
|
+
status: CapTableEntryStatus;
|
|
1309
|
+
id: string;
|
|
1310
|
+
source: CapTableEntrySource;
|
|
1311
|
+
pricePerShare: number | null;
|
|
1312
|
+
tradeId: string | null;
|
|
1313
|
+
numberOfShares: number;
|
|
1314
|
+
allocationDate: Date;
|
|
1315
|
+
shareClassName: string;
|
|
1316
|
+
offeringName: string | null;
|
|
1317
|
+
issuerName: string | null;
|
|
1318
|
+
}>;
|
|
1319
|
+
export type InvestorHoldingZod = z.infer<typeof InvestorHoldingZod>;
|