@dalmore/api-contracts 0.0.0-dev.a9772b4 → 0.0.0-dev.abccaef
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/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 +1 -0
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +35 -25
- package/common/types/activity.types.js +13 -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/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 +77 -62
- package/common/types/cap-table.types.js +17 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/common.types.d.ts +359 -6
- package/common/types/common.types.js +71 -1
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +133 -466
- package/common/types/comply-advantage-api.types.js +24 -3
- package/common/types/comply-advantage-api.types.js.map +1 -1
- 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 +1439 -401
- package/common/types/disbursements.types.js +100 -0
- 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 +35 -11
- package/common/types/file.types.js +11 -0
- package/common/types/file.types.js.map +1 -1
- package/common/types/index.d.ts +3 -0
- package/common/types/index.js +3 -0
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.js +5 -2
- 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 +1 -2
- package/common/types/investor-account.types.js.map +1 -1
- package/common/types/invite.types.d.ts +2 -2
- package/common/types/invite.types.js +1 -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 +834 -14
- package/common/types/issuer-offering.types.js +297 -25
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/job-item.types.d.ts +14 -14
- package/common/types/note.types.d.ts +15 -15
- package/common/types/offering-submission.types.d.ts +198 -0
- package/common/types/offering-submission.types.js +16 -3
- package/common/types/offering-submission.types.js.map +1 -1
- package/common/types/offering.types.d.ts +535 -21
- package/common/types/offering.types.js +324 -26
- package/common/types/offering.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/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/task.types.d.ts +22 -22
- package/common/types/trade-line-item.types.d.ts +18 -1
- package/common/types/trade-line-item.types.js +12 -1
- package/common/types/trade-line-item.types.js.map +1 -1
- package/common/types/trade.types.d.ts +69 -41
- package/common/types/trade.types.js +15 -4
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +80 -2
- package/common/types/transaction.types.js +22 -3
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +191 -59
- package/common/types/user.types.js +9 -1
- package/common/types/user.types.js.map +1 -1
- package/contracts/clients/assets/index.d.ts +22 -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 +345 -16
- package/contracts/clients/offerings/index.d.ts +308 -7
- package/contracts/clients/trades/index.d.ts +9 -3
- package/package.json +1 -1
|
@@ -86,6 +86,7 @@ export declare const IBonusTier: z.ZodObject<{
|
|
|
86
86
|
template: z.ZodNativeEnum<typeof import("./asset.types").AssetTemplateType>;
|
|
87
87
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
88
88
|
enableBonus: z.ZodBoolean;
|
|
89
|
+
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
89
90
|
}, "strip", z.ZodTypeAny, {
|
|
90
91
|
type: import("./common.types").AssetType | null;
|
|
91
92
|
id: string;
|
|
@@ -104,6 +105,7 @@ export declare const IBonusTier: z.ZodObject<{
|
|
|
104
105
|
durationType: import("./common.types").DurationType | null;
|
|
105
106
|
tiers: number[] | null;
|
|
106
107
|
enableBonus: boolean;
|
|
108
|
+
interestRate: number | null;
|
|
107
109
|
__entity?: string | undefined;
|
|
108
110
|
account?: {
|
|
109
111
|
status: import("./common.types").AccountStatus;
|
|
@@ -138,6 +140,7 @@ export declare const IBonusTier: z.ZodObject<{
|
|
|
138
140
|
durationType: import("./common.types").DurationType | null;
|
|
139
141
|
tiers: number[] | null;
|
|
140
142
|
enableBonus: boolean;
|
|
143
|
+
interestRate: number | null;
|
|
141
144
|
__entity?: string | undefined;
|
|
142
145
|
account?: {
|
|
143
146
|
status: import("./common.types").AccountStatus;
|
|
@@ -244,6 +247,7 @@ export declare const IBonusTier: z.ZodObject<{
|
|
|
244
247
|
durationType: import("./common.types").DurationType | null;
|
|
245
248
|
tiers: number[] | null;
|
|
246
249
|
enableBonus: boolean;
|
|
250
|
+
interestRate: number | null;
|
|
247
251
|
__entity?: string | undefined;
|
|
248
252
|
account?: {
|
|
249
253
|
status: import("./common.types").AccountStatus;
|
|
@@ -308,6 +312,7 @@ export declare const IBonusTier: z.ZodObject<{
|
|
|
308
312
|
durationType: import("./common.types").DurationType | null;
|
|
309
313
|
tiers: number[] | null;
|
|
310
314
|
enableBonus: boolean;
|
|
315
|
+
interestRate: number | null;
|
|
311
316
|
__entity?: string | undefined;
|
|
312
317
|
account?: {
|
|
313
318
|
status: import("./common.types").AccountStatus;
|
|
@@ -403,6 +408,7 @@ export declare const IBonusTierList: z.ZodArray<z.ZodObject<{
|
|
|
403
408
|
template: z.ZodNativeEnum<typeof import("./asset.types").AssetTemplateType>;
|
|
404
409
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
405
410
|
enableBonus: z.ZodBoolean;
|
|
411
|
+
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
406
412
|
}, "strip", z.ZodTypeAny, {
|
|
407
413
|
type: import("./common.types").AssetType | null;
|
|
408
414
|
id: string;
|
|
@@ -421,6 +427,7 @@ export declare const IBonusTierList: z.ZodArray<z.ZodObject<{
|
|
|
421
427
|
durationType: import("./common.types").DurationType | null;
|
|
422
428
|
tiers: number[] | null;
|
|
423
429
|
enableBonus: boolean;
|
|
430
|
+
interestRate: number | null;
|
|
424
431
|
__entity?: string | undefined;
|
|
425
432
|
account?: {
|
|
426
433
|
status: import("./common.types").AccountStatus;
|
|
@@ -455,6 +462,7 @@ export declare const IBonusTierList: z.ZodArray<z.ZodObject<{
|
|
|
455
462
|
durationType: import("./common.types").DurationType | null;
|
|
456
463
|
tiers: number[] | null;
|
|
457
464
|
enableBonus: boolean;
|
|
465
|
+
interestRate: number | null;
|
|
458
466
|
__entity?: string | undefined;
|
|
459
467
|
account?: {
|
|
460
468
|
status: import("./common.types").AccountStatus;
|
|
@@ -561,6 +569,7 @@ export declare const IBonusTierList: z.ZodArray<z.ZodObject<{
|
|
|
561
569
|
durationType: import("./common.types").DurationType | null;
|
|
562
570
|
tiers: number[] | null;
|
|
563
571
|
enableBonus: boolean;
|
|
572
|
+
interestRate: number | null;
|
|
564
573
|
__entity?: string | undefined;
|
|
565
574
|
account?: {
|
|
566
575
|
status: import("./common.types").AccountStatus;
|
|
@@ -625,6 +634,7 @@ export declare const IBonusTierList: z.ZodArray<z.ZodObject<{
|
|
|
625
634
|
durationType: import("./common.types").DurationType | null;
|
|
626
635
|
tiers: number[] | null;
|
|
627
636
|
enableBonus: boolean;
|
|
637
|
+
interestRate: number | null;
|
|
628
638
|
__entity?: string | undefined;
|
|
629
639
|
account?: {
|
|
630
640
|
status: import("./common.types").AccountStatus;
|
|
@@ -952,13 +962,13 @@ export declare const PurchaseCalculationZod: z.ZodObject<{
|
|
|
952
962
|
totalAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
953
963
|
purchasedShares: z.ZodNumber;
|
|
954
964
|
}, "strip", z.ZodTypeAny, {
|
|
965
|
+
purchasedShares: number;
|
|
955
966
|
assetId: string;
|
|
956
967
|
totalAmount: number;
|
|
957
|
-
purchasedShares: number;
|
|
958
968
|
}, {
|
|
969
|
+
purchasedShares: number;
|
|
959
970
|
assetId: string;
|
|
960
971
|
totalAmount: number;
|
|
961
|
-
purchasedShares: number;
|
|
962
972
|
}>;
|
|
963
973
|
export type PurchaseCalculationZod = z.infer<typeof PurchaseCalculationZod>;
|
|
964
974
|
export declare const PurchaseCalculationResponseZod: z.ZodObject<{
|
|
@@ -968,13 +978,14 @@ export declare const PurchaseCalculationResponseZod: z.ZodObject<{
|
|
|
968
978
|
bonusShares: z.ZodNumber;
|
|
969
979
|
}, "strip", z.ZodTypeAny, {
|
|
970
980
|
type: BonusType | null;
|
|
981
|
+
bonusShares: number;
|
|
971
982
|
assetId: string;
|
|
972
983
|
bonusTierId: string | null;
|
|
973
|
-
bonusShares: number;
|
|
974
984
|
}, {
|
|
975
985
|
type: BonusType | null;
|
|
986
|
+
bonusShares: number;
|
|
976
987
|
assetId: string;
|
|
977
988
|
bonusTierId: string | null;
|
|
978
|
-
bonusShares: number;
|
|
979
989
|
}>;
|
|
980
990
|
export type PurchaseCalculationResponseZod = z.infer<typeof PurchaseCalculationResponseZod>;
|
|
991
|
+
export declare const postBonusTierRefinement: (data: any, ctx: any) => void;
|
|
@@ -101,12 +101,9 @@ export const EstimateBonusTierCalculationResponseZod = z.object({
|
|
|
101
101
|
startValue: z.number().openapi({ example: 100 }),
|
|
102
102
|
endValue: z.number().openapi({ example: 200 }),
|
|
103
103
|
});
|
|
104
|
-
export const BonusTierListZod = z
|
|
105
|
-
.array(z
|
|
104
|
+
export const BonusTierListZod = z.array(z
|
|
106
105
|
.object({
|
|
107
|
-
type: z
|
|
108
|
-
.nativeEnum(BonusType)
|
|
109
|
-
.openapi({ example: BonusType.PERCENTAGE }),
|
|
106
|
+
type: z.nativeEnum(BonusType).openapi({ example: BonusType.PERCENTAGE }),
|
|
110
107
|
value: numberPrecisionSchema(2, z.number().positive().max(1000000)).openapi({ example: 50 }),
|
|
111
108
|
startAmount: numberPrecisionSchema(2, z.number().positive().max(999999999)).openapi({ example: 100 }),
|
|
112
109
|
endAmount: numberPrecisionSchema(2, z.number().positive().max(999999999)).openapi({ example: 200 }),
|
|
@@ -127,8 +124,7 @@ export const BonusTierListZod = z
|
|
|
127
124
|
};
|
|
128
125
|
}
|
|
129
126
|
return data;
|
|
130
|
-
}))
|
|
131
|
-
.min(1, { message: 'At least one bonus tier is required' });
|
|
127
|
+
}));
|
|
132
128
|
export const PostBonusTierZod = z.object({
|
|
133
129
|
assetId: assetIdSchema.openapi({
|
|
134
130
|
example: 'asset_00041061050r3gg28a1c60t3gf',
|
|
@@ -156,4 +152,15 @@ export const PurchaseCalculationResponseZod = z.object({
|
|
|
156
152
|
.openapi({ example: BonusType.PERCENTAGE }),
|
|
157
153
|
bonusShares: z.number().int().openapi({ example: 100 }),
|
|
158
154
|
});
|
|
155
|
+
export const postBonusTierRefinement = (data, ctx) => {
|
|
156
|
+
if (data.enableBonus) {
|
|
157
|
+
if (Array.isArray(data.bonusTiers) && data.bonusTiers.length === 0) {
|
|
158
|
+
ctx.addIssue({
|
|
159
|
+
path: ['bonusTiers'],
|
|
160
|
+
message: 'At least one bonus tier is required when bonus is enabled',
|
|
161
|
+
code: z.ZodIssueCode.custom,
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
};
|
|
159
166
|
//# sourceMappingURL=bonus-tier.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bonus-tier.types.js","sourceRoot":"","sources":["bonus-tier.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAChD,CAAC,KAAK,EAAE,EAAE;IACR,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACrC,OAAO,GAAG,CAAC,OAAO,EAAE,KAAK,YAAY,CAAC;IACxC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,EACD;IACE,OAAO,EAAE,+HAA+H;CACzI,CACF,CAAC;AAEF,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,sCAAyB,CAAA;IACzB,4BAAe,CAAA;AACjB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,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,QAAQ,EAAE;SACV,OAAO,CAAC,EAAE,OAAO,EAAE,uCAAuC,EAAE,CAAC;IAChE,OAAO,EAAE,aAAa,CAAC,OAAO,CAAC;QAC7B,OAAO,EAAE,kCAAkC;KAC5C,CAAC;IACF,IAAI,EAAE,CAAC;SACJ,UAAU,CAAC,SAAS,CAAC;SACrB,QAAQ,EAAE;SACV,OAAO,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC;IAC7C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;CACxD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAAS,EAAE,GAAQ,EAAE,EAAE;IAC7D,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;QACrB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACnE,GAAG,CAAC,QAAQ,CAAC;gBACX,IAAI,EAAE,CAAC,YAAY,CAAC;gBACpB,OAAO,EAAE,2DAA2D;gBACpE,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;aAC5B,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -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;
|
|
261
|
-
numberOfShares?: number | undefined;
|
|
262
|
-
pricePerShare?: number | null | undefined;
|
|
263
276
|
shareClassId?: string | undefined;
|
|
277
|
+
pricePerShare?: number | null | undefined;
|
|
278
|
+
numberOfShares?: number | 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;
|
|
272
|
-
numberOfShares?: number | undefined;
|
|
273
|
-
pricePerShare?: number | null | undefined;
|
|
274
287
|
shareClassId?: string | undefined;
|
|
288
|
+
pricePerShare?: number | null | undefined;
|
|
289
|
+
numberOfShares?: number | undefined;
|
|
275
290
|
holderType?: CapTableHolderType | undefined;
|
|
276
291
|
holderName?: string | undefined;
|
|
277
292
|
holderEmail?: string | null | undefined;
|
|
@@ -317,10 +332,10 @@ export declare const CapTableEntryZod: z.ZodObject<{
|
|
|
317
332
|
individualId: string | null;
|
|
318
333
|
legalEntityId: string | null;
|
|
319
334
|
investorAccountId: string | null;
|
|
320
|
-
|
|
335
|
+
shareClassId: string;
|
|
321
336
|
pricePerShare: number | null;
|
|
337
|
+
numberOfShares: number;
|
|
322
338
|
capTableId: string;
|
|
323
|
-
shareClassId: string;
|
|
324
339
|
holderType: CapTableHolderType;
|
|
325
340
|
holderName: string;
|
|
326
341
|
holderEmail: string | null;
|
|
@@ -343,10 +358,10 @@ export declare const CapTableEntryZod: z.ZodObject<{
|
|
|
343
358
|
individualId: string | null;
|
|
344
359
|
legalEntityId: string | null;
|
|
345
360
|
investorAccountId: string | null;
|
|
346
|
-
|
|
361
|
+
shareClassId: string;
|
|
347
362
|
pricePerShare: number | null;
|
|
363
|
+
numberOfShares: number;
|
|
348
364
|
capTableId: string;
|
|
349
|
-
shareClassId: string;
|
|
350
365
|
holderType: CapTableHolderType;
|
|
351
366
|
holderName: string;
|
|
352
367
|
holderEmail: string | null;
|
|
@@ -399,10 +414,10 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
399
414
|
individualId: string | null;
|
|
400
415
|
legalEntityId: string | null;
|
|
401
416
|
investorAccountId: string | null;
|
|
402
|
-
|
|
417
|
+
shareClassId: string;
|
|
403
418
|
pricePerShare: number | null;
|
|
419
|
+
numberOfShares: number;
|
|
404
420
|
capTableId: string;
|
|
405
|
-
shareClassId: string;
|
|
406
421
|
holderType: CapTableHolderType;
|
|
407
422
|
holderName: string;
|
|
408
423
|
holderEmail: string | null;
|
|
@@ -425,10 +440,10 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
425
440
|
individualId: string | null;
|
|
426
441
|
legalEntityId: string | null;
|
|
427
442
|
investorAccountId: string | null;
|
|
428
|
-
|
|
443
|
+
shareClassId: string;
|
|
429
444
|
pricePerShare: number | null;
|
|
445
|
+
numberOfShares: number;
|
|
430
446
|
capTableId: string;
|
|
431
|
-
shareClassId: string;
|
|
432
447
|
holderType: CapTableHolderType;
|
|
433
448
|
holderName: string;
|
|
434
449
|
holderEmail: string | null;
|
|
@@ -472,10 +487,10 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
472
487
|
individualId: string | null;
|
|
473
488
|
legalEntityId: string | null;
|
|
474
489
|
investorAccountId: string | null;
|
|
475
|
-
|
|
490
|
+
shareClassId: string;
|
|
476
491
|
pricePerShare: number | null;
|
|
492
|
+
numberOfShares: number;
|
|
477
493
|
capTableId: string;
|
|
478
|
-
shareClassId: string;
|
|
479
494
|
holderType: CapTableHolderType;
|
|
480
495
|
holderName: string;
|
|
481
496
|
holderEmail: string | null;
|
|
@@ -507,10 +522,10 @@ export declare const IPaginatedCapTableEntry: z.ZodObject<{
|
|
|
507
522
|
individualId: string | null;
|
|
508
523
|
legalEntityId: string | null;
|
|
509
524
|
investorAccountId: string | null;
|
|
510
|
-
|
|
525
|
+
shareClassId: string;
|
|
511
526
|
pricePerShare: number | null;
|
|
527
|
+
numberOfShares: number;
|
|
512
528
|
capTableId: string;
|
|
513
|
-
shareClassId: string;
|
|
514
529
|
holderType: CapTableHolderType;
|
|
515
530
|
holderName: string;
|
|
516
531
|
holderEmail: string | null;
|
|
@@ -563,17 +578,17 @@ export declare const CapTableShareClassSummaryZod: z.ZodObject<{
|
|
|
563
578
|
remainingAuthorized: z.ZodNullable<z.ZodNumber>;
|
|
564
579
|
percentage: z.ZodNumber;
|
|
565
580
|
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
|
|
581
|
+
totalShares: number;
|
|
567
582
|
shareClassId: string;
|
|
583
|
+
totalAuthorized: number | null;
|
|
568
584
|
shareClassName: string;
|
|
569
|
-
totalShares: number;
|
|
570
585
|
remainingAuthorized: number | null;
|
|
571
586
|
percentage: number;
|
|
572
587
|
}, {
|
|
573
|
-
|
|
588
|
+
totalShares: number;
|
|
574
589
|
shareClassId: string;
|
|
590
|
+
totalAuthorized: number | null;
|
|
575
591
|
shareClassName: string;
|
|
576
|
-
totalShares: number;
|
|
577
592
|
remainingAuthorized: number | null;
|
|
578
593
|
percentage: number;
|
|
579
594
|
}>;
|
|
@@ -588,17 +603,17 @@ export declare const CapTableSummaryZod: z.ZodObject<{
|
|
|
588
603
|
remainingAuthorized: z.ZodNullable<z.ZodNumber>;
|
|
589
604
|
percentage: z.ZodNumber;
|
|
590
605
|
}, "strip", z.ZodTypeAny, {
|
|
591
|
-
|
|
606
|
+
totalShares: number;
|
|
592
607
|
shareClassId: string;
|
|
608
|
+
totalAuthorized: number | null;
|
|
593
609
|
shareClassName: string;
|
|
594
|
-
totalShares: number;
|
|
595
610
|
remainingAuthorized: number | null;
|
|
596
611
|
percentage: number;
|
|
597
612
|
}, {
|
|
598
|
-
|
|
613
|
+
totalShares: number;
|
|
599
614
|
shareClassId: string;
|
|
615
|
+
totalAuthorized: number | null;
|
|
600
616
|
shareClassName: string;
|
|
601
|
-
totalShares: number;
|
|
602
617
|
remainingAuthorized: number | null;
|
|
603
618
|
percentage: number;
|
|
604
619
|
}>, "many">;
|
|
@@ -618,14 +633,14 @@ export declare const CapTableSummaryZod: z.ZodObject<{
|
|
|
618
633
|
totalAuthorizedShares: z.ZodNullable<z.ZodNumber>;
|
|
619
634
|
stockConversionRate: z.ZodNullable<z.ZodNumber>;
|
|
620
635
|
}, "strip", z.ZodTypeAny, {
|
|
636
|
+
totalShares: number;
|
|
621
637
|
totalAuthorizedShares: number | null;
|
|
622
638
|
stockConversionRate: number | null;
|
|
623
|
-
totalShares: number;
|
|
624
639
|
totalSharesByClass: {
|
|
625
|
-
|
|
640
|
+
totalShares: number;
|
|
626
641
|
shareClassId: string;
|
|
642
|
+
totalAuthorized: number | null;
|
|
627
643
|
shareClassName: string;
|
|
628
|
-
totalShares: number;
|
|
629
644
|
remainingAuthorized: number | null;
|
|
630
645
|
percentage: number;
|
|
631
646
|
}[];
|
|
@@ -637,14 +652,14 @@ export declare const CapTableSummaryZod: z.ZodObject<{
|
|
|
637
652
|
pendingAllocations: number;
|
|
638
653
|
acceptedAllocations: number;
|
|
639
654
|
}, {
|
|
655
|
+
totalShares: number;
|
|
640
656
|
totalAuthorizedShares: number | null;
|
|
641
657
|
stockConversionRate: number | null;
|
|
642
|
-
totalShares: number;
|
|
643
658
|
totalSharesByClass: {
|
|
644
|
-
|
|
659
|
+
totalShares: number;
|
|
645
660
|
shareClassId: string;
|
|
661
|
+
totalAuthorized: number | null;
|
|
646
662
|
shareClassName: string;
|
|
647
|
-
totalShares: number;
|
|
648
663
|
remainingAuthorized: number | null;
|
|
649
664
|
percentage: number;
|
|
650
665
|
}[];
|
|
@@ -669,16 +684,16 @@ export declare const CapTableHolderAllocationZod: z.ZodObject<{
|
|
|
669
684
|
status: CapTableEntryStatus;
|
|
670
685
|
id: string;
|
|
671
686
|
source: CapTableEntrySource;
|
|
672
|
-
numberOfShares: number;
|
|
673
687
|
shareClassId: string;
|
|
688
|
+
numberOfShares: number;
|
|
674
689
|
allocationDate: string;
|
|
675
690
|
shareClassName: string;
|
|
676
691
|
}, {
|
|
677
692
|
status: CapTableEntryStatus;
|
|
678
693
|
id: string;
|
|
679
694
|
source: CapTableEntrySource;
|
|
680
|
-
numberOfShares: number;
|
|
681
695
|
shareClassId: string;
|
|
696
|
+
numberOfShares: number;
|
|
682
697
|
allocationDate: string;
|
|
683
698
|
shareClassName: string;
|
|
684
699
|
}>;
|
|
@@ -689,15 +704,15 @@ export declare const CapTableHolderSharesByClassZod: z.ZodObject<{
|
|
|
689
704
|
shares: z.ZodNumber;
|
|
690
705
|
percentage: z.ZodNumber;
|
|
691
706
|
}, "strip", z.ZodTypeAny, {
|
|
692
|
-
shares: number;
|
|
693
707
|
shareClassId: string;
|
|
694
708
|
shareClassName: string;
|
|
695
709
|
percentage: number;
|
|
696
|
-
}, {
|
|
697
710
|
shares: number;
|
|
711
|
+
}, {
|
|
698
712
|
shareClassId: string;
|
|
699
713
|
shareClassName: string;
|
|
700
714
|
percentage: number;
|
|
715
|
+
shares: number;
|
|
701
716
|
}>;
|
|
702
717
|
export type CapTableHolderSharesByClassZod = z.infer<typeof CapTableHolderSharesByClassZod>;
|
|
703
718
|
export declare const CapTableHolderZod: z.ZodObject<{
|
|
@@ -713,15 +728,15 @@ export declare const CapTableHolderZod: z.ZodObject<{
|
|
|
713
728
|
shares: z.ZodNumber;
|
|
714
729
|
percentage: z.ZodNumber;
|
|
715
730
|
}, "strip", z.ZodTypeAny, {
|
|
716
|
-
shares: number;
|
|
717
731
|
shareClassId: string;
|
|
718
732
|
shareClassName: string;
|
|
719
733
|
percentage: number;
|
|
720
|
-
}, {
|
|
721
734
|
shares: number;
|
|
735
|
+
}, {
|
|
722
736
|
shareClassId: string;
|
|
723
737
|
shareClassName: string;
|
|
724
738
|
percentage: number;
|
|
739
|
+
shares: number;
|
|
725
740
|
}>, "many">;
|
|
726
741
|
allocations: z.ZodArray<z.ZodObject<{
|
|
727
742
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -735,60 +750,60 @@ export declare const CapTableHolderZod: z.ZodObject<{
|
|
|
735
750
|
status: CapTableEntryStatus;
|
|
736
751
|
id: string;
|
|
737
752
|
source: CapTableEntrySource;
|
|
738
|
-
numberOfShares: number;
|
|
739
753
|
shareClassId: string;
|
|
754
|
+
numberOfShares: number;
|
|
740
755
|
allocationDate: string;
|
|
741
756
|
shareClassName: string;
|
|
742
757
|
}, {
|
|
743
758
|
status: CapTableEntryStatus;
|
|
744
759
|
id: string;
|
|
745
760
|
source: CapTableEntrySource;
|
|
746
|
-
numberOfShares: number;
|
|
747
761
|
shareClassId: string;
|
|
762
|
+
numberOfShares: number;
|
|
748
763
|
allocationDate: string;
|
|
749
764
|
shareClassName: string;
|
|
750
765
|
}>, "many">;
|
|
751
766
|
}, "strip", z.ZodTypeAny, {
|
|
752
767
|
investorAccountId: string | null;
|
|
768
|
+
totalShares: number;
|
|
753
769
|
holderType: CapTableHolderType;
|
|
754
770
|
holderName: string;
|
|
755
771
|
holderEmail: string | null;
|
|
756
|
-
totalShares: number;
|
|
757
772
|
totalSharesByClass: {
|
|
758
|
-
shares: number;
|
|
759
773
|
shareClassId: string;
|
|
760
774
|
shareClassName: string;
|
|
761
775
|
percentage: number;
|
|
776
|
+
shares: number;
|
|
762
777
|
}[];
|
|
763
778
|
holderId: string;
|
|
764
779
|
allocations: {
|
|
765
780
|
status: CapTableEntryStatus;
|
|
766
781
|
id: string;
|
|
767
782
|
source: CapTableEntrySource;
|
|
768
|
-
numberOfShares: number;
|
|
769
783
|
shareClassId: string;
|
|
784
|
+
numberOfShares: number;
|
|
770
785
|
allocationDate: string;
|
|
771
786
|
shareClassName: string;
|
|
772
787
|
}[];
|
|
773
788
|
}, {
|
|
774
789
|
investorAccountId: string | null;
|
|
790
|
+
totalShares: number;
|
|
775
791
|
holderType: CapTableHolderType;
|
|
776
792
|
holderName: string;
|
|
777
793
|
holderEmail: string | null;
|
|
778
|
-
totalShares: number;
|
|
779
794
|
totalSharesByClass: {
|
|
780
|
-
shares: number;
|
|
781
795
|
shareClassId: string;
|
|
782
796
|
shareClassName: string;
|
|
783
797
|
percentage: number;
|
|
798
|
+
shares: number;
|
|
784
799
|
}[];
|
|
785
800
|
holderId: string;
|
|
786
801
|
allocations: {
|
|
787
802
|
status: CapTableEntryStatus;
|
|
788
803
|
id: string;
|
|
789
804
|
source: CapTableEntrySource;
|
|
790
|
-
numberOfShares: number;
|
|
791
805
|
shareClassId: string;
|
|
806
|
+
numberOfShares: number;
|
|
792
807
|
allocationDate: string;
|
|
793
808
|
shareClassName: string;
|
|
794
809
|
}[];
|
|
@@ -808,15 +823,15 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
808
823
|
shares: z.ZodNumber;
|
|
809
824
|
percentage: z.ZodNumber;
|
|
810
825
|
}, "strip", z.ZodTypeAny, {
|
|
811
|
-
shares: number;
|
|
812
826
|
shareClassId: string;
|
|
813
827
|
shareClassName: string;
|
|
814
828
|
percentage: number;
|
|
815
|
-
}, {
|
|
816
829
|
shares: number;
|
|
830
|
+
}, {
|
|
817
831
|
shareClassId: string;
|
|
818
832
|
shareClassName: string;
|
|
819
833
|
percentage: number;
|
|
834
|
+
shares: number;
|
|
820
835
|
}>, "many">;
|
|
821
836
|
allocations: z.ZodArray<z.ZodObject<{
|
|
822
837
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -830,60 +845,60 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
830
845
|
status: CapTableEntryStatus;
|
|
831
846
|
id: string;
|
|
832
847
|
source: CapTableEntrySource;
|
|
833
|
-
numberOfShares: number;
|
|
834
848
|
shareClassId: string;
|
|
849
|
+
numberOfShares: number;
|
|
835
850
|
allocationDate: string;
|
|
836
851
|
shareClassName: string;
|
|
837
852
|
}, {
|
|
838
853
|
status: CapTableEntryStatus;
|
|
839
854
|
id: string;
|
|
840
855
|
source: CapTableEntrySource;
|
|
841
|
-
numberOfShares: number;
|
|
842
856
|
shareClassId: string;
|
|
857
|
+
numberOfShares: number;
|
|
843
858
|
allocationDate: string;
|
|
844
859
|
shareClassName: string;
|
|
845
860
|
}>, "many">;
|
|
846
861
|
}, "strip", z.ZodTypeAny, {
|
|
847
862
|
investorAccountId: string | null;
|
|
863
|
+
totalShares: number;
|
|
848
864
|
holderType: CapTableHolderType;
|
|
849
865
|
holderName: string;
|
|
850
866
|
holderEmail: string | null;
|
|
851
|
-
totalShares: number;
|
|
852
867
|
totalSharesByClass: {
|
|
853
|
-
shares: number;
|
|
854
868
|
shareClassId: string;
|
|
855
869
|
shareClassName: string;
|
|
856
870
|
percentage: number;
|
|
871
|
+
shares: number;
|
|
857
872
|
}[];
|
|
858
873
|
holderId: string;
|
|
859
874
|
allocations: {
|
|
860
875
|
status: CapTableEntryStatus;
|
|
861
876
|
id: string;
|
|
862
877
|
source: CapTableEntrySource;
|
|
863
|
-
numberOfShares: number;
|
|
864
878
|
shareClassId: string;
|
|
879
|
+
numberOfShares: number;
|
|
865
880
|
allocationDate: string;
|
|
866
881
|
shareClassName: string;
|
|
867
882
|
}[];
|
|
868
883
|
}, {
|
|
869
884
|
investorAccountId: string | null;
|
|
885
|
+
totalShares: number;
|
|
870
886
|
holderType: CapTableHolderType;
|
|
871
887
|
holderName: string;
|
|
872
888
|
holderEmail: string | null;
|
|
873
|
-
totalShares: number;
|
|
874
889
|
totalSharesByClass: {
|
|
875
|
-
shares: number;
|
|
876
890
|
shareClassId: string;
|
|
877
891
|
shareClassName: string;
|
|
878
892
|
percentage: number;
|
|
893
|
+
shares: number;
|
|
879
894
|
}[];
|
|
880
895
|
holderId: string;
|
|
881
896
|
allocations: {
|
|
882
897
|
status: CapTableEntryStatus;
|
|
883
898
|
id: string;
|
|
884
899
|
source: CapTableEntrySource;
|
|
885
|
-
numberOfShares: number;
|
|
886
900
|
shareClassId: string;
|
|
901
|
+
numberOfShares: number;
|
|
887
902
|
allocationDate: string;
|
|
888
903
|
shareClassName: string;
|
|
889
904
|
}[];
|
|
@@ -910,23 +925,23 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
910
925
|
}, "strip", z.ZodTypeAny, {
|
|
911
926
|
items: {
|
|
912
927
|
investorAccountId: string | null;
|
|
928
|
+
totalShares: number;
|
|
913
929
|
holderType: CapTableHolderType;
|
|
914
930
|
holderName: string;
|
|
915
931
|
holderEmail: string | null;
|
|
916
|
-
totalShares: number;
|
|
917
932
|
totalSharesByClass: {
|
|
918
|
-
shares: number;
|
|
919
933
|
shareClassId: string;
|
|
920
934
|
shareClassName: string;
|
|
921
935
|
percentage: number;
|
|
936
|
+
shares: number;
|
|
922
937
|
}[];
|
|
923
938
|
holderId: string;
|
|
924
939
|
allocations: {
|
|
925
940
|
status: CapTableEntryStatus;
|
|
926
941
|
id: string;
|
|
927
942
|
source: CapTableEntrySource;
|
|
928
|
-
numberOfShares: number;
|
|
929
943
|
shareClassId: string;
|
|
944
|
+
numberOfShares: number;
|
|
930
945
|
allocationDate: string;
|
|
931
946
|
shareClassName: string;
|
|
932
947
|
}[];
|
|
@@ -941,23 +956,23 @@ export declare const IPaginatedCapTableHolder: z.ZodObject<{
|
|
|
941
956
|
}, {
|
|
942
957
|
items: {
|
|
943
958
|
investorAccountId: string | null;
|
|
959
|
+
totalShares: number;
|
|
944
960
|
holderType: CapTableHolderType;
|
|
945
961
|
holderName: string;
|
|
946
962
|
holderEmail: string | null;
|
|
947
|
-
totalShares: number;
|
|
948
963
|
totalSharesByClass: {
|
|
949
|
-
shares: number;
|
|
950
964
|
shareClassId: string;
|
|
951
965
|
shareClassName: string;
|
|
952
966
|
percentage: number;
|
|
967
|
+
shares: number;
|
|
953
968
|
}[];
|
|
954
969
|
holderId: string;
|
|
955
970
|
allocations: {
|
|
956
971
|
status: CapTableEntryStatus;
|
|
957
972
|
id: string;
|
|
958
973
|
source: CapTableEntrySource;
|
|
959
|
-
numberOfShares: number;
|
|
960
974
|
shareClassId: string;
|
|
975
|
+
numberOfShares: number;
|
|
961
976
|
allocationDate: string;
|
|
962
977
|
shareClassName: string;
|
|
963
978
|
}[];
|