@dalmore/api-contracts 0.0.0-dev.f1cb508 → 0.0.0-dev.f48e7e9
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 +8 -0
- package/common/helpers/index.js +15 -0
- package/common/helpers/index.js.map +1 -1
- package/common/types/account-setting.types.d.ts +22 -66
- package/common/types/account-setting.types.js +2 -31
- package/common/types/account-setting.types.js.map +1 -1
- package/common/types/account.types.d.ts +32 -23
- package/common/types/account.types.js +4 -3
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +34 -25
- package/common/types/activity.types.js +11 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +25 -111
- package/common/types/asset.types.js +24 -100
- package/common/types/asset.types.js.map +1 -1
- package/common/types/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 +349 -6
- package/common/types/common.types.js +68 -4
- package/common/types/common.types.js.map +1 -1
- package/common/types/csv.types.d.ts +3612 -0
- package/common/types/csv.types.js +290 -0
- package/common/types/csv.types.js.map +1 -0
- package/common/types/dashboard.types.d.ts +7 -7
- package/common/types/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/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 +359 -79
- package/common/types/issuer-offering.types.js +188 -63
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/job-item.types.d.ts +14 -14
- package/common/types/legal-entity.types.d.ts +39 -1
- package/common/types/legal-entity.types.js +8 -5
- package/common/types/legal-entity.types.js.map +1 -1
- package/common/types/note.types.d.ts +15 -15
- package/common/types/offering-submission.types.d.ts +198 -0
- package/common/types/offering-submission.types.js +17 -4
- package/common/types/offering-submission.types.js.map +1 -1
- package/common/types/offering.types.d.ts +270 -65
- package/common/types/offering.types.js +241 -55
- 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 +30 -22
- package/common/types/task.types.js +3 -0
- package/common/types/task.types.js.map +1 -1
- package/common/types/trade-line-item.types.d.ts +24 -0
- package/common/types/trade-line-item.types.js +3 -0
- package/common/types/trade-line-item.types.js.map +1 -1
- package/common/types/trade.types.d.ts +20 -14
- package/common/types/trade.types.js +18 -7
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +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 +108 -82
- package/common/types/user.types.js +10 -23
- 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 +1800 -0
- package/contracts/clients/csv/index.js +96 -0
- package/contracts/clients/csv/index.js.map +1 -0
- package/contracts/clients/files/index.d.ts +3 -3
- package/contracts/clients/files-public/index.d.ts +3 -3
- package/contracts/clients/index.d.ts +1986 -113
- 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 +90 -35
- package/contracts/clients/review/index.d.ts +85 -0
- package/contracts/clients/review/index.js +27 -0
- package/contracts/clients/review/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType } from './common.types';
|
|
3
|
-
import {
|
|
4
|
-
import { AssetTemplateType, InterestType } from './asset.types';
|
|
2
|
+
import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType, WarrantSharesCalculationMethod } from './common.types';
|
|
3
|
+
import { AssetTemplateType } from './asset.types';
|
|
5
4
|
export declare enum OfferingFeeType {
|
|
6
5
|
FIXED = "FIXED",
|
|
7
6
|
PERCENTAGE = "PERCENTAGE"
|
|
@@ -27,6 +26,14 @@ export declare const OfferingPlatformSettings: z.ZodObject<{
|
|
|
27
26
|
export type OfferingPlatformSettings = z.infer<typeof OfferingPlatformSettings>;
|
|
28
27
|
export declare const IOffering: any;
|
|
29
28
|
export type IOffering = z.infer<typeof IOffering>;
|
|
29
|
+
export declare const QueueSoldOutOfferingsCheckResponseSchema: z.ZodObject<{
|
|
30
|
+
message: z.ZodString;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
message: string;
|
|
33
|
+
}, {
|
|
34
|
+
message: string;
|
|
35
|
+
}>;
|
|
36
|
+
export type QueueSoldOutOfferingsCheckResponse = z.infer<typeof QueueSoldOutOfferingsCheckResponseSchema>;
|
|
30
37
|
export declare const IPaginatedOffering: z.ZodObject<{
|
|
31
38
|
items: z.ZodArray<any, "many">;
|
|
32
39
|
meta: z.ZodObject<{
|
|
@@ -68,9 +75,11 @@ export declare const IPaginatedOffering: z.ZodObject<{
|
|
|
68
75
|
};
|
|
69
76
|
}>;
|
|
70
77
|
export type IPaginatedOffering = z.infer<typeof IPaginatedOffering>;
|
|
78
|
+
export declare const OfferingDescriptionZod: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
|
|
79
|
+
export type OfferingDescriptionZod = z.infer<typeof OfferingDescriptionZod>;
|
|
71
80
|
export declare const PatchOfferingBase: z.ZodObject<{
|
|
72
81
|
name: z.ZodOptional<z.ZodString>;
|
|
73
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
82
|
+
description: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
|
|
74
83
|
tid: z.ZodOptional<z.ZodString>;
|
|
75
84
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
76
85
|
targetAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -113,6 +122,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
|
|
|
113
122
|
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
114
123
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
115
124
|
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
125
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
116
126
|
}, "strip", z.ZodTypeAny, {
|
|
117
127
|
platformSettings: string | null;
|
|
118
128
|
type?: OfferingType | undefined;
|
|
@@ -135,6 +145,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
|
|
|
135
145
|
memorandumId?: string | null | undefined;
|
|
136
146
|
subscriptionAgreementId?: string | null | undefined;
|
|
137
147
|
showTotalRaised?: boolean | undefined;
|
|
148
|
+
shareClassId?: string | null | undefined;
|
|
138
149
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
139
150
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
140
151
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -165,13 +176,14 @@ export declare const PatchOfferingBase: z.ZodObject<{
|
|
|
165
176
|
memorandumId?: string | null | undefined;
|
|
166
177
|
subscriptionAgreementId?: string | null | undefined;
|
|
167
178
|
showTotalRaised?: boolean | undefined;
|
|
179
|
+
shareClassId?: string | null | undefined;
|
|
168
180
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
169
181
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
170
182
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
171
183
|
}>;
|
|
172
184
|
export declare const PatchOffering: z.ZodObject<{
|
|
173
185
|
name: z.ZodOptional<z.ZodString>;
|
|
174
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
186
|
+
description: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
|
|
175
187
|
tid: z.ZodOptional<z.ZodString>;
|
|
176
188
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
177
189
|
targetAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -214,6 +226,7 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
214
226
|
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
215
227
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
216
228
|
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
229
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
217
230
|
} & {
|
|
218
231
|
assetName: z.ZodOptional<z.ZodString>;
|
|
219
232
|
assetType: z.ZodOptional<z.ZodNativeEnum<typeof AssetType>>;
|
|
@@ -225,10 +238,7 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
225
238
|
template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
|
|
226
239
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
227
240
|
enableBonus: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
-
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
229
|
-
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
230
241
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
231
|
-
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
|
|
232
242
|
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
233
243
|
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
234
244
|
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -269,6 +279,13 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
269
279
|
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
270
280
|
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
271
281
|
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
282
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
284
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
285
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
286
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
287
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
288
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
272
289
|
}, "strip", z.ZodTypeAny, {
|
|
273
290
|
platformSettings: string | null;
|
|
274
291
|
type?: OfferingType | undefined;
|
|
@@ -296,6 +313,14 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
296
313
|
escrowAgreementFileId?: string | null | undefined;
|
|
297
314
|
bankAccountId?: string | null | undefined;
|
|
298
315
|
escrowAccountId?: string | null | undefined;
|
|
316
|
+
warrantsEnabled?: boolean | undefined;
|
|
317
|
+
totalShares?: number | null | undefined;
|
|
318
|
+
warrantTermYears?: number | null | undefined;
|
|
319
|
+
exercisePrice?: number | null | undefined;
|
|
320
|
+
warrantPercentage?: number | null | undefined;
|
|
321
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
322
|
+
incrementThreshold?: number | null | undefined;
|
|
323
|
+
shareClassId?: string | null | undefined;
|
|
299
324
|
assetName?: string | undefined;
|
|
300
325
|
assetType?: AssetType | undefined;
|
|
301
326
|
pricePerUnit?: number | null | undefined;
|
|
@@ -305,10 +330,7 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
305
330
|
durationType?: DurationType | null | undefined;
|
|
306
331
|
tiers?: number[] | null | undefined;
|
|
307
332
|
enableBonus?: boolean | undefined;
|
|
308
|
-
principalAmount?: number | null | undefined;
|
|
309
|
-
maxTotalRaise?: number | null | undefined;
|
|
310
333
|
interestRate?: number | null | undefined;
|
|
311
|
-
interestType?: InterestType | null | undefined;
|
|
312
334
|
bonusTiers?: {
|
|
313
335
|
value: number;
|
|
314
336
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -350,6 +372,14 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
350
372
|
escrowAgreementFileId?: string | null | undefined;
|
|
351
373
|
bankAccountId?: string | null | undefined;
|
|
352
374
|
escrowAccountId?: string | null | undefined;
|
|
375
|
+
warrantsEnabled?: boolean | undefined;
|
|
376
|
+
totalShares?: number | null | undefined;
|
|
377
|
+
warrantTermYears?: number | null | undefined;
|
|
378
|
+
exercisePrice?: number | null | undefined;
|
|
379
|
+
warrantPercentage?: number | null | undefined;
|
|
380
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
381
|
+
incrementThreshold?: number | null | undefined;
|
|
382
|
+
shareClassId?: string | null | undefined;
|
|
353
383
|
assetName?: string | undefined;
|
|
354
384
|
assetType?: AssetType | undefined;
|
|
355
385
|
pricePerUnit?: number | null | undefined;
|
|
@@ -359,10 +389,7 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
359
389
|
durationType?: DurationType | null | undefined;
|
|
360
390
|
tiers?: number[] | null | undefined;
|
|
361
391
|
enableBonus?: boolean | undefined;
|
|
362
|
-
principalAmount?: number | null | undefined;
|
|
363
|
-
maxTotalRaise?: number | null | undefined;
|
|
364
392
|
interestRate?: number | null | undefined;
|
|
365
|
-
interestType?: InterestType | null | undefined;
|
|
366
393
|
bonusTiers?: {
|
|
367
394
|
value: number;
|
|
368
395
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -374,9 +401,51 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
374
401
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
375
402
|
}>;
|
|
376
403
|
export type PatchOffering = z.infer<typeof PatchOffering>;
|
|
404
|
+
/**
|
|
405
|
+
* Optional params for resolveAndValidateOfferingUpdateFields.
|
|
406
|
+
* All fields are optional and nullable; resolution merges with offering/asset values.
|
|
407
|
+
*/
|
|
408
|
+
export declare const ResolveOfferingUpdateFieldsParamsZod: z.ZodObject<{
|
|
409
|
+
minInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
410
|
+
maxInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
411
|
+
targetAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
412
|
+
pricePerUnit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
413
|
+
}, "strip", z.ZodTypeAny, {
|
|
414
|
+
targetAmount?: number | null | undefined;
|
|
415
|
+
minInvestment?: number | null | undefined;
|
|
416
|
+
maxInvestment?: number | null | undefined;
|
|
417
|
+
pricePerUnit?: number | null | undefined;
|
|
418
|
+
}, {
|
|
419
|
+
targetAmount?: number | null | undefined;
|
|
420
|
+
minInvestment?: number | null | undefined;
|
|
421
|
+
maxInvestment?: number | null | undefined;
|
|
422
|
+
pricePerUnit?: number | null | undefined;
|
|
423
|
+
}>;
|
|
424
|
+
export type ResolveOfferingUpdateFieldsParams = z.infer<typeof ResolveOfferingUpdateFieldsParamsZod>;
|
|
425
|
+
/**
|
|
426
|
+
* Resolved, validated offering update fields (price per unit, target amount, min/max investment).
|
|
427
|
+
* Returned by resolveAndValidateOfferingUpdateFields and passed into validateBonusTiersForUpdate.
|
|
428
|
+
*/
|
|
429
|
+
export declare const ResolvedOfferingUpdateFieldsZod: z.ZodObject<{
|
|
430
|
+
pricePerUnit: z.ZodNumber;
|
|
431
|
+
targetAmount: z.ZodNumber;
|
|
432
|
+
minInvestment: z.ZodNullable<z.ZodNumber>;
|
|
433
|
+
maxInvestment: z.ZodNullable<z.ZodNumber>;
|
|
434
|
+
}, "strip", z.ZodTypeAny, {
|
|
435
|
+
targetAmount: number;
|
|
436
|
+
minInvestment: number | null;
|
|
437
|
+
maxInvestment: number | null;
|
|
438
|
+
pricePerUnit: number;
|
|
439
|
+
}, {
|
|
440
|
+
targetAmount: number;
|
|
441
|
+
minInvestment: number | null;
|
|
442
|
+
maxInvestment: number | null;
|
|
443
|
+
pricePerUnit: number;
|
|
444
|
+
}>;
|
|
445
|
+
export type ResolvedOfferingUpdateFields = z.infer<typeof ResolvedOfferingUpdateFieldsZod>;
|
|
377
446
|
export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
378
447
|
name: z.ZodOptional<z.ZodString>;
|
|
379
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
448
|
+
description: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
|
|
380
449
|
tid: z.ZodOptional<z.ZodString>;
|
|
381
450
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
382
451
|
targetAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -416,11 +485,11 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
416
485
|
subscriptionAgreementId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
417
486
|
jointSubscriptionAgreementTemplateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
418
487
|
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
419
|
-
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
420
488
|
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
421
489
|
} & {
|
|
422
490
|
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
423
491
|
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
492
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
424
493
|
assetName: z.ZodString;
|
|
425
494
|
assetType: z.ZodNativeEnum<typeof AssetType>;
|
|
426
495
|
pricePerUnit: z.ZodNullable<z.ZodNumber>;
|
|
@@ -434,10 +503,7 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
434
503
|
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
435
504
|
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
436
505
|
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
437
|
-
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
438
|
-
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
439
506
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
440
|
-
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
|
|
441
507
|
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
442
508
|
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
443
509
|
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -474,10 +540,19 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
474
540
|
startAmount: number;
|
|
475
541
|
endAmount: number;
|
|
476
542
|
}>, "many">>;
|
|
543
|
+
warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
544
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
545
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
546
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
547
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
548
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
549
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
550
|
+
showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
477
551
|
}, "strip", z.ZodTypeAny, {
|
|
478
552
|
accountId: string;
|
|
479
553
|
template: AssetTemplateType;
|
|
480
554
|
platformSettings: string | null;
|
|
555
|
+
warrantsEnabled: boolean;
|
|
481
556
|
assetName: string;
|
|
482
557
|
assetType: AssetType;
|
|
483
558
|
pricePerUnit: number | null;
|
|
@@ -505,15 +580,19 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
505
580
|
hasEscrow?: boolean | undefined;
|
|
506
581
|
bankAccountId?: string | null | undefined;
|
|
507
582
|
escrowAccountId?: string | null | undefined;
|
|
583
|
+
totalShares?: number | null | undefined;
|
|
584
|
+
warrantTermYears?: number | null | undefined;
|
|
585
|
+
exercisePrice?: number | null | undefined;
|
|
586
|
+
warrantPercentage?: number | null | undefined;
|
|
587
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
588
|
+
incrementThreshold?: number | null | undefined;
|
|
589
|
+
shareClassId?: string | null | undefined;
|
|
508
590
|
yield?: number | null | undefined;
|
|
509
591
|
duration?: number | null | undefined;
|
|
510
592
|
durationType?: DurationType | null | undefined;
|
|
511
593
|
tiers?: number[] | null | undefined;
|
|
512
594
|
enableBonus?: boolean | undefined;
|
|
513
|
-
principalAmount?: number | null | undefined;
|
|
514
|
-
maxTotalRaise?: number | null | undefined;
|
|
515
595
|
interestRate?: number | null | undefined;
|
|
516
|
-
interestType?: InterestType | null | undefined;
|
|
517
596
|
bonusTiers?: {
|
|
518
597
|
value: number;
|
|
519
598
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -559,15 +638,20 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
559
638
|
hasEscrow?: boolean | undefined;
|
|
560
639
|
bankAccountId?: string | null | undefined;
|
|
561
640
|
escrowAccountId?: string | null | undefined;
|
|
641
|
+
warrantsEnabled?: boolean | undefined;
|
|
642
|
+
totalShares?: number | null | undefined;
|
|
643
|
+
warrantTermYears?: number | null | undefined;
|
|
644
|
+
exercisePrice?: number | null | undefined;
|
|
645
|
+
warrantPercentage?: number | null | undefined;
|
|
646
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
647
|
+
incrementThreshold?: number | null | undefined;
|
|
648
|
+
shareClassId?: string | null | undefined;
|
|
562
649
|
yield?: number | null | undefined;
|
|
563
650
|
duration?: number | null | undefined;
|
|
564
651
|
durationType?: DurationType | null | undefined;
|
|
565
652
|
tiers?: number[] | null | undefined;
|
|
566
653
|
enableBonus?: boolean | undefined;
|
|
567
|
-
principalAmount?: number | null | undefined;
|
|
568
|
-
maxTotalRaise?: number | null | undefined;
|
|
569
654
|
interestRate?: number | null | undefined;
|
|
570
|
-
interestType?: InterestType | null | undefined;
|
|
571
655
|
bonusTiers?: {
|
|
572
656
|
value: number;
|
|
573
657
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -581,6 +665,7 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
581
665
|
accountId: string;
|
|
582
666
|
template: AssetTemplateType;
|
|
583
667
|
platformSettings: string | null;
|
|
668
|
+
warrantsEnabled: boolean;
|
|
584
669
|
assetName: string;
|
|
585
670
|
assetType: AssetType;
|
|
586
671
|
pricePerUnit: number | null;
|
|
@@ -608,15 +693,19 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
608
693
|
hasEscrow?: boolean | undefined;
|
|
609
694
|
bankAccountId?: string | null | undefined;
|
|
610
695
|
escrowAccountId?: string | null | undefined;
|
|
696
|
+
totalShares?: number | null | undefined;
|
|
697
|
+
warrantTermYears?: number | null | undefined;
|
|
698
|
+
exercisePrice?: number | null | undefined;
|
|
699
|
+
warrantPercentage?: number | null | undefined;
|
|
700
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
701
|
+
incrementThreshold?: number | null | undefined;
|
|
702
|
+
shareClassId?: string | null | undefined;
|
|
611
703
|
yield?: number | null | undefined;
|
|
612
704
|
duration?: number | null | undefined;
|
|
613
705
|
durationType?: DurationType | null | undefined;
|
|
614
706
|
tiers?: number[] | null | undefined;
|
|
615
707
|
enableBonus?: boolean | undefined;
|
|
616
|
-
principalAmount?: number | null | undefined;
|
|
617
|
-
maxTotalRaise?: number | null | undefined;
|
|
618
708
|
interestRate?: number | null | undefined;
|
|
619
|
-
interestType?: InterestType | null | undefined;
|
|
620
709
|
bonusTiers?: {
|
|
621
710
|
value: number;
|
|
622
711
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -662,15 +751,20 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
662
751
|
hasEscrow?: boolean | undefined;
|
|
663
752
|
bankAccountId?: string | null | undefined;
|
|
664
753
|
escrowAccountId?: string | null | undefined;
|
|
754
|
+
warrantsEnabled?: boolean | undefined;
|
|
755
|
+
totalShares?: number | null | undefined;
|
|
756
|
+
warrantTermYears?: number | null | undefined;
|
|
757
|
+
exercisePrice?: number | null | undefined;
|
|
758
|
+
warrantPercentage?: number | null | undefined;
|
|
759
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
760
|
+
incrementThreshold?: number | null | undefined;
|
|
761
|
+
shareClassId?: string | null | undefined;
|
|
665
762
|
yield?: number | null | undefined;
|
|
666
763
|
duration?: number | null | undefined;
|
|
667
764
|
durationType?: DurationType | null | undefined;
|
|
668
765
|
tiers?: number[] | null | undefined;
|
|
669
766
|
enableBonus?: boolean | undefined;
|
|
670
|
-
principalAmount?: number | null | undefined;
|
|
671
|
-
maxTotalRaise?: number | null | undefined;
|
|
672
767
|
interestRate?: number | null | undefined;
|
|
673
|
-
interestType?: InterestType | null | undefined;
|
|
674
768
|
bonusTiers?: {
|
|
675
769
|
value: number;
|
|
676
770
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -682,7 +776,7 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
682
776
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
683
777
|
}>;
|
|
684
778
|
export type PostComplianceOffering = z.infer<typeof PostComplianceOffering>;
|
|
685
|
-
export declare const offeringsInclude: z.ZodEnum<["account", "issuer", "trades", "assets", "disbursements", "draftVersion", "publishedVersion", "revisions", "onboardingReviewedBy", "bankAccount", "escrowAccount"]>;
|
|
779
|
+
export declare const offeringsInclude: z.ZodEnum<["account", "issuer", "trades", "assets", "disbursements", "draftVersion", "publishedVersion", "revisions", "onboardingReviewedBy", "bankAccount", "escrowAccount", "shareClass"]>;
|
|
686
780
|
/**
|
|
687
781
|
* @description Query parameters for including related entities
|
|
688
782
|
* @xample in contract us as -> query: z.object({}).merge(UsersIncludeQuery),
|
|
@@ -697,23 +791,27 @@ export declare const OfferingsIncludeQuery: z.ZodObject<{
|
|
|
697
791
|
export interface OfferingsIncludeQuery extends z.infer<typeof OfferingsIncludeQuery> {
|
|
698
792
|
}
|
|
699
793
|
/**
|
|
700
|
-
*
|
|
701
|
-
* Filters for querying offerings.
|
|
794
|
+
* Filters supported for querying offerings.
|
|
702
795
|
*
|
|
703
|
-
*
|
|
704
|
-
* -
|
|
705
|
-
* -
|
|
706
|
-
* -
|
|
796
|
+
* Available fields:
|
|
797
|
+
* - `issuerName`: (string, optional) Filter by name of the issuer.
|
|
798
|
+
* - `name`: (string, optional) Filter by offering name.
|
|
799
|
+
* - `accountId`: (AccountId, optional) Filter by tenant/account ID.
|
|
800
|
+
* - `issuerId`: (IssuerId, optional) Filter by issuer ID.
|
|
801
|
+
* - `type`: (OfferingType, optional) Filter by offering type.
|
|
802
|
+
* - `status`: (ComplianceReview, optional) Filter by compliance review status.
|
|
803
|
+
* - `enabled`: (boolean, optional) Filter for enabled/active offerings.
|
|
804
|
+
* - `managedBy`: (ManagedByType, optional) Filter by which system or user manages the offering.
|
|
805
|
+
* - `versioningType`: (OfferingVersioningType, optional) Filter by versioning strategy.
|
|
806
|
+
* - `onboardingStatus`: (OfferingOnboardingStatus, optional) Filter by issuer onboarding status.
|
|
707
807
|
*
|
|
708
|
-
*
|
|
709
|
-
*
|
|
710
|
-
* 2. Else if complianceReview is not "APPROVED" → combinedStatus = "IN_COMPLIANCE_REVIEW"
|
|
711
|
-
* 3. Else if onboardingStatus is "COMPLETE" and complianceReview is "APPROVED" →
|
|
712
|
-
* - If enabled is true → combinedStatus = "ACTIVE"
|
|
713
|
-
* - If enabled is false → combinedStatus = "PAUSED"
|
|
808
|
+
* @remarks
|
|
809
|
+
* These filters can be combined to query offerings across multiple dimensions.
|
|
714
810
|
*
|
|
715
|
-
*
|
|
716
|
-
*
|
|
811
|
+
* Example use:
|
|
812
|
+
* ```ts
|
|
813
|
+
* { issuerName: "ABC Capital", type: OfferingType.REG_A }
|
|
814
|
+
* ```
|
|
717
815
|
*/
|
|
718
816
|
export declare const OfferingFiltersZod: z.ZodObject<{
|
|
719
817
|
issuerName: z.ZodOptional<z.ZodString>;
|
|
@@ -725,32 +823,32 @@ export declare const OfferingFiltersZod: z.ZodObject<{
|
|
|
725
823
|
enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
726
824
|
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
727
825
|
versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
|
|
728
|
-
combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
|
|
729
826
|
onboardingStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingOnboardingStatus>>;
|
|
827
|
+
complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
|
|
730
828
|
}, "strip", z.ZodTypeAny, {
|
|
731
829
|
type?: OfferingType | undefined;
|
|
732
830
|
status?: ComplianceReview | undefined;
|
|
733
831
|
accountId?: string | undefined;
|
|
734
832
|
name?: string | undefined;
|
|
735
833
|
managedBy?: ManagedByType | undefined;
|
|
834
|
+
complianceReview?: ComplianceReview | undefined;
|
|
736
835
|
onboardingStatus?: OfferingOnboardingStatus | undefined;
|
|
737
836
|
enabled?: boolean | undefined;
|
|
738
837
|
issuerId?: string | undefined;
|
|
739
838
|
issuerName?: string | undefined;
|
|
740
839
|
versioningType?: OfferingVersioningType | undefined;
|
|
741
|
-
combinedStatus?: OfferingStatus | undefined;
|
|
742
840
|
}, {
|
|
743
841
|
type?: OfferingType | undefined;
|
|
744
842
|
status?: ComplianceReview | undefined;
|
|
745
843
|
accountId?: string | undefined;
|
|
746
844
|
name?: string | undefined;
|
|
747
845
|
managedBy?: ManagedByType | undefined;
|
|
846
|
+
complianceReview?: ComplianceReview | undefined;
|
|
748
847
|
onboardingStatus?: OfferingOnboardingStatus | undefined;
|
|
749
848
|
enabled?: unknown;
|
|
750
849
|
issuerId?: string | undefined;
|
|
751
850
|
issuerName?: string | undefined;
|
|
752
851
|
versioningType?: OfferingVersioningType | undefined;
|
|
753
|
-
combinedStatus?: OfferingStatus | undefined;
|
|
754
852
|
}>;
|
|
755
853
|
export type OfferingFiltersZod = z.infer<typeof OfferingFiltersZod>;
|
|
756
854
|
export declare const OfferingSortZod: z.ZodObject<{
|
|
@@ -1177,7 +1275,7 @@ export declare const OfferingSettings: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.
|
|
|
1177
1275
|
export type OfferingSettings = z.infer<typeof OfferingSettings>;
|
|
1178
1276
|
export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
1179
1277
|
name: z.ZodOptional<z.ZodString>;
|
|
1180
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1278
|
+
description: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
|
|
1181
1279
|
tid: z.ZodOptional<z.ZodString>;
|
|
1182
1280
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
1183
1281
|
targetAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1220,6 +1318,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1220
1318
|
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1221
1319
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
1222
1320
|
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1321
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1223
1322
|
} & {
|
|
1224
1323
|
assetName: z.ZodOptional<z.ZodString>;
|
|
1225
1324
|
assetType: z.ZodOptional<z.ZodNativeEnum<typeof AssetType>>;
|
|
@@ -1231,10 +1330,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1231
1330
|
template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
|
|
1232
1331
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1233
1332
|
enableBonus: z.ZodOptional<z.ZodBoolean>;
|
|
1234
|
-
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1235
|
-
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1236
1333
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1237
|
-
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
|
|
1238
1334
|
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1239
1335
|
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1240
1336
|
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -1275,6 +1371,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1275
1371
|
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1276
1372
|
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1277
1373
|
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1374
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1375
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1376
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1377
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1378
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1379
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
1380
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1278
1381
|
}, "strip", z.ZodTypeAny, {
|
|
1279
1382
|
platformSettings: string | null;
|
|
1280
1383
|
type?: OfferingType | undefined;
|
|
@@ -1302,6 +1405,14 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1302
1405
|
escrowAgreementFileId?: string | null | undefined;
|
|
1303
1406
|
bankAccountId?: string | null | undefined;
|
|
1304
1407
|
escrowAccountId?: string | null | undefined;
|
|
1408
|
+
warrantsEnabled?: boolean | undefined;
|
|
1409
|
+
totalShares?: number | null | undefined;
|
|
1410
|
+
warrantTermYears?: number | null | undefined;
|
|
1411
|
+
exercisePrice?: number | null | undefined;
|
|
1412
|
+
warrantPercentage?: number | null | undefined;
|
|
1413
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1414
|
+
incrementThreshold?: number | null | undefined;
|
|
1415
|
+
shareClassId?: string | null | undefined;
|
|
1305
1416
|
assetName?: string | undefined;
|
|
1306
1417
|
assetType?: AssetType | undefined;
|
|
1307
1418
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1311,10 +1422,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1311
1422
|
durationType?: DurationType | null | undefined;
|
|
1312
1423
|
tiers?: number[] | null | undefined;
|
|
1313
1424
|
enableBonus?: boolean | undefined;
|
|
1314
|
-
principalAmount?: number | null | undefined;
|
|
1315
|
-
maxTotalRaise?: number | null | undefined;
|
|
1316
1425
|
interestRate?: number | null | undefined;
|
|
1317
|
-
interestType?: InterestType | null | undefined;
|
|
1318
1426
|
bonusTiers?: {
|
|
1319
1427
|
value: number;
|
|
1320
1428
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1356,6 +1464,14 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1356
1464
|
escrowAgreementFileId?: string | null | undefined;
|
|
1357
1465
|
bankAccountId?: string | null | undefined;
|
|
1358
1466
|
escrowAccountId?: string | null | undefined;
|
|
1467
|
+
warrantsEnabled?: boolean | undefined;
|
|
1468
|
+
totalShares?: number | null | undefined;
|
|
1469
|
+
warrantTermYears?: number | null | undefined;
|
|
1470
|
+
exercisePrice?: number | null | undefined;
|
|
1471
|
+
warrantPercentage?: number | null | undefined;
|
|
1472
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1473
|
+
incrementThreshold?: number | null | undefined;
|
|
1474
|
+
shareClassId?: string | null | undefined;
|
|
1359
1475
|
assetName?: string | undefined;
|
|
1360
1476
|
assetType?: AssetType | undefined;
|
|
1361
1477
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1365,10 +1481,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1365
1481
|
durationType?: DurationType | null | undefined;
|
|
1366
1482
|
tiers?: number[] | null | undefined;
|
|
1367
1483
|
enableBonus?: boolean | undefined;
|
|
1368
|
-
principalAmount?: number | null | undefined;
|
|
1369
|
-
maxTotalRaise?: number | null | undefined;
|
|
1370
1484
|
interestRate?: number | null | undefined;
|
|
1371
|
-
interestType?: InterestType | null | undefined;
|
|
1372
1485
|
bonusTiers?: {
|
|
1373
1486
|
value: number;
|
|
1374
1487
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1636,6 +1749,14 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1636
1749
|
escrowAgreementFileId?: string | null | undefined;
|
|
1637
1750
|
bankAccountId?: string | null | undefined;
|
|
1638
1751
|
escrowAccountId?: string | null | undefined;
|
|
1752
|
+
warrantsEnabled?: boolean | undefined;
|
|
1753
|
+
totalShares?: number | null | undefined;
|
|
1754
|
+
warrantTermYears?: number | null | undefined;
|
|
1755
|
+
exercisePrice?: number | null | undefined;
|
|
1756
|
+
warrantPercentage?: number | null | undefined;
|
|
1757
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1758
|
+
incrementThreshold?: number | null | undefined;
|
|
1759
|
+
shareClassId?: string | null | undefined;
|
|
1639
1760
|
assetName?: string | undefined;
|
|
1640
1761
|
assetType?: AssetType | undefined;
|
|
1641
1762
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1645,10 +1766,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1645
1766
|
durationType?: DurationType | null | undefined;
|
|
1646
1767
|
tiers?: number[] | null | undefined;
|
|
1647
1768
|
enableBonus?: boolean | undefined;
|
|
1648
|
-
principalAmount?: number | null | undefined;
|
|
1649
|
-
maxTotalRaise?: number | null | undefined;
|
|
1650
1769
|
interestRate?: number | null | undefined;
|
|
1651
|
-
interestType?: InterestType | null | undefined;
|
|
1652
1770
|
bonusTiers?: {
|
|
1653
1771
|
value: number;
|
|
1654
1772
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1701,6 +1819,14 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1701
1819
|
escrowAgreementFileId?: string | null | undefined;
|
|
1702
1820
|
bankAccountId?: string | null | undefined;
|
|
1703
1821
|
escrowAccountId?: string | null | undefined;
|
|
1822
|
+
warrantsEnabled?: boolean | undefined;
|
|
1823
|
+
totalShares?: number | null | undefined;
|
|
1824
|
+
warrantTermYears?: number | null | undefined;
|
|
1825
|
+
exercisePrice?: number | null | undefined;
|
|
1826
|
+
warrantPercentage?: number | null | undefined;
|
|
1827
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1828
|
+
incrementThreshold?: number | null | undefined;
|
|
1829
|
+
shareClassId?: string | null | undefined;
|
|
1704
1830
|
assetName?: string | undefined;
|
|
1705
1831
|
assetType?: AssetType | undefined;
|
|
1706
1832
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1710,10 +1836,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1710
1836
|
durationType?: DurationType | null | undefined;
|
|
1711
1837
|
tiers?: number[] | null | undefined;
|
|
1712
1838
|
enableBonus?: boolean | undefined;
|
|
1713
|
-
principalAmount?: number | null | undefined;
|
|
1714
|
-
maxTotalRaise?: number | null | undefined;
|
|
1715
1839
|
interestRate?: number | null | undefined;
|
|
1716
|
-
interestType?: InterestType | null | undefined;
|
|
1717
1840
|
bonusTiers?: {
|
|
1718
1841
|
value: number;
|
|
1719
1842
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -2457,6 +2580,7 @@ export type OfferingUpdateFields = {
|
|
|
2457
2580
|
managedBy?: ManagedByType | null;
|
|
2458
2581
|
showTotalRaised?: boolean;
|
|
2459
2582
|
enabled?: boolean;
|
|
2583
|
+
shareClassId?: string | null;
|
|
2460
2584
|
};
|
|
2461
2585
|
export declare const ReviewOfferingOnboarding: z.ZodObject<{
|
|
2462
2586
|
onboardingStatus: z.ZodNativeEnum<typeof OfferingOnboardingStatus>;
|
|
@@ -2652,3 +2776,84 @@ export declare const EscrowValidationContextZod: z.ZodObject<{
|
|
|
2652
2776
|
currentEscrowAgreementFileId: string | null;
|
|
2653
2777
|
}>;
|
|
2654
2778
|
export type EscrowValidationContext = z.infer<typeof EscrowValidationContextZod>;
|
|
2779
|
+
/**
|
|
2780
|
+
* Shape of warrant fields shared by Offering and OfferingRevision for validation.
|
|
2781
|
+
*/
|
|
2782
|
+
export declare const WarrantSharesBaseZod: z.ZodObject<{
|
|
2783
|
+
warrantsEnabled: z.ZodBoolean;
|
|
2784
|
+
totalShares: z.ZodNullable<z.ZodNumber>;
|
|
2785
|
+
warrantTermYears: z.ZodNullable<z.ZodNumber>;
|
|
2786
|
+
exercisePrice: z.ZodNullable<z.ZodNumber>;
|
|
2787
|
+
warrantPercentage: z.ZodNullable<z.ZodNumber>;
|
|
2788
|
+
calculationMethod: z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>;
|
|
2789
|
+
incrementThreshold: z.ZodNullable<z.ZodNumber>;
|
|
2790
|
+
fullyDilutedShares: z.ZodNullable<z.ZodNumber>;
|
|
2791
|
+
}, "strip", z.ZodTypeAny, {
|
|
2792
|
+
warrantsEnabled: boolean;
|
|
2793
|
+
totalShares: number | null;
|
|
2794
|
+
warrantTermYears: number | null;
|
|
2795
|
+
exercisePrice: number | null;
|
|
2796
|
+
warrantPercentage: number | null;
|
|
2797
|
+
calculationMethod: WarrantSharesCalculationMethod | null;
|
|
2798
|
+
incrementThreshold: number | null;
|
|
2799
|
+
fullyDilutedShares: number | null;
|
|
2800
|
+
}, {
|
|
2801
|
+
warrantsEnabled: boolean;
|
|
2802
|
+
totalShares: number | null;
|
|
2803
|
+
warrantTermYears: number | null;
|
|
2804
|
+
exercisePrice: number | null;
|
|
2805
|
+
warrantPercentage: number | null;
|
|
2806
|
+
calculationMethod: WarrantSharesCalculationMethod | null;
|
|
2807
|
+
incrementThreshold: number | null;
|
|
2808
|
+
fullyDilutedShares: number | null;
|
|
2809
|
+
}>;
|
|
2810
|
+
export type WarrantSharesBase = z.infer<typeof WarrantSharesBaseZod>;
|
|
2811
|
+
/**
|
|
2812
|
+
* All warrant field keys used when picking warrant data from base or patch.
|
|
2813
|
+
*/
|
|
2814
|
+
export declare const WARRANT_FIELD_KEYS: (keyof WarrantSharesBase)[];
|
|
2815
|
+
/**
|
|
2816
|
+
* Warrant field keys required when enabling warrants (turning warrants on).
|
|
2817
|
+
*/
|
|
2818
|
+
export declare const WARRANT_REQUIRED_WHEN_ENABLED_KEYS: (keyof WarrantSharesBase)[];
|
|
2819
|
+
/**
|
|
2820
|
+
* Patch input for warrant validation (optional warrant fields from PATCH body).
|
|
2821
|
+
*/
|
|
2822
|
+
export declare const WarrantValidationDataZod: z.ZodObject<{
|
|
2823
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2824
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2825
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2826
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2827
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2828
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
2829
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2830
|
+
fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2831
|
+
}, "strip", z.ZodTypeAny, {
|
|
2832
|
+
warrantsEnabled?: boolean | undefined;
|
|
2833
|
+
totalShares?: number | null | undefined;
|
|
2834
|
+
warrantTermYears?: number | null | undefined;
|
|
2835
|
+
exercisePrice?: number | null | undefined;
|
|
2836
|
+
warrantPercentage?: number | null | undefined;
|
|
2837
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
2838
|
+
incrementThreshold?: number | null | undefined;
|
|
2839
|
+
fullyDilutedShares?: number | null | undefined;
|
|
2840
|
+
}, {
|
|
2841
|
+
warrantsEnabled?: boolean | undefined;
|
|
2842
|
+
totalShares?: number | null | undefined;
|
|
2843
|
+
warrantTermYears?: number | null | undefined;
|
|
2844
|
+
exercisePrice?: number | null | undefined;
|
|
2845
|
+
warrantPercentage?: number | null | undefined;
|
|
2846
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
2847
|
+
incrementThreshold?: number | null | undefined;
|
|
2848
|
+
fullyDilutedShares?: number | null | undefined;
|
|
2849
|
+
}>;
|
|
2850
|
+
export type WarrantValidationData = z.infer<typeof WarrantValidationDataZod>;
|
|
2851
|
+
/**
|
|
2852
|
+
* Validated warrant payload to persist on revision and offering.
|
|
2853
|
+
*/
|
|
2854
|
+
export type WarrantValidationResult = WarrantSharesBase;
|
|
2855
|
+
/**
|
|
2856
|
+
* Warrant-related fields to reset (nullify) when warrants are disabled.
|
|
2857
|
+
* Used when warrantsEnabled is set to false so revision and offering stay in sync.
|
|
2858
|
+
*/
|
|
2859
|
+
export declare const WARRANT_DISABLED_FIELD_RESETS: WarrantValidationResult;
|