@dalmore/api-contracts 0.0.0-dev.f1cb508 → 0.0.0-dev.f317bb8
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 +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/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 +177 -53
- package/common/types/cap-table.types.js +31 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/common.types.d.ts +340 -3
- package/common/types/common.types.js +59 -1
- package/common/types/common.types.js.map +1 -1
- package/common/types/csv.types.d.ts +1557 -0
- package/common/types/csv.types.js +154 -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 +956 -7
- package/common/types/disbursements.types.js +92 -2
- 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 +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 +4 -0
- package/common/types/index.js +4 -0
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.d.ts +207 -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 +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-offering.types.d.ts +186 -77
- package/common/types/issuer-offering.types.js +181 -45
- 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/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 +256 -61
- package/common/types/offering.types.js +210 -53
- 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/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/task.types.d.ts +22 -22
- 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 +9 -0
- package/common/types/trade.types.js +8 -1
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +0 -1
- package/common/types/transaction.types.js +0 -1
- 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 +0 -66
- package/contracts/clients/csv/index.d.ts +1594 -0
- package/contracts/clients/csv/index.js +62 -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 +1778 -111
- package/contracts/clients/index.js +4 -0
- package/contracts/clients/index.js.map +1 -1
- package/contracts/clients/individuals/index.d.ts +5 -5
- package/contracts/clients/legal-entities/index.d.ts +1 -1
- package/contracts/clients/offerings/index.d.ts +88 -33
- 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/package.json +1 -1
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod } from './common.types';
|
|
3
|
-
import { AssetTemplateType
|
|
4
|
-
|
|
5
|
-
ONBOARDING = "ONBOARDING",
|
|
6
|
-
IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
|
|
7
|
-
ACTIVE = "ACTIVE",
|
|
8
|
-
PAUSED = "PAUSED"
|
|
9
|
-
}
|
|
2
|
+
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod, WarrantSharesCalculationMethod, OfferingStatus } from './common.types';
|
|
3
|
+
import { AssetTemplateType } from './asset.types';
|
|
4
|
+
import { PostComplianceOffering } from './offering.types';
|
|
10
5
|
export declare const IIssuerOffering: z.ZodObject<{
|
|
11
6
|
id: z.ZodString;
|
|
12
7
|
__entity: z.ZodOptional<z.ZodString>;
|
|
@@ -134,10 +129,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
134
129
|
template: z.ZodNativeEnum<typeof AssetTemplateType>;
|
|
135
130
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
136
131
|
enableBonus: z.ZodBoolean;
|
|
137
|
-
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
138
|
-
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
139
132
|
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
140
|
-
interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
|
|
141
133
|
}, "strip", z.ZodTypeAny, {
|
|
142
134
|
type: AssetType | null;
|
|
143
135
|
id: string;
|
|
@@ -156,10 +148,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
156
148
|
durationType: DurationType | null;
|
|
157
149
|
tiers: number[] | null;
|
|
158
150
|
enableBonus: boolean;
|
|
159
|
-
principalAmount: number | null;
|
|
160
|
-
maxTotalRaise: number | null;
|
|
161
151
|
interestRate: number | null;
|
|
162
|
-
interestType: InterestType | null;
|
|
163
152
|
__entity?: string | undefined;
|
|
164
153
|
account?: {
|
|
165
154
|
status: import("./common.types").AccountStatus;
|
|
@@ -194,10 +183,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
194
183
|
durationType: DurationType | null;
|
|
195
184
|
tiers: number[] | null;
|
|
196
185
|
enableBonus: boolean;
|
|
197
|
-
principalAmount: number | null;
|
|
198
|
-
maxTotalRaise: number | null;
|
|
199
186
|
interestRate: number | null;
|
|
200
|
-
interestType: InterestType | null;
|
|
201
187
|
__entity?: string | undefined;
|
|
202
188
|
account?: {
|
|
203
189
|
status: import("./common.types").AccountStatus;
|
|
@@ -236,6 +222,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
236
222
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
237
223
|
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
238
224
|
} & {
|
|
225
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
239
226
|
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
240
227
|
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
241
228
|
accountName: z.ZodString;
|
|
@@ -309,6 +296,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
309
296
|
} | null | undefined;
|
|
310
297
|
accountNumber?: string | null | undefined;
|
|
311
298
|
routingNumber?: string | null | undefined;
|
|
299
|
+
company?: string | null | undefined;
|
|
312
300
|
}, {
|
|
313
301
|
id: string;
|
|
314
302
|
createdAt: string | Date;
|
|
@@ -335,7 +323,17 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
335
323
|
} | null | undefined;
|
|
336
324
|
accountNumber?: string | null | undefined;
|
|
337
325
|
routingNumber?: string | null | undefined;
|
|
326
|
+
company?: string | null | undefined;
|
|
338
327
|
}>>>>;
|
|
328
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
329
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
330
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
331
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
332
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
333
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
334
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
335
|
+
fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
336
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
339
337
|
}, "strip", z.ZodTypeAny, {
|
|
340
338
|
type: OfferingType | null;
|
|
341
339
|
id: string;
|
|
@@ -380,10 +378,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
380
378
|
durationType: DurationType | null;
|
|
381
379
|
tiers: number[] | null;
|
|
382
380
|
enableBonus: boolean;
|
|
383
|
-
principalAmount: number | null;
|
|
384
|
-
maxTotalRaise: number | null;
|
|
385
381
|
interestRate: number | null;
|
|
386
|
-
interestType: InterestType | null;
|
|
387
382
|
__entity?: string | undefined;
|
|
388
383
|
account?: {
|
|
389
384
|
status: import("./common.types").AccountStatus;
|
|
@@ -452,7 +447,17 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
452
447
|
} | null | undefined;
|
|
453
448
|
accountNumber?: string | null | undefined;
|
|
454
449
|
routingNumber?: string | null | undefined;
|
|
450
|
+
company?: string | null | undefined;
|
|
455
451
|
} | null | undefined;
|
|
452
|
+
warrantsEnabled?: boolean | undefined;
|
|
453
|
+
totalShares?: number | null | undefined;
|
|
454
|
+
warrantTermYears?: number | null | undefined;
|
|
455
|
+
exercisePrice?: number | null | undefined;
|
|
456
|
+
warrantPercentage?: number | null | undefined;
|
|
457
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
458
|
+
incrementThreshold?: number | null | undefined;
|
|
459
|
+
fullyDilutedShares?: number | null | undefined;
|
|
460
|
+
shareClassId?: string | null | undefined;
|
|
456
461
|
}, {
|
|
457
462
|
type: OfferingType | null;
|
|
458
463
|
id: string;
|
|
@@ -497,10 +502,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
497
502
|
durationType: DurationType | null;
|
|
498
503
|
tiers: number[] | null;
|
|
499
504
|
enableBonus: boolean;
|
|
500
|
-
principalAmount: number | null;
|
|
501
|
-
maxTotalRaise: number | null;
|
|
502
505
|
interestRate: number | null;
|
|
503
|
-
interestType: InterestType | null;
|
|
504
506
|
__entity?: string | undefined;
|
|
505
507
|
account?: {
|
|
506
508
|
status: import("./common.types").AccountStatus;
|
|
@@ -569,7 +571,17 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
569
571
|
} | null | undefined;
|
|
570
572
|
accountNumber?: string | null | undefined;
|
|
571
573
|
routingNumber?: string | null | undefined;
|
|
574
|
+
company?: string | null | undefined;
|
|
572
575
|
} | null | undefined;
|
|
576
|
+
warrantsEnabled?: boolean | undefined;
|
|
577
|
+
totalShares?: number | null | undefined;
|
|
578
|
+
warrantTermYears?: number | null | undefined;
|
|
579
|
+
exercisePrice?: number | null | undefined;
|
|
580
|
+
warrantPercentage?: number | null | undefined;
|
|
581
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
582
|
+
incrementThreshold?: number | null | undefined;
|
|
583
|
+
fullyDilutedShares?: number | null | undefined;
|
|
584
|
+
shareClassId?: string | null | undefined;
|
|
573
585
|
}>;
|
|
574
586
|
export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
|
|
575
587
|
export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
@@ -700,10 +712,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
700
712
|
template: z.ZodNativeEnum<typeof AssetTemplateType>;
|
|
701
713
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
702
714
|
enableBonus: z.ZodBoolean;
|
|
703
|
-
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
704
|
-
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
705
715
|
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
706
|
-
interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
|
|
707
716
|
}, "strip", z.ZodTypeAny, {
|
|
708
717
|
type: AssetType | null;
|
|
709
718
|
id: string;
|
|
@@ -722,10 +731,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
722
731
|
durationType: DurationType | null;
|
|
723
732
|
tiers: number[] | null;
|
|
724
733
|
enableBonus: boolean;
|
|
725
|
-
principalAmount: number | null;
|
|
726
|
-
maxTotalRaise: number | null;
|
|
727
734
|
interestRate: number | null;
|
|
728
|
-
interestType: InterestType | null;
|
|
729
735
|
__entity?: string | undefined;
|
|
730
736
|
account?: {
|
|
731
737
|
status: import("./common.types").AccountStatus;
|
|
@@ -760,10 +766,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
760
766
|
durationType: DurationType | null;
|
|
761
767
|
tiers: number[] | null;
|
|
762
768
|
enableBonus: boolean;
|
|
763
|
-
principalAmount: number | null;
|
|
764
|
-
maxTotalRaise: number | null;
|
|
765
769
|
interestRate: number | null;
|
|
766
|
-
interestType: InterestType | null;
|
|
767
770
|
__entity?: string | undefined;
|
|
768
771
|
account?: {
|
|
769
772
|
status: import("./common.types").AccountStatus;
|
|
@@ -802,6 +805,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
802
805
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
803
806
|
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
804
807
|
} & {
|
|
808
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
805
809
|
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
806
810
|
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
807
811
|
accountName: z.ZodString;
|
|
@@ -875,6 +879,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
875
879
|
} | null | undefined;
|
|
876
880
|
accountNumber?: string | null | undefined;
|
|
877
881
|
routingNumber?: string | null | undefined;
|
|
882
|
+
company?: string | null | undefined;
|
|
878
883
|
}, {
|
|
879
884
|
id: string;
|
|
880
885
|
createdAt: string | Date;
|
|
@@ -901,7 +906,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
901
906
|
} | null | undefined;
|
|
902
907
|
accountNumber?: string | null | undefined;
|
|
903
908
|
routingNumber?: string | null | undefined;
|
|
909
|
+
company?: string | null | undefined;
|
|
904
910
|
}>>>>;
|
|
911
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
912
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
913
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
914
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
915
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
916
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
917
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
918
|
+
fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
919
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
905
920
|
}, "strip", z.ZodTypeAny, {
|
|
906
921
|
type: OfferingType | null;
|
|
907
922
|
id: string;
|
|
@@ -946,10 +961,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
946
961
|
durationType: DurationType | null;
|
|
947
962
|
tiers: number[] | null;
|
|
948
963
|
enableBonus: boolean;
|
|
949
|
-
principalAmount: number | null;
|
|
950
|
-
maxTotalRaise: number | null;
|
|
951
964
|
interestRate: number | null;
|
|
952
|
-
interestType: InterestType | null;
|
|
953
965
|
__entity?: string | undefined;
|
|
954
966
|
account?: {
|
|
955
967
|
status: import("./common.types").AccountStatus;
|
|
@@ -1018,7 +1030,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1018
1030
|
} | null | undefined;
|
|
1019
1031
|
accountNumber?: string | null | undefined;
|
|
1020
1032
|
routingNumber?: string | null | undefined;
|
|
1033
|
+
company?: string | null | undefined;
|
|
1021
1034
|
} | null | undefined;
|
|
1035
|
+
warrantsEnabled?: boolean | undefined;
|
|
1036
|
+
totalShares?: number | null | undefined;
|
|
1037
|
+
warrantTermYears?: number | null | undefined;
|
|
1038
|
+
exercisePrice?: number | null | undefined;
|
|
1039
|
+
warrantPercentage?: number | null | undefined;
|
|
1040
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1041
|
+
incrementThreshold?: number | null | undefined;
|
|
1042
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1043
|
+
shareClassId?: string | null | undefined;
|
|
1022
1044
|
}, {
|
|
1023
1045
|
type: OfferingType | null;
|
|
1024
1046
|
id: string;
|
|
@@ -1063,10 +1085,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1063
1085
|
durationType: DurationType | null;
|
|
1064
1086
|
tiers: number[] | null;
|
|
1065
1087
|
enableBonus: boolean;
|
|
1066
|
-
principalAmount: number | null;
|
|
1067
|
-
maxTotalRaise: number | null;
|
|
1068
1088
|
interestRate: number | null;
|
|
1069
|
-
interestType: InterestType | null;
|
|
1070
1089
|
__entity?: string | undefined;
|
|
1071
1090
|
account?: {
|
|
1072
1091
|
status: import("./common.types").AccountStatus;
|
|
@@ -1135,7 +1154,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1135
1154
|
} | null | undefined;
|
|
1136
1155
|
accountNumber?: string | null | undefined;
|
|
1137
1156
|
routingNumber?: string | null | undefined;
|
|
1157
|
+
company?: string | null | undefined;
|
|
1138
1158
|
} | null | undefined;
|
|
1159
|
+
warrantsEnabled?: boolean | undefined;
|
|
1160
|
+
totalShares?: number | null | undefined;
|
|
1161
|
+
warrantTermYears?: number | null | undefined;
|
|
1162
|
+
exercisePrice?: number | null | undefined;
|
|
1163
|
+
warrantPercentage?: number | null | undefined;
|
|
1164
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1165
|
+
incrementThreshold?: number | null | undefined;
|
|
1166
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1167
|
+
shareClassId?: string | null | undefined;
|
|
1139
1168
|
}>, "many">;
|
|
1140
1169
|
meta: z.ZodObject<{
|
|
1141
1170
|
itemCount: z.ZodNumber;
|
|
@@ -1201,10 +1230,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1201
1230
|
durationType: DurationType | null;
|
|
1202
1231
|
tiers: number[] | null;
|
|
1203
1232
|
enableBonus: boolean;
|
|
1204
|
-
principalAmount: number | null;
|
|
1205
|
-
maxTotalRaise: number | null;
|
|
1206
1233
|
interestRate: number | null;
|
|
1207
|
-
interestType: InterestType | null;
|
|
1208
1234
|
__entity?: string | undefined;
|
|
1209
1235
|
account?: {
|
|
1210
1236
|
status: import("./common.types").AccountStatus;
|
|
@@ -1273,7 +1299,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1273
1299
|
} | null | undefined;
|
|
1274
1300
|
accountNumber?: string | null | undefined;
|
|
1275
1301
|
routingNumber?: string | null | undefined;
|
|
1302
|
+
company?: string | null | undefined;
|
|
1276
1303
|
} | null | undefined;
|
|
1304
|
+
warrantsEnabled?: boolean | undefined;
|
|
1305
|
+
totalShares?: number | null | undefined;
|
|
1306
|
+
warrantTermYears?: number | null | undefined;
|
|
1307
|
+
exercisePrice?: number | null | undefined;
|
|
1308
|
+
warrantPercentage?: number | null | undefined;
|
|
1309
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1310
|
+
incrementThreshold?: number | null | undefined;
|
|
1311
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1312
|
+
shareClassId?: string | null | undefined;
|
|
1277
1313
|
}[];
|
|
1278
1314
|
meta: {
|
|
1279
1315
|
itemCount: number;
|
|
@@ -1327,10 +1363,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1327
1363
|
durationType: DurationType | null;
|
|
1328
1364
|
tiers: number[] | null;
|
|
1329
1365
|
enableBonus: boolean;
|
|
1330
|
-
principalAmount: number | null;
|
|
1331
|
-
maxTotalRaise: number | null;
|
|
1332
1366
|
interestRate: number | null;
|
|
1333
|
-
interestType: InterestType | null;
|
|
1334
1367
|
__entity?: string | undefined;
|
|
1335
1368
|
account?: {
|
|
1336
1369
|
status: import("./common.types").AccountStatus;
|
|
@@ -1399,7 +1432,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1399
1432
|
} | null | undefined;
|
|
1400
1433
|
accountNumber?: string | null | undefined;
|
|
1401
1434
|
routingNumber?: string | null | undefined;
|
|
1435
|
+
company?: string | null | undefined;
|
|
1402
1436
|
} | null | undefined;
|
|
1437
|
+
warrantsEnabled?: boolean | undefined;
|
|
1438
|
+
totalShares?: number | null | undefined;
|
|
1439
|
+
warrantTermYears?: number | null | undefined;
|
|
1440
|
+
exercisePrice?: number | null | undefined;
|
|
1441
|
+
warrantPercentage?: number | null | undefined;
|
|
1442
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1443
|
+
incrementThreshold?: number | null | undefined;
|
|
1444
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1445
|
+
shareClassId?: string | null | undefined;
|
|
1403
1446
|
}[];
|
|
1404
1447
|
meta: {
|
|
1405
1448
|
itemCount: number;
|
|
@@ -1410,8 +1453,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1410
1453
|
};
|
|
1411
1454
|
}>;
|
|
1412
1455
|
export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
|
|
1456
|
+
export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
|
|
1413
1457
|
export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
1414
1458
|
issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
1459
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1415
1460
|
name: z.ZodString;
|
|
1416
1461
|
type: z.ZodNativeEnum<typeof OfferingType>;
|
|
1417
1462
|
targetAmount: z.ZodNumber;
|
|
@@ -1438,10 +1483,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1438
1483
|
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1439
1484
|
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1440
1485
|
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1441
|
-
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1442
|
-
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1443
1486
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1444
|
-
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
|
|
1445
1487
|
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1446
1488
|
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1447
1489
|
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -1478,12 +1520,21 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1478
1520
|
startAmount: number;
|
|
1479
1521
|
endAmount: number;
|
|
1480
1522
|
}>, "many">>;
|
|
1523
|
+
warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1524
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1525
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1526
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1527
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1528
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
1529
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1530
|
+
showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1481
1531
|
}, "strip", z.ZodTypeAny, {
|
|
1482
1532
|
type: OfferingType;
|
|
1483
1533
|
name: string;
|
|
1484
1534
|
template: AssetTemplateType;
|
|
1485
1535
|
targetAmount: number;
|
|
1486
1536
|
issuerId: string;
|
|
1537
|
+
warrantsEnabled: boolean;
|
|
1487
1538
|
assetName: string;
|
|
1488
1539
|
assetType: AssetType;
|
|
1489
1540
|
pricePerUnit: number | null;
|
|
@@ -1498,18 +1549,23 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1498
1549
|
startAt?: Date | null | undefined;
|
|
1499
1550
|
endAt?: Date | null | undefined;
|
|
1500
1551
|
cancellationPeriod?: number | null | undefined;
|
|
1552
|
+
showTotalRaised?: boolean | undefined;
|
|
1501
1553
|
hasEscrow?: boolean | undefined;
|
|
1502
1554
|
bankAccountId?: string | null | undefined;
|
|
1503
1555
|
escrowAccountId?: string | null | undefined;
|
|
1556
|
+
totalShares?: number | null | undefined;
|
|
1557
|
+
warrantTermYears?: number | null | undefined;
|
|
1558
|
+
exercisePrice?: number | null | undefined;
|
|
1559
|
+
warrantPercentage?: number | null | undefined;
|
|
1560
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1561
|
+
incrementThreshold?: number | null | undefined;
|
|
1562
|
+
shareClassId?: string | null | undefined;
|
|
1504
1563
|
yield?: number | null | undefined;
|
|
1505
1564
|
duration?: number | null | undefined;
|
|
1506
1565
|
durationType?: DurationType | null | undefined;
|
|
1507
1566
|
tiers?: number[] | null | undefined;
|
|
1508
1567
|
enableBonus?: boolean | undefined;
|
|
1509
|
-
principalAmount?: number | null | undefined;
|
|
1510
|
-
maxTotalRaise?: number | null | undefined;
|
|
1511
1568
|
interestRate?: number | null | undefined;
|
|
1512
|
-
interestType?: InterestType | null | undefined;
|
|
1513
1569
|
bonusTiers?: {
|
|
1514
1570
|
value: number;
|
|
1515
1571
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1536,18 +1592,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1536
1592
|
startAt?: string | null | undefined;
|
|
1537
1593
|
endAt?: string | null | undefined;
|
|
1538
1594
|
cancellationPeriod?: number | null | undefined;
|
|
1595
|
+
showTotalRaised?: boolean | undefined;
|
|
1539
1596
|
hasEscrow?: boolean | undefined;
|
|
1540
1597
|
bankAccountId?: string | null | undefined;
|
|
1541
1598
|
escrowAccountId?: string | null | undefined;
|
|
1599
|
+
warrantsEnabled?: boolean | undefined;
|
|
1600
|
+
totalShares?: number | null | undefined;
|
|
1601
|
+
warrantTermYears?: number | null | undefined;
|
|
1602
|
+
exercisePrice?: number | null | undefined;
|
|
1603
|
+
warrantPercentage?: number | null | undefined;
|
|
1604
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1605
|
+
incrementThreshold?: number | null | undefined;
|
|
1606
|
+
shareClassId?: string | null | undefined;
|
|
1542
1607
|
yield?: number | null | undefined;
|
|
1543
1608
|
duration?: number | null | undefined;
|
|
1544
1609
|
durationType?: DurationType | null | undefined;
|
|
1545
1610
|
tiers?: number[] | null | undefined;
|
|
1546
1611
|
enableBonus?: boolean | undefined;
|
|
1547
|
-
principalAmount?: number | null | undefined;
|
|
1548
|
-
maxTotalRaise?: number | null | undefined;
|
|
1549
1612
|
interestRate?: number | null | undefined;
|
|
1550
|
-
interestType?: InterestType | null | undefined;
|
|
1551
1613
|
bonusTiers?: {
|
|
1552
1614
|
value: number;
|
|
1553
1615
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1560,6 +1622,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1560
1622
|
template: AssetTemplateType;
|
|
1561
1623
|
targetAmount: number;
|
|
1562
1624
|
issuerId: string;
|
|
1625
|
+
warrantsEnabled: boolean;
|
|
1563
1626
|
assetName: string;
|
|
1564
1627
|
assetType: AssetType;
|
|
1565
1628
|
pricePerUnit: number | null;
|
|
@@ -1574,18 +1637,23 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1574
1637
|
startAt?: Date | null | undefined;
|
|
1575
1638
|
endAt?: Date | null | undefined;
|
|
1576
1639
|
cancellationPeriod?: number | null | undefined;
|
|
1640
|
+
showTotalRaised?: boolean | undefined;
|
|
1577
1641
|
hasEscrow?: boolean | undefined;
|
|
1578
1642
|
bankAccountId?: string | null | undefined;
|
|
1579
1643
|
escrowAccountId?: string | null | undefined;
|
|
1644
|
+
totalShares?: number | null | undefined;
|
|
1645
|
+
warrantTermYears?: number | null | undefined;
|
|
1646
|
+
exercisePrice?: number | null | undefined;
|
|
1647
|
+
warrantPercentage?: number | null | undefined;
|
|
1648
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1649
|
+
incrementThreshold?: number | null | undefined;
|
|
1650
|
+
shareClassId?: string | null | undefined;
|
|
1580
1651
|
yield?: number | null | undefined;
|
|
1581
1652
|
duration?: number | null | undefined;
|
|
1582
1653
|
durationType?: DurationType | null | undefined;
|
|
1583
1654
|
tiers?: number[] | null | undefined;
|
|
1584
1655
|
enableBonus?: boolean | undefined;
|
|
1585
|
-
principalAmount?: number | null | undefined;
|
|
1586
|
-
maxTotalRaise?: number | null | undefined;
|
|
1587
1656
|
interestRate?: number | null | undefined;
|
|
1588
|
-
interestType?: InterestType | null | undefined;
|
|
1589
1657
|
bonusTiers?: {
|
|
1590
1658
|
value: number;
|
|
1591
1659
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1612,18 +1680,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1612
1680
|
startAt?: string | null | undefined;
|
|
1613
1681
|
endAt?: string | null | undefined;
|
|
1614
1682
|
cancellationPeriod?: number | null | undefined;
|
|
1683
|
+
showTotalRaised?: boolean | undefined;
|
|
1615
1684
|
hasEscrow?: boolean | undefined;
|
|
1616
1685
|
bankAccountId?: string | null | undefined;
|
|
1617
1686
|
escrowAccountId?: string | null | undefined;
|
|
1687
|
+
warrantsEnabled?: boolean | undefined;
|
|
1688
|
+
totalShares?: number | null | undefined;
|
|
1689
|
+
warrantTermYears?: number | null | undefined;
|
|
1690
|
+
exercisePrice?: number | null | undefined;
|
|
1691
|
+
warrantPercentage?: number | null | undefined;
|
|
1692
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1693
|
+
incrementThreshold?: number | null | undefined;
|
|
1694
|
+
shareClassId?: string | null | undefined;
|
|
1618
1695
|
yield?: number | null | undefined;
|
|
1619
1696
|
duration?: number | null | undefined;
|
|
1620
1697
|
durationType?: DurationType | null | undefined;
|
|
1621
1698
|
tiers?: number[] | null | undefined;
|
|
1622
1699
|
enableBonus?: boolean | undefined;
|
|
1623
|
-
principalAmount?: number | null | undefined;
|
|
1624
|
-
maxTotalRaise?: number | null | undefined;
|
|
1625
1700
|
interestRate?: number | null | undefined;
|
|
1626
|
-
interestType?: InterestType | null | undefined;
|
|
1627
1701
|
bonusTiers?: {
|
|
1628
1702
|
value: number;
|
|
1629
1703
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1633,6 +1707,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1633
1707
|
}>;
|
|
1634
1708
|
export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
|
|
1635
1709
|
export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
1710
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1636
1711
|
name: z.ZodOptional<z.ZodString>;
|
|
1637
1712
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
1638
1713
|
targetAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1663,10 +1738,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1663
1738
|
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1664
1739
|
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1665
1740
|
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1666
|
-
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1667
|
-
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1668
1741
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1669
|
-
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
|
|
1670
1742
|
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1671
1743
|
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1672
1744
|
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -1703,6 +1775,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1703
1775
|
startAmount: number;
|
|
1704
1776
|
endAmount: number;
|
|
1705
1777
|
}>, "many">>;
|
|
1778
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1779
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1780
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1781
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1782
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1783
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
1784
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1706
1785
|
}, "strip", z.ZodTypeAny, {
|
|
1707
1786
|
type?: OfferingType | undefined;
|
|
1708
1787
|
name?: string | undefined;
|
|
@@ -1725,6 +1804,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1725
1804
|
escrowAgreementFileId?: string | null | undefined;
|
|
1726
1805
|
bankAccountId?: string | null | undefined;
|
|
1727
1806
|
escrowAccountId?: string | null | undefined;
|
|
1807
|
+
warrantsEnabled?: boolean | undefined;
|
|
1808
|
+
totalShares?: number | null | undefined;
|
|
1809
|
+
warrantTermYears?: number | null | undefined;
|
|
1810
|
+
exercisePrice?: number | null | undefined;
|
|
1811
|
+
warrantPercentage?: number | null | undefined;
|
|
1812
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1813
|
+
incrementThreshold?: number | null | undefined;
|
|
1814
|
+
shareClassId?: string | null | undefined;
|
|
1728
1815
|
assetName?: string | undefined;
|
|
1729
1816
|
assetType?: AssetType | undefined;
|
|
1730
1817
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1734,10 +1821,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1734
1821
|
durationType?: DurationType | null | undefined;
|
|
1735
1822
|
tiers?: number[] | null | undefined;
|
|
1736
1823
|
enableBonus?: boolean | undefined;
|
|
1737
|
-
principalAmount?: number | null | undefined;
|
|
1738
|
-
maxTotalRaise?: number | null | undefined;
|
|
1739
1824
|
interestRate?: number | null | undefined;
|
|
1740
|
-
interestType?: InterestType | null | undefined;
|
|
1741
1825
|
bonusTiers?: {
|
|
1742
1826
|
value: number;
|
|
1743
1827
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1766,6 +1850,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1766
1850
|
escrowAgreementFileId?: string | null | undefined;
|
|
1767
1851
|
bankAccountId?: string | null | undefined;
|
|
1768
1852
|
escrowAccountId?: string | null | undefined;
|
|
1853
|
+
warrantsEnabled?: boolean | undefined;
|
|
1854
|
+
totalShares?: number | null | undefined;
|
|
1855
|
+
warrantTermYears?: number | null | undefined;
|
|
1856
|
+
exercisePrice?: number | null | undefined;
|
|
1857
|
+
warrantPercentage?: number | null | undefined;
|
|
1858
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1859
|
+
incrementThreshold?: number | null | undefined;
|
|
1860
|
+
shareClassId?: string | null | undefined;
|
|
1769
1861
|
assetName?: string | undefined;
|
|
1770
1862
|
assetType?: AssetType | undefined;
|
|
1771
1863
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1775,10 +1867,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1775
1867
|
durationType?: DurationType | null | undefined;
|
|
1776
1868
|
tiers?: number[] | null | undefined;
|
|
1777
1869
|
enableBonus?: boolean | undefined;
|
|
1778
|
-
principalAmount?: number | null | undefined;
|
|
1779
|
-
maxTotalRaise?: number | null | undefined;
|
|
1780
1870
|
interestRate?: number | null | undefined;
|
|
1781
|
-
interestType?: InterestType | null | undefined;
|
|
1782
1871
|
bonusTiers?: {
|
|
1783
1872
|
value: number;
|
|
1784
1873
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1807,6 +1896,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1807
1896
|
escrowAgreementFileId?: string | null | undefined;
|
|
1808
1897
|
bankAccountId?: string | null | undefined;
|
|
1809
1898
|
escrowAccountId?: string | null | undefined;
|
|
1899
|
+
warrantsEnabled?: boolean | undefined;
|
|
1900
|
+
totalShares?: number | null | undefined;
|
|
1901
|
+
warrantTermYears?: number | null | undefined;
|
|
1902
|
+
exercisePrice?: number | null | undefined;
|
|
1903
|
+
warrantPercentage?: number | null | undefined;
|
|
1904
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1905
|
+
incrementThreshold?: number | null | undefined;
|
|
1906
|
+
shareClassId?: string | null | undefined;
|
|
1810
1907
|
assetName?: string | undefined;
|
|
1811
1908
|
assetType?: AssetType | undefined;
|
|
1812
1909
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1816,10 +1913,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1816
1913
|
durationType?: DurationType | null | undefined;
|
|
1817
1914
|
tiers?: number[] | null | undefined;
|
|
1818
1915
|
enableBonus?: boolean | undefined;
|
|
1819
|
-
principalAmount?: number | null | undefined;
|
|
1820
|
-
maxTotalRaise?: number | null | undefined;
|
|
1821
1916
|
interestRate?: number | null | undefined;
|
|
1822
|
-
interestType?: InterestType | null | undefined;
|
|
1823
1917
|
bonusTiers?: {
|
|
1824
1918
|
value: number;
|
|
1825
1919
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1848,6 +1942,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1848
1942
|
escrowAgreementFileId?: string | null | undefined;
|
|
1849
1943
|
bankAccountId?: string | null | undefined;
|
|
1850
1944
|
escrowAccountId?: string | null | undefined;
|
|
1945
|
+
warrantsEnabled?: boolean | undefined;
|
|
1946
|
+
totalShares?: number | null | undefined;
|
|
1947
|
+
warrantTermYears?: number | null | undefined;
|
|
1948
|
+
exercisePrice?: number | null | undefined;
|
|
1949
|
+
warrantPercentage?: number | null | undefined;
|
|
1950
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1951
|
+
incrementThreshold?: number | null | undefined;
|
|
1952
|
+
shareClassId?: string | null | undefined;
|
|
1851
1953
|
assetName?: string | undefined;
|
|
1852
1954
|
assetType?: AssetType | undefined;
|
|
1853
1955
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1857,10 +1959,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1857
1959
|
durationType?: DurationType | null | undefined;
|
|
1858
1960
|
tiers?: number[] | null | undefined;
|
|
1859
1961
|
enableBonus?: boolean | undefined;
|
|
1860
|
-
principalAmount?: number | null | undefined;
|
|
1861
|
-
maxTotalRaise?: number | null | undefined;
|
|
1862
1962
|
interestRate?: number | null | undefined;
|
|
1863
|
-
interestType?: InterestType | null | undefined;
|
|
1864
1963
|
bonusTiers?: {
|
|
1865
1964
|
value: number;
|
|
1866
1965
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1922,10 +2021,10 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
|
|
|
1922
2021
|
issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1923
2022
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
1924
2023
|
status: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
|
|
2024
|
+
complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
|
|
1925
2025
|
enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
1926
2026
|
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
1927
2027
|
versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
|
|
1928
|
-
combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
|
|
1929
2028
|
sortByNameASC: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, boolean, unknown>;
|
|
1930
2029
|
}, "strip", z.ZodTypeAny, {
|
|
1931
2030
|
sortByNameASC: boolean;
|
|
@@ -1934,23 +2033,33 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
|
|
|
1934
2033
|
accountId?: string | undefined;
|
|
1935
2034
|
name?: string | undefined;
|
|
1936
2035
|
managedBy?: ManagedByType | undefined;
|
|
2036
|
+
complianceReview?: ComplianceReview | undefined;
|
|
1937
2037
|
enabled?: boolean | undefined;
|
|
1938
2038
|
issuerId?: string | undefined;
|
|
1939
2039
|
issuerName?: string | undefined;
|
|
1940
2040
|
versioningType?: OfferingVersioningType | undefined;
|
|
1941
|
-
combinedStatus?: OfferingStatus | undefined;
|
|
1942
2041
|
}, {
|
|
1943
2042
|
type?: OfferingType | undefined;
|
|
1944
2043
|
status?: ComplianceReview | undefined;
|
|
1945
2044
|
accountId?: string | undefined;
|
|
1946
2045
|
name?: string | undefined;
|
|
1947
2046
|
managedBy?: ManagedByType | undefined;
|
|
2047
|
+
complianceReview?: ComplianceReview | undefined;
|
|
1948
2048
|
enabled?: unknown;
|
|
1949
2049
|
issuerId?: string | undefined;
|
|
1950
2050
|
issuerName?: string | undefined;
|
|
1951
2051
|
versioningType?: OfferingVersioningType | undefined;
|
|
1952
|
-
combinedStatus?: OfferingStatus | undefined;
|
|
1953
2052
|
sortByNameASC?: unknown;
|
|
1954
2053
|
}>;
|
|
1955
2054
|
export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
|
|
1956
2055
|
export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
|
|
2056
|
+
/**
|
|
2057
|
+
* Adds validation issues to the context if warrant-related fields are missing
|
|
2058
|
+
* when warrants are enabled on an offering. This function checks required fields for
|
|
2059
|
+
* offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
|
|
2060
|
+
* warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
|
|
2061
|
+
*
|
|
2062
|
+
* @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
|
|
2063
|
+
* @param ctx - The Zod refinement context to which validation issues will be added
|
|
2064
|
+
*/
|
|
2065
|
+
export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
|