@dalmore/api-contracts 0.0.0-dev.22a3970 → 0.0.0-dev.25fc9e2
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 +5 -0
- package/common/types/account.types.d.ts +6 -6
- package/common/types/account.types.js +3 -3
- package/common/types/account.types.js.map +1 -1
- package/common/types/attribution.types.d.ts +147 -0
- package/common/types/attribution.types.js +103 -0
- package/common/types/attribution.types.js.map +1 -0
- package/common/types/auth.types.d.ts +36 -0
- package/common/types/auth.types.js +3 -2
- package/common/types/auth.types.js.map +1 -1
- package/common/types/cap-table.types.d.ts +225 -53
- package/common/types/cap-table.types.js +35 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/common.types.d.ts +47 -5
- package/common/types/common.types.js +30 -3
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +12 -12
- package/common/types/csv.types.d.ts +3612 -0
- package/common/types/csv.types.js +290 -0
- package/common/types/csv.types.js.map +1 -0
- package/common/types/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 +945 -13
- package/common/types/disbursements.types.js +93 -3
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/exchange-provider.types.d.ts +12 -12
- package/common/types/file.types.d.ts +3 -0
- package/common/types/file.types.js +3 -0
- package/common/types/file.types.js.map +1 -1
- package/common/types/index.d.ts +3 -2
- package/common/types/index.js +3 -2
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.d.ts +395 -5
- package/common/types/individuals.types.js +11 -14
- package/common/types/individuals.types.js.map +1 -1
- package/common/types/investor-account.types.d.ts +1 -1
- package/common/types/investor-account.types.js +3 -2
- package/common/types/investor-account.types.js.map +1 -1
- package/common/types/investors-offering.types.d.ts +8 -0
- package/common/types/investors-offering.types.js +1 -0
- package/common/types/investors-offering.types.js.map +1 -1
- package/common/types/invite.types.d.ts +5 -2
- package/common/types/invite.types.js +2 -1
- package/common/types/invite.types.js.map +1 -1
- package/common/types/issuer-offering.types.d.ts +344 -12
- package/common/types/issuer-offering.types.js +182 -32
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/legal-entity.types.d.ts +39 -1
- package/common/types/legal-entity.types.js +8 -5
- package/common/types/legal-entity.types.js.map +1 -1
- package/common/types/mail-template.types.d.ts +4 -4
- package/common/types/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.js +1 -1
- package/common/types/offering.types.d.ts +233 -31
- package/common/types/offering.types.js +229 -19
- 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 +12 -12
- 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 -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 +8 -0
- package/common/types/task.types.js +3 -0
- package/common/types/task.types.js.map +1 -1
- package/common/types/trade-line-item.types.d.ts +24 -0
- package/common/types/trade-line-item.types.js +3 -0
- package/common/types/trade-line-item.types.js.map +1 -1
- package/common/types/trade.types.d.ts +20 -14
- package/common/types/trade.types.js +18 -7
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +24 -2
- package/common/types/transaction.types.js +26 -1
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +79 -82
- package/common/types/user.types.js +7 -23
- package/common/types/user.types.js.map +1 -1
- package/common/types/zapier.types.d.ts +126 -0
- package/common/types/zapier.types.js +247 -0
- package/common/types/zapier.types.js.map +1 -0
- package/contracts/clients/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/index.d.ts +4019 -1061
- package/contracts/clients/index.js +8 -2
- package/contracts/clients/index.js.map +1 -1
- package/contracts/clients/individuals/index.d.ts +381 -5
- package/contracts/clients/legal-entities/index.d.ts +1 -1
- package/contracts/clients/offerings/index.d.ts +90 -5
- package/contracts/clients/review/index.d.ts +85 -0
- package/contracts/clients/review/index.js +27 -0
- package/contracts/clients/review/index.js.map +1 -0
- package/contracts/clients/webhooks/index.d.ts +506 -0
- package/contracts/clients/webhooks/index.js +118 -0
- package/contracts/clients/webhooks/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod } from './common.types';
|
|
2
|
+
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod, WarrantSharesCalculationMethod, OfferingStatus } from './common.types';
|
|
3
3
|
import { AssetTemplateType } from './asset.types';
|
|
4
4
|
import { PostComplianceOffering } from './offering.types';
|
|
5
|
-
export declare enum OfferingStatus {
|
|
6
|
-
ONBOARDING = "ONBOARDING",
|
|
7
|
-
IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
|
|
8
|
-
ACTIVE = "ACTIVE",
|
|
9
|
-
PAUSED = "PAUSED"
|
|
10
|
-
}
|
|
11
5
|
export declare const IIssuerOffering: z.ZodObject<{
|
|
12
6
|
id: z.ZodString;
|
|
13
7
|
__entity: z.ZodOptional<z.ZodString>;
|
|
@@ -331,6 +325,16 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
331
325
|
routingNumber?: string | null | undefined;
|
|
332
326
|
company?: string | null | undefined;
|
|
333
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>>;
|
|
337
|
+
soldOut: z.ZodOptional<z.ZodBoolean>;
|
|
334
338
|
}, "strip", z.ZodTypeAny, {
|
|
335
339
|
type: OfferingType | null;
|
|
336
340
|
id: string;
|
|
@@ -407,6 +411,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
407
411
|
allowPendingComplianceReview: boolean;
|
|
408
412
|
__entity?: string | undefined;
|
|
409
413
|
} | null | undefined;
|
|
414
|
+
soldOut?: boolean | undefined;
|
|
410
415
|
issuer?: any;
|
|
411
416
|
coverArtId?: string | null | undefined;
|
|
412
417
|
coverArt?: any;
|
|
@@ -446,6 +451,15 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
446
451
|
routingNumber?: string | null | undefined;
|
|
447
452
|
company?: string | null | undefined;
|
|
448
453
|
} | null | undefined;
|
|
454
|
+
warrantsEnabled?: boolean | undefined;
|
|
455
|
+
totalShares?: number | null | undefined;
|
|
456
|
+
warrantTermYears?: number | null | undefined;
|
|
457
|
+
exercisePrice?: number | null | undefined;
|
|
458
|
+
warrantPercentage?: number | null | undefined;
|
|
459
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
460
|
+
incrementThreshold?: number | null | undefined;
|
|
461
|
+
fullyDilutedShares?: number | null | undefined;
|
|
462
|
+
shareClassId?: string | null | undefined;
|
|
449
463
|
}, {
|
|
450
464
|
type: OfferingType | null;
|
|
451
465
|
id: string;
|
|
@@ -522,6 +536,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
522
536
|
allowPendingComplianceReview: boolean;
|
|
523
537
|
__entity?: string | undefined;
|
|
524
538
|
} | null | undefined;
|
|
539
|
+
soldOut?: boolean | undefined;
|
|
525
540
|
issuer?: any;
|
|
526
541
|
coverArtId?: string | null | undefined;
|
|
527
542
|
coverArt?: any;
|
|
@@ -561,6 +576,15 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
561
576
|
routingNumber?: string | null | undefined;
|
|
562
577
|
company?: string | null | undefined;
|
|
563
578
|
} | null | undefined;
|
|
579
|
+
warrantsEnabled?: boolean | undefined;
|
|
580
|
+
totalShares?: number | null | undefined;
|
|
581
|
+
warrantTermYears?: number | null | undefined;
|
|
582
|
+
exercisePrice?: number | null | undefined;
|
|
583
|
+
warrantPercentage?: number | null | undefined;
|
|
584
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
585
|
+
incrementThreshold?: number | null | undefined;
|
|
586
|
+
fullyDilutedShares?: number | null | undefined;
|
|
587
|
+
shareClassId?: string | null | undefined;
|
|
564
588
|
}>;
|
|
565
589
|
export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
|
|
566
590
|
export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
@@ -887,6 +911,16 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
887
911
|
routingNumber?: string | null | undefined;
|
|
888
912
|
company?: string | null | undefined;
|
|
889
913
|
}>>>>;
|
|
914
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
915
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
916
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
917
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
918
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
919
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
920
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
921
|
+
fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
922
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
923
|
+
soldOut: z.ZodOptional<z.ZodBoolean>;
|
|
890
924
|
}, "strip", z.ZodTypeAny, {
|
|
891
925
|
type: OfferingType | null;
|
|
892
926
|
id: string;
|
|
@@ -963,6 +997,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
963
997
|
allowPendingComplianceReview: boolean;
|
|
964
998
|
__entity?: string | undefined;
|
|
965
999
|
} | null | undefined;
|
|
1000
|
+
soldOut?: boolean | undefined;
|
|
966
1001
|
issuer?: any;
|
|
967
1002
|
coverArtId?: string | null | undefined;
|
|
968
1003
|
coverArt?: any;
|
|
@@ -1002,6 +1037,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1002
1037
|
routingNumber?: string | null | undefined;
|
|
1003
1038
|
company?: string | null | undefined;
|
|
1004
1039
|
} | null | undefined;
|
|
1040
|
+
warrantsEnabled?: boolean | undefined;
|
|
1041
|
+
totalShares?: number | null | undefined;
|
|
1042
|
+
warrantTermYears?: number | null | undefined;
|
|
1043
|
+
exercisePrice?: number | null | undefined;
|
|
1044
|
+
warrantPercentage?: number | null | undefined;
|
|
1045
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1046
|
+
incrementThreshold?: number | null | undefined;
|
|
1047
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1048
|
+
shareClassId?: string | null | undefined;
|
|
1005
1049
|
}, {
|
|
1006
1050
|
type: OfferingType | null;
|
|
1007
1051
|
id: string;
|
|
@@ -1078,6 +1122,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1078
1122
|
allowPendingComplianceReview: boolean;
|
|
1079
1123
|
__entity?: string | undefined;
|
|
1080
1124
|
} | null | undefined;
|
|
1125
|
+
soldOut?: boolean | undefined;
|
|
1081
1126
|
issuer?: any;
|
|
1082
1127
|
coverArtId?: string | null | undefined;
|
|
1083
1128
|
coverArt?: any;
|
|
@@ -1117,6 +1162,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1117
1162
|
routingNumber?: string | null | undefined;
|
|
1118
1163
|
company?: string | null | undefined;
|
|
1119
1164
|
} | null | undefined;
|
|
1165
|
+
warrantsEnabled?: boolean | undefined;
|
|
1166
|
+
totalShares?: number | null | undefined;
|
|
1167
|
+
warrantTermYears?: number | null | undefined;
|
|
1168
|
+
exercisePrice?: number | null | undefined;
|
|
1169
|
+
warrantPercentage?: number | null | undefined;
|
|
1170
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1171
|
+
incrementThreshold?: number | null | undefined;
|
|
1172
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1173
|
+
shareClassId?: string | null | undefined;
|
|
1120
1174
|
}>, "many">;
|
|
1121
1175
|
meta: z.ZodObject<{
|
|
1122
1176
|
itemCount: z.ZodNumber;
|
|
@@ -1214,6 +1268,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1214
1268
|
allowPendingComplianceReview: boolean;
|
|
1215
1269
|
__entity?: string | undefined;
|
|
1216
1270
|
} | null | undefined;
|
|
1271
|
+
soldOut?: boolean | undefined;
|
|
1217
1272
|
issuer?: any;
|
|
1218
1273
|
coverArtId?: string | null | undefined;
|
|
1219
1274
|
coverArt?: any;
|
|
@@ -1253,6 +1308,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1253
1308
|
routingNumber?: string | null | undefined;
|
|
1254
1309
|
company?: string | null | undefined;
|
|
1255
1310
|
} | null | undefined;
|
|
1311
|
+
warrantsEnabled?: boolean | undefined;
|
|
1312
|
+
totalShares?: number | null | undefined;
|
|
1313
|
+
warrantTermYears?: number | null | undefined;
|
|
1314
|
+
exercisePrice?: number | null | undefined;
|
|
1315
|
+
warrantPercentage?: number | null | undefined;
|
|
1316
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1317
|
+
incrementThreshold?: number | null | undefined;
|
|
1318
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1319
|
+
shareClassId?: string | null | undefined;
|
|
1256
1320
|
}[];
|
|
1257
1321
|
meta: {
|
|
1258
1322
|
itemCount: number;
|
|
@@ -1338,6 +1402,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1338
1402
|
allowPendingComplianceReview: boolean;
|
|
1339
1403
|
__entity?: string | undefined;
|
|
1340
1404
|
} | null | undefined;
|
|
1405
|
+
soldOut?: boolean | undefined;
|
|
1341
1406
|
issuer?: any;
|
|
1342
1407
|
coverArtId?: string | null | undefined;
|
|
1343
1408
|
coverArt?: any;
|
|
@@ -1377,6 +1442,15 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1377
1442
|
routingNumber?: string | null | undefined;
|
|
1378
1443
|
company?: string | null | undefined;
|
|
1379
1444
|
} | null | undefined;
|
|
1445
|
+
warrantsEnabled?: boolean | undefined;
|
|
1446
|
+
totalShares?: number | null | undefined;
|
|
1447
|
+
warrantTermYears?: number | null | undefined;
|
|
1448
|
+
exercisePrice?: number | null | undefined;
|
|
1449
|
+
warrantPercentage?: number | null | undefined;
|
|
1450
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1451
|
+
incrementThreshold?: number | null | undefined;
|
|
1452
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1453
|
+
shareClassId?: string | null | undefined;
|
|
1380
1454
|
}[];
|
|
1381
1455
|
meta: {
|
|
1382
1456
|
itemCount: number;
|
|
@@ -1388,8 +1462,172 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1388
1462
|
}>;
|
|
1389
1463
|
export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
|
|
1390
1464
|
export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
|
|
1465
|
+
export declare const PostIssuerOfferingBaseObject: z.ZodObject<{
|
|
1466
|
+
issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
1467
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1468
|
+
name: z.ZodString;
|
|
1469
|
+
type: z.ZodNativeEnum<typeof OfferingType>;
|
|
1470
|
+
targetAmount: z.ZodNumber;
|
|
1471
|
+
raiseAmount: z.ZodOptional<z.ZodNumber>;
|
|
1472
|
+
minInvestment: z.ZodOptional<z.ZodNumber>;
|
|
1473
|
+
maxInvestment: z.ZodOptional<z.ZodNumber>;
|
|
1474
|
+
contingencyAmount: z.ZodOptional<z.ZodNumber>;
|
|
1475
|
+
startAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
1476
|
+
endAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
1477
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
1478
|
+
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1479
|
+
description: z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>>;
|
|
1480
|
+
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
1481
|
+
assetName: z.ZodString;
|
|
1482
|
+
assetType: z.ZodNativeEnum<typeof AssetType>;
|
|
1483
|
+
pricePerUnit: z.ZodNullable<z.ZodNumber>;
|
|
1484
|
+
totalUnits: z.ZodNullable<z.ZodNumber>;
|
|
1485
|
+
yield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1486
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1487
|
+
durationType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof DurationType>>>;
|
|
1488
|
+
template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
|
|
1489
|
+
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1490
|
+
enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1491
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1492
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1493
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1494
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1495
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1496
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1497
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1498
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1499
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1500
|
+
}, "strip", z.ZodTypeAny, {
|
|
1501
|
+
value: number;
|
|
1502
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1503
|
+
startAmount: number;
|
|
1504
|
+
endAmount: number;
|
|
1505
|
+
}, {
|
|
1506
|
+
value: number;
|
|
1507
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1508
|
+
startAmount: number;
|
|
1509
|
+
endAmount: number;
|
|
1510
|
+
}>, {
|
|
1511
|
+
value: number;
|
|
1512
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1513
|
+
startAmount: number;
|
|
1514
|
+
endAmount: number;
|
|
1515
|
+
}, {
|
|
1516
|
+
value: number;
|
|
1517
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1518
|
+
startAmount: number;
|
|
1519
|
+
endAmount: number;
|
|
1520
|
+
}>, {
|
|
1521
|
+
value: number;
|
|
1522
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1523
|
+
startAmount: number;
|
|
1524
|
+
endAmount: number;
|
|
1525
|
+
}, {
|
|
1526
|
+
value: number;
|
|
1527
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1528
|
+
startAmount: number;
|
|
1529
|
+
endAmount: number;
|
|
1530
|
+
}>, "many">>;
|
|
1531
|
+
warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1532
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1533
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1534
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1535
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1536
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
1537
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1538
|
+
showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1539
|
+
}, "strip", z.ZodTypeAny, {
|
|
1540
|
+
type: OfferingType;
|
|
1541
|
+
name: string;
|
|
1542
|
+
template: AssetTemplateType;
|
|
1543
|
+
targetAmount: number;
|
|
1544
|
+
issuerId: string;
|
|
1545
|
+
warrantsEnabled: boolean;
|
|
1546
|
+
assetName: string;
|
|
1547
|
+
assetType: AssetType;
|
|
1548
|
+
pricePerUnit: number | null;
|
|
1549
|
+
totalUnits: number | null;
|
|
1550
|
+
active?: boolean | undefined;
|
|
1551
|
+
managedBy?: ManagedByType | undefined;
|
|
1552
|
+
description?: string | null | undefined;
|
|
1553
|
+
raiseAmount?: number | undefined;
|
|
1554
|
+
minInvestment?: number | undefined;
|
|
1555
|
+
maxInvestment?: number | undefined;
|
|
1556
|
+
contingencyAmount?: number | undefined;
|
|
1557
|
+
startAt?: Date | null | undefined;
|
|
1558
|
+
endAt?: Date | null | undefined;
|
|
1559
|
+
cancellationPeriod?: number | null | undefined;
|
|
1560
|
+
showTotalRaised?: boolean | undefined;
|
|
1561
|
+
hasEscrow?: boolean | undefined;
|
|
1562
|
+
bankAccountId?: string | null | undefined;
|
|
1563
|
+
escrowAccountId?: string | null | undefined;
|
|
1564
|
+
totalShares?: number | null | undefined;
|
|
1565
|
+
warrantTermYears?: number | null | undefined;
|
|
1566
|
+
exercisePrice?: number | null | undefined;
|
|
1567
|
+
warrantPercentage?: number | null | undefined;
|
|
1568
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1569
|
+
incrementThreshold?: number | null | undefined;
|
|
1570
|
+
shareClassId?: string | null | undefined;
|
|
1571
|
+
yield?: number | null | undefined;
|
|
1572
|
+
duration?: number | null | undefined;
|
|
1573
|
+
durationType?: DurationType | null | undefined;
|
|
1574
|
+
tiers?: number[] | null | undefined;
|
|
1575
|
+
enableBonus?: boolean | undefined;
|
|
1576
|
+
interestRate?: number | null | undefined;
|
|
1577
|
+
bonusTiers?: {
|
|
1578
|
+
value: number;
|
|
1579
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1580
|
+
startAmount: number;
|
|
1581
|
+
endAmount: number;
|
|
1582
|
+
}[] | undefined;
|
|
1583
|
+
}, {
|
|
1584
|
+
type: OfferingType;
|
|
1585
|
+
name: string;
|
|
1586
|
+
targetAmount: number;
|
|
1587
|
+
issuerId: string;
|
|
1588
|
+
assetName: string;
|
|
1589
|
+
assetType: AssetType;
|
|
1590
|
+
pricePerUnit: number | null;
|
|
1591
|
+
totalUnits: number | null;
|
|
1592
|
+
active?: boolean | undefined;
|
|
1593
|
+
managedBy?: ManagedByType | undefined;
|
|
1594
|
+
description?: string | null | undefined;
|
|
1595
|
+
template?: AssetTemplateType | undefined;
|
|
1596
|
+
raiseAmount?: number | undefined;
|
|
1597
|
+
minInvestment?: number | undefined;
|
|
1598
|
+
maxInvestment?: number | undefined;
|
|
1599
|
+
contingencyAmount?: number | undefined;
|
|
1600
|
+
startAt?: string | null | undefined;
|
|
1601
|
+
endAt?: string | null | undefined;
|
|
1602
|
+
cancellationPeriod?: number | null | undefined;
|
|
1603
|
+
showTotalRaised?: boolean | undefined;
|
|
1604
|
+
hasEscrow?: boolean | undefined;
|
|
1605
|
+
bankAccountId?: string | null | undefined;
|
|
1606
|
+
escrowAccountId?: string | null | undefined;
|
|
1607
|
+
warrantsEnabled?: boolean | undefined;
|
|
1608
|
+
totalShares?: number | null | undefined;
|
|
1609
|
+
warrantTermYears?: number | null | undefined;
|
|
1610
|
+
exercisePrice?: number | null | undefined;
|
|
1611
|
+
warrantPercentage?: number | null | undefined;
|
|
1612
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1613
|
+
incrementThreshold?: number | null | undefined;
|
|
1614
|
+
shareClassId?: string | null | undefined;
|
|
1615
|
+
yield?: number | null | undefined;
|
|
1616
|
+
duration?: number | null | undefined;
|
|
1617
|
+
durationType?: DurationType | null | undefined;
|
|
1618
|
+
tiers?: number[] | null | undefined;
|
|
1619
|
+
enableBonus?: boolean | undefined;
|
|
1620
|
+
interestRate?: number | null | undefined;
|
|
1621
|
+
bonusTiers?: {
|
|
1622
|
+
value: number;
|
|
1623
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1624
|
+
startAmount: number;
|
|
1625
|
+
endAmount: number;
|
|
1626
|
+
}[] | undefined;
|
|
1627
|
+
}>;
|
|
1391
1628
|
export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
1392
1629
|
issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
1630
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1393
1631
|
name: z.ZodString;
|
|
1394
1632
|
type: z.ZodNativeEnum<typeof OfferingType>;
|
|
1395
1633
|
targetAmount: z.ZodNumber;
|
|
@@ -1401,7 +1639,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1401
1639
|
endAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
1402
1640
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
1403
1641
|
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1404
|
-
description: z.
|
|
1642
|
+
description: z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>>;
|
|
1405
1643
|
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
1406
1644
|
assetName: z.ZodString;
|
|
1407
1645
|
assetType: z.ZodNativeEnum<typeof AssetType>;
|
|
@@ -1453,12 +1691,21 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1453
1691
|
startAmount: number;
|
|
1454
1692
|
endAmount: number;
|
|
1455
1693
|
}>, "many">>;
|
|
1694
|
+
warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1695
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1696
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1697
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1698
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1699
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
1700
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1701
|
+
showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1456
1702
|
}, "strip", z.ZodTypeAny, {
|
|
1457
1703
|
type: OfferingType;
|
|
1458
1704
|
name: string;
|
|
1459
1705
|
template: AssetTemplateType;
|
|
1460
1706
|
targetAmount: number;
|
|
1461
1707
|
issuerId: string;
|
|
1708
|
+
warrantsEnabled: boolean;
|
|
1462
1709
|
assetName: string;
|
|
1463
1710
|
assetType: AssetType;
|
|
1464
1711
|
pricePerUnit: number | null;
|
|
@@ -1473,9 +1720,17 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1473
1720
|
startAt?: Date | null | undefined;
|
|
1474
1721
|
endAt?: Date | null | undefined;
|
|
1475
1722
|
cancellationPeriod?: number | null | undefined;
|
|
1723
|
+
showTotalRaised?: boolean | undefined;
|
|
1476
1724
|
hasEscrow?: boolean | undefined;
|
|
1477
1725
|
bankAccountId?: string | null | undefined;
|
|
1478
1726
|
escrowAccountId?: string | null | undefined;
|
|
1727
|
+
totalShares?: number | null | undefined;
|
|
1728
|
+
warrantTermYears?: number | null | undefined;
|
|
1729
|
+
exercisePrice?: number | null | undefined;
|
|
1730
|
+
warrantPercentage?: number | null | undefined;
|
|
1731
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1732
|
+
incrementThreshold?: number | null | undefined;
|
|
1733
|
+
shareClassId?: string | null | undefined;
|
|
1479
1734
|
yield?: number | null | undefined;
|
|
1480
1735
|
duration?: number | null | undefined;
|
|
1481
1736
|
durationType?: DurationType | null | undefined;
|
|
@@ -1508,9 +1763,18 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1508
1763
|
startAt?: string | null | undefined;
|
|
1509
1764
|
endAt?: string | null | undefined;
|
|
1510
1765
|
cancellationPeriod?: number | null | undefined;
|
|
1766
|
+
showTotalRaised?: boolean | undefined;
|
|
1511
1767
|
hasEscrow?: boolean | undefined;
|
|
1512
1768
|
bankAccountId?: string | null | undefined;
|
|
1513
1769
|
escrowAccountId?: string | null | undefined;
|
|
1770
|
+
warrantsEnabled?: boolean | undefined;
|
|
1771
|
+
totalShares?: number | null | undefined;
|
|
1772
|
+
warrantTermYears?: number | null | undefined;
|
|
1773
|
+
exercisePrice?: number | null | undefined;
|
|
1774
|
+
warrantPercentage?: number | null | undefined;
|
|
1775
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1776
|
+
incrementThreshold?: number | null | undefined;
|
|
1777
|
+
shareClassId?: string | null | undefined;
|
|
1514
1778
|
yield?: number | null | undefined;
|
|
1515
1779
|
duration?: number | null | undefined;
|
|
1516
1780
|
durationType?: DurationType | null | undefined;
|
|
@@ -1529,6 +1793,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1529
1793
|
template: AssetTemplateType;
|
|
1530
1794
|
targetAmount: number;
|
|
1531
1795
|
issuerId: string;
|
|
1796
|
+
warrantsEnabled: boolean;
|
|
1532
1797
|
assetName: string;
|
|
1533
1798
|
assetType: AssetType;
|
|
1534
1799
|
pricePerUnit: number | null;
|
|
@@ -1543,9 +1808,17 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1543
1808
|
startAt?: Date | null | undefined;
|
|
1544
1809
|
endAt?: Date | null | undefined;
|
|
1545
1810
|
cancellationPeriod?: number | null | undefined;
|
|
1811
|
+
showTotalRaised?: boolean | undefined;
|
|
1546
1812
|
hasEscrow?: boolean | undefined;
|
|
1547
1813
|
bankAccountId?: string | null | undefined;
|
|
1548
1814
|
escrowAccountId?: string | null | undefined;
|
|
1815
|
+
totalShares?: number | null | undefined;
|
|
1816
|
+
warrantTermYears?: number | null | undefined;
|
|
1817
|
+
exercisePrice?: number | null | undefined;
|
|
1818
|
+
warrantPercentage?: number | null | undefined;
|
|
1819
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1820
|
+
incrementThreshold?: number | null | undefined;
|
|
1821
|
+
shareClassId?: string | null | undefined;
|
|
1549
1822
|
yield?: number | null | undefined;
|
|
1550
1823
|
duration?: number | null | undefined;
|
|
1551
1824
|
durationType?: DurationType | null | undefined;
|
|
@@ -1578,9 +1851,18 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1578
1851
|
startAt?: string | null | undefined;
|
|
1579
1852
|
endAt?: string | null | undefined;
|
|
1580
1853
|
cancellationPeriod?: number | null | undefined;
|
|
1854
|
+
showTotalRaised?: boolean | undefined;
|
|
1581
1855
|
hasEscrow?: boolean | undefined;
|
|
1582
1856
|
bankAccountId?: string | null | undefined;
|
|
1583
1857
|
escrowAccountId?: string | null | undefined;
|
|
1858
|
+
warrantsEnabled?: boolean | undefined;
|
|
1859
|
+
totalShares?: number | null | undefined;
|
|
1860
|
+
warrantTermYears?: number | null | undefined;
|
|
1861
|
+
exercisePrice?: number | null | undefined;
|
|
1862
|
+
warrantPercentage?: number | null | undefined;
|
|
1863
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1864
|
+
incrementThreshold?: number | null | undefined;
|
|
1865
|
+
shareClassId?: string | null | undefined;
|
|
1584
1866
|
yield?: number | null | undefined;
|
|
1585
1867
|
duration?: number | null | undefined;
|
|
1586
1868
|
durationType?: DurationType | null | undefined;
|
|
@@ -1596,6 +1878,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1596
1878
|
}>;
|
|
1597
1879
|
export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
|
|
1598
1880
|
export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
1881
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1599
1882
|
name: z.ZodOptional<z.ZodString>;
|
|
1600
1883
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
1601
1884
|
targetAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1605,7 +1888,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1605
1888
|
startAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
|
|
1606
1889
|
endAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
|
|
1607
1890
|
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1608
|
-
description: z.
|
|
1891
|
+
description: z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>>;
|
|
1609
1892
|
memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1610
1893
|
subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1611
1894
|
coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
@@ -1663,6 +1946,13 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1663
1946
|
startAmount: number;
|
|
1664
1947
|
endAmount: number;
|
|
1665
1948
|
}>, "many">>;
|
|
1949
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1950
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1951
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1952
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1953
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1954
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
1955
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1666
1956
|
}, "strip", z.ZodTypeAny, {
|
|
1667
1957
|
type?: OfferingType | undefined;
|
|
1668
1958
|
name?: string | undefined;
|
|
@@ -1685,6 +1975,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1685
1975
|
escrowAgreementFileId?: string | null | undefined;
|
|
1686
1976
|
bankAccountId?: string | null | undefined;
|
|
1687
1977
|
escrowAccountId?: string | null | undefined;
|
|
1978
|
+
warrantsEnabled?: boolean | undefined;
|
|
1979
|
+
totalShares?: number | null | undefined;
|
|
1980
|
+
warrantTermYears?: number | null | undefined;
|
|
1981
|
+
exercisePrice?: number | null | undefined;
|
|
1982
|
+
warrantPercentage?: number | null | undefined;
|
|
1983
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1984
|
+
incrementThreshold?: number | null | undefined;
|
|
1985
|
+
shareClassId?: string | null | undefined;
|
|
1688
1986
|
assetName?: string | undefined;
|
|
1689
1987
|
assetType?: AssetType | undefined;
|
|
1690
1988
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1723,6 +2021,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1723
2021
|
escrowAgreementFileId?: string | null | undefined;
|
|
1724
2022
|
bankAccountId?: string | null | undefined;
|
|
1725
2023
|
escrowAccountId?: string | null | undefined;
|
|
2024
|
+
warrantsEnabled?: boolean | undefined;
|
|
2025
|
+
totalShares?: number | null | undefined;
|
|
2026
|
+
warrantTermYears?: number | null | undefined;
|
|
2027
|
+
exercisePrice?: number | null | undefined;
|
|
2028
|
+
warrantPercentage?: number | null | undefined;
|
|
2029
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
2030
|
+
incrementThreshold?: number | null | undefined;
|
|
2031
|
+
shareClassId?: string | null | undefined;
|
|
1726
2032
|
assetName?: string | undefined;
|
|
1727
2033
|
assetType?: AssetType | undefined;
|
|
1728
2034
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1761,6 +2067,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1761
2067
|
escrowAgreementFileId?: string | null | undefined;
|
|
1762
2068
|
bankAccountId?: string | null | undefined;
|
|
1763
2069
|
escrowAccountId?: string | null | undefined;
|
|
2070
|
+
warrantsEnabled?: boolean | undefined;
|
|
2071
|
+
totalShares?: number | null | undefined;
|
|
2072
|
+
warrantTermYears?: number | null | undefined;
|
|
2073
|
+
exercisePrice?: number | null | undefined;
|
|
2074
|
+
warrantPercentage?: number | null | undefined;
|
|
2075
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
2076
|
+
incrementThreshold?: number | null | undefined;
|
|
2077
|
+
shareClassId?: string | null | undefined;
|
|
1764
2078
|
assetName?: string | undefined;
|
|
1765
2079
|
assetType?: AssetType | undefined;
|
|
1766
2080
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1799,6 +2113,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1799
2113
|
escrowAgreementFileId?: string | null | undefined;
|
|
1800
2114
|
bankAccountId?: string | null | undefined;
|
|
1801
2115
|
escrowAccountId?: string | null | undefined;
|
|
2116
|
+
warrantsEnabled?: boolean | undefined;
|
|
2117
|
+
totalShares?: number | null | undefined;
|
|
2118
|
+
warrantTermYears?: number | null | undefined;
|
|
2119
|
+
exercisePrice?: number | null | undefined;
|
|
2120
|
+
warrantPercentage?: number | null | undefined;
|
|
2121
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
2122
|
+
incrementThreshold?: number | null | undefined;
|
|
2123
|
+
shareClassId?: string | null | undefined;
|
|
1802
2124
|
assetName?: string | undefined;
|
|
1803
2125
|
assetType?: AssetType | undefined;
|
|
1804
2126
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1870,10 +2192,10 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
|
|
|
1870
2192
|
issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1871
2193
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
1872
2194
|
status: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
|
|
2195
|
+
complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
|
|
1873
2196
|
enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
1874
2197
|
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
1875
2198
|
versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
|
|
1876
|
-
combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
|
|
1877
2199
|
sortByNameASC: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, boolean, unknown>;
|
|
1878
2200
|
}, "strip", z.ZodTypeAny, {
|
|
1879
2201
|
sortByNameASC: boolean;
|
|
@@ -1882,23 +2204,33 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
|
|
|
1882
2204
|
accountId?: string | undefined;
|
|
1883
2205
|
name?: string | undefined;
|
|
1884
2206
|
managedBy?: ManagedByType | undefined;
|
|
2207
|
+
complianceReview?: ComplianceReview | undefined;
|
|
1885
2208
|
enabled?: boolean | undefined;
|
|
1886
2209
|
issuerId?: string | undefined;
|
|
1887
2210
|
issuerName?: string | undefined;
|
|
1888
2211
|
versioningType?: OfferingVersioningType | undefined;
|
|
1889
|
-
combinedStatus?: OfferingStatus | undefined;
|
|
1890
2212
|
}, {
|
|
1891
2213
|
type?: OfferingType | undefined;
|
|
1892
2214
|
status?: ComplianceReview | undefined;
|
|
1893
2215
|
accountId?: string | undefined;
|
|
1894
2216
|
name?: string | undefined;
|
|
1895
2217
|
managedBy?: ManagedByType | undefined;
|
|
2218
|
+
complianceReview?: ComplianceReview | undefined;
|
|
1896
2219
|
enabled?: unknown;
|
|
1897
2220
|
issuerId?: string | undefined;
|
|
1898
2221
|
issuerName?: string | undefined;
|
|
1899
2222
|
versioningType?: OfferingVersioningType | undefined;
|
|
1900
|
-
combinedStatus?: OfferingStatus | undefined;
|
|
1901
2223
|
sortByNameASC?: unknown;
|
|
1902
2224
|
}>;
|
|
1903
2225
|
export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
|
|
1904
2226
|
export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
|
|
2227
|
+
/**
|
|
2228
|
+
* Adds validation issues to the context if warrant-related fields are missing
|
|
2229
|
+
* when warrants are enabled on an offering. This function checks required fields for
|
|
2230
|
+
* offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
|
|
2231
|
+
* warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
|
|
2232
|
+
*
|
|
2233
|
+
* @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
|
|
2234
|
+
* @param ctx - The Zod refinement context to which validation issues will be added
|
|
2235
|
+
*/
|
|
2236
|
+
export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
|