@dalmore/api-contracts 0.0.0-dev.685c0b3 → 0.0.0-dev.6f65580
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 +64 -0
- package/common/types/account-setting.types.js +8 -0
- package/common/types/account-setting.types.js.map +1 -1
- package/common/types/account.types.d.ts +38 -2
- package/common/types/account.types.js +3 -0
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +25 -24
- package/common/types/activity.types.js +2 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +298 -0
- package/common/types/asset.types.js +191 -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 +45 -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 +8 -8
- package/common/types/common.types.d.ts +19 -2
- package/common/types/common.types.js +12 -0
- 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 +596 -392
- package/common/types/disbursements.types.js +37 -0
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/file.types.d.ts +9 -9
- 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 +719 -3
- package/common/types/issuer-offering.types.js +139 -4
- 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.types.d.ts +320 -1
- package/common/types/offering.types.js +150 -11
- package/common/types/offering.types.js.map +1 -1
- 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 +20 -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 +62 -45
- package/common/types/trade.types.js +11 -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 +5 -0
- package/common/types/user.types.js +1 -0
- package/common/types/user.types.js.map +1 -1
- package/contracts/clients/assets/index.d.ts +88 -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 +355 -10
- package/contracts/clients/offerings/index.d.ts +252 -1
- package/contracts/clients/trades/index.d.ts +9 -3
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType } from './common.types';
|
|
3
|
-
import { AssetTemplateType } from './asset.types';
|
|
2
|
+
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod } from './common.types';
|
|
3
|
+
import { AssetTemplateType, InterestType } from './asset.types';
|
|
4
4
|
export declare enum OfferingStatus {
|
|
5
5
|
ONBOARDING = "ONBOARDING",
|
|
6
6
|
IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
|
|
@@ -134,6 +134,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
134
134
|
template: z.ZodNativeEnum<typeof AssetTemplateType>;
|
|
135
135
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
136
136
|
enableBonus: z.ZodBoolean;
|
|
137
|
+
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
138
|
+
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
139
|
+
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
140
|
+
interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
|
|
137
141
|
}, "strip", z.ZodTypeAny, {
|
|
138
142
|
type: AssetType | null;
|
|
139
143
|
id: string;
|
|
@@ -152,6 +156,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
152
156
|
durationType: DurationType | null;
|
|
153
157
|
tiers: number[] | null;
|
|
154
158
|
enableBonus: boolean;
|
|
159
|
+
principalAmount: number | null;
|
|
160
|
+
maxTotalRaise: number | null;
|
|
161
|
+
interestRate: number | null;
|
|
162
|
+
interestType: InterestType | null;
|
|
155
163
|
__entity?: string | undefined;
|
|
156
164
|
account?: {
|
|
157
165
|
status: import("./common.types").AccountStatus;
|
|
@@ -186,6 +194,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
186
194
|
durationType: DurationType | null;
|
|
187
195
|
tiers: number[] | null;
|
|
188
196
|
enableBonus: boolean;
|
|
197
|
+
principalAmount: number | null;
|
|
198
|
+
maxTotalRaise: number | null;
|
|
199
|
+
interestRate: number | null;
|
|
200
|
+
interestType: InterestType | null;
|
|
189
201
|
__entity?: string | undefined;
|
|
190
202
|
account?: {
|
|
191
203
|
status: import("./common.types").AccountStatus;
|
|
@@ -212,6 +224,118 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
212
224
|
valuationCap: z.ZodNullable<z.ZodNumber>;
|
|
213
225
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
214
226
|
status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
|
|
227
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
229
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
|
|
231
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
|
+
escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
233
|
+
id: z.ZodString;
|
|
234
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
235
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
236
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
237
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
238
|
+
} & {
|
|
239
|
+
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
240
|
+
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
241
|
+
accountName: z.ZodString;
|
|
242
|
+
agentEmail: z.ZodString;
|
|
243
|
+
agentName: z.ZodString;
|
|
244
|
+
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
245
|
+
account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
246
|
+
id: z.ZodString;
|
|
247
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
248
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
249
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
250
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
251
|
+
} & {
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
|
|
254
|
+
managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
255
|
+
platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
|
|
256
|
+
onboardingReviewerId: z.ZodNullable<z.ZodString>;
|
|
257
|
+
onboardingReviewAt: z.ZodNullable<z.ZodDate>;
|
|
258
|
+
allowPendingComplianceReview: z.ZodBoolean;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
status: import("./common.types").AccountStatus;
|
|
261
|
+
id: string;
|
|
262
|
+
createdAt: string | Date;
|
|
263
|
+
updatedAt: string | Date;
|
|
264
|
+
deletedAt: string | Date | null;
|
|
265
|
+
name: string;
|
|
266
|
+
managedBy: ManagedByType | null;
|
|
267
|
+
platform: import("./common.types").Platform;
|
|
268
|
+
onboardingReviewerId: string | null;
|
|
269
|
+
onboardingReviewAt: Date | null;
|
|
270
|
+
allowPendingComplianceReview: boolean;
|
|
271
|
+
__entity?: string | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
status: import("./common.types").AccountStatus;
|
|
274
|
+
id: string;
|
|
275
|
+
createdAt: string | Date;
|
|
276
|
+
updatedAt: string | Date;
|
|
277
|
+
deletedAt: string | Date | null;
|
|
278
|
+
name: string;
|
|
279
|
+
managedBy: ManagedByType | null;
|
|
280
|
+
platform: import("./common.types").Platform;
|
|
281
|
+
onboardingReviewerId: string | null;
|
|
282
|
+
onboardingReviewAt: Date | null;
|
|
283
|
+
allowPendingComplianceReview: boolean;
|
|
284
|
+
__entity?: string | undefined;
|
|
285
|
+
}>>>;
|
|
286
|
+
}, "strip", z.ZodTypeAny, {
|
|
287
|
+
id: string;
|
|
288
|
+
createdAt: string | Date;
|
|
289
|
+
updatedAt: string | Date;
|
|
290
|
+
deletedAt: string | Date | null;
|
|
291
|
+
accountId: string;
|
|
292
|
+
accountName: string;
|
|
293
|
+
agentEmail: string;
|
|
294
|
+
agentName: string;
|
|
295
|
+
__entity?: string | undefined;
|
|
296
|
+
account?: {
|
|
297
|
+
status: import("./common.types").AccountStatus;
|
|
298
|
+
id: string;
|
|
299
|
+
createdAt: string | Date;
|
|
300
|
+
updatedAt: string | Date;
|
|
301
|
+
deletedAt: string | Date | null;
|
|
302
|
+
name: string;
|
|
303
|
+
managedBy: ManagedByType | null;
|
|
304
|
+
platform: import("./common.types").Platform;
|
|
305
|
+
onboardingReviewerId: string | null;
|
|
306
|
+
onboardingReviewAt: Date | null;
|
|
307
|
+
allowPendingComplianceReview: boolean;
|
|
308
|
+
__entity?: string | undefined;
|
|
309
|
+
} | null | undefined;
|
|
310
|
+
accountNumber?: string | null | undefined;
|
|
311
|
+
routingNumber?: string | null | undefined;
|
|
312
|
+
}, {
|
|
313
|
+
id: string;
|
|
314
|
+
createdAt: string | Date;
|
|
315
|
+
updatedAt: string | Date;
|
|
316
|
+
deletedAt: string | Date | null;
|
|
317
|
+
accountId: string;
|
|
318
|
+
accountName: string;
|
|
319
|
+
agentEmail: string;
|
|
320
|
+
agentName: string;
|
|
321
|
+
__entity?: string | undefined;
|
|
322
|
+
account?: {
|
|
323
|
+
status: import("./common.types").AccountStatus;
|
|
324
|
+
id: string;
|
|
325
|
+
createdAt: string | Date;
|
|
326
|
+
updatedAt: string | Date;
|
|
327
|
+
deletedAt: string | Date | null;
|
|
328
|
+
name: string;
|
|
329
|
+
managedBy: ManagedByType | null;
|
|
330
|
+
platform: import("./common.types").Platform;
|
|
331
|
+
onboardingReviewerId: string | null;
|
|
332
|
+
onboardingReviewAt: Date | null;
|
|
333
|
+
allowPendingComplianceReview: boolean;
|
|
334
|
+
__entity?: string | undefined;
|
|
335
|
+
} | null | undefined;
|
|
336
|
+
accountNumber?: string | null | undefined;
|
|
337
|
+
routingNumber?: string | null | undefined;
|
|
338
|
+
}>>>>;
|
|
215
339
|
}, "strip", z.ZodTypeAny, {
|
|
216
340
|
type: OfferingType | null;
|
|
217
341
|
id: string;
|
|
@@ -256,6 +380,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
256
380
|
durationType: DurationType | null;
|
|
257
381
|
tiers: number[] | null;
|
|
258
382
|
enableBonus: boolean;
|
|
383
|
+
principalAmount: number | null;
|
|
384
|
+
maxTotalRaise: number | null;
|
|
385
|
+
interestRate: number | null;
|
|
386
|
+
interestType: InterestType | null;
|
|
259
387
|
__entity?: string | undefined;
|
|
260
388
|
account?: {
|
|
261
389
|
status: import("./common.types").AccountStatus;
|
|
@@ -293,6 +421,38 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
293
421
|
memorandumId?: string | null | undefined;
|
|
294
422
|
subscriptionAgreementId?: string | null | undefined;
|
|
295
423
|
showTotalRaised?: boolean | undefined;
|
|
424
|
+
hasEscrow?: boolean | undefined;
|
|
425
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
426
|
+
bankAccountId?: string | null | undefined;
|
|
427
|
+
bankAccount?: any;
|
|
428
|
+
escrowAccountId?: string | null | undefined;
|
|
429
|
+
escrowAccount?: {
|
|
430
|
+
id: string;
|
|
431
|
+
createdAt: string | Date;
|
|
432
|
+
updatedAt: string | Date;
|
|
433
|
+
deletedAt: string | Date | null;
|
|
434
|
+
accountId: string;
|
|
435
|
+
accountName: string;
|
|
436
|
+
agentEmail: string;
|
|
437
|
+
agentName: string;
|
|
438
|
+
__entity?: string | undefined;
|
|
439
|
+
account?: {
|
|
440
|
+
status: import("./common.types").AccountStatus;
|
|
441
|
+
id: string;
|
|
442
|
+
createdAt: string | Date;
|
|
443
|
+
updatedAt: string | Date;
|
|
444
|
+
deletedAt: string | Date | null;
|
|
445
|
+
name: string;
|
|
446
|
+
managedBy: ManagedByType | null;
|
|
447
|
+
platform: import("./common.types").Platform;
|
|
448
|
+
onboardingReviewerId: string | null;
|
|
449
|
+
onboardingReviewAt: Date | null;
|
|
450
|
+
allowPendingComplianceReview: boolean;
|
|
451
|
+
__entity?: string | undefined;
|
|
452
|
+
} | null | undefined;
|
|
453
|
+
accountNumber?: string | null | undefined;
|
|
454
|
+
routingNumber?: string | null | undefined;
|
|
455
|
+
} | null | undefined;
|
|
296
456
|
}, {
|
|
297
457
|
type: OfferingType | null;
|
|
298
458
|
id: string;
|
|
@@ -337,6 +497,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
337
497
|
durationType: DurationType | null;
|
|
338
498
|
tiers: number[] | null;
|
|
339
499
|
enableBonus: boolean;
|
|
500
|
+
principalAmount: number | null;
|
|
501
|
+
maxTotalRaise: number | null;
|
|
502
|
+
interestRate: number | null;
|
|
503
|
+
interestType: InterestType | null;
|
|
340
504
|
__entity?: string | undefined;
|
|
341
505
|
account?: {
|
|
342
506
|
status: import("./common.types").AccountStatus;
|
|
@@ -374,6 +538,38 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
374
538
|
memorandumId?: string | null | undefined;
|
|
375
539
|
subscriptionAgreementId?: string | null | undefined;
|
|
376
540
|
showTotalRaised?: boolean | undefined;
|
|
541
|
+
hasEscrow?: boolean | undefined;
|
|
542
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
543
|
+
bankAccountId?: string | null | undefined;
|
|
544
|
+
bankAccount?: any;
|
|
545
|
+
escrowAccountId?: string | null | undefined;
|
|
546
|
+
escrowAccount?: {
|
|
547
|
+
id: string;
|
|
548
|
+
createdAt: string | Date;
|
|
549
|
+
updatedAt: string | Date;
|
|
550
|
+
deletedAt: string | Date | null;
|
|
551
|
+
accountId: string;
|
|
552
|
+
accountName: string;
|
|
553
|
+
agentEmail: string;
|
|
554
|
+
agentName: string;
|
|
555
|
+
__entity?: string | undefined;
|
|
556
|
+
account?: {
|
|
557
|
+
status: import("./common.types").AccountStatus;
|
|
558
|
+
id: string;
|
|
559
|
+
createdAt: string | Date;
|
|
560
|
+
updatedAt: string | Date;
|
|
561
|
+
deletedAt: string | Date | null;
|
|
562
|
+
name: string;
|
|
563
|
+
managedBy: ManagedByType | null;
|
|
564
|
+
platform: import("./common.types").Platform;
|
|
565
|
+
onboardingReviewerId: string | null;
|
|
566
|
+
onboardingReviewAt: Date | null;
|
|
567
|
+
allowPendingComplianceReview: boolean;
|
|
568
|
+
__entity?: string | undefined;
|
|
569
|
+
} | null | undefined;
|
|
570
|
+
accountNumber?: string | null | undefined;
|
|
571
|
+
routingNumber?: string | null | undefined;
|
|
572
|
+
} | null | undefined;
|
|
377
573
|
}>;
|
|
378
574
|
export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
|
|
379
575
|
export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
@@ -504,6 +700,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
504
700
|
template: z.ZodNativeEnum<typeof AssetTemplateType>;
|
|
505
701
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
506
702
|
enableBonus: z.ZodBoolean;
|
|
703
|
+
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
704
|
+
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
705
|
+
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
706
|
+
interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
|
|
507
707
|
}, "strip", z.ZodTypeAny, {
|
|
508
708
|
type: AssetType | null;
|
|
509
709
|
id: string;
|
|
@@ -522,6 +722,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
522
722
|
durationType: DurationType | null;
|
|
523
723
|
tiers: number[] | null;
|
|
524
724
|
enableBonus: boolean;
|
|
725
|
+
principalAmount: number | null;
|
|
726
|
+
maxTotalRaise: number | null;
|
|
727
|
+
interestRate: number | null;
|
|
728
|
+
interestType: InterestType | null;
|
|
525
729
|
__entity?: string | undefined;
|
|
526
730
|
account?: {
|
|
527
731
|
status: import("./common.types").AccountStatus;
|
|
@@ -556,6 +760,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
556
760
|
durationType: DurationType | null;
|
|
557
761
|
tiers: number[] | null;
|
|
558
762
|
enableBonus: boolean;
|
|
763
|
+
principalAmount: number | null;
|
|
764
|
+
maxTotalRaise: number | null;
|
|
765
|
+
interestRate: number | null;
|
|
766
|
+
interestType: InterestType | null;
|
|
559
767
|
__entity?: string | undefined;
|
|
560
768
|
account?: {
|
|
561
769
|
status: import("./common.types").AccountStatus;
|
|
@@ -582,6 +790,118 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
582
790
|
valuationCap: z.ZodNullable<z.ZodNumber>;
|
|
583
791
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
584
792
|
status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
|
|
793
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
794
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
795
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
796
|
+
bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
|
|
797
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
798
|
+
escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
799
|
+
id: z.ZodString;
|
|
800
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
801
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
802
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
803
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
804
|
+
} & {
|
|
805
|
+
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
806
|
+
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
807
|
+
accountName: z.ZodString;
|
|
808
|
+
agentEmail: z.ZodString;
|
|
809
|
+
agentName: z.ZodString;
|
|
810
|
+
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
811
|
+
account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
812
|
+
id: z.ZodString;
|
|
813
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
814
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
815
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
816
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
817
|
+
} & {
|
|
818
|
+
name: z.ZodString;
|
|
819
|
+
status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
|
|
820
|
+
managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
821
|
+
platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
|
|
822
|
+
onboardingReviewerId: z.ZodNullable<z.ZodString>;
|
|
823
|
+
onboardingReviewAt: z.ZodNullable<z.ZodDate>;
|
|
824
|
+
allowPendingComplianceReview: z.ZodBoolean;
|
|
825
|
+
}, "strip", z.ZodTypeAny, {
|
|
826
|
+
status: import("./common.types").AccountStatus;
|
|
827
|
+
id: string;
|
|
828
|
+
createdAt: string | Date;
|
|
829
|
+
updatedAt: string | Date;
|
|
830
|
+
deletedAt: string | Date | null;
|
|
831
|
+
name: string;
|
|
832
|
+
managedBy: ManagedByType | null;
|
|
833
|
+
platform: import("./common.types").Platform;
|
|
834
|
+
onboardingReviewerId: string | null;
|
|
835
|
+
onboardingReviewAt: Date | null;
|
|
836
|
+
allowPendingComplianceReview: boolean;
|
|
837
|
+
__entity?: string | undefined;
|
|
838
|
+
}, {
|
|
839
|
+
status: import("./common.types").AccountStatus;
|
|
840
|
+
id: string;
|
|
841
|
+
createdAt: string | Date;
|
|
842
|
+
updatedAt: string | Date;
|
|
843
|
+
deletedAt: string | Date | null;
|
|
844
|
+
name: string;
|
|
845
|
+
managedBy: ManagedByType | null;
|
|
846
|
+
platform: import("./common.types").Platform;
|
|
847
|
+
onboardingReviewerId: string | null;
|
|
848
|
+
onboardingReviewAt: Date | null;
|
|
849
|
+
allowPendingComplianceReview: boolean;
|
|
850
|
+
__entity?: string | undefined;
|
|
851
|
+
}>>>;
|
|
852
|
+
}, "strip", z.ZodTypeAny, {
|
|
853
|
+
id: string;
|
|
854
|
+
createdAt: string | Date;
|
|
855
|
+
updatedAt: string | Date;
|
|
856
|
+
deletedAt: string | Date | null;
|
|
857
|
+
accountId: string;
|
|
858
|
+
accountName: string;
|
|
859
|
+
agentEmail: string;
|
|
860
|
+
agentName: string;
|
|
861
|
+
__entity?: string | undefined;
|
|
862
|
+
account?: {
|
|
863
|
+
status: import("./common.types").AccountStatus;
|
|
864
|
+
id: string;
|
|
865
|
+
createdAt: string | Date;
|
|
866
|
+
updatedAt: string | Date;
|
|
867
|
+
deletedAt: string | Date | null;
|
|
868
|
+
name: string;
|
|
869
|
+
managedBy: ManagedByType | null;
|
|
870
|
+
platform: import("./common.types").Platform;
|
|
871
|
+
onboardingReviewerId: string | null;
|
|
872
|
+
onboardingReviewAt: Date | null;
|
|
873
|
+
allowPendingComplianceReview: boolean;
|
|
874
|
+
__entity?: string | undefined;
|
|
875
|
+
} | null | undefined;
|
|
876
|
+
accountNumber?: string | null | undefined;
|
|
877
|
+
routingNumber?: string | null | undefined;
|
|
878
|
+
}, {
|
|
879
|
+
id: string;
|
|
880
|
+
createdAt: string | Date;
|
|
881
|
+
updatedAt: string | Date;
|
|
882
|
+
deletedAt: string | Date | null;
|
|
883
|
+
accountId: string;
|
|
884
|
+
accountName: string;
|
|
885
|
+
agentEmail: string;
|
|
886
|
+
agentName: string;
|
|
887
|
+
__entity?: string | undefined;
|
|
888
|
+
account?: {
|
|
889
|
+
status: import("./common.types").AccountStatus;
|
|
890
|
+
id: string;
|
|
891
|
+
createdAt: string | Date;
|
|
892
|
+
updatedAt: string | Date;
|
|
893
|
+
deletedAt: string | Date | null;
|
|
894
|
+
name: string;
|
|
895
|
+
managedBy: ManagedByType | null;
|
|
896
|
+
platform: import("./common.types").Platform;
|
|
897
|
+
onboardingReviewerId: string | null;
|
|
898
|
+
onboardingReviewAt: Date | null;
|
|
899
|
+
allowPendingComplianceReview: boolean;
|
|
900
|
+
__entity?: string | undefined;
|
|
901
|
+
} | null | undefined;
|
|
902
|
+
accountNumber?: string | null | undefined;
|
|
903
|
+
routingNumber?: string | null | undefined;
|
|
904
|
+
}>>>>;
|
|
585
905
|
}, "strip", z.ZodTypeAny, {
|
|
586
906
|
type: OfferingType | null;
|
|
587
907
|
id: string;
|
|
@@ -626,6 +946,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
626
946
|
durationType: DurationType | null;
|
|
627
947
|
tiers: number[] | null;
|
|
628
948
|
enableBonus: boolean;
|
|
949
|
+
principalAmount: number | null;
|
|
950
|
+
maxTotalRaise: number | null;
|
|
951
|
+
interestRate: number | null;
|
|
952
|
+
interestType: InterestType | null;
|
|
629
953
|
__entity?: string | undefined;
|
|
630
954
|
account?: {
|
|
631
955
|
status: import("./common.types").AccountStatus;
|
|
@@ -663,6 +987,38 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
663
987
|
memorandumId?: string | null | undefined;
|
|
664
988
|
subscriptionAgreementId?: string | null | undefined;
|
|
665
989
|
showTotalRaised?: boolean | undefined;
|
|
990
|
+
hasEscrow?: boolean | undefined;
|
|
991
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
992
|
+
bankAccountId?: string | null | undefined;
|
|
993
|
+
bankAccount?: any;
|
|
994
|
+
escrowAccountId?: string | null | undefined;
|
|
995
|
+
escrowAccount?: {
|
|
996
|
+
id: string;
|
|
997
|
+
createdAt: string | Date;
|
|
998
|
+
updatedAt: string | Date;
|
|
999
|
+
deletedAt: string | Date | null;
|
|
1000
|
+
accountId: string;
|
|
1001
|
+
accountName: string;
|
|
1002
|
+
agentEmail: string;
|
|
1003
|
+
agentName: string;
|
|
1004
|
+
__entity?: string | undefined;
|
|
1005
|
+
account?: {
|
|
1006
|
+
status: import("./common.types").AccountStatus;
|
|
1007
|
+
id: string;
|
|
1008
|
+
createdAt: string | Date;
|
|
1009
|
+
updatedAt: string | Date;
|
|
1010
|
+
deletedAt: string | Date | null;
|
|
1011
|
+
name: string;
|
|
1012
|
+
managedBy: ManagedByType | null;
|
|
1013
|
+
platform: import("./common.types").Platform;
|
|
1014
|
+
onboardingReviewerId: string | null;
|
|
1015
|
+
onboardingReviewAt: Date | null;
|
|
1016
|
+
allowPendingComplianceReview: boolean;
|
|
1017
|
+
__entity?: string | undefined;
|
|
1018
|
+
} | null | undefined;
|
|
1019
|
+
accountNumber?: string | null | undefined;
|
|
1020
|
+
routingNumber?: string | null | undefined;
|
|
1021
|
+
} | null | undefined;
|
|
666
1022
|
}, {
|
|
667
1023
|
type: OfferingType | null;
|
|
668
1024
|
id: string;
|
|
@@ -707,6 +1063,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
707
1063
|
durationType: DurationType | null;
|
|
708
1064
|
tiers: number[] | null;
|
|
709
1065
|
enableBonus: boolean;
|
|
1066
|
+
principalAmount: number | null;
|
|
1067
|
+
maxTotalRaise: number | null;
|
|
1068
|
+
interestRate: number | null;
|
|
1069
|
+
interestType: InterestType | null;
|
|
710
1070
|
__entity?: string | undefined;
|
|
711
1071
|
account?: {
|
|
712
1072
|
status: import("./common.types").AccountStatus;
|
|
@@ -744,6 +1104,38 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
744
1104
|
memorandumId?: string | null | undefined;
|
|
745
1105
|
subscriptionAgreementId?: string | null | undefined;
|
|
746
1106
|
showTotalRaised?: boolean | undefined;
|
|
1107
|
+
hasEscrow?: boolean | undefined;
|
|
1108
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1109
|
+
bankAccountId?: string | null | undefined;
|
|
1110
|
+
bankAccount?: any;
|
|
1111
|
+
escrowAccountId?: string | null | undefined;
|
|
1112
|
+
escrowAccount?: {
|
|
1113
|
+
id: string;
|
|
1114
|
+
createdAt: string | Date;
|
|
1115
|
+
updatedAt: string | Date;
|
|
1116
|
+
deletedAt: string | Date | null;
|
|
1117
|
+
accountId: string;
|
|
1118
|
+
accountName: string;
|
|
1119
|
+
agentEmail: string;
|
|
1120
|
+
agentName: string;
|
|
1121
|
+
__entity?: string | undefined;
|
|
1122
|
+
account?: {
|
|
1123
|
+
status: import("./common.types").AccountStatus;
|
|
1124
|
+
id: string;
|
|
1125
|
+
createdAt: string | Date;
|
|
1126
|
+
updatedAt: string | Date;
|
|
1127
|
+
deletedAt: string | Date | null;
|
|
1128
|
+
name: string;
|
|
1129
|
+
managedBy: ManagedByType | null;
|
|
1130
|
+
platform: import("./common.types").Platform;
|
|
1131
|
+
onboardingReviewerId: string | null;
|
|
1132
|
+
onboardingReviewAt: Date | null;
|
|
1133
|
+
allowPendingComplianceReview: boolean;
|
|
1134
|
+
__entity?: string | undefined;
|
|
1135
|
+
} | null | undefined;
|
|
1136
|
+
accountNumber?: string | null | undefined;
|
|
1137
|
+
routingNumber?: string | null | undefined;
|
|
1138
|
+
} | null | undefined;
|
|
747
1139
|
}>, "many">;
|
|
748
1140
|
meta: z.ZodObject<{
|
|
749
1141
|
itemCount: z.ZodNumber;
|
|
@@ -809,6 +1201,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
809
1201
|
durationType: DurationType | null;
|
|
810
1202
|
tiers: number[] | null;
|
|
811
1203
|
enableBonus: boolean;
|
|
1204
|
+
principalAmount: number | null;
|
|
1205
|
+
maxTotalRaise: number | null;
|
|
1206
|
+
interestRate: number | null;
|
|
1207
|
+
interestType: InterestType | null;
|
|
812
1208
|
__entity?: string | undefined;
|
|
813
1209
|
account?: {
|
|
814
1210
|
status: import("./common.types").AccountStatus;
|
|
@@ -846,6 +1242,38 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
846
1242
|
memorandumId?: string | null | undefined;
|
|
847
1243
|
subscriptionAgreementId?: string | null | undefined;
|
|
848
1244
|
showTotalRaised?: boolean | undefined;
|
|
1245
|
+
hasEscrow?: boolean | undefined;
|
|
1246
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1247
|
+
bankAccountId?: string | null | undefined;
|
|
1248
|
+
bankAccount?: any;
|
|
1249
|
+
escrowAccountId?: string | null | undefined;
|
|
1250
|
+
escrowAccount?: {
|
|
1251
|
+
id: string;
|
|
1252
|
+
createdAt: string | Date;
|
|
1253
|
+
updatedAt: string | Date;
|
|
1254
|
+
deletedAt: string | Date | null;
|
|
1255
|
+
accountId: string;
|
|
1256
|
+
accountName: string;
|
|
1257
|
+
agentEmail: string;
|
|
1258
|
+
agentName: string;
|
|
1259
|
+
__entity?: string | undefined;
|
|
1260
|
+
account?: {
|
|
1261
|
+
status: import("./common.types").AccountStatus;
|
|
1262
|
+
id: string;
|
|
1263
|
+
createdAt: string | Date;
|
|
1264
|
+
updatedAt: string | Date;
|
|
1265
|
+
deletedAt: string | Date | null;
|
|
1266
|
+
name: string;
|
|
1267
|
+
managedBy: ManagedByType | null;
|
|
1268
|
+
platform: import("./common.types").Platform;
|
|
1269
|
+
onboardingReviewerId: string | null;
|
|
1270
|
+
onboardingReviewAt: Date | null;
|
|
1271
|
+
allowPendingComplianceReview: boolean;
|
|
1272
|
+
__entity?: string | undefined;
|
|
1273
|
+
} | null | undefined;
|
|
1274
|
+
accountNumber?: string | null | undefined;
|
|
1275
|
+
routingNumber?: string | null | undefined;
|
|
1276
|
+
} | null | undefined;
|
|
849
1277
|
}[];
|
|
850
1278
|
meta: {
|
|
851
1279
|
itemCount: number;
|
|
@@ -899,6 +1327,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
899
1327
|
durationType: DurationType | null;
|
|
900
1328
|
tiers: number[] | null;
|
|
901
1329
|
enableBonus: boolean;
|
|
1330
|
+
principalAmount: number | null;
|
|
1331
|
+
maxTotalRaise: number | null;
|
|
1332
|
+
interestRate: number | null;
|
|
1333
|
+
interestType: InterestType | null;
|
|
902
1334
|
__entity?: string | undefined;
|
|
903
1335
|
account?: {
|
|
904
1336
|
status: import("./common.types").AccountStatus;
|
|
@@ -936,6 +1368,38 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
936
1368
|
memorandumId?: string | null | undefined;
|
|
937
1369
|
subscriptionAgreementId?: string | null | undefined;
|
|
938
1370
|
showTotalRaised?: boolean | undefined;
|
|
1371
|
+
hasEscrow?: boolean | undefined;
|
|
1372
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1373
|
+
bankAccountId?: string | null | undefined;
|
|
1374
|
+
bankAccount?: any;
|
|
1375
|
+
escrowAccountId?: string | null | undefined;
|
|
1376
|
+
escrowAccount?: {
|
|
1377
|
+
id: string;
|
|
1378
|
+
createdAt: string | Date;
|
|
1379
|
+
updatedAt: string | Date;
|
|
1380
|
+
deletedAt: string | Date | null;
|
|
1381
|
+
accountId: string;
|
|
1382
|
+
accountName: string;
|
|
1383
|
+
agentEmail: string;
|
|
1384
|
+
agentName: string;
|
|
1385
|
+
__entity?: string | undefined;
|
|
1386
|
+
account?: {
|
|
1387
|
+
status: import("./common.types").AccountStatus;
|
|
1388
|
+
id: string;
|
|
1389
|
+
createdAt: string | Date;
|
|
1390
|
+
updatedAt: string | Date;
|
|
1391
|
+
deletedAt: string | Date | null;
|
|
1392
|
+
name: string;
|
|
1393
|
+
managedBy: ManagedByType | null;
|
|
1394
|
+
platform: import("./common.types").Platform;
|
|
1395
|
+
onboardingReviewerId: string | null;
|
|
1396
|
+
onboardingReviewAt: Date | null;
|
|
1397
|
+
allowPendingComplianceReview: boolean;
|
|
1398
|
+
__entity?: string | undefined;
|
|
1399
|
+
} | null | undefined;
|
|
1400
|
+
accountNumber?: string | null | undefined;
|
|
1401
|
+
routingNumber?: string | null | undefined;
|
|
1402
|
+
} | null | undefined;
|
|
939
1403
|
}[];
|
|
940
1404
|
meta: {
|
|
941
1405
|
itemCount: number;
|
|
@@ -971,6 +1435,49 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
971
1435
|
template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
|
|
972
1436
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
973
1437
|
enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1438
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1439
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1440
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1441
|
+
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1442
|
+
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1443
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1444
|
+
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
|
|
1445
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1446
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1447
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1448
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1449
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1450
|
+
}, "strip", z.ZodTypeAny, {
|
|
1451
|
+
value: number;
|
|
1452
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1453
|
+
startAmount: number;
|
|
1454
|
+
endAmount: number;
|
|
1455
|
+
}, {
|
|
1456
|
+
value: number;
|
|
1457
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1458
|
+
startAmount: number;
|
|
1459
|
+
endAmount: number;
|
|
1460
|
+
}>, {
|
|
1461
|
+
value: number;
|
|
1462
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1463
|
+
startAmount: number;
|
|
1464
|
+
endAmount: number;
|
|
1465
|
+
}, {
|
|
1466
|
+
value: number;
|
|
1467
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1468
|
+
startAmount: number;
|
|
1469
|
+
endAmount: number;
|
|
1470
|
+
}>, {
|
|
1471
|
+
value: number;
|
|
1472
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1473
|
+
startAmount: number;
|
|
1474
|
+
endAmount: number;
|
|
1475
|
+
}, {
|
|
1476
|
+
value: number;
|
|
1477
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1478
|
+
startAmount: number;
|
|
1479
|
+
endAmount: number;
|
|
1480
|
+
}>, "many">>;
|
|
974
1481
|
}, "strip", z.ZodTypeAny, {
|
|
975
1482
|
type: OfferingType;
|
|
976
1483
|
name: string;
|
|
@@ -991,11 +1498,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
991
1498
|
startAt?: Date | null | undefined;
|
|
992
1499
|
endAt?: Date | null | undefined;
|
|
993
1500
|
cancellationPeriod?: number | null | undefined;
|
|
1501
|
+
hasEscrow?: boolean | undefined;
|
|
1502
|
+
bankAccountId?: string | null | undefined;
|
|
1503
|
+
escrowAccountId?: string | null | undefined;
|
|
994
1504
|
yield?: number | null | undefined;
|
|
995
1505
|
duration?: number | null | undefined;
|
|
996
1506
|
durationType?: DurationType | null | undefined;
|
|
997
1507
|
tiers?: number[] | null | undefined;
|
|
998
1508
|
enableBonus?: boolean | undefined;
|
|
1509
|
+
principalAmount?: number | null | undefined;
|
|
1510
|
+
maxTotalRaise?: number | null | undefined;
|
|
1511
|
+
interestRate?: number | null | undefined;
|
|
1512
|
+
interestType?: InterestType | null | undefined;
|
|
1513
|
+
bonusTiers?: {
|
|
1514
|
+
value: number;
|
|
1515
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1516
|
+
startAmount: number;
|
|
1517
|
+
endAmount: number;
|
|
1518
|
+
}[] | undefined;
|
|
999
1519
|
}, {
|
|
1000
1520
|
type: OfferingType;
|
|
1001
1521
|
name: string;
|
|
@@ -1016,11 +1536,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1016
1536
|
startAt?: string | null | undefined;
|
|
1017
1537
|
endAt?: string | null | undefined;
|
|
1018
1538
|
cancellationPeriod?: number | null | undefined;
|
|
1539
|
+
hasEscrow?: boolean | undefined;
|
|
1540
|
+
bankAccountId?: string | null | undefined;
|
|
1541
|
+
escrowAccountId?: string | null | undefined;
|
|
1019
1542
|
yield?: number | null | undefined;
|
|
1020
1543
|
duration?: number | null | undefined;
|
|
1021
1544
|
durationType?: DurationType | null | undefined;
|
|
1022
1545
|
tiers?: number[] | null | undefined;
|
|
1023
1546
|
enableBonus?: boolean | undefined;
|
|
1547
|
+
principalAmount?: number | null | undefined;
|
|
1548
|
+
maxTotalRaise?: number | null | undefined;
|
|
1549
|
+
interestRate?: number | null | undefined;
|
|
1550
|
+
interestType?: InterestType | null | undefined;
|
|
1551
|
+
bonusTiers?: {
|
|
1552
|
+
value: number;
|
|
1553
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1554
|
+
startAmount: number;
|
|
1555
|
+
endAmount: number;
|
|
1556
|
+
}[] | undefined;
|
|
1024
1557
|
}>, {
|
|
1025
1558
|
type: OfferingType;
|
|
1026
1559
|
name: string;
|
|
@@ -1041,11 +1574,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1041
1574
|
startAt?: Date | null | undefined;
|
|
1042
1575
|
endAt?: Date | null | undefined;
|
|
1043
1576
|
cancellationPeriod?: number | null | undefined;
|
|
1577
|
+
hasEscrow?: boolean | undefined;
|
|
1578
|
+
bankAccountId?: string | null | undefined;
|
|
1579
|
+
escrowAccountId?: string | null | undefined;
|
|
1044
1580
|
yield?: number | null | undefined;
|
|
1045
1581
|
duration?: number | null | undefined;
|
|
1046
1582
|
durationType?: DurationType | null | undefined;
|
|
1047
1583
|
tiers?: number[] | null | undefined;
|
|
1048
1584
|
enableBonus?: boolean | undefined;
|
|
1585
|
+
principalAmount?: number | null | undefined;
|
|
1586
|
+
maxTotalRaise?: number | null | undefined;
|
|
1587
|
+
interestRate?: number | null | undefined;
|
|
1588
|
+
interestType?: InterestType | null | undefined;
|
|
1589
|
+
bonusTiers?: {
|
|
1590
|
+
value: number;
|
|
1591
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1592
|
+
startAmount: number;
|
|
1593
|
+
endAmount: number;
|
|
1594
|
+
}[] | undefined;
|
|
1049
1595
|
}, {
|
|
1050
1596
|
type: OfferingType;
|
|
1051
1597
|
name: string;
|
|
@@ -1066,14 +1612,27 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1066
1612
|
startAt?: string | null | undefined;
|
|
1067
1613
|
endAt?: string | null | undefined;
|
|
1068
1614
|
cancellationPeriod?: number | null | undefined;
|
|
1615
|
+
hasEscrow?: boolean | undefined;
|
|
1616
|
+
bankAccountId?: string | null | undefined;
|
|
1617
|
+
escrowAccountId?: string | null | undefined;
|
|
1069
1618
|
yield?: number | null | undefined;
|
|
1070
1619
|
duration?: number | null | undefined;
|
|
1071
1620
|
durationType?: DurationType | null | undefined;
|
|
1072
1621
|
tiers?: number[] | null | undefined;
|
|
1073
1622
|
enableBonus?: boolean | undefined;
|
|
1623
|
+
principalAmount?: number | null | undefined;
|
|
1624
|
+
maxTotalRaise?: number | null | undefined;
|
|
1625
|
+
interestRate?: number | null | undefined;
|
|
1626
|
+
interestType?: InterestType | null | undefined;
|
|
1627
|
+
bonusTiers?: {
|
|
1628
|
+
value: number;
|
|
1629
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1630
|
+
startAmount: number;
|
|
1631
|
+
endAmount: number;
|
|
1632
|
+
}[] | undefined;
|
|
1074
1633
|
}>;
|
|
1075
1634
|
export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
|
|
1076
|
-
export declare const PatchIssuerOffering: z.ZodObject<{
|
|
1635
|
+
export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
1077
1636
|
name: z.ZodOptional<z.ZodString>;
|
|
1078
1637
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
1079
1638
|
targetAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1101,6 +1660,50 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1101
1660
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1102
1661
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1103
1662
|
enableBonus: z.ZodOptional<z.ZodBoolean>;
|
|
1663
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1664
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1665
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1666
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1667
|
+
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1668
|
+
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1669
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1670
|
+
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
|
|
1671
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1672
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1673
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1674
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1675
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1676
|
+
}, "strip", z.ZodTypeAny, {
|
|
1677
|
+
value: number;
|
|
1678
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1679
|
+
startAmount: number;
|
|
1680
|
+
endAmount: number;
|
|
1681
|
+
}, {
|
|
1682
|
+
value: number;
|
|
1683
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1684
|
+
startAmount: number;
|
|
1685
|
+
endAmount: number;
|
|
1686
|
+
}>, {
|
|
1687
|
+
value: number;
|
|
1688
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1689
|
+
startAmount: number;
|
|
1690
|
+
endAmount: number;
|
|
1691
|
+
}, {
|
|
1692
|
+
value: number;
|
|
1693
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1694
|
+
startAmount: number;
|
|
1695
|
+
endAmount: number;
|
|
1696
|
+
}>, {
|
|
1697
|
+
value: number;
|
|
1698
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1699
|
+
startAmount: number;
|
|
1700
|
+
endAmount: number;
|
|
1701
|
+
}, {
|
|
1702
|
+
value: number;
|
|
1703
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1704
|
+
startAmount: number;
|
|
1705
|
+
endAmount: number;
|
|
1706
|
+
}>, "many">>;
|
|
1104
1707
|
}, "strip", z.ZodTypeAny, {
|
|
1105
1708
|
type?: OfferingType | undefined;
|
|
1106
1709
|
name?: string | undefined;
|
|
@@ -1120,6 +1723,94 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1120
1723
|
memorandumId?: string | null | undefined;
|
|
1121
1724
|
subscriptionAgreementId?: string | null | undefined;
|
|
1122
1725
|
showTotalRaised?: boolean | undefined;
|
|
1726
|
+
hasEscrow?: boolean | undefined;
|
|
1727
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1728
|
+
bankAccountId?: string | null | undefined;
|
|
1729
|
+
escrowAccountId?: string | null | undefined;
|
|
1730
|
+
assetName?: string | undefined;
|
|
1731
|
+
assetType?: AssetType | undefined;
|
|
1732
|
+
pricePerUnit?: number | null | undefined;
|
|
1733
|
+
totalUnits?: number | null | undefined;
|
|
1734
|
+
yield?: number | null | undefined;
|
|
1735
|
+
duration?: number | null | undefined;
|
|
1736
|
+
durationType?: DurationType | null | undefined;
|
|
1737
|
+
tiers?: number[] | null | undefined;
|
|
1738
|
+
enableBonus?: boolean | undefined;
|
|
1739
|
+
principalAmount?: number | null | undefined;
|
|
1740
|
+
maxTotalRaise?: number | null | undefined;
|
|
1741
|
+
interestRate?: number | null | undefined;
|
|
1742
|
+
interestType?: InterestType | null | undefined;
|
|
1743
|
+
bonusTiers?: {
|
|
1744
|
+
value: number;
|
|
1745
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1746
|
+
startAmount: number;
|
|
1747
|
+
endAmount: number;
|
|
1748
|
+
}[] | undefined;
|
|
1749
|
+
}, {
|
|
1750
|
+
type?: OfferingType | undefined;
|
|
1751
|
+
name?: string | undefined;
|
|
1752
|
+
managedBy?: ManagedByType | undefined;
|
|
1753
|
+
description?: string | null | undefined;
|
|
1754
|
+
enabled?: boolean | undefined;
|
|
1755
|
+
template?: AssetTemplateType | null | undefined;
|
|
1756
|
+
coverArtId?: string | null | undefined;
|
|
1757
|
+
targetAmount?: number | undefined;
|
|
1758
|
+
minInvestment?: number | null | undefined;
|
|
1759
|
+
maxInvestment?: number | null | undefined;
|
|
1760
|
+
contingencyAmount?: number | null | undefined;
|
|
1761
|
+
startAt?: string | null | undefined;
|
|
1762
|
+
endAt?: string | null | undefined;
|
|
1763
|
+
issuerId?: string | undefined;
|
|
1764
|
+
cancellationPeriod?: number | null | undefined;
|
|
1765
|
+
memorandumId?: string | null | undefined;
|
|
1766
|
+
subscriptionAgreementId?: string | null | undefined;
|
|
1767
|
+
showTotalRaised?: boolean | undefined;
|
|
1768
|
+
hasEscrow?: boolean | undefined;
|
|
1769
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1770
|
+
bankAccountId?: string | null | undefined;
|
|
1771
|
+
escrowAccountId?: string | null | undefined;
|
|
1772
|
+
assetName?: string | undefined;
|
|
1773
|
+
assetType?: AssetType | undefined;
|
|
1774
|
+
pricePerUnit?: number | null | undefined;
|
|
1775
|
+
totalUnits?: number | null | undefined;
|
|
1776
|
+
yield?: number | null | undefined;
|
|
1777
|
+
duration?: number | null | undefined;
|
|
1778
|
+
durationType?: DurationType | null | undefined;
|
|
1779
|
+
tiers?: number[] | null | undefined;
|
|
1780
|
+
enableBonus?: boolean | undefined;
|
|
1781
|
+
principalAmount?: number | null | undefined;
|
|
1782
|
+
maxTotalRaise?: number | null | undefined;
|
|
1783
|
+
interestRate?: number | null | undefined;
|
|
1784
|
+
interestType?: InterestType | null | undefined;
|
|
1785
|
+
bonusTiers?: {
|
|
1786
|
+
value: number;
|
|
1787
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1788
|
+
startAmount: number;
|
|
1789
|
+
endAmount: number;
|
|
1790
|
+
}[] | undefined;
|
|
1791
|
+
}>, {
|
|
1792
|
+
type?: OfferingType | undefined;
|
|
1793
|
+
name?: string | undefined;
|
|
1794
|
+
managedBy?: ManagedByType | undefined;
|
|
1795
|
+
description?: string | null | undefined;
|
|
1796
|
+
enabled?: boolean | undefined;
|
|
1797
|
+
template?: AssetTemplateType | null | undefined;
|
|
1798
|
+
coverArtId?: string | null | undefined;
|
|
1799
|
+
targetAmount?: number | undefined;
|
|
1800
|
+
minInvestment?: number | null | undefined;
|
|
1801
|
+
maxInvestment?: number | null | undefined;
|
|
1802
|
+
contingencyAmount?: number | null | undefined;
|
|
1803
|
+
startAt?: Date | null | undefined;
|
|
1804
|
+
endAt?: Date | null | undefined;
|
|
1805
|
+
issuerId?: string | undefined;
|
|
1806
|
+
cancellationPeriod?: number | null | undefined;
|
|
1807
|
+
memorandumId?: string | null | undefined;
|
|
1808
|
+
subscriptionAgreementId?: string | null | undefined;
|
|
1809
|
+
showTotalRaised?: boolean | undefined;
|
|
1810
|
+
hasEscrow?: boolean | undefined;
|
|
1811
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1812
|
+
bankAccountId?: string | null | undefined;
|
|
1813
|
+
escrowAccountId?: string | null | undefined;
|
|
1123
1814
|
assetName?: string | undefined;
|
|
1124
1815
|
assetType?: AssetType | undefined;
|
|
1125
1816
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1129,6 +1820,16 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1129
1820
|
durationType?: DurationType | null | undefined;
|
|
1130
1821
|
tiers?: number[] | null | undefined;
|
|
1131
1822
|
enableBonus?: boolean | undefined;
|
|
1823
|
+
principalAmount?: number | null | undefined;
|
|
1824
|
+
maxTotalRaise?: number | null | undefined;
|
|
1825
|
+
interestRate?: number | null | undefined;
|
|
1826
|
+
interestType?: InterestType | null | undefined;
|
|
1827
|
+
bonusTiers?: {
|
|
1828
|
+
value: number;
|
|
1829
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1830
|
+
startAmount: number;
|
|
1831
|
+
endAmount: number;
|
|
1832
|
+
}[] | undefined;
|
|
1132
1833
|
}, {
|
|
1133
1834
|
type?: OfferingType | undefined;
|
|
1134
1835
|
name?: string | undefined;
|
|
@@ -1148,6 +1849,10 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1148
1849
|
memorandumId?: string | null | undefined;
|
|
1149
1850
|
subscriptionAgreementId?: string | null | undefined;
|
|
1150
1851
|
showTotalRaised?: boolean | undefined;
|
|
1852
|
+
hasEscrow?: boolean | undefined;
|
|
1853
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1854
|
+
bankAccountId?: string | null | undefined;
|
|
1855
|
+
escrowAccountId?: string | null | undefined;
|
|
1151
1856
|
assetName?: string | undefined;
|
|
1152
1857
|
assetType?: AssetType | undefined;
|
|
1153
1858
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1157,6 +1862,16 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1157
1862
|
durationType?: DurationType | null | undefined;
|
|
1158
1863
|
tiers?: number[] | null | undefined;
|
|
1159
1864
|
enableBonus?: boolean | undefined;
|
|
1865
|
+
principalAmount?: number | null | undefined;
|
|
1866
|
+
maxTotalRaise?: number | null | undefined;
|
|
1867
|
+
interestRate?: number | null | undefined;
|
|
1868
|
+
interestType?: InterestType | null | undefined;
|
|
1869
|
+
bonusTiers?: {
|
|
1870
|
+
value: number;
|
|
1871
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1872
|
+
startAmount: number;
|
|
1873
|
+
endAmount: number;
|
|
1874
|
+
}[] | undefined;
|
|
1160
1875
|
}>;
|
|
1161
1876
|
export type PatchIssuerOffering = z.infer<typeof PatchIssuerOffering>;
|
|
1162
1877
|
/**
|
|
@@ -1243,3 +1958,4 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
|
|
|
1243
1958
|
sortByNameASC?: unknown;
|
|
1244
1959
|
}>;
|
|
1245
1960
|
export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
|
|
1961
|
+
export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
|