@dalmore/api-contracts 0.0.0-dev.685c0b3 → 0.0.0-dev.686830
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 +41 -26
- package/common/types/account-setting.types.js +2 -23
- package/common/types/account-setting.types.js.map +1 -1
- package/common/types/account.types.d.ts +63 -18
- package/common/types/account.types.js +4 -0
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +35 -25
- package/common/types/activity.types.js +13 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +212 -0
- package/common/types/asset.types.js +115 -42
- package/common/types/asset.types.js.map +1 -1
- package/common/types/auth.types.d.ts +1 -1
- package/common/types/auth.types.js +1 -1
- package/common/types/auth.types.js.map +1 -1
- package/common/types/bonus-tier.types.d.ts +15 -4
- package/common/types/bonus-tier.types.js +14 -7
- package/common/types/bonus-tier.types.js.map +1 -1
- package/common/types/cap-table.types.d.ts +77 -62
- package/common/types/cap-table.types.js +17 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/common.types.d.ts +334 -5
- package/common/types/common.types.js +61 -1
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +133 -466
- package/common/types/comply-advantage-api.types.js +24 -3
- package/common/types/comply-advantage-api.types.js.map +1 -1
- package/common/types/dashboard.types.d.ts +7 -7
- package/common/types/data-record.types.d.ts +4 -4
- package/common/types/disbursements.types.d.ts +1439 -401
- package/common/types/disbursements.types.js +100 -0
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/escrow-account.types.d.ts +17 -0
- package/common/types/escrow-account.types.js +3 -0
- package/common/types/escrow-account.types.js.map +1 -1
- package/common/types/exchange-provider.types.d.ts +12 -12
- package/common/types/file.types.d.ts +35 -11
- package/common/types/file.types.js +11 -0
- package/common/types/file.types.js.map +1 -1
- package/common/types/index.d.ts +2 -0
- package/common/types/index.js +2 -0
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.js +5 -2
- package/common/types/individuals.types.js.map +1 -1
- package/common/types/investor-account.types.d.ts +4 -4
- package/common/types/issuer-bank-account.types.d.ts +4 -276
- package/common/types/issuer-offering.types.d.ts +826 -5
- package/common/types/issuer-offering.types.js +277 -17
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/job-item.types.d.ts +14 -14
- package/common/types/note.types.d.ts +15 -15
- package/common/types/offering-submission.types.d.ts +198 -0
- package/common/types/offering-submission.types.js +16 -3
- package/common/types/offering-submission.types.js.map +1 -1
- package/common/types/offering.types.d.ts +513 -2
- package/common/types/offering.types.js +290 -11
- package/common/types/offering.types.js.map +1 -1
- package/common/types/portfolio.types.d.ts +6 -6
- package/common/types/reports.types.d.ts +345 -0
- package/common/types/reports.types.js +69 -0
- package/common/types/reports.types.js.map +1 -0
- package/common/types/secondary-order.types.d.ts +10 -10
- package/common/types/secondary-trade.types.d.ts +10 -10
- package/common/types/signer.types.d.ts +23 -11
- package/common/types/signer.types.js +16 -1
- package/common/types/signer.types.js.map +1 -1
- package/common/types/site.types.d.ts +5 -0
- package/common/types/task.types.d.ts +22 -22
- package/common/types/trade-line-item.types.d.ts +18 -1
- package/common/types/trade-line-item.types.js +12 -1
- package/common/types/trade-line-item.types.js.map +1 -1
- package/common/types/trade.types.d.ts +64 -45
- package/common/types/trade.types.js +14 -4
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +80 -1
- package/common/types/transaction.types.js +22 -2
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +107 -54
- package/common/types/user.types.js +7 -0
- package/common/types/user.types.js.map +1 -1
- package/contracts/clients/assets/index.d.ts +22 -0
- package/contracts/clients/files/index.d.ts +3 -3
- package/contracts/clients/files-public/index.d.ts +3 -3
- package/contracts/clients/index.d.ts +337 -13
- package/contracts/clients/offerings/index.d.ts +300 -4
- package/contracts/clients/trades/index.d.ts +9 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType } from './common.types';
|
|
2
|
+
import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType, WarrantSharesCalculationMethod } from './common.types';
|
|
3
3
|
import { OfferingStatus } from './issuer-offering.types';
|
|
4
4
|
import { AssetTemplateType } from './asset.types';
|
|
5
5
|
export declare enum OfferingFeeType {
|
|
@@ -113,6 +113,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
|
|
|
113
113
|
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
114
114
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
115
115
|
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
116
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
116
117
|
}, "strip", z.ZodTypeAny, {
|
|
117
118
|
platformSettings: string | null;
|
|
118
119
|
type?: OfferingType | undefined;
|
|
@@ -135,6 +136,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
|
|
|
135
136
|
memorandumId?: string | null | undefined;
|
|
136
137
|
subscriptionAgreementId?: string | null | undefined;
|
|
137
138
|
showTotalRaised?: boolean | undefined;
|
|
139
|
+
shareClassId?: string | null | undefined;
|
|
138
140
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
139
141
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
140
142
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -165,6 +167,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
|
|
|
165
167
|
memorandumId?: string | null | undefined;
|
|
166
168
|
subscriptionAgreementId?: string | null | undefined;
|
|
167
169
|
showTotalRaised?: boolean | undefined;
|
|
170
|
+
shareClassId?: string | null | undefined;
|
|
168
171
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
169
172
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
170
173
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -214,6 +217,7 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
214
217
|
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
215
218
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
216
219
|
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
220
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
217
221
|
} & {
|
|
218
222
|
assetName: z.ZodOptional<z.ZodString>;
|
|
219
223
|
assetType: z.ZodOptional<z.ZodNativeEnum<typeof AssetType>>;
|
|
@@ -225,6 +229,54 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
225
229
|
template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
|
|
226
230
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
227
231
|
enableBonus: z.ZodOptional<z.ZodBoolean>;
|
|
232
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
233
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
234
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
235
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
236
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
237
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
value: number;
|
|
240
|
+
type: import("./bonus-tier.types").BonusType;
|
|
241
|
+
startAmount: number;
|
|
242
|
+
endAmount: number;
|
|
243
|
+
}, {
|
|
244
|
+
value: number;
|
|
245
|
+
type: import("./bonus-tier.types").BonusType;
|
|
246
|
+
startAmount: number;
|
|
247
|
+
endAmount: number;
|
|
248
|
+
}>, {
|
|
249
|
+
value: number;
|
|
250
|
+
type: import("./bonus-tier.types").BonusType;
|
|
251
|
+
startAmount: number;
|
|
252
|
+
endAmount: number;
|
|
253
|
+
}, {
|
|
254
|
+
value: number;
|
|
255
|
+
type: import("./bonus-tier.types").BonusType;
|
|
256
|
+
startAmount: number;
|
|
257
|
+
endAmount: number;
|
|
258
|
+
}>, {
|
|
259
|
+
value: number;
|
|
260
|
+
type: import("./bonus-tier.types").BonusType;
|
|
261
|
+
startAmount: number;
|
|
262
|
+
endAmount: number;
|
|
263
|
+
}, {
|
|
264
|
+
value: number;
|
|
265
|
+
type: import("./bonus-tier.types").BonusType;
|
|
266
|
+
startAmount: number;
|
|
267
|
+
endAmount: number;
|
|
268
|
+
}>, "many">>;
|
|
269
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
270
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
271
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
272
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
273
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
274
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
275
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
276
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
277
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
278
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
279
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
228
280
|
}, "strip", z.ZodTypeAny, {
|
|
229
281
|
platformSettings: string | null;
|
|
230
282
|
type?: OfferingType | undefined;
|
|
@@ -248,6 +300,18 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
248
300
|
memorandumId?: string | null | undefined;
|
|
249
301
|
subscriptionAgreementId?: string | null | undefined;
|
|
250
302
|
showTotalRaised?: boolean | undefined;
|
|
303
|
+
hasEscrow?: boolean | undefined;
|
|
304
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
305
|
+
bankAccountId?: string | null | undefined;
|
|
306
|
+
escrowAccountId?: string | null | undefined;
|
|
307
|
+
warrantsEnabled?: boolean | undefined;
|
|
308
|
+
totalShares?: number | null | undefined;
|
|
309
|
+
warrantTermYears?: number | null | undefined;
|
|
310
|
+
exercisePrice?: number | null | undefined;
|
|
311
|
+
warrantPercentage?: number | null | undefined;
|
|
312
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
313
|
+
incrementThreshold?: number | null | undefined;
|
|
314
|
+
shareClassId?: string | null | undefined;
|
|
251
315
|
assetName?: string | undefined;
|
|
252
316
|
assetType?: AssetType | undefined;
|
|
253
317
|
pricePerUnit?: number | null | undefined;
|
|
@@ -257,6 +321,13 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
257
321
|
durationType?: DurationType | null | undefined;
|
|
258
322
|
tiers?: number[] | null | undefined;
|
|
259
323
|
enableBonus?: boolean | undefined;
|
|
324
|
+
interestRate?: number | null | undefined;
|
|
325
|
+
bonusTiers?: {
|
|
326
|
+
value: number;
|
|
327
|
+
type: import("./bonus-tier.types").BonusType;
|
|
328
|
+
startAmount: number;
|
|
329
|
+
endAmount: number;
|
|
330
|
+
}[] | undefined;
|
|
260
331
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
261
332
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
262
333
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -288,6 +359,18 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
288
359
|
memorandumId?: string | null | undefined;
|
|
289
360
|
subscriptionAgreementId?: string | null | undefined;
|
|
290
361
|
showTotalRaised?: boolean | undefined;
|
|
362
|
+
hasEscrow?: boolean | undefined;
|
|
363
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
364
|
+
bankAccountId?: string | null | undefined;
|
|
365
|
+
escrowAccountId?: string | null | undefined;
|
|
366
|
+
warrantsEnabled?: boolean | undefined;
|
|
367
|
+
totalShares?: number | null | undefined;
|
|
368
|
+
warrantTermYears?: number | null | undefined;
|
|
369
|
+
exercisePrice?: number | null | undefined;
|
|
370
|
+
warrantPercentage?: number | null | undefined;
|
|
371
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
372
|
+
incrementThreshold?: number | null | undefined;
|
|
373
|
+
shareClassId?: string | null | undefined;
|
|
291
374
|
assetName?: string | undefined;
|
|
292
375
|
assetType?: AssetType | undefined;
|
|
293
376
|
pricePerUnit?: number | null | undefined;
|
|
@@ -297,11 +380,60 @@ export declare const PatchOffering: z.ZodObject<{
|
|
|
297
380
|
durationType?: DurationType | null | undefined;
|
|
298
381
|
tiers?: number[] | null | undefined;
|
|
299
382
|
enableBonus?: boolean | undefined;
|
|
383
|
+
interestRate?: number | null | undefined;
|
|
384
|
+
bonusTiers?: {
|
|
385
|
+
value: number;
|
|
386
|
+
type: import("./bonus-tier.types").BonusType;
|
|
387
|
+
startAmount: number;
|
|
388
|
+
endAmount: number;
|
|
389
|
+
}[] | undefined;
|
|
300
390
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
301
391
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
302
392
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
303
393
|
}>;
|
|
304
394
|
export type PatchOffering = z.infer<typeof PatchOffering>;
|
|
395
|
+
/**
|
|
396
|
+
* Optional params for resolveAndValidateOfferingUpdateFields.
|
|
397
|
+
* All fields are optional and nullable; resolution merges with offering/asset values.
|
|
398
|
+
*/
|
|
399
|
+
export declare const ResolveOfferingUpdateFieldsParamsZod: z.ZodObject<{
|
|
400
|
+
minInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
401
|
+
maxInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
402
|
+
targetAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
403
|
+
pricePerUnit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
404
|
+
}, "strip", z.ZodTypeAny, {
|
|
405
|
+
targetAmount?: number | null | undefined;
|
|
406
|
+
minInvestment?: number | null | undefined;
|
|
407
|
+
maxInvestment?: number | null | undefined;
|
|
408
|
+
pricePerUnit?: number | null | undefined;
|
|
409
|
+
}, {
|
|
410
|
+
targetAmount?: number | null | undefined;
|
|
411
|
+
minInvestment?: number | null | undefined;
|
|
412
|
+
maxInvestment?: number | null | undefined;
|
|
413
|
+
pricePerUnit?: number | null | undefined;
|
|
414
|
+
}>;
|
|
415
|
+
export type ResolveOfferingUpdateFieldsParams = z.infer<typeof ResolveOfferingUpdateFieldsParamsZod>;
|
|
416
|
+
/**
|
|
417
|
+
* Resolved, validated offering update fields (price per unit, target amount, min/max investment).
|
|
418
|
+
* Returned by resolveAndValidateOfferingUpdateFields and passed into validateBonusTiersForUpdate.
|
|
419
|
+
*/
|
|
420
|
+
export declare const ResolvedOfferingUpdateFieldsZod: z.ZodObject<{
|
|
421
|
+
pricePerUnit: z.ZodNumber;
|
|
422
|
+
targetAmount: z.ZodNumber;
|
|
423
|
+
minInvestment: z.ZodNullable<z.ZodNumber>;
|
|
424
|
+
maxInvestment: z.ZodNullable<z.ZodNumber>;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
targetAmount: number;
|
|
427
|
+
minInvestment: number | null;
|
|
428
|
+
maxInvestment: number | null;
|
|
429
|
+
pricePerUnit: number;
|
|
430
|
+
}, {
|
|
431
|
+
targetAmount: number;
|
|
432
|
+
minInvestment: number | null;
|
|
433
|
+
maxInvestment: number | null;
|
|
434
|
+
pricePerUnit: number;
|
|
435
|
+
}>;
|
|
436
|
+
export type ResolvedOfferingUpdateFields = z.infer<typeof ResolvedOfferingUpdateFieldsZod>;
|
|
305
437
|
export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
306
438
|
name: z.ZodOptional<z.ZodString>;
|
|
307
439
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -349,6 +481,7 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
349
481
|
} & {
|
|
350
482
|
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
351
483
|
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
484
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
352
485
|
assetName: z.ZodString;
|
|
353
486
|
assetType: z.ZodNativeEnum<typeof AssetType>;
|
|
354
487
|
pricePerUnit: z.ZodNullable<z.ZodNumber>;
|
|
@@ -359,10 +492,58 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
359
492
|
template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
|
|
360
493
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
361
494
|
enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
495
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
496
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
497
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
498
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
499
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
500
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
501
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
502
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
503
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
504
|
+
}, "strip", z.ZodTypeAny, {
|
|
505
|
+
value: number;
|
|
506
|
+
type: import("./bonus-tier.types").BonusType;
|
|
507
|
+
startAmount: number;
|
|
508
|
+
endAmount: number;
|
|
509
|
+
}, {
|
|
510
|
+
value: number;
|
|
511
|
+
type: import("./bonus-tier.types").BonusType;
|
|
512
|
+
startAmount: number;
|
|
513
|
+
endAmount: number;
|
|
514
|
+
}>, {
|
|
515
|
+
value: number;
|
|
516
|
+
type: import("./bonus-tier.types").BonusType;
|
|
517
|
+
startAmount: number;
|
|
518
|
+
endAmount: number;
|
|
519
|
+
}, {
|
|
520
|
+
value: number;
|
|
521
|
+
type: import("./bonus-tier.types").BonusType;
|
|
522
|
+
startAmount: number;
|
|
523
|
+
endAmount: number;
|
|
524
|
+
}>, {
|
|
525
|
+
value: number;
|
|
526
|
+
type: import("./bonus-tier.types").BonusType;
|
|
527
|
+
startAmount: number;
|
|
528
|
+
endAmount: number;
|
|
529
|
+
}, {
|
|
530
|
+
value: number;
|
|
531
|
+
type: import("./bonus-tier.types").BonusType;
|
|
532
|
+
startAmount: number;
|
|
533
|
+
endAmount: number;
|
|
534
|
+
}>, "many">>;
|
|
535
|
+
warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
536
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
537
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
538
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
539
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
540
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
541
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
362
542
|
}, "strip", z.ZodTypeAny, {
|
|
363
543
|
accountId: string;
|
|
364
544
|
template: AssetTemplateType;
|
|
365
545
|
platformSettings: string | null;
|
|
546
|
+
warrantsEnabled: boolean;
|
|
366
547
|
assetName: string;
|
|
367
548
|
assetType: AssetType;
|
|
368
549
|
pricePerUnit: number | null;
|
|
@@ -387,11 +568,28 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
387
568
|
memorandumId?: string | null | undefined;
|
|
388
569
|
subscriptionAgreementId?: string | null | undefined;
|
|
389
570
|
showTotalRaised?: boolean | undefined;
|
|
571
|
+
hasEscrow?: boolean | undefined;
|
|
572
|
+
bankAccountId?: string | null | undefined;
|
|
573
|
+
escrowAccountId?: string | null | undefined;
|
|
574
|
+
totalShares?: number | null | undefined;
|
|
575
|
+
warrantTermYears?: number | null | undefined;
|
|
576
|
+
exercisePrice?: number | null | undefined;
|
|
577
|
+
warrantPercentage?: number | null | undefined;
|
|
578
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
579
|
+
incrementThreshold?: number | null | undefined;
|
|
580
|
+
shareClassId?: string | null | undefined;
|
|
390
581
|
yield?: number | null | undefined;
|
|
391
582
|
duration?: number | null | undefined;
|
|
392
583
|
durationType?: DurationType | null | undefined;
|
|
393
584
|
tiers?: number[] | null | undefined;
|
|
394
585
|
enableBonus?: boolean | undefined;
|
|
586
|
+
interestRate?: number | null | undefined;
|
|
587
|
+
bonusTiers?: {
|
|
588
|
+
value: number;
|
|
589
|
+
type: import("./bonus-tier.types").BonusType;
|
|
590
|
+
startAmount: number;
|
|
591
|
+
endAmount: number;
|
|
592
|
+
}[] | undefined;
|
|
395
593
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
396
594
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
397
595
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -428,11 +626,29 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
428
626
|
memorandumId?: string | null | undefined;
|
|
429
627
|
subscriptionAgreementId?: string | null | undefined;
|
|
430
628
|
showTotalRaised?: boolean | undefined;
|
|
629
|
+
hasEscrow?: boolean | undefined;
|
|
630
|
+
bankAccountId?: string | null | undefined;
|
|
631
|
+
escrowAccountId?: string | null | undefined;
|
|
632
|
+
warrantsEnabled?: boolean | undefined;
|
|
633
|
+
totalShares?: number | null | undefined;
|
|
634
|
+
warrantTermYears?: number | null | undefined;
|
|
635
|
+
exercisePrice?: number | null | undefined;
|
|
636
|
+
warrantPercentage?: number | null | undefined;
|
|
637
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
638
|
+
incrementThreshold?: number | null | undefined;
|
|
639
|
+
shareClassId?: string | null | undefined;
|
|
431
640
|
yield?: number | null | undefined;
|
|
432
641
|
duration?: number | null | undefined;
|
|
433
642
|
durationType?: DurationType | null | undefined;
|
|
434
643
|
tiers?: number[] | null | undefined;
|
|
435
644
|
enableBonus?: boolean | undefined;
|
|
645
|
+
interestRate?: number | null | undefined;
|
|
646
|
+
bonusTiers?: {
|
|
647
|
+
value: number;
|
|
648
|
+
type: import("./bonus-tier.types").BonusType;
|
|
649
|
+
startAmount: number;
|
|
650
|
+
endAmount: number;
|
|
651
|
+
}[] | undefined;
|
|
436
652
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
437
653
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
438
654
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -440,6 +656,7 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
440
656
|
accountId: string;
|
|
441
657
|
template: AssetTemplateType;
|
|
442
658
|
platformSettings: string | null;
|
|
659
|
+
warrantsEnabled: boolean;
|
|
443
660
|
assetName: string;
|
|
444
661
|
assetType: AssetType;
|
|
445
662
|
pricePerUnit: number | null;
|
|
@@ -464,11 +681,28 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
464
681
|
memorandumId?: string | null | undefined;
|
|
465
682
|
subscriptionAgreementId?: string | null | undefined;
|
|
466
683
|
showTotalRaised?: boolean | undefined;
|
|
684
|
+
hasEscrow?: boolean | undefined;
|
|
685
|
+
bankAccountId?: string | null | undefined;
|
|
686
|
+
escrowAccountId?: string | null | undefined;
|
|
687
|
+
totalShares?: number | null | undefined;
|
|
688
|
+
warrantTermYears?: number | null | undefined;
|
|
689
|
+
exercisePrice?: number | null | undefined;
|
|
690
|
+
warrantPercentage?: number | null | undefined;
|
|
691
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
692
|
+
incrementThreshold?: number | null | undefined;
|
|
693
|
+
shareClassId?: string | null | undefined;
|
|
467
694
|
yield?: number | null | undefined;
|
|
468
695
|
duration?: number | null | undefined;
|
|
469
696
|
durationType?: DurationType | null | undefined;
|
|
470
697
|
tiers?: number[] | null | undefined;
|
|
471
698
|
enableBonus?: boolean | undefined;
|
|
699
|
+
interestRate?: number | null | undefined;
|
|
700
|
+
bonusTiers?: {
|
|
701
|
+
value: number;
|
|
702
|
+
type: import("./bonus-tier.types").BonusType;
|
|
703
|
+
startAmount: number;
|
|
704
|
+
endAmount: number;
|
|
705
|
+
}[] | undefined;
|
|
472
706
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
473
707
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
474
708
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -505,17 +739,35 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
|
|
|
505
739
|
memorandumId?: string | null | undefined;
|
|
506
740
|
subscriptionAgreementId?: string | null | undefined;
|
|
507
741
|
showTotalRaised?: boolean | undefined;
|
|
742
|
+
hasEscrow?: boolean | undefined;
|
|
743
|
+
bankAccountId?: string | null | undefined;
|
|
744
|
+
escrowAccountId?: string | null | undefined;
|
|
745
|
+
warrantsEnabled?: boolean | undefined;
|
|
746
|
+
totalShares?: number | null | undefined;
|
|
747
|
+
warrantTermYears?: number | null | undefined;
|
|
748
|
+
exercisePrice?: number | null | undefined;
|
|
749
|
+
warrantPercentage?: number | null | undefined;
|
|
750
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
751
|
+
incrementThreshold?: number | null | undefined;
|
|
752
|
+
shareClassId?: string | null | undefined;
|
|
508
753
|
yield?: number | null | undefined;
|
|
509
754
|
duration?: number | null | undefined;
|
|
510
755
|
durationType?: DurationType | null | undefined;
|
|
511
756
|
tiers?: number[] | null | undefined;
|
|
512
757
|
enableBonus?: boolean | undefined;
|
|
758
|
+
interestRate?: number | null | undefined;
|
|
759
|
+
bonusTiers?: {
|
|
760
|
+
value: number;
|
|
761
|
+
type: import("./bonus-tier.types").BonusType;
|
|
762
|
+
startAmount: number;
|
|
763
|
+
endAmount: number;
|
|
764
|
+
}[] | undefined;
|
|
513
765
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
514
766
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
515
767
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
516
768
|
}>;
|
|
517
769
|
export type PostComplianceOffering = z.infer<typeof PostComplianceOffering>;
|
|
518
|
-
export declare const offeringsInclude: z.ZodEnum<["account", "issuer", "trades", "assets", "disbursements", "draftVersion", "publishedVersion", "revisions", "onboardingReviewedBy"]>;
|
|
770
|
+
export declare const offeringsInclude: z.ZodEnum<["account", "issuer", "trades", "assets", "disbursements", "draftVersion", "publishedVersion", "revisions", "onboardingReviewedBy", "bankAccount", "escrowAccount", "shareClass"]>;
|
|
519
771
|
/**
|
|
520
772
|
* @description Query parameters for including related entities
|
|
521
773
|
* @xample in contract us as -> query: z.object({}).merge(UsersIncludeQuery),
|
|
@@ -1053,6 +1305,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1053
1305
|
cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1054
1306
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
1055
1307
|
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1308
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1056
1309
|
} & {
|
|
1057
1310
|
assetName: z.ZodOptional<z.ZodString>;
|
|
1058
1311
|
assetType: z.ZodOptional<z.ZodNativeEnum<typeof AssetType>>;
|
|
@@ -1064,6 +1317,54 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1064
1317
|
template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
|
|
1065
1318
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1066
1319
|
enableBonus: z.ZodOptional<z.ZodBoolean>;
|
|
1320
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1321
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1322
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1323
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1324
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1325
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1326
|
+
}, "strip", z.ZodTypeAny, {
|
|
1327
|
+
value: number;
|
|
1328
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1329
|
+
startAmount: number;
|
|
1330
|
+
endAmount: number;
|
|
1331
|
+
}, {
|
|
1332
|
+
value: number;
|
|
1333
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1334
|
+
startAmount: number;
|
|
1335
|
+
endAmount: number;
|
|
1336
|
+
}>, {
|
|
1337
|
+
value: number;
|
|
1338
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1339
|
+
startAmount: number;
|
|
1340
|
+
endAmount: number;
|
|
1341
|
+
}, {
|
|
1342
|
+
value: number;
|
|
1343
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1344
|
+
startAmount: number;
|
|
1345
|
+
endAmount: number;
|
|
1346
|
+
}>, {
|
|
1347
|
+
value: number;
|
|
1348
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1349
|
+
startAmount: number;
|
|
1350
|
+
endAmount: number;
|
|
1351
|
+
}, {
|
|
1352
|
+
value: number;
|
|
1353
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1354
|
+
startAmount: number;
|
|
1355
|
+
endAmount: number;
|
|
1356
|
+
}>, "many">>;
|
|
1357
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1358
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1359
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1360
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1361
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1362
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1363
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1364
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1365
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1366
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
1367
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1067
1368
|
}, "strip", z.ZodTypeAny, {
|
|
1068
1369
|
platformSettings: string | null;
|
|
1069
1370
|
type?: OfferingType | undefined;
|
|
@@ -1087,6 +1388,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1087
1388
|
memorandumId?: string | null | undefined;
|
|
1088
1389
|
subscriptionAgreementId?: string | null | undefined;
|
|
1089
1390
|
showTotalRaised?: boolean | undefined;
|
|
1391
|
+
hasEscrow?: boolean | undefined;
|
|
1392
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1393
|
+
bankAccountId?: string | null | undefined;
|
|
1394
|
+
escrowAccountId?: string | null | undefined;
|
|
1395
|
+
warrantsEnabled?: boolean | undefined;
|
|
1396
|
+
totalShares?: number | null | undefined;
|
|
1397
|
+
warrantTermYears?: number | null | undefined;
|
|
1398
|
+
exercisePrice?: number | null | undefined;
|
|
1399
|
+
warrantPercentage?: number | null | undefined;
|
|
1400
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1401
|
+
incrementThreshold?: number | null | undefined;
|
|
1402
|
+
shareClassId?: string | null | undefined;
|
|
1090
1403
|
assetName?: string | undefined;
|
|
1091
1404
|
assetType?: AssetType | undefined;
|
|
1092
1405
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1096,6 +1409,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1096
1409
|
durationType?: DurationType | null | undefined;
|
|
1097
1410
|
tiers?: number[] | null | undefined;
|
|
1098
1411
|
enableBonus?: boolean | undefined;
|
|
1412
|
+
interestRate?: number | null | undefined;
|
|
1413
|
+
bonusTiers?: {
|
|
1414
|
+
value: number;
|
|
1415
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1416
|
+
startAmount: number;
|
|
1417
|
+
endAmount: number;
|
|
1418
|
+
}[] | undefined;
|
|
1099
1419
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
1100
1420
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
1101
1421
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -1127,6 +1447,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1127
1447
|
memorandumId?: string | null | undefined;
|
|
1128
1448
|
subscriptionAgreementId?: string | null | undefined;
|
|
1129
1449
|
showTotalRaised?: boolean | undefined;
|
|
1450
|
+
hasEscrow?: boolean | undefined;
|
|
1451
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1452
|
+
bankAccountId?: string | null | undefined;
|
|
1453
|
+
escrowAccountId?: string | null | undefined;
|
|
1454
|
+
warrantsEnabled?: boolean | undefined;
|
|
1455
|
+
totalShares?: number | null | undefined;
|
|
1456
|
+
warrantTermYears?: number | null | undefined;
|
|
1457
|
+
exercisePrice?: number | null | undefined;
|
|
1458
|
+
warrantPercentage?: number | null | undefined;
|
|
1459
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1460
|
+
incrementThreshold?: number | null | undefined;
|
|
1461
|
+
shareClassId?: string | null | undefined;
|
|
1130
1462
|
assetName?: string | undefined;
|
|
1131
1463
|
assetType?: AssetType | undefined;
|
|
1132
1464
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1136,6 +1468,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1136
1468
|
durationType?: DurationType | null | undefined;
|
|
1137
1469
|
tiers?: number[] | null | undefined;
|
|
1138
1470
|
enableBonus?: boolean | undefined;
|
|
1471
|
+
interestRate?: number | null | undefined;
|
|
1472
|
+
bonusTiers?: {
|
|
1473
|
+
value: number;
|
|
1474
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1475
|
+
startAmount: number;
|
|
1476
|
+
endAmount: number;
|
|
1477
|
+
}[] | undefined;
|
|
1139
1478
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
1140
1479
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
1141
1480
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -1393,6 +1732,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1393
1732
|
memorandumId?: string | null | undefined;
|
|
1394
1733
|
subscriptionAgreementId?: string | null | undefined;
|
|
1395
1734
|
showTotalRaised?: boolean | undefined;
|
|
1735
|
+
hasEscrow?: boolean | undefined;
|
|
1736
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1737
|
+
bankAccountId?: string | null | undefined;
|
|
1738
|
+
escrowAccountId?: string | null | undefined;
|
|
1739
|
+
warrantsEnabled?: boolean | undefined;
|
|
1740
|
+
totalShares?: number | null | undefined;
|
|
1741
|
+
warrantTermYears?: number | null | undefined;
|
|
1742
|
+
exercisePrice?: number | null | undefined;
|
|
1743
|
+
warrantPercentage?: number | null | undefined;
|
|
1744
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1745
|
+
incrementThreshold?: number | null | undefined;
|
|
1746
|
+
shareClassId?: string | null | undefined;
|
|
1396
1747
|
assetName?: string | undefined;
|
|
1397
1748
|
assetType?: AssetType | undefined;
|
|
1398
1749
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1402,6 +1753,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1402
1753
|
durationType?: DurationType | null | undefined;
|
|
1403
1754
|
tiers?: number[] | null | undefined;
|
|
1404
1755
|
enableBonus?: boolean | undefined;
|
|
1756
|
+
interestRate?: number | null | undefined;
|
|
1757
|
+
bonusTiers?: {
|
|
1758
|
+
value: number;
|
|
1759
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1760
|
+
startAmount: number;
|
|
1761
|
+
endAmount: number;
|
|
1762
|
+
}[] | undefined;
|
|
1405
1763
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
1406
1764
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
1407
1765
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -1444,6 +1802,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1444
1802
|
memorandumId?: string | null | undefined;
|
|
1445
1803
|
subscriptionAgreementId?: string | null | undefined;
|
|
1446
1804
|
showTotalRaised?: boolean | undefined;
|
|
1805
|
+
hasEscrow?: boolean | undefined;
|
|
1806
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1807
|
+
bankAccountId?: string | null | undefined;
|
|
1808
|
+
escrowAccountId?: string | null | undefined;
|
|
1809
|
+
warrantsEnabled?: boolean | undefined;
|
|
1810
|
+
totalShares?: number | null | undefined;
|
|
1811
|
+
warrantTermYears?: number | null | undefined;
|
|
1812
|
+
exercisePrice?: number | null | undefined;
|
|
1813
|
+
warrantPercentage?: number | null | undefined;
|
|
1814
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1815
|
+
incrementThreshold?: number | null | undefined;
|
|
1816
|
+
shareClassId?: string | null | undefined;
|
|
1447
1817
|
assetName?: string | undefined;
|
|
1448
1818
|
assetType?: AssetType | undefined;
|
|
1449
1819
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1453,6 +1823,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
|
|
|
1453
1823
|
durationType?: DurationType | null | undefined;
|
|
1454
1824
|
tiers?: number[] | null | undefined;
|
|
1455
1825
|
enableBonus?: boolean | undefined;
|
|
1826
|
+
interestRate?: number | null | undefined;
|
|
1827
|
+
bonusTiers?: {
|
|
1828
|
+
value: number;
|
|
1829
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1830
|
+
startAmount: number;
|
|
1831
|
+
endAmount: number;
|
|
1832
|
+
}[] | undefined;
|
|
1456
1833
|
entitySubscriptionAgreementTemplateId?: string | null | undefined;
|
|
1457
1834
|
subscriptionAgreementTemplateId?: string | null | undefined;
|
|
1458
1835
|
jointSubscriptionAgreementTemplateId?: string | null | undefined;
|
|
@@ -2190,6 +2567,7 @@ export type OfferingUpdateFields = {
|
|
|
2190
2567
|
managedBy?: ManagedByType | null;
|
|
2191
2568
|
showTotalRaised?: boolean;
|
|
2192
2569
|
enabled?: boolean;
|
|
2570
|
+
shareClassId?: string | null;
|
|
2193
2571
|
};
|
|
2194
2572
|
export declare const ReviewOfferingOnboarding: z.ZodObject<{
|
|
2195
2573
|
onboardingStatus: z.ZodNativeEnum<typeof OfferingOnboardingStatus>;
|
|
@@ -2333,3 +2711,136 @@ export declare const IPaginatedOnboardingOfferingSummaryResponse: z.ZodObject<{
|
|
|
2333
2711
|
};
|
|
2334
2712
|
}>;
|
|
2335
2713
|
export type IPaginatedOnboardingOfferingSummaryResponse = z.infer<typeof IPaginatedOnboardingOfferingSummaryResponse>;
|
|
2714
|
+
/**
|
|
2715
|
+
* Maps asset types to fields that should be reset (nullified) when converting
|
|
2716
|
+
* from one asset type to another. This ensures incompatible fields from the
|
|
2717
|
+
* previous type are cleared when the asset type changes.
|
|
2718
|
+
*/
|
|
2719
|
+
export declare const ESCROW_ENABLED_OFFERING_FIELD_RESETS: Partial<IOffering>;
|
|
2720
|
+
/**
|
|
2721
|
+
* Schema for escrow validation data input
|
|
2722
|
+
*/
|
|
2723
|
+
export declare const EscrowValidationDataZod: z.ZodObject<{
|
|
2724
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
2725
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2726
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2727
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2728
|
+
}, "strip", z.ZodTypeAny, {
|
|
2729
|
+
hasEscrow?: boolean | undefined;
|
|
2730
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
2731
|
+
bankAccountId?: string | null | undefined;
|
|
2732
|
+
escrowAccountId?: string | null | undefined;
|
|
2733
|
+
}, {
|
|
2734
|
+
hasEscrow?: boolean | undefined;
|
|
2735
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
2736
|
+
bankAccountId?: string | null | undefined;
|
|
2737
|
+
escrowAccountId?: string | null | undefined;
|
|
2738
|
+
}>;
|
|
2739
|
+
export type EscrowValidationData = z.infer<typeof EscrowValidationDataZod>;
|
|
2740
|
+
/**
|
|
2741
|
+
* Schema for escrow validation context
|
|
2742
|
+
*/
|
|
2743
|
+
export declare const EscrowValidationContextZod: z.ZodObject<{
|
|
2744
|
+
accountId: z.ZodString;
|
|
2745
|
+
issuerId: z.ZodString;
|
|
2746
|
+
offeringId: z.ZodString;
|
|
2747
|
+
currentBankAccountId: z.ZodNullable<z.ZodString>;
|
|
2748
|
+
currentEscrowAccountId: z.ZodNullable<z.ZodString>;
|
|
2749
|
+
currentEscrowAgreementFileId: z.ZodNullable<z.ZodString>;
|
|
2750
|
+
}, "strip", z.ZodTypeAny, {
|
|
2751
|
+
accountId: string;
|
|
2752
|
+
offeringId: string;
|
|
2753
|
+
issuerId: string;
|
|
2754
|
+
currentBankAccountId: string | null;
|
|
2755
|
+
currentEscrowAccountId: string | null;
|
|
2756
|
+
currentEscrowAgreementFileId: string | null;
|
|
2757
|
+
}, {
|
|
2758
|
+
accountId: string;
|
|
2759
|
+
offeringId: string;
|
|
2760
|
+
issuerId: string;
|
|
2761
|
+
currentBankAccountId: string | null;
|
|
2762
|
+
currentEscrowAccountId: string | null;
|
|
2763
|
+
currentEscrowAgreementFileId: string | null;
|
|
2764
|
+
}>;
|
|
2765
|
+
export type EscrowValidationContext = z.infer<typeof EscrowValidationContextZod>;
|
|
2766
|
+
/**
|
|
2767
|
+
* Shape of warrant fields shared by Offering and OfferingRevision for validation.
|
|
2768
|
+
*/
|
|
2769
|
+
export declare const WarrantSharesBaseZod: z.ZodObject<{
|
|
2770
|
+
warrantsEnabled: z.ZodBoolean;
|
|
2771
|
+
totalShares: z.ZodNullable<z.ZodNumber>;
|
|
2772
|
+
warrantTermYears: z.ZodNullable<z.ZodNumber>;
|
|
2773
|
+
exercisePrice: z.ZodNullable<z.ZodNumber>;
|
|
2774
|
+
warrantPercentage: z.ZodNullable<z.ZodNumber>;
|
|
2775
|
+
calculationMethod: z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>;
|
|
2776
|
+
incrementThreshold: z.ZodNullable<z.ZodNumber>;
|
|
2777
|
+
fullyDilutedShares: z.ZodNullable<z.ZodNumber>;
|
|
2778
|
+
}, "strip", z.ZodTypeAny, {
|
|
2779
|
+
warrantsEnabled: boolean;
|
|
2780
|
+
totalShares: number | null;
|
|
2781
|
+
warrantTermYears: number | null;
|
|
2782
|
+
exercisePrice: number | null;
|
|
2783
|
+
warrantPercentage: number | null;
|
|
2784
|
+
calculationMethod: WarrantSharesCalculationMethod | null;
|
|
2785
|
+
incrementThreshold: number | null;
|
|
2786
|
+
fullyDilutedShares: number | null;
|
|
2787
|
+
}, {
|
|
2788
|
+
warrantsEnabled: boolean;
|
|
2789
|
+
totalShares: number | null;
|
|
2790
|
+
warrantTermYears: number | null;
|
|
2791
|
+
exercisePrice: number | null;
|
|
2792
|
+
warrantPercentage: number | null;
|
|
2793
|
+
calculationMethod: WarrantSharesCalculationMethod | null;
|
|
2794
|
+
incrementThreshold: number | null;
|
|
2795
|
+
fullyDilutedShares: number | null;
|
|
2796
|
+
}>;
|
|
2797
|
+
export type WarrantSharesBase = z.infer<typeof WarrantSharesBaseZod>;
|
|
2798
|
+
/**
|
|
2799
|
+
* All warrant field keys used when picking warrant data from base or patch.
|
|
2800
|
+
*/
|
|
2801
|
+
export declare const WARRANT_FIELD_KEYS: (keyof WarrantSharesBase)[];
|
|
2802
|
+
/**
|
|
2803
|
+
* Warrant field keys required when enabling warrants (turning warrants on).
|
|
2804
|
+
*/
|
|
2805
|
+
export declare const WARRANT_REQUIRED_WHEN_ENABLED_KEYS: (keyof WarrantSharesBase)[];
|
|
2806
|
+
/**
|
|
2807
|
+
* Patch input for warrant validation (optional warrant fields from PATCH body).
|
|
2808
|
+
*/
|
|
2809
|
+
export declare const WarrantValidationDataZod: z.ZodObject<{
|
|
2810
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2811
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2812
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2813
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2814
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2815
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
2816
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2817
|
+
fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2818
|
+
}, "strip", z.ZodTypeAny, {
|
|
2819
|
+
warrantsEnabled?: boolean | undefined;
|
|
2820
|
+
totalShares?: number | null | undefined;
|
|
2821
|
+
warrantTermYears?: number | null | undefined;
|
|
2822
|
+
exercisePrice?: number | null | undefined;
|
|
2823
|
+
warrantPercentage?: number | null | undefined;
|
|
2824
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
2825
|
+
incrementThreshold?: number | null | undefined;
|
|
2826
|
+
fullyDilutedShares?: number | null | undefined;
|
|
2827
|
+
}, {
|
|
2828
|
+
warrantsEnabled?: boolean | undefined;
|
|
2829
|
+
totalShares?: number | null | undefined;
|
|
2830
|
+
warrantTermYears?: number | null | undefined;
|
|
2831
|
+
exercisePrice?: number | null | undefined;
|
|
2832
|
+
warrantPercentage?: number | null | undefined;
|
|
2833
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
2834
|
+
incrementThreshold?: number | null | undefined;
|
|
2835
|
+
fullyDilutedShares?: number | null | undefined;
|
|
2836
|
+
}>;
|
|
2837
|
+
export type WarrantValidationData = z.infer<typeof WarrantValidationDataZod>;
|
|
2838
|
+
/**
|
|
2839
|
+
* Validated warrant payload to persist on revision and offering.
|
|
2840
|
+
*/
|
|
2841
|
+
export type WarrantValidationResult = WarrantSharesBase;
|
|
2842
|
+
/**
|
|
2843
|
+
* Warrant-related fields to reset (nullify) when warrants are disabled.
|
|
2844
|
+
* Used when warrantsEnabled is set to false so revision and offering stay in sync.
|
|
2845
|
+
*/
|
|
2846
|
+
export declare const WARRANT_DISABLED_FIELD_RESETS: WarrantValidationResult;
|