@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,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType } from './common.types';
|
|
2
|
+
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod, WarrantSharesCalculationMethod } from './common.types';
|
|
3
3
|
import { AssetTemplateType } from './asset.types';
|
|
4
|
+
import { PostComplianceOffering } from './offering.types';
|
|
4
5
|
export declare enum OfferingStatus {
|
|
5
6
|
ONBOARDING = "ONBOARDING",
|
|
6
7
|
IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
|
|
@@ -134,6 +135,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
134
135
|
template: z.ZodNativeEnum<typeof AssetTemplateType>;
|
|
135
136
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
136
137
|
enableBonus: z.ZodBoolean;
|
|
138
|
+
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
137
139
|
}, "strip", z.ZodTypeAny, {
|
|
138
140
|
type: AssetType | null;
|
|
139
141
|
id: string;
|
|
@@ -152,6 +154,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
152
154
|
durationType: DurationType | null;
|
|
153
155
|
tiers: number[] | null;
|
|
154
156
|
enableBonus: boolean;
|
|
157
|
+
interestRate: number | null;
|
|
155
158
|
__entity?: string | undefined;
|
|
156
159
|
account?: {
|
|
157
160
|
status: import("./common.types").AccountStatus;
|
|
@@ -186,6 +189,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
186
189
|
durationType: DurationType | null;
|
|
187
190
|
tiers: number[] | null;
|
|
188
191
|
enableBonus: boolean;
|
|
192
|
+
interestRate: number | null;
|
|
189
193
|
__entity?: string | undefined;
|
|
190
194
|
account?: {
|
|
191
195
|
status: import("./common.types").AccountStatus;
|
|
@@ -212,6 +216,130 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
212
216
|
valuationCap: z.ZodNullable<z.ZodNumber>;
|
|
213
217
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
214
218
|
status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
|
|
219
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
+
bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
|
|
223
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
224
|
+
escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
225
|
+
id: z.ZodString;
|
|
226
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
227
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
228
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
229
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
230
|
+
} & {
|
|
231
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
232
|
+
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
233
|
+
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
234
|
+
accountName: z.ZodString;
|
|
235
|
+
agentEmail: z.ZodString;
|
|
236
|
+
agentName: z.ZodString;
|
|
237
|
+
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
238
|
+
account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
239
|
+
id: z.ZodString;
|
|
240
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
241
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
242
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
243
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
244
|
+
} & {
|
|
245
|
+
name: z.ZodString;
|
|
246
|
+
status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
|
|
247
|
+
managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
248
|
+
platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
|
|
249
|
+
onboardingReviewerId: z.ZodNullable<z.ZodString>;
|
|
250
|
+
onboardingReviewAt: z.ZodNullable<z.ZodDate>;
|
|
251
|
+
allowPendingComplianceReview: z.ZodBoolean;
|
|
252
|
+
}, "strip", z.ZodTypeAny, {
|
|
253
|
+
status: import("./common.types").AccountStatus;
|
|
254
|
+
id: string;
|
|
255
|
+
createdAt: string | Date;
|
|
256
|
+
updatedAt: string | Date;
|
|
257
|
+
deletedAt: string | Date | null;
|
|
258
|
+
name: string;
|
|
259
|
+
managedBy: ManagedByType | null;
|
|
260
|
+
platform: import("./common.types").Platform;
|
|
261
|
+
onboardingReviewerId: string | null;
|
|
262
|
+
onboardingReviewAt: Date | null;
|
|
263
|
+
allowPendingComplianceReview: boolean;
|
|
264
|
+
__entity?: string | undefined;
|
|
265
|
+
}, {
|
|
266
|
+
status: import("./common.types").AccountStatus;
|
|
267
|
+
id: string;
|
|
268
|
+
createdAt: string | Date;
|
|
269
|
+
updatedAt: string | Date;
|
|
270
|
+
deletedAt: string | Date | null;
|
|
271
|
+
name: string;
|
|
272
|
+
managedBy: ManagedByType | null;
|
|
273
|
+
platform: import("./common.types").Platform;
|
|
274
|
+
onboardingReviewerId: string | null;
|
|
275
|
+
onboardingReviewAt: Date | null;
|
|
276
|
+
allowPendingComplianceReview: boolean;
|
|
277
|
+
__entity?: string | undefined;
|
|
278
|
+
}>>>;
|
|
279
|
+
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
id: string;
|
|
281
|
+
createdAt: string | Date;
|
|
282
|
+
updatedAt: string | Date;
|
|
283
|
+
deletedAt: string | Date | null;
|
|
284
|
+
accountId: string;
|
|
285
|
+
accountName: string;
|
|
286
|
+
agentEmail: string;
|
|
287
|
+
agentName: string;
|
|
288
|
+
__entity?: string | undefined;
|
|
289
|
+
account?: {
|
|
290
|
+
status: import("./common.types").AccountStatus;
|
|
291
|
+
id: string;
|
|
292
|
+
createdAt: string | Date;
|
|
293
|
+
updatedAt: string | Date;
|
|
294
|
+
deletedAt: string | Date | null;
|
|
295
|
+
name: string;
|
|
296
|
+
managedBy: ManagedByType | null;
|
|
297
|
+
platform: import("./common.types").Platform;
|
|
298
|
+
onboardingReviewerId: string | null;
|
|
299
|
+
onboardingReviewAt: Date | null;
|
|
300
|
+
allowPendingComplianceReview: boolean;
|
|
301
|
+
__entity?: string | undefined;
|
|
302
|
+
} | null | undefined;
|
|
303
|
+
accountNumber?: string | null | undefined;
|
|
304
|
+
routingNumber?: string | null | undefined;
|
|
305
|
+
company?: string | null | undefined;
|
|
306
|
+
}, {
|
|
307
|
+
id: string;
|
|
308
|
+
createdAt: string | Date;
|
|
309
|
+
updatedAt: string | Date;
|
|
310
|
+
deletedAt: string | Date | null;
|
|
311
|
+
accountId: string;
|
|
312
|
+
accountName: string;
|
|
313
|
+
agentEmail: string;
|
|
314
|
+
agentName: string;
|
|
315
|
+
__entity?: string | undefined;
|
|
316
|
+
account?: {
|
|
317
|
+
status: import("./common.types").AccountStatus;
|
|
318
|
+
id: string;
|
|
319
|
+
createdAt: string | Date;
|
|
320
|
+
updatedAt: string | Date;
|
|
321
|
+
deletedAt: string | Date | null;
|
|
322
|
+
name: string;
|
|
323
|
+
managedBy: ManagedByType | null;
|
|
324
|
+
platform: import("./common.types").Platform;
|
|
325
|
+
onboardingReviewerId: string | null;
|
|
326
|
+
onboardingReviewAt: Date | null;
|
|
327
|
+
allowPendingComplianceReview: boolean;
|
|
328
|
+
__entity?: string | undefined;
|
|
329
|
+
} | null | undefined;
|
|
330
|
+
accountNumber?: string | null | undefined;
|
|
331
|
+
routingNumber?: string | null | undefined;
|
|
332
|
+
company?: string | null | undefined;
|
|
333
|
+
}>>>>;
|
|
334
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
335
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
336
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
337
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
338
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
339
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
340
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
341
|
+
fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
342
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
343
|
}, "strip", z.ZodTypeAny, {
|
|
216
344
|
type: OfferingType | null;
|
|
217
345
|
id: string;
|
|
@@ -256,6 +384,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
256
384
|
durationType: DurationType | null;
|
|
257
385
|
tiers: number[] | null;
|
|
258
386
|
enableBonus: boolean;
|
|
387
|
+
interestRate: number | null;
|
|
259
388
|
__entity?: string | undefined;
|
|
260
389
|
account?: {
|
|
261
390
|
status: import("./common.types").AccountStatus;
|
|
@@ -293,6 +422,48 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
293
422
|
memorandumId?: string | null | undefined;
|
|
294
423
|
subscriptionAgreementId?: string | null | undefined;
|
|
295
424
|
showTotalRaised?: boolean | undefined;
|
|
425
|
+
hasEscrow?: boolean | undefined;
|
|
426
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
427
|
+
bankAccountId?: string | null | undefined;
|
|
428
|
+
bankAccount?: any;
|
|
429
|
+
escrowAccountId?: string | null | undefined;
|
|
430
|
+
escrowAccount?: {
|
|
431
|
+
id: string;
|
|
432
|
+
createdAt: string | Date;
|
|
433
|
+
updatedAt: string | Date;
|
|
434
|
+
deletedAt: string | Date | null;
|
|
435
|
+
accountId: string;
|
|
436
|
+
accountName: string;
|
|
437
|
+
agentEmail: string;
|
|
438
|
+
agentName: string;
|
|
439
|
+
__entity?: string | undefined;
|
|
440
|
+
account?: {
|
|
441
|
+
status: import("./common.types").AccountStatus;
|
|
442
|
+
id: string;
|
|
443
|
+
createdAt: string | Date;
|
|
444
|
+
updatedAt: string | Date;
|
|
445
|
+
deletedAt: string | Date | null;
|
|
446
|
+
name: string;
|
|
447
|
+
managedBy: ManagedByType | null;
|
|
448
|
+
platform: import("./common.types").Platform;
|
|
449
|
+
onboardingReviewerId: string | null;
|
|
450
|
+
onboardingReviewAt: Date | null;
|
|
451
|
+
allowPendingComplianceReview: boolean;
|
|
452
|
+
__entity?: string | undefined;
|
|
453
|
+
} | null | undefined;
|
|
454
|
+
accountNumber?: string | null | undefined;
|
|
455
|
+
routingNumber?: string | null | undefined;
|
|
456
|
+
company?: string | null | undefined;
|
|
457
|
+
} | null | undefined;
|
|
458
|
+
warrantsEnabled?: boolean | undefined;
|
|
459
|
+
totalShares?: number | null | undefined;
|
|
460
|
+
warrantTermYears?: number | null | undefined;
|
|
461
|
+
exercisePrice?: number | null | undefined;
|
|
462
|
+
warrantPercentage?: number | null | undefined;
|
|
463
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
464
|
+
incrementThreshold?: number | null | undefined;
|
|
465
|
+
fullyDilutedShares?: number | null | undefined;
|
|
466
|
+
shareClassId?: string | null | undefined;
|
|
296
467
|
}, {
|
|
297
468
|
type: OfferingType | null;
|
|
298
469
|
id: string;
|
|
@@ -337,6 +508,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
337
508
|
durationType: DurationType | null;
|
|
338
509
|
tiers: number[] | null;
|
|
339
510
|
enableBonus: boolean;
|
|
511
|
+
interestRate: number | null;
|
|
340
512
|
__entity?: string | undefined;
|
|
341
513
|
account?: {
|
|
342
514
|
status: import("./common.types").AccountStatus;
|
|
@@ -374,6 +546,48 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
374
546
|
memorandumId?: string | null | undefined;
|
|
375
547
|
subscriptionAgreementId?: string | null | undefined;
|
|
376
548
|
showTotalRaised?: boolean | undefined;
|
|
549
|
+
hasEscrow?: boolean | undefined;
|
|
550
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
551
|
+
bankAccountId?: string | null | undefined;
|
|
552
|
+
bankAccount?: any;
|
|
553
|
+
escrowAccountId?: string | null | undefined;
|
|
554
|
+
escrowAccount?: {
|
|
555
|
+
id: string;
|
|
556
|
+
createdAt: string | Date;
|
|
557
|
+
updatedAt: string | Date;
|
|
558
|
+
deletedAt: string | Date | null;
|
|
559
|
+
accountId: string;
|
|
560
|
+
accountName: string;
|
|
561
|
+
agentEmail: string;
|
|
562
|
+
agentName: string;
|
|
563
|
+
__entity?: string | undefined;
|
|
564
|
+
account?: {
|
|
565
|
+
status: import("./common.types").AccountStatus;
|
|
566
|
+
id: string;
|
|
567
|
+
createdAt: string | Date;
|
|
568
|
+
updatedAt: string | Date;
|
|
569
|
+
deletedAt: string | Date | null;
|
|
570
|
+
name: string;
|
|
571
|
+
managedBy: ManagedByType | null;
|
|
572
|
+
platform: import("./common.types").Platform;
|
|
573
|
+
onboardingReviewerId: string | null;
|
|
574
|
+
onboardingReviewAt: Date | null;
|
|
575
|
+
allowPendingComplianceReview: boolean;
|
|
576
|
+
__entity?: string | undefined;
|
|
577
|
+
} | null | undefined;
|
|
578
|
+
accountNumber?: string | null | undefined;
|
|
579
|
+
routingNumber?: string | null | undefined;
|
|
580
|
+
company?: string | null | undefined;
|
|
581
|
+
} | null | undefined;
|
|
582
|
+
warrantsEnabled?: boolean | 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
|
+
fullyDilutedShares?: number | null | undefined;
|
|
590
|
+
shareClassId?: string | null | undefined;
|
|
377
591
|
}>;
|
|
378
592
|
export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
|
|
379
593
|
export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
@@ -504,6 +718,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
504
718
|
template: z.ZodNativeEnum<typeof AssetTemplateType>;
|
|
505
719
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
506
720
|
enableBonus: z.ZodBoolean;
|
|
721
|
+
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
507
722
|
}, "strip", z.ZodTypeAny, {
|
|
508
723
|
type: AssetType | null;
|
|
509
724
|
id: string;
|
|
@@ -522,6 +737,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
522
737
|
durationType: DurationType | null;
|
|
523
738
|
tiers: number[] | null;
|
|
524
739
|
enableBonus: boolean;
|
|
740
|
+
interestRate: number | null;
|
|
525
741
|
__entity?: string | undefined;
|
|
526
742
|
account?: {
|
|
527
743
|
status: import("./common.types").AccountStatus;
|
|
@@ -556,6 +772,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
556
772
|
durationType: DurationType | null;
|
|
557
773
|
tiers: number[] | null;
|
|
558
774
|
enableBonus: boolean;
|
|
775
|
+
interestRate: number | null;
|
|
559
776
|
__entity?: string | undefined;
|
|
560
777
|
account?: {
|
|
561
778
|
status: import("./common.types").AccountStatus;
|
|
@@ -582,6 +799,130 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
582
799
|
valuationCap: z.ZodNullable<z.ZodNumber>;
|
|
583
800
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
584
801
|
status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
|
|
802
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
803
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
804
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
805
|
+
bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
|
|
806
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
807
|
+
escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
808
|
+
id: z.ZodString;
|
|
809
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
810
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
811
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
812
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
813
|
+
} & {
|
|
814
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
815
|
+
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
816
|
+
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
817
|
+
accountName: z.ZodString;
|
|
818
|
+
agentEmail: z.ZodString;
|
|
819
|
+
agentName: z.ZodString;
|
|
820
|
+
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
821
|
+
account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
822
|
+
id: z.ZodString;
|
|
823
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
824
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
825
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
826
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
827
|
+
} & {
|
|
828
|
+
name: z.ZodString;
|
|
829
|
+
status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
|
|
830
|
+
managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
831
|
+
platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
|
|
832
|
+
onboardingReviewerId: z.ZodNullable<z.ZodString>;
|
|
833
|
+
onboardingReviewAt: z.ZodNullable<z.ZodDate>;
|
|
834
|
+
allowPendingComplianceReview: z.ZodBoolean;
|
|
835
|
+
}, "strip", z.ZodTypeAny, {
|
|
836
|
+
status: import("./common.types").AccountStatus;
|
|
837
|
+
id: string;
|
|
838
|
+
createdAt: string | Date;
|
|
839
|
+
updatedAt: string | Date;
|
|
840
|
+
deletedAt: string | Date | null;
|
|
841
|
+
name: string;
|
|
842
|
+
managedBy: ManagedByType | null;
|
|
843
|
+
platform: import("./common.types").Platform;
|
|
844
|
+
onboardingReviewerId: string | null;
|
|
845
|
+
onboardingReviewAt: Date | null;
|
|
846
|
+
allowPendingComplianceReview: boolean;
|
|
847
|
+
__entity?: string | undefined;
|
|
848
|
+
}, {
|
|
849
|
+
status: import("./common.types").AccountStatus;
|
|
850
|
+
id: string;
|
|
851
|
+
createdAt: string | Date;
|
|
852
|
+
updatedAt: string | Date;
|
|
853
|
+
deletedAt: string | Date | null;
|
|
854
|
+
name: string;
|
|
855
|
+
managedBy: ManagedByType | null;
|
|
856
|
+
platform: import("./common.types").Platform;
|
|
857
|
+
onboardingReviewerId: string | null;
|
|
858
|
+
onboardingReviewAt: Date | null;
|
|
859
|
+
allowPendingComplianceReview: boolean;
|
|
860
|
+
__entity?: string | undefined;
|
|
861
|
+
}>>>;
|
|
862
|
+
}, "strip", z.ZodTypeAny, {
|
|
863
|
+
id: string;
|
|
864
|
+
createdAt: string | Date;
|
|
865
|
+
updatedAt: string | Date;
|
|
866
|
+
deletedAt: string | Date | null;
|
|
867
|
+
accountId: string;
|
|
868
|
+
accountName: string;
|
|
869
|
+
agentEmail: string;
|
|
870
|
+
agentName: string;
|
|
871
|
+
__entity?: string | undefined;
|
|
872
|
+
account?: {
|
|
873
|
+
status: import("./common.types").AccountStatus;
|
|
874
|
+
id: string;
|
|
875
|
+
createdAt: string | Date;
|
|
876
|
+
updatedAt: string | Date;
|
|
877
|
+
deletedAt: string | Date | null;
|
|
878
|
+
name: string;
|
|
879
|
+
managedBy: ManagedByType | null;
|
|
880
|
+
platform: import("./common.types").Platform;
|
|
881
|
+
onboardingReviewerId: string | null;
|
|
882
|
+
onboardingReviewAt: Date | null;
|
|
883
|
+
allowPendingComplianceReview: boolean;
|
|
884
|
+
__entity?: string | undefined;
|
|
885
|
+
} | null | undefined;
|
|
886
|
+
accountNumber?: string | null | undefined;
|
|
887
|
+
routingNumber?: string | null | undefined;
|
|
888
|
+
company?: string | null | undefined;
|
|
889
|
+
}, {
|
|
890
|
+
id: string;
|
|
891
|
+
createdAt: string | Date;
|
|
892
|
+
updatedAt: string | Date;
|
|
893
|
+
deletedAt: string | Date | null;
|
|
894
|
+
accountId: string;
|
|
895
|
+
accountName: string;
|
|
896
|
+
agentEmail: string;
|
|
897
|
+
agentName: string;
|
|
898
|
+
__entity?: string | undefined;
|
|
899
|
+
account?: {
|
|
900
|
+
status: import("./common.types").AccountStatus;
|
|
901
|
+
id: string;
|
|
902
|
+
createdAt: string | Date;
|
|
903
|
+
updatedAt: string | Date;
|
|
904
|
+
deletedAt: string | Date | null;
|
|
905
|
+
name: string;
|
|
906
|
+
managedBy: ManagedByType | null;
|
|
907
|
+
platform: import("./common.types").Platform;
|
|
908
|
+
onboardingReviewerId: string | null;
|
|
909
|
+
onboardingReviewAt: Date | null;
|
|
910
|
+
allowPendingComplianceReview: boolean;
|
|
911
|
+
__entity?: string | undefined;
|
|
912
|
+
} | null | undefined;
|
|
913
|
+
accountNumber?: string | null | undefined;
|
|
914
|
+
routingNumber?: string | null | undefined;
|
|
915
|
+
company?: string | null | undefined;
|
|
916
|
+
}>>>>;
|
|
917
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
918
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
919
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
920
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
921
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
922
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
923
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
924
|
+
fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
925
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
585
926
|
}, "strip", z.ZodTypeAny, {
|
|
586
927
|
type: OfferingType | null;
|
|
587
928
|
id: string;
|
|
@@ -626,6 +967,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
626
967
|
durationType: DurationType | null;
|
|
627
968
|
tiers: number[] | null;
|
|
628
969
|
enableBonus: boolean;
|
|
970
|
+
interestRate: number | null;
|
|
629
971
|
__entity?: string | undefined;
|
|
630
972
|
account?: {
|
|
631
973
|
status: import("./common.types").AccountStatus;
|
|
@@ -663,6 +1005,48 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
663
1005
|
memorandumId?: string | null | undefined;
|
|
664
1006
|
subscriptionAgreementId?: string | null | undefined;
|
|
665
1007
|
showTotalRaised?: boolean | undefined;
|
|
1008
|
+
hasEscrow?: boolean | undefined;
|
|
1009
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1010
|
+
bankAccountId?: string | null | undefined;
|
|
1011
|
+
bankAccount?: any;
|
|
1012
|
+
escrowAccountId?: string | null | undefined;
|
|
1013
|
+
escrowAccount?: {
|
|
1014
|
+
id: string;
|
|
1015
|
+
createdAt: string | Date;
|
|
1016
|
+
updatedAt: string | Date;
|
|
1017
|
+
deletedAt: string | Date | null;
|
|
1018
|
+
accountId: string;
|
|
1019
|
+
accountName: string;
|
|
1020
|
+
agentEmail: string;
|
|
1021
|
+
agentName: string;
|
|
1022
|
+
__entity?: string | undefined;
|
|
1023
|
+
account?: {
|
|
1024
|
+
status: import("./common.types").AccountStatus;
|
|
1025
|
+
id: string;
|
|
1026
|
+
createdAt: string | Date;
|
|
1027
|
+
updatedAt: string | Date;
|
|
1028
|
+
deletedAt: string | Date | null;
|
|
1029
|
+
name: string;
|
|
1030
|
+
managedBy: ManagedByType | null;
|
|
1031
|
+
platform: import("./common.types").Platform;
|
|
1032
|
+
onboardingReviewerId: string | null;
|
|
1033
|
+
onboardingReviewAt: Date | null;
|
|
1034
|
+
allowPendingComplianceReview: boolean;
|
|
1035
|
+
__entity?: string | undefined;
|
|
1036
|
+
} | null | undefined;
|
|
1037
|
+
accountNumber?: string | null | undefined;
|
|
1038
|
+
routingNumber?: string | null | undefined;
|
|
1039
|
+
company?: string | null | undefined;
|
|
1040
|
+
} | null | undefined;
|
|
1041
|
+
warrantsEnabled?: boolean | undefined;
|
|
1042
|
+
totalShares?: number | null | undefined;
|
|
1043
|
+
warrantTermYears?: number | null | undefined;
|
|
1044
|
+
exercisePrice?: number | null | undefined;
|
|
1045
|
+
warrantPercentage?: number | null | undefined;
|
|
1046
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1047
|
+
incrementThreshold?: number | null | undefined;
|
|
1048
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1049
|
+
shareClassId?: string | null | undefined;
|
|
666
1050
|
}, {
|
|
667
1051
|
type: OfferingType | null;
|
|
668
1052
|
id: string;
|
|
@@ -707,6 +1091,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
707
1091
|
durationType: DurationType | null;
|
|
708
1092
|
tiers: number[] | null;
|
|
709
1093
|
enableBonus: boolean;
|
|
1094
|
+
interestRate: number | null;
|
|
710
1095
|
__entity?: string | undefined;
|
|
711
1096
|
account?: {
|
|
712
1097
|
status: import("./common.types").AccountStatus;
|
|
@@ -744,6 +1129,48 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
744
1129
|
memorandumId?: string | null | undefined;
|
|
745
1130
|
subscriptionAgreementId?: string | null | undefined;
|
|
746
1131
|
showTotalRaised?: boolean | undefined;
|
|
1132
|
+
hasEscrow?: boolean | undefined;
|
|
1133
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1134
|
+
bankAccountId?: string | null | undefined;
|
|
1135
|
+
bankAccount?: any;
|
|
1136
|
+
escrowAccountId?: string | null | undefined;
|
|
1137
|
+
escrowAccount?: {
|
|
1138
|
+
id: string;
|
|
1139
|
+
createdAt: string | Date;
|
|
1140
|
+
updatedAt: string | Date;
|
|
1141
|
+
deletedAt: string | Date | null;
|
|
1142
|
+
accountId: string;
|
|
1143
|
+
accountName: string;
|
|
1144
|
+
agentEmail: string;
|
|
1145
|
+
agentName: string;
|
|
1146
|
+
__entity?: string | undefined;
|
|
1147
|
+
account?: {
|
|
1148
|
+
status: import("./common.types").AccountStatus;
|
|
1149
|
+
id: string;
|
|
1150
|
+
createdAt: string | Date;
|
|
1151
|
+
updatedAt: string | Date;
|
|
1152
|
+
deletedAt: string | Date | null;
|
|
1153
|
+
name: string;
|
|
1154
|
+
managedBy: ManagedByType | null;
|
|
1155
|
+
platform: import("./common.types").Platform;
|
|
1156
|
+
onboardingReviewerId: string | null;
|
|
1157
|
+
onboardingReviewAt: Date | null;
|
|
1158
|
+
allowPendingComplianceReview: boolean;
|
|
1159
|
+
__entity?: string | undefined;
|
|
1160
|
+
} | null | undefined;
|
|
1161
|
+
accountNumber?: string | null | undefined;
|
|
1162
|
+
routingNumber?: string | null | undefined;
|
|
1163
|
+
company?: string | null | undefined;
|
|
1164
|
+
} | null | undefined;
|
|
1165
|
+
warrantsEnabled?: boolean | undefined;
|
|
1166
|
+
totalShares?: number | null | undefined;
|
|
1167
|
+
warrantTermYears?: number | null | undefined;
|
|
1168
|
+
exercisePrice?: number | null | undefined;
|
|
1169
|
+
warrantPercentage?: number | null | undefined;
|
|
1170
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1171
|
+
incrementThreshold?: number | null | undefined;
|
|
1172
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1173
|
+
shareClassId?: string | null | undefined;
|
|
747
1174
|
}>, "many">;
|
|
748
1175
|
meta: z.ZodObject<{
|
|
749
1176
|
itemCount: z.ZodNumber;
|
|
@@ -809,6 +1236,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
809
1236
|
durationType: DurationType | null;
|
|
810
1237
|
tiers: number[] | null;
|
|
811
1238
|
enableBonus: boolean;
|
|
1239
|
+
interestRate: number | null;
|
|
812
1240
|
__entity?: string | undefined;
|
|
813
1241
|
account?: {
|
|
814
1242
|
status: import("./common.types").AccountStatus;
|
|
@@ -846,6 +1274,48 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
846
1274
|
memorandumId?: string | null | undefined;
|
|
847
1275
|
subscriptionAgreementId?: string | null | undefined;
|
|
848
1276
|
showTotalRaised?: boolean | undefined;
|
|
1277
|
+
hasEscrow?: boolean | undefined;
|
|
1278
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1279
|
+
bankAccountId?: string | null | undefined;
|
|
1280
|
+
bankAccount?: any;
|
|
1281
|
+
escrowAccountId?: string | null | undefined;
|
|
1282
|
+
escrowAccount?: {
|
|
1283
|
+
id: string;
|
|
1284
|
+
createdAt: string | Date;
|
|
1285
|
+
updatedAt: string | Date;
|
|
1286
|
+
deletedAt: string | Date | null;
|
|
1287
|
+
accountId: string;
|
|
1288
|
+
accountName: string;
|
|
1289
|
+
agentEmail: string;
|
|
1290
|
+
agentName: string;
|
|
1291
|
+
__entity?: string | undefined;
|
|
1292
|
+
account?: {
|
|
1293
|
+
status: import("./common.types").AccountStatus;
|
|
1294
|
+
id: string;
|
|
1295
|
+
createdAt: string | Date;
|
|
1296
|
+
updatedAt: string | Date;
|
|
1297
|
+
deletedAt: string | Date | null;
|
|
1298
|
+
name: string;
|
|
1299
|
+
managedBy: ManagedByType | null;
|
|
1300
|
+
platform: import("./common.types").Platform;
|
|
1301
|
+
onboardingReviewerId: string | null;
|
|
1302
|
+
onboardingReviewAt: Date | null;
|
|
1303
|
+
allowPendingComplianceReview: boolean;
|
|
1304
|
+
__entity?: string | undefined;
|
|
1305
|
+
} | null | undefined;
|
|
1306
|
+
accountNumber?: string | null | undefined;
|
|
1307
|
+
routingNumber?: string | null | undefined;
|
|
1308
|
+
company?: string | null | undefined;
|
|
1309
|
+
} | null | undefined;
|
|
1310
|
+
warrantsEnabled?: boolean | undefined;
|
|
1311
|
+
totalShares?: number | null | undefined;
|
|
1312
|
+
warrantTermYears?: number | null | undefined;
|
|
1313
|
+
exercisePrice?: number | null | undefined;
|
|
1314
|
+
warrantPercentage?: number | null | undefined;
|
|
1315
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1316
|
+
incrementThreshold?: number | null | undefined;
|
|
1317
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1318
|
+
shareClassId?: string | null | undefined;
|
|
849
1319
|
}[];
|
|
850
1320
|
meta: {
|
|
851
1321
|
itemCount: number;
|
|
@@ -899,6 +1369,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
899
1369
|
durationType: DurationType | null;
|
|
900
1370
|
tiers: number[] | null;
|
|
901
1371
|
enableBonus: boolean;
|
|
1372
|
+
interestRate: number | null;
|
|
902
1373
|
__entity?: string | undefined;
|
|
903
1374
|
account?: {
|
|
904
1375
|
status: import("./common.types").AccountStatus;
|
|
@@ -936,6 +1407,48 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
936
1407
|
memorandumId?: string | null | undefined;
|
|
937
1408
|
subscriptionAgreementId?: string | null | undefined;
|
|
938
1409
|
showTotalRaised?: boolean | undefined;
|
|
1410
|
+
hasEscrow?: boolean | undefined;
|
|
1411
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1412
|
+
bankAccountId?: string | null | undefined;
|
|
1413
|
+
bankAccount?: any;
|
|
1414
|
+
escrowAccountId?: string | null | undefined;
|
|
1415
|
+
escrowAccount?: {
|
|
1416
|
+
id: string;
|
|
1417
|
+
createdAt: string | Date;
|
|
1418
|
+
updatedAt: string | Date;
|
|
1419
|
+
deletedAt: string | Date | null;
|
|
1420
|
+
accountId: string;
|
|
1421
|
+
accountName: string;
|
|
1422
|
+
agentEmail: string;
|
|
1423
|
+
agentName: string;
|
|
1424
|
+
__entity?: string | undefined;
|
|
1425
|
+
account?: {
|
|
1426
|
+
status: import("./common.types").AccountStatus;
|
|
1427
|
+
id: string;
|
|
1428
|
+
createdAt: string | Date;
|
|
1429
|
+
updatedAt: string | Date;
|
|
1430
|
+
deletedAt: string | Date | null;
|
|
1431
|
+
name: string;
|
|
1432
|
+
managedBy: ManagedByType | null;
|
|
1433
|
+
platform: import("./common.types").Platform;
|
|
1434
|
+
onboardingReviewerId: string | null;
|
|
1435
|
+
onboardingReviewAt: Date | null;
|
|
1436
|
+
allowPendingComplianceReview: boolean;
|
|
1437
|
+
__entity?: string | undefined;
|
|
1438
|
+
} | null | undefined;
|
|
1439
|
+
accountNumber?: string | null | undefined;
|
|
1440
|
+
routingNumber?: string | null | undefined;
|
|
1441
|
+
company?: string | null | undefined;
|
|
1442
|
+
} | null | undefined;
|
|
1443
|
+
warrantsEnabled?: boolean | undefined;
|
|
1444
|
+
totalShares?: number | null | undefined;
|
|
1445
|
+
warrantTermYears?: number | null | undefined;
|
|
1446
|
+
exercisePrice?: number | null | undefined;
|
|
1447
|
+
warrantPercentage?: number | null | undefined;
|
|
1448
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1449
|
+
incrementThreshold?: number | null | undefined;
|
|
1450
|
+
fullyDilutedShares?: number | null | undefined;
|
|
1451
|
+
shareClassId?: string | null | undefined;
|
|
939
1452
|
}[];
|
|
940
1453
|
meta: {
|
|
941
1454
|
itemCount: number;
|
|
@@ -946,8 +1459,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
946
1459
|
};
|
|
947
1460
|
}>;
|
|
948
1461
|
export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
|
|
1462
|
+
export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
|
|
949
1463
|
export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
950
1464
|
issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
1465
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
951
1466
|
name: z.ZodString;
|
|
952
1467
|
type: z.ZodNativeEnum<typeof OfferingType>;
|
|
953
1468
|
targetAmount: z.ZodNumber;
|
|
@@ -971,12 +1486,60 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
971
1486
|
template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
|
|
972
1487
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
973
1488
|
enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1489
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1490
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1491
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1492
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1493
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1494
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1495
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1496
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1497
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1498
|
+
}, "strip", z.ZodTypeAny, {
|
|
1499
|
+
value: number;
|
|
1500
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1501
|
+
startAmount: number;
|
|
1502
|
+
endAmount: number;
|
|
1503
|
+
}, {
|
|
1504
|
+
value: number;
|
|
1505
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1506
|
+
startAmount: number;
|
|
1507
|
+
endAmount: number;
|
|
1508
|
+
}>, {
|
|
1509
|
+
value: number;
|
|
1510
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1511
|
+
startAmount: number;
|
|
1512
|
+
endAmount: number;
|
|
1513
|
+
}, {
|
|
1514
|
+
value: number;
|
|
1515
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1516
|
+
startAmount: number;
|
|
1517
|
+
endAmount: number;
|
|
1518
|
+
}>, {
|
|
1519
|
+
value: number;
|
|
1520
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1521
|
+
startAmount: number;
|
|
1522
|
+
endAmount: number;
|
|
1523
|
+
}, {
|
|
1524
|
+
value: number;
|
|
1525
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1526
|
+
startAmount: number;
|
|
1527
|
+
endAmount: number;
|
|
1528
|
+
}>, "many">>;
|
|
1529
|
+
warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1530
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1531
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1532
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1533
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1534
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
1535
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
974
1536
|
}, "strip", z.ZodTypeAny, {
|
|
975
1537
|
type: OfferingType;
|
|
976
1538
|
name: string;
|
|
977
1539
|
template: AssetTemplateType;
|
|
978
1540
|
targetAmount: number;
|
|
979
1541
|
issuerId: string;
|
|
1542
|
+
warrantsEnabled: boolean;
|
|
980
1543
|
assetName: string;
|
|
981
1544
|
assetType: AssetType;
|
|
982
1545
|
pricePerUnit: number | null;
|
|
@@ -991,11 +1554,28 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
991
1554
|
startAt?: Date | null | undefined;
|
|
992
1555
|
endAt?: Date | null | undefined;
|
|
993
1556
|
cancellationPeriod?: number | null | undefined;
|
|
1557
|
+
hasEscrow?: boolean | undefined;
|
|
1558
|
+
bankAccountId?: string | null | undefined;
|
|
1559
|
+
escrowAccountId?: string | null | undefined;
|
|
1560
|
+
totalShares?: number | null | undefined;
|
|
1561
|
+
warrantTermYears?: number | null | undefined;
|
|
1562
|
+
exercisePrice?: number | null | undefined;
|
|
1563
|
+
warrantPercentage?: number | null | undefined;
|
|
1564
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1565
|
+
incrementThreshold?: number | null | undefined;
|
|
1566
|
+
shareClassId?: string | null | undefined;
|
|
994
1567
|
yield?: number | null | undefined;
|
|
995
1568
|
duration?: number | null | undefined;
|
|
996
1569
|
durationType?: DurationType | null | undefined;
|
|
997
1570
|
tiers?: number[] | null | undefined;
|
|
998
1571
|
enableBonus?: boolean | undefined;
|
|
1572
|
+
interestRate?: number | null | undefined;
|
|
1573
|
+
bonusTiers?: {
|
|
1574
|
+
value: number;
|
|
1575
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1576
|
+
startAmount: number;
|
|
1577
|
+
endAmount: number;
|
|
1578
|
+
}[] | undefined;
|
|
999
1579
|
}, {
|
|
1000
1580
|
type: OfferingType;
|
|
1001
1581
|
name: string;
|
|
@@ -1016,17 +1596,36 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1016
1596
|
startAt?: string | null | undefined;
|
|
1017
1597
|
endAt?: string | null | undefined;
|
|
1018
1598
|
cancellationPeriod?: number | null | undefined;
|
|
1599
|
+
hasEscrow?: boolean | undefined;
|
|
1600
|
+
bankAccountId?: string | null | undefined;
|
|
1601
|
+
escrowAccountId?: string | null | undefined;
|
|
1602
|
+
warrantsEnabled?: boolean | undefined;
|
|
1603
|
+
totalShares?: number | null | undefined;
|
|
1604
|
+
warrantTermYears?: number | null | undefined;
|
|
1605
|
+
exercisePrice?: number | null | undefined;
|
|
1606
|
+
warrantPercentage?: number | null | undefined;
|
|
1607
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1608
|
+
incrementThreshold?: number | null | undefined;
|
|
1609
|
+
shareClassId?: string | null | undefined;
|
|
1019
1610
|
yield?: number | null | undefined;
|
|
1020
1611
|
duration?: number | null | undefined;
|
|
1021
1612
|
durationType?: DurationType | null | undefined;
|
|
1022
1613
|
tiers?: number[] | null | undefined;
|
|
1023
1614
|
enableBonus?: boolean | undefined;
|
|
1615
|
+
interestRate?: number | null | undefined;
|
|
1616
|
+
bonusTiers?: {
|
|
1617
|
+
value: number;
|
|
1618
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1619
|
+
startAmount: number;
|
|
1620
|
+
endAmount: number;
|
|
1621
|
+
}[] | undefined;
|
|
1024
1622
|
}>, {
|
|
1025
1623
|
type: OfferingType;
|
|
1026
1624
|
name: string;
|
|
1027
1625
|
template: AssetTemplateType;
|
|
1028
1626
|
targetAmount: number;
|
|
1029
1627
|
issuerId: string;
|
|
1628
|
+
warrantsEnabled: boolean;
|
|
1030
1629
|
assetName: string;
|
|
1031
1630
|
assetType: AssetType;
|
|
1032
1631
|
pricePerUnit: number | null;
|
|
@@ -1041,11 +1640,28 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1041
1640
|
startAt?: Date | null | undefined;
|
|
1042
1641
|
endAt?: Date | null | undefined;
|
|
1043
1642
|
cancellationPeriod?: number | null | undefined;
|
|
1643
|
+
hasEscrow?: boolean | undefined;
|
|
1644
|
+
bankAccountId?: string | null | undefined;
|
|
1645
|
+
escrowAccountId?: string | null | undefined;
|
|
1646
|
+
totalShares?: number | null | undefined;
|
|
1647
|
+
warrantTermYears?: number | null | undefined;
|
|
1648
|
+
exercisePrice?: number | null | undefined;
|
|
1649
|
+
warrantPercentage?: number | null | undefined;
|
|
1650
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1651
|
+
incrementThreshold?: number | null | undefined;
|
|
1652
|
+
shareClassId?: string | null | undefined;
|
|
1044
1653
|
yield?: number | null | undefined;
|
|
1045
1654
|
duration?: number | null | undefined;
|
|
1046
1655
|
durationType?: DurationType | null | undefined;
|
|
1047
1656
|
tiers?: number[] | null | undefined;
|
|
1048
1657
|
enableBonus?: boolean | undefined;
|
|
1658
|
+
interestRate?: number | null | undefined;
|
|
1659
|
+
bonusTiers?: {
|
|
1660
|
+
value: number;
|
|
1661
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1662
|
+
startAmount: number;
|
|
1663
|
+
endAmount: number;
|
|
1664
|
+
}[] | undefined;
|
|
1049
1665
|
}, {
|
|
1050
1666
|
type: OfferingType;
|
|
1051
1667
|
name: string;
|
|
@@ -1066,14 +1682,33 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1066
1682
|
startAt?: string | null | undefined;
|
|
1067
1683
|
endAt?: string | null | undefined;
|
|
1068
1684
|
cancellationPeriod?: number | null | undefined;
|
|
1685
|
+
hasEscrow?: boolean | undefined;
|
|
1686
|
+
bankAccountId?: string | null | undefined;
|
|
1687
|
+
escrowAccountId?: string | null | undefined;
|
|
1688
|
+
warrantsEnabled?: boolean | undefined;
|
|
1689
|
+
totalShares?: number | null | undefined;
|
|
1690
|
+
warrantTermYears?: number | null | undefined;
|
|
1691
|
+
exercisePrice?: number | null | undefined;
|
|
1692
|
+
warrantPercentage?: number | null | undefined;
|
|
1693
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1694
|
+
incrementThreshold?: number | null | undefined;
|
|
1695
|
+
shareClassId?: string | null | undefined;
|
|
1069
1696
|
yield?: number | null | undefined;
|
|
1070
1697
|
duration?: number | null | undefined;
|
|
1071
1698
|
durationType?: DurationType | null | undefined;
|
|
1072
1699
|
tiers?: number[] | null | undefined;
|
|
1073
1700
|
enableBonus?: boolean | undefined;
|
|
1701
|
+
interestRate?: number | null | undefined;
|
|
1702
|
+
bonusTiers?: {
|
|
1703
|
+
value: number;
|
|
1704
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1705
|
+
startAmount: number;
|
|
1706
|
+
endAmount: number;
|
|
1707
|
+
}[] | undefined;
|
|
1074
1708
|
}>;
|
|
1075
1709
|
export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
|
|
1076
|
-
export declare const PatchIssuerOffering: z.ZodObject<{
|
|
1710
|
+
export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
1711
|
+
shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1077
1712
|
name: z.ZodOptional<z.ZodString>;
|
|
1078
1713
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
1079
1714
|
targetAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1087,7 +1722,6 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1087
1722
|
memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1088
1723
|
subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1089
1724
|
coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1090
|
-
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
1091
1725
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
1092
1726
|
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1093
1727
|
assetName: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,10 +1735,57 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1101
1735
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1102
1736
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1103
1737
|
enableBonus: z.ZodOptional<z.ZodBoolean>;
|
|
1738
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1739
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1740
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1741
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1742
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1743
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1744
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1745
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1746
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1747
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1748
|
+
}, "strip", z.ZodTypeAny, {
|
|
1749
|
+
value: number;
|
|
1750
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1751
|
+
startAmount: number;
|
|
1752
|
+
endAmount: number;
|
|
1753
|
+
}, {
|
|
1754
|
+
value: number;
|
|
1755
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1756
|
+
startAmount: number;
|
|
1757
|
+
endAmount: number;
|
|
1758
|
+
}>, {
|
|
1759
|
+
value: number;
|
|
1760
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1761
|
+
startAmount: number;
|
|
1762
|
+
endAmount: number;
|
|
1763
|
+
}, {
|
|
1764
|
+
value: number;
|
|
1765
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1766
|
+
startAmount: number;
|
|
1767
|
+
endAmount: number;
|
|
1768
|
+
}>, {
|
|
1769
|
+
value: number;
|
|
1770
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1771
|
+
startAmount: number;
|
|
1772
|
+
endAmount: number;
|
|
1773
|
+
}, {
|
|
1774
|
+
value: number;
|
|
1775
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1776
|
+
startAmount: number;
|
|
1777
|
+
endAmount: number;
|
|
1778
|
+
}>, "many">>;
|
|
1779
|
+
warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1780
|
+
totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1781
|
+
warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1782
|
+
exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1783
|
+
warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1784
|
+
calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
|
|
1785
|
+
incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1104
1786
|
}, "strip", z.ZodTypeAny, {
|
|
1105
1787
|
type?: OfferingType | undefined;
|
|
1106
1788
|
name?: string | undefined;
|
|
1107
|
-
managedBy?: ManagedByType | undefined;
|
|
1108
1789
|
description?: string | null | undefined;
|
|
1109
1790
|
enabled?: boolean | undefined;
|
|
1110
1791
|
template?: AssetTemplateType | null | undefined;
|
|
@@ -1120,6 +1801,18 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1120
1801
|
memorandumId?: string | null | undefined;
|
|
1121
1802
|
subscriptionAgreementId?: string | null | undefined;
|
|
1122
1803
|
showTotalRaised?: boolean | undefined;
|
|
1804
|
+
hasEscrow?: boolean | undefined;
|
|
1805
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1806
|
+
bankAccountId?: string | null | undefined;
|
|
1807
|
+
escrowAccountId?: string | null | undefined;
|
|
1808
|
+
warrantsEnabled?: boolean | undefined;
|
|
1809
|
+
totalShares?: number | null | undefined;
|
|
1810
|
+
warrantTermYears?: number | null | undefined;
|
|
1811
|
+
exercisePrice?: number | null | undefined;
|
|
1812
|
+
warrantPercentage?: number | null | undefined;
|
|
1813
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1814
|
+
incrementThreshold?: number | null | undefined;
|
|
1815
|
+
shareClassId?: string | null | undefined;
|
|
1123
1816
|
assetName?: string | undefined;
|
|
1124
1817
|
assetType?: AssetType | undefined;
|
|
1125
1818
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1129,10 +1822,108 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1129
1822
|
durationType?: DurationType | null | undefined;
|
|
1130
1823
|
tiers?: number[] | null | undefined;
|
|
1131
1824
|
enableBonus?: boolean | undefined;
|
|
1825
|
+
interestRate?: number | null | undefined;
|
|
1826
|
+
bonusTiers?: {
|
|
1827
|
+
value: number;
|
|
1828
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1829
|
+
startAmount: number;
|
|
1830
|
+
endAmount: number;
|
|
1831
|
+
}[] | undefined;
|
|
1832
|
+
}, {
|
|
1833
|
+
type?: OfferingType | undefined;
|
|
1834
|
+
name?: string | undefined;
|
|
1835
|
+
description?: string | null | undefined;
|
|
1836
|
+
enabled?: boolean | undefined;
|
|
1837
|
+
template?: AssetTemplateType | null | undefined;
|
|
1838
|
+
coverArtId?: string | null | undefined;
|
|
1839
|
+
targetAmount?: number | undefined;
|
|
1840
|
+
minInvestment?: number | null | undefined;
|
|
1841
|
+
maxInvestment?: number | null | undefined;
|
|
1842
|
+
contingencyAmount?: number | null | undefined;
|
|
1843
|
+
startAt?: string | null | undefined;
|
|
1844
|
+
endAt?: string | null | undefined;
|
|
1845
|
+
issuerId?: string | undefined;
|
|
1846
|
+
cancellationPeriod?: number | null | undefined;
|
|
1847
|
+
memorandumId?: string | null | undefined;
|
|
1848
|
+
subscriptionAgreementId?: string | null | undefined;
|
|
1849
|
+
showTotalRaised?: boolean | undefined;
|
|
1850
|
+
hasEscrow?: boolean | undefined;
|
|
1851
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1852
|
+
bankAccountId?: string | null | undefined;
|
|
1853
|
+
escrowAccountId?: string | null | undefined;
|
|
1854
|
+
warrantsEnabled?: boolean | undefined;
|
|
1855
|
+
totalShares?: number | null | undefined;
|
|
1856
|
+
warrantTermYears?: number | null | undefined;
|
|
1857
|
+
exercisePrice?: number | null | undefined;
|
|
1858
|
+
warrantPercentage?: number | null | undefined;
|
|
1859
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1860
|
+
incrementThreshold?: number | null | undefined;
|
|
1861
|
+
shareClassId?: string | null | undefined;
|
|
1862
|
+
assetName?: string | undefined;
|
|
1863
|
+
assetType?: AssetType | undefined;
|
|
1864
|
+
pricePerUnit?: number | null | undefined;
|
|
1865
|
+
totalUnits?: number | null | undefined;
|
|
1866
|
+
yield?: number | null | undefined;
|
|
1867
|
+
duration?: number | null | undefined;
|
|
1868
|
+
durationType?: DurationType | null | undefined;
|
|
1869
|
+
tiers?: number[] | null | undefined;
|
|
1870
|
+
enableBonus?: boolean | undefined;
|
|
1871
|
+
interestRate?: number | null | undefined;
|
|
1872
|
+
bonusTiers?: {
|
|
1873
|
+
value: number;
|
|
1874
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1875
|
+
startAmount: number;
|
|
1876
|
+
endAmount: number;
|
|
1877
|
+
}[] | undefined;
|
|
1878
|
+
}>, {
|
|
1879
|
+
type?: OfferingType | undefined;
|
|
1880
|
+
name?: string | undefined;
|
|
1881
|
+
description?: string | null | undefined;
|
|
1882
|
+
enabled?: boolean | undefined;
|
|
1883
|
+
template?: AssetTemplateType | null | undefined;
|
|
1884
|
+
coverArtId?: string | null | undefined;
|
|
1885
|
+
targetAmount?: number | undefined;
|
|
1886
|
+
minInvestment?: number | null | undefined;
|
|
1887
|
+
maxInvestment?: number | null | undefined;
|
|
1888
|
+
contingencyAmount?: number | null | undefined;
|
|
1889
|
+
startAt?: Date | null | undefined;
|
|
1890
|
+
endAt?: Date | null | undefined;
|
|
1891
|
+
issuerId?: string | undefined;
|
|
1892
|
+
cancellationPeriod?: number | null | undefined;
|
|
1893
|
+
memorandumId?: string | null | undefined;
|
|
1894
|
+
subscriptionAgreementId?: string | null | undefined;
|
|
1895
|
+
showTotalRaised?: boolean | undefined;
|
|
1896
|
+
hasEscrow?: boolean | undefined;
|
|
1897
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1898
|
+
bankAccountId?: string | null | undefined;
|
|
1899
|
+
escrowAccountId?: string | null | undefined;
|
|
1900
|
+
warrantsEnabled?: boolean | undefined;
|
|
1901
|
+
totalShares?: number | null | undefined;
|
|
1902
|
+
warrantTermYears?: number | null | undefined;
|
|
1903
|
+
exercisePrice?: number | null | undefined;
|
|
1904
|
+
warrantPercentage?: number | null | undefined;
|
|
1905
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1906
|
+
incrementThreshold?: number | null | undefined;
|
|
1907
|
+
shareClassId?: string | null | undefined;
|
|
1908
|
+
assetName?: string | undefined;
|
|
1909
|
+
assetType?: AssetType | undefined;
|
|
1910
|
+
pricePerUnit?: number | null | undefined;
|
|
1911
|
+
totalUnits?: number | null | undefined;
|
|
1912
|
+
yield?: number | null | undefined;
|
|
1913
|
+
duration?: number | null | undefined;
|
|
1914
|
+
durationType?: DurationType | null | undefined;
|
|
1915
|
+
tiers?: number[] | null | undefined;
|
|
1916
|
+
enableBonus?: boolean | undefined;
|
|
1917
|
+
interestRate?: number | null | undefined;
|
|
1918
|
+
bonusTiers?: {
|
|
1919
|
+
value: number;
|
|
1920
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1921
|
+
startAmount: number;
|
|
1922
|
+
endAmount: number;
|
|
1923
|
+
}[] | undefined;
|
|
1132
1924
|
}, {
|
|
1133
1925
|
type?: OfferingType | undefined;
|
|
1134
1926
|
name?: string | undefined;
|
|
1135
|
-
managedBy?: ManagedByType | undefined;
|
|
1136
1927
|
description?: string | null | undefined;
|
|
1137
1928
|
enabled?: boolean | undefined;
|
|
1138
1929
|
template?: AssetTemplateType | null | undefined;
|
|
@@ -1148,6 +1939,18 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1148
1939
|
memorandumId?: string | null | undefined;
|
|
1149
1940
|
subscriptionAgreementId?: string | null | undefined;
|
|
1150
1941
|
showTotalRaised?: boolean | undefined;
|
|
1942
|
+
hasEscrow?: boolean | undefined;
|
|
1943
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1944
|
+
bankAccountId?: string | null | undefined;
|
|
1945
|
+
escrowAccountId?: string | null | undefined;
|
|
1946
|
+
warrantsEnabled?: boolean | undefined;
|
|
1947
|
+
totalShares?: number | null | undefined;
|
|
1948
|
+
warrantTermYears?: number | null | undefined;
|
|
1949
|
+
exercisePrice?: number | null | undefined;
|
|
1950
|
+
warrantPercentage?: number | null | undefined;
|
|
1951
|
+
calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
|
|
1952
|
+
incrementThreshold?: number | null | undefined;
|
|
1953
|
+
shareClassId?: string | null | undefined;
|
|
1151
1954
|
assetName?: string | undefined;
|
|
1152
1955
|
assetType?: AssetType | undefined;
|
|
1153
1956
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1157,6 +1960,13 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1157
1960
|
durationType?: DurationType | null | undefined;
|
|
1158
1961
|
tiers?: number[] | null | undefined;
|
|
1159
1962
|
enableBonus?: boolean | undefined;
|
|
1963
|
+
interestRate?: number | null | undefined;
|
|
1964
|
+
bonusTiers?: {
|
|
1965
|
+
value: number;
|
|
1966
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1967
|
+
startAmount: number;
|
|
1968
|
+
endAmount: number;
|
|
1969
|
+
}[] | undefined;
|
|
1160
1970
|
}>;
|
|
1161
1971
|
export type PatchIssuerOffering = z.infer<typeof PatchIssuerOffering>;
|
|
1162
1972
|
/**
|
|
@@ -1243,3 +2053,14 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
|
|
|
1243
2053
|
sortByNameASC?: unknown;
|
|
1244
2054
|
}>;
|
|
1245
2055
|
export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
|
|
2056
|
+
export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
|
|
2057
|
+
/**
|
|
2058
|
+
* Adds validation issues to the context if warrant-related fields are missing
|
|
2059
|
+
* when warrants are enabled on an offering. This function checks required fields for
|
|
2060
|
+
* offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
|
|
2061
|
+
* warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
|
|
2062
|
+
*
|
|
2063
|
+
* @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
|
|
2064
|
+
* @param ctx - The Zod refinement context to which validation issues will be added
|
|
2065
|
+
*/
|
|
2066
|
+
export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
|