@dalmore/api-contracts 0.0.0-dev.d2fe663 → 0.0.0-dev.d38f1ff
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 +27 -24
- package/common/types/activity.types.js +6 -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 +128 -25
- package/common/types/bonus-tier.types.js +48 -12
- package/common/types/bonus-tier.types.js.map +1 -1
- package/common/types/cap-table.types.d.ts +1124 -0
- package/common/types/cap-table.types.js +406 -0
- package/common/types/cap-table.types.js.map +1 -0
- package/common/types/common.types.d.ts +30 -3
- package/common/types/common.types.js +18 -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 +613 -392
- package/common/types/disbursements.types.js +37 -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/file.types.d.ts +14 -11
- package/common/types/file.types.js +2 -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 +662 -5
- package/common/types/issuer-offering.types.js +100 -6
- 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.js +2 -2
- package/common/types/offering.types.d.ts +281 -1
- package/common/types/offering.types.js +109 -10
- 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/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 +13 -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 +34 -0
- package/common/types/user.types.js +4 -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 +257 -13
- package/contracts/clients/offerings/index.d.ts +220 -4
- package/contracts/clients/trades/index.d.ts +9 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType } from './common.types';
|
|
2
|
+
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod } from './common.types';
|
|
3
3
|
import { AssetTemplateType } from './asset.types';
|
|
4
4
|
export declare enum OfferingStatus {
|
|
5
5
|
ONBOARDING = "ONBOARDING",
|
|
@@ -134,6 +134,7 @@ 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
|
+
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
137
138
|
}, "strip", z.ZodTypeAny, {
|
|
138
139
|
type: AssetType | null;
|
|
139
140
|
id: string;
|
|
@@ -152,6 +153,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
152
153
|
durationType: DurationType | null;
|
|
153
154
|
tiers: number[] | null;
|
|
154
155
|
enableBonus: boolean;
|
|
156
|
+
interestRate: number | null;
|
|
155
157
|
__entity?: string | undefined;
|
|
156
158
|
account?: {
|
|
157
159
|
status: import("./common.types").AccountStatus;
|
|
@@ -186,6 +188,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
186
188
|
durationType: DurationType | null;
|
|
187
189
|
tiers: number[] | null;
|
|
188
190
|
enableBonus: boolean;
|
|
191
|
+
interestRate: number | null;
|
|
189
192
|
__entity?: string | undefined;
|
|
190
193
|
account?: {
|
|
191
194
|
status: import("./common.types").AccountStatus;
|
|
@@ -212,6 +215,121 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
212
215
|
valuationCap: z.ZodNullable<z.ZodNumber>;
|
|
213
216
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
214
217
|
status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
|
|
218
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
+
bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
|
|
222
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
223
|
+
escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
224
|
+
id: z.ZodString;
|
|
225
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
226
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
227
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
228
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
229
|
+
} & {
|
|
230
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
231
|
+
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
232
|
+
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
233
|
+
accountName: z.ZodString;
|
|
234
|
+
agentEmail: z.ZodString;
|
|
235
|
+
agentName: z.ZodString;
|
|
236
|
+
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
237
|
+
account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
238
|
+
id: z.ZodString;
|
|
239
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
240
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
241
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
242
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
243
|
+
} & {
|
|
244
|
+
name: z.ZodString;
|
|
245
|
+
status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
|
|
246
|
+
managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
247
|
+
platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
|
|
248
|
+
onboardingReviewerId: z.ZodNullable<z.ZodString>;
|
|
249
|
+
onboardingReviewAt: z.ZodNullable<z.ZodDate>;
|
|
250
|
+
allowPendingComplianceReview: z.ZodBoolean;
|
|
251
|
+
}, "strip", z.ZodTypeAny, {
|
|
252
|
+
status: import("./common.types").AccountStatus;
|
|
253
|
+
id: string;
|
|
254
|
+
createdAt: string | Date;
|
|
255
|
+
updatedAt: string | Date;
|
|
256
|
+
deletedAt: string | Date | null;
|
|
257
|
+
name: string;
|
|
258
|
+
managedBy: ManagedByType | null;
|
|
259
|
+
platform: import("./common.types").Platform;
|
|
260
|
+
onboardingReviewerId: string | null;
|
|
261
|
+
onboardingReviewAt: Date | null;
|
|
262
|
+
allowPendingComplianceReview: boolean;
|
|
263
|
+
__entity?: string | undefined;
|
|
264
|
+
}, {
|
|
265
|
+
status: import("./common.types").AccountStatus;
|
|
266
|
+
id: string;
|
|
267
|
+
createdAt: string | Date;
|
|
268
|
+
updatedAt: string | Date;
|
|
269
|
+
deletedAt: string | Date | null;
|
|
270
|
+
name: string;
|
|
271
|
+
managedBy: ManagedByType | null;
|
|
272
|
+
platform: import("./common.types").Platform;
|
|
273
|
+
onboardingReviewerId: string | null;
|
|
274
|
+
onboardingReviewAt: Date | null;
|
|
275
|
+
allowPendingComplianceReview: boolean;
|
|
276
|
+
__entity?: string | undefined;
|
|
277
|
+
}>>>;
|
|
278
|
+
}, "strip", z.ZodTypeAny, {
|
|
279
|
+
id: string;
|
|
280
|
+
createdAt: string | Date;
|
|
281
|
+
updatedAt: string | Date;
|
|
282
|
+
deletedAt: string | Date | null;
|
|
283
|
+
accountId: string;
|
|
284
|
+
accountName: string;
|
|
285
|
+
agentEmail: string;
|
|
286
|
+
agentName: string;
|
|
287
|
+
__entity?: string | undefined;
|
|
288
|
+
account?: {
|
|
289
|
+
status: import("./common.types").AccountStatus;
|
|
290
|
+
id: string;
|
|
291
|
+
createdAt: string | Date;
|
|
292
|
+
updatedAt: string | Date;
|
|
293
|
+
deletedAt: string | Date | null;
|
|
294
|
+
name: string;
|
|
295
|
+
managedBy: ManagedByType | null;
|
|
296
|
+
platform: import("./common.types").Platform;
|
|
297
|
+
onboardingReviewerId: string | null;
|
|
298
|
+
onboardingReviewAt: Date | null;
|
|
299
|
+
allowPendingComplianceReview: boolean;
|
|
300
|
+
__entity?: string | undefined;
|
|
301
|
+
} | null | undefined;
|
|
302
|
+
accountNumber?: string | null | undefined;
|
|
303
|
+
routingNumber?: string | null | undefined;
|
|
304
|
+
company?: string | null | undefined;
|
|
305
|
+
}, {
|
|
306
|
+
id: string;
|
|
307
|
+
createdAt: string | Date;
|
|
308
|
+
updatedAt: string | Date;
|
|
309
|
+
deletedAt: string | Date | null;
|
|
310
|
+
accountId: string;
|
|
311
|
+
accountName: string;
|
|
312
|
+
agentEmail: string;
|
|
313
|
+
agentName: string;
|
|
314
|
+
__entity?: string | undefined;
|
|
315
|
+
account?: {
|
|
316
|
+
status: import("./common.types").AccountStatus;
|
|
317
|
+
id: string;
|
|
318
|
+
createdAt: string | Date;
|
|
319
|
+
updatedAt: string | Date;
|
|
320
|
+
deletedAt: string | Date | null;
|
|
321
|
+
name: string;
|
|
322
|
+
managedBy: ManagedByType | null;
|
|
323
|
+
platform: import("./common.types").Platform;
|
|
324
|
+
onboardingReviewerId: string | null;
|
|
325
|
+
onboardingReviewAt: Date | null;
|
|
326
|
+
allowPendingComplianceReview: boolean;
|
|
327
|
+
__entity?: string | undefined;
|
|
328
|
+
} | null | undefined;
|
|
329
|
+
accountNumber?: string | null | undefined;
|
|
330
|
+
routingNumber?: string | null | undefined;
|
|
331
|
+
company?: string | null | undefined;
|
|
332
|
+
}>>>>;
|
|
215
333
|
}, "strip", z.ZodTypeAny, {
|
|
216
334
|
type: OfferingType | null;
|
|
217
335
|
id: string;
|
|
@@ -256,6 +374,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
256
374
|
durationType: DurationType | null;
|
|
257
375
|
tiers: number[] | null;
|
|
258
376
|
enableBonus: boolean;
|
|
377
|
+
interestRate: number | null;
|
|
259
378
|
__entity?: string | undefined;
|
|
260
379
|
account?: {
|
|
261
380
|
status: import("./common.types").AccountStatus;
|
|
@@ -293,6 +412,39 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
293
412
|
memorandumId?: string | null | undefined;
|
|
294
413
|
subscriptionAgreementId?: string | null | undefined;
|
|
295
414
|
showTotalRaised?: boolean | undefined;
|
|
415
|
+
hasEscrow?: boolean | undefined;
|
|
416
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
417
|
+
bankAccountId?: string | null | undefined;
|
|
418
|
+
bankAccount?: any;
|
|
419
|
+
escrowAccountId?: string | null | undefined;
|
|
420
|
+
escrowAccount?: {
|
|
421
|
+
id: string;
|
|
422
|
+
createdAt: string | Date;
|
|
423
|
+
updatedAt: string | Date;
|
|
424
|
+
deletedAt: string | Date | null;
|
|
425
|
+
accountId: string;
|
|
426
|
+
accountName: string;
|
|
427
|
+
agentEmail: string;
|
|
428
|
+
agentName: string;
|
|
429
|
+
__entity?: string | undefined;
|
|
430
|
+
account?: {
|
|
431
|
+
status: import("./common.types").AccountStatus;
|
|
432
|
+
id: string;
|
|
433
|
+
createdAt: string | Date;
|
|
434
|
+
updatedAt: string | Date;
|
|
435
|
+
deletedAt: string | Date | null;
|
|
436
|
+
name: string;
|
|
437
|
+
managedBy: ManagedByType | null;
|
|
438
|
+
platform: import("./common.types").Platform;
|
|
439
|
+
onboardingReviewerId: string | null;
|
|
440
|
+
onboardingReviewAt: Date | null;
|
|
441
|
+
allowPendingComplianceReview: boolean;
|
|
442
|
+
__entity?: string | undefined;
|
|
443
|
+
} | null | undefined;
|
|
444
|
+
accountNumber?: string | null | undefined;
|
|
445
|
+
routingNumber?: string | null | undefined;
|
|
446
|
+
company?: string | null | undefined;
|
|
447
|
+
} | null | undefined;
|
|
296
448
|
}, {
|
|
297
449
|
type: OfferingType | null;
|
|
298
450
|
id: string;
|
|
@@ -337,6 +489,7 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
337
489
|
durationType: DurationType | null;
|
|
338
490
|
tiers: number[] | null;
|
|
339
491
|
enableBonus: boolean;
|
|
492
|
+
interestRate: number | null;
|
|
340
493
|
__entity?: string | undefined;
|
|
341
494
|
account?: {
|
|
342
495
|
status: import("./common.types").AccountStatus;
|
|
@@ -374,6 +527,39 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
374
527
|
memorandumId?: string | null | undefined;
|
|
375
528
|
subscriptionAgreementId?: string | null | undefined;
|
|
376
529
|
showTotalRaised?: boolean | undefined;
|
|
530
|
+
hasEscrow?: boolean | undefined;
|
|
531
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
532
|
+
bankAccountId?: string | null | undefined;
|
|
533
|
+
bankAccount?: any;
|
|
534
|
+
escrowAccountId?: string | null | undefined;
|
|
535
|
+
escrowAccount?: {
|
|
536
|
+
id: string;
|
|
537
|
+
createdAt: string | Date;
|
|
538
|
+
updatedAt: string | Date;
|
|
539
|
+
deletedAt: string | Date | null;
|
|
540
|
+
accountId: string;
|
|
541
|
+
accountName: string;
|
|
542
|
+
agentEmail: string;
|
|
543
|
+
agentName: string;
|
|
544
|
+
__entity?: string | undefined;
|
|
545
|
+
account?: {
|
|
546
|
+
status: import("./common.types").AccountStatus;
|
|
547
|
+
id: string;
|
|
548
|
+
createdAt: string | Date;
|
|
549
|
+
updatedAt: string | Date;
|
|
550
|
+
deletedAt: string | Date | null;
|
|
551
|
+
name: string;
|
|
552
|
+
managedBy: ManagedByType | null;
|
|
553
|
+
platform: import("./common.types").Platform;
|
|
554
|
+
onboardingReviewerId: string | null;
|
|
555
|
+
onboardingReviewAt: Date | null;
|
|
556
|
+
allowPendingComplianceReview: boolean;
|
|
557
|
+
__entity?: string | undefined;
|
|
558
|
+
} | null | undefined;
|
|
559
|
+
accountNumber?: string | null | undefined;
|
|
560
|
+
routingNumber?: string | null | undefined;
|
|
561
|
+
company?: string | null | undefined;
|
|
562
|
+
} | null | undefined;
|
|
377
563
|
}>;
|
|
378
564
|
export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
|
|
379
565
|
export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
@@ -504,6 +690,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
504
690
|
template: z.ZodNativeEnum<typeof AssetTemplateType>;
|
|
505
691
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
506
692
|
enableBonus: z.ZodBoolean;
|
|
693
|
+
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
507
694
|
}, "strip", z.ZodTypeAny, {
|
|
508
695
|
type: AssetType | null;
|
|
509
696
|
id: string;
|
|
@@ -522,6 +709,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
522
709
|
durationType: DurationType | null;
|
|
523
710
|
tiers: number[] | null;
|
|
524
711
|
enableBonus: boolean;
|
|
712
|
+
interestRate: number | null;
|
|
525
713
|
__entity?: string | undefined;
|
|
526
714
|
account?: {
|
|
527
715
|
status: import("./common.types").AccountStatus;
|
|
@@ -556,6 +744,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
556
744
|
durationType: DurationType | null;
|
|
557
745
|
tiers: number[] | null;
|
|
558
746
|
enableBonus: boolean;
|
|
747
|
+
interestRate: number | null;
|
|
559
748
|
__entity?: string | undefined;
|
|
560
749
|
account?: {
|
|
561
750
|
status: import("./common.types").AccountStatus;
|
|
@@ -582,6 +771,121 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
582
771
|
valuationCap: z.ZodNullable<z.ZodNumber>;
|
|
583
772
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
584
773
|
status: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>>;
|
|
774
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
775
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
776
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
777
|
+
bankAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<any>>>;
|
|
778
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
779
|
+
escrowAccount: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
780
|
+
id: z.ZodString;
|
|
781
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
782
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
783
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
784
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
785
|
+
} & {
|
|
786
|
+
company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
787
|
+
accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
788
|
+
routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
789
|
+
accountName: z.ZodString;
|
|
790
|
+
agentEmail: z.ZodString;
|
|
791
|
+
agentName: z.ZodString;
|
|
792
|
+
accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
793
|
+
account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
794
|
+
id: z.ZodString;
|
|
795
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
796
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
797
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
798
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
799
|
+
} & {
|
|
800
|
+
name: z.ZodString;
|
|
801
|
+
status: z.ZodNativeEnum<typeof import("./common.types").AccountStatus>;
|
|
802
|
+
managedBy: z.ZodNullable<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
803
|
+
platform: z.ZodNativeEnum<typeof import("./common.types").Platform>;
|
|
804
|
+
onboardingReviewerId: z.ZodNullable<z.ZodString>;
|
|
805
|
+
onboardingReviewAt: z.ZodNullable<z.ZodDate>;
|
|
806
|
+
allowPendingComplianceReview: z.ZodBoolean;
|
|
807
|
+
}, "strip", z.ZodTypeAny, {
|
|
808
|
+
status: import("./common.types").AccountStatus;
|
|
809
|
+
id: string;
|
|
810
|
+
createdAt: string | Date;
|
|
811
|
+
updatedAt: string | Date;
|
|
812
|
+
deletedAt: string | Date | null;
|
|
813
|
+
name: string;
|
|
814
|
+
managedBy: ManagedByType | null;
|
|
815
|
+
platform: import("./common.types").Platform;
|
|
816
|
+
onboardingReviewerId: string | null;
|
|
817
|
+
onboardingReviewAt: Date | null;
|
|
818
|
+
allowPendingComplianceReview: boolean;
|
|
819
|
+
__entity?: string | undefined;
|
|
820
|
+
}, {
|
|
821
|
+
status: import("./common.types").AccountStatus;
|
|
822
|
+
id: string;
|
|
823
|
+
createdAt: string | Date;
|
|
824
|
+
updatedAt: string | Date;
|
|
825
|
+
deletedAt: string | Date | null;
|
|
826
|
+
name: string;
|
|
827
|
+
managedBy: ManagedByType | null;
|
|
828
|
+
platform: import("./common.types").Platform;
|
|
829
|
+
onboardingReviewerId: string | null;
|
|
830
|
+
onboardingReviewAt: Date | null;
|
|
831
|
+
allowPendingComplianceReview: boolean;
|
|
832
|
+
__entity?: string | undefined;
|
|
833
|
+
}>>>;
|
|
834
|
+
}, "strip", z.ZodTypeAny, {
|
|
835
|
+
id: string;
|
|
836
|
+
createdAt: string | Date;
|
|
837
|
+
updatedAt: string | Date;
|
|
838
|
+
deletedAt: string | Date | null;
|
|
839
|
+
accountId: string;
|
|
840
|
+
accountName: string;
|
|
841
|
+
agentEmail: string;
|
|
842
|
+
agentName: string;
|
|
843
|
+
__entity?: string | undefined;
|
|
844
|
+
account?: {
|
|
845
|
+
status: import("./common.types").AccountStatus;
|
|
846
|
+
id: string;
|
|
847
|
+
createdAt: string | Date;
|
|
848
|
+
updatedAt: string | Date;
|
|
849
|
+
deletedAt: string | Date | null;
|
|
850
|
+
name: string;
|
|
851
|
+
managedBy: ManagedByType | null;
|
|
852
|
+
platform: import("./common.types").Platform;
|
|
853
|
+
onboardingReviewerId: string | null;
|
|
854
|
+
onboardingReviewAt: Date | null;
|
|
855
|
+
allowPendingComplianceReview: boolean;
|
|
856
|
+
__entity?: string | undefined;
|
|
857
|
+
} | null | undefined;
|
|
858
|
+
accountNumber?: string | null | undefined;
|
|
859
|
+
routingNumber?: string | null | undefined;
|
|
860
|
+
company?: string | null | undefined;
|
|
861
|
+
}, {
|
|
862
|
+
id: string;
|
|
863
|
+
createdAt: string | Date;
|
|
864
|
+
updatedAt: string | Date;
|
|
865
|
+
deletedAt: string | Date | null;
|
|
866
|
+
accountId: string;
|
|
867
|
+
accountName: string;
|
|
868
|
+
agentEmail: string;
|
|
869
|
+
agentName: string;
|
|
870
|
+
__entity?: string | undefined;
|
|
871
|
+
account?: {
|
|
872
|
+
status: import("./common.types").AccountStatus;
|
|
873
|
+
id: string;
|
|
874
|
+
createdAt: string | Date;
|
|
875
|
+
updatedAt: string | Date;
|
|
876
|
+
deletedAt: string | Date | null;
|
|
877
|
+
name: string;
|
|
878
|
+
managedBy: ManagedByType | null;
|
|
879
|
+
platform: import("./common.types").Platform;
|
|
880
|
+
onboardingReviewerId: string | null;
|
|
881
|
+
onboardingReviewAt: Date | null;
|
|
882
|
+
allowPendingComplianceReview: boolean;
|
|
883
|
+
__entity?: string | undefined;
|
|
884
|
+
} | null | undefined;
|
|
885
|
+
accountNumber?: string | null | undefined;
|
|
886
|
+
routingNumber?: string | null | undefined;
|
|
887
|
+
company?: string | null | undefined;
|
|
888
|
+
}>>>>;
|
|
585
889
|
}, "strip", z.ZodTypeAny, {
|
|
586
890
|
type: OfferingType | null;
|
|
587
891
|
id: string;
|
|
@@ -626,6 +930,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
626
930
|
durationType: DurationType | null;
|
|
627
931
|
tiers: number[] | null;
|
|
628
932
|
enableBonus: boolean;
|
|
933
|
+
interestRate: number | null;
|
|
629
934
|
__entity?: string | undefined;
|
|
630
935
|
account?: {
|
|
631
936
|
status: import("./common.types").AccountStatus;
|
|
@@ -663,6 +968,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
663
968
|
memorandumId?: string | null | undefined;
|
|
664
969
|
subscriptionAgreementId?: string | null | undefined;
|
|
665
970
|
showTotalRaised?: boolean | undefined;
|
|
971
|
+
hasEscrow?: boolean | undefined;
|
|
972
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
973
|
+
bankAccountId?: string | null | undefined;
|
|
974
|
+
bankAccount?: any;
|
|
975
|
+
escrowAccountId?: string | null | undefined;
|
|
976
|
+
escrowAccount?: {
|
|
977
|
+
id: string;
|
|
978
|
+
createdAt: string | Date;
|
|
979
|
+
updatedAt: string | Date;
|
|
980
|
+
deletedAt: string | Date | null;
|
|
981
|
+
accountId: string;
|
|
982
|
+
accountName: string;
|
|
983
|
+
agentEmail: string;
|
|
984
|
+
agentName: string;
|
|
985
|
+
__entity?: string | undefined;
|
|
986
|
+
account?: {
|
|
987
|
+
status: import("./common.types").AccountStatus;
|
|
988
|
+
id: string;
|
|
989
|
+
createdAt: string | Date;
|
|
990
|
+
updatedAt: string | Date;
|
|
991
|
+
deletedAt: string | Date | null;
|
|
992
|
+
name: string;
|
|
993
|
+
managedBy: ManagedByType | null;
|
|
994
|
+
platform: import("./common.types").Platform;
|
|
995
|
+
onboardingReviewerId: string | null;
|
|
996
|
+
onboardingReviewAt: Date | null;
|
|
997
|
+
allowPendingComplianceReview: boolean;
|
|
998
|
+
__entity?: string | undefined;
|
|
999
|
+
} | null | undefined;
|
|
1000
|
+
accountNumber?: string | null | undefined;
|
|
1001
|
+
routingNumber?: string | null | undefined;
|
|
1002
|
+
company?: string | null | undefined;
|
|
1003
|
+
} | null | undefined;
|
|
666
1004
|
}, {
|
|
667
1005
|
type: OfferingType | null;
|
|
668
1006
|
id: string;
|
|
@@ -707,6 +1045,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
707
1045
|
durationType: DurationType | null;
|
|
708
1046
|
tiers: number[] | null;
|
|
709
1047
|
enableBonus: boolean;
|
|
1048
|
+
interestRate: number | null;
|
|
710
1049
|
__entity?: string | undefined;
|
|
711
1050
|
account?: {
|
|
712
1051
|
status: import("./common.types").AccountStatus;
|
|
@@ -744,6 +1083,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
744
1083
|
memorandumId?: string | null | undefined;
|
|
745
1084
|
subscriptionAgreementId?: string | null | undefined;
|
|
746
1085
|
showTotalRaised?: boolean | undefined;
|
|
1086
|
+
hasEscrow?: boolean | undefined;
|
|
1087
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1088
|
+
bankAccountId?: string | null | undefined;
|
|
1089
|
+
bankAccount?: any;
|
|
1090
|
+
escrowAccountId?: string | null | undefined;
|
|
1091
|
+
escrowAccount?: {
|
|
1092
|
+
id: string;
|
|
1093
|
+
createdAt: string | Date;
|
|
1094
|
+
updatedAt: string | Date;
|
|
1095
|
+
deletedAt: string | Date | null;
|
|
1096
|
+
accountId: string;
|
|
1097
|
+
accountName: string;
|
|
1098
|
+
agentEmail: string;
|
|
1099
|
+
agentName: string;
|
|
1100
|
+
__entity?: string | undefined;
|
|
1101
|
+
account?: {
|
|
1102
|
+
status: import("./common.types").AccountStatus;
|
|
1103
|
+
id: string;
|
|
1104
|
+
createdAt: string | Date;
|
|
1105
|
+
updatedAt: string | Date;
|
|
1106
|
+
deletedAt: string | Date | null;
|
|
1107
|
+
name: string;
|
|
1108
|
+
managedBy: ManagedByType | null;
|
|
1109
|
+
platform: import("./common.types").Platform;
|
|
1110
|
+
onboardingReviewerId: string | null;
|
|
1111
|
+
onboardingReviewAt: Date | null;
|
|
1112
|
+
allowPendingComplianceReview: boolean;
|
|
1113
|
+
__entity?: string | undefined;
|
|
1114
|
+
} | null | undefined;
|
|
1115
|
+
accountNumber?: string | null | undefined;
|
|
1116
|
+
routingNumber?: string | null | undefined;
|
|
1117
|
+
company?: string | null | undefined;
|
|
1118
|
+
} | null | undefined;
|
|
747
1119
|
}>, "many">;
|
|
748
1120
|
meta: z.ZodObject<{
|
|
749
1121
|
itemCount: z.ZodNumber;
|
|
@@ -809,6 +1181,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
809
1181
|
durationType: DurationType | null;
|
|
810
1182
|
tiers: number[] | null;
|
|
811
1183
|
enableBonus: boolean;
|
|
1184
|
+
interestRate: number | null;
|
|
812
1185
|
__entity?: string | undefined;
|
|
813
1186
|
account?: {
|
|
814
1187
|
status: import("./common.types").AccountStatus;
|
|
@@ -846,6 +1219,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
846
1219
|
memorandumId?: string | null | undefined;
|
|
847
1220
|
subscriptionAgreementId?: string | null | undefined;
|
|
848
1221
|
showTotalRaised?: boolean | undefined;
|
|
1222
|
+
hasEscrow?: boolean | undefined;
|
|
1223
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1224
|
+
bankAccountId?: string | null | undefined;
|
|
1225
|
+
bankAccount?: any;
|
|
1226
|
+
escrowAccountId?: string | null | undefined;
|
|
1227
|
+
escrowAccount?: {
|
|
1228
|
+
id: string;
|
|
1229
|
+
createdAt: string | Date;
|
|
1230
|
+
updatedAt: string | Date;
|
|
1231
|
+
deletedAt: string | Date | null;
|
|
1232
|
+
accountId: string;
|
|
1233
|
+
accountName: string;
|
|
1234
|
+
agentEmail: string;
|
|
1235
|
+
agentName: string;
|
|
1236
|
+
__entity?: string | undefined;
|
|
1237
|
+
account?: {
|
|
1238
|
+
status: import("./common.types").AccountStatus;
|
|
1239
|
+
id: string;
|
|
1240
|
+
createdAt: string | Date;
|
|
1241
|
+
updatedAt: string | Date;
|
|
1242
|
+
deletedAt: string | Date | null;
|
|
1243
|
+
name: string;
|
|
1244
|
+
managedBy: ManagedByType | null;
|
|
1245
|
+
platform: import("./common.types").Platform;
|
|
1246
|
+
onboardingReviewerId: string | null;
|
|
1247
|
+
onboardingReviewAt: Date | null;
|
|
1248
|
+
allowPendingComplianceReview: boolean;
|
|
1249
|
+
__entity?: string | undefined;
|
|
1250
|
+
} | null | undefined;
|
|
1251
|
+
accountNumber?: string | null | undefined;
|
|
1252
|
+
routingNumber?: string | null | undefined;
|
|
1253
|
+
company?: string | null | undefined;
|
|
1254
|
+
} | null | undefined;
|
|
849
1255
|
}[];
|
|
850
1256
|
meta: {
|
|
851
1257
|
itemCount: number;
|
|
@@ -899,6 +1305,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
899
1305
|
durationType: DurationType | null;
|
|
900
1306
|
tiers: number[] | null;
|
|
901
1307
|
enableBonus: boolean;
|
|
1308
|
+
interestRate: number | null;
|
|
902
1309
|
__entity?: string | undefined;
|
|
903
1310
|
account?: {
|
|
904
1311
|
status: import("./common.types").AccountStatus;
|
|
@@ -936,6 +1343,39 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
936
1343
|
memorandumId?: string | null | undefined;
|
|
937
1344
|
subscriptionAgreementId?: string | null | undefined;
|
|
938
1345
|
showTotalRaised?: boolean | undefined;
|
|
1346
|
+
hasEscrow?: boolean | undefined;
|
|
1347
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1348
|
+
bankAccountId?: string | null | undefined;
|
|
1349
|
+
bankAccount?: any;
|
|
1350
|
+
escrowAccountId?: string | null | undefined;
|
|
1351
|
+
escrowAccount?: {
|
|
1352
|
+
id: string;
|
|
1353
|
+
createdAt: string | Date;
|
|
1354
|
+
updatedAt: string | Date;
|
|
1355
|
+
deletedAt: string | Date | null;
|
|
1356
|
+
accountId: string;
|
|
1357
|
+
accountName: string;
|
|
1358
|
+
agentEmail: string;
|
|
1359
|
+
agentName: string;
|
|
1360
|
+
__entity?: string | undefined;
|
|
1361
|
+
account?: {
|
|
1362
|
+
status: import("./common.types").AccountStatus;
|
|
1363
|
+
id: string;
|
|
1364
|
+
createdAt: string | Date;
|
|
1365
|
+
updatedAt: string | Date;
|
|
1366
|
+
deletedAt: string | Date | null;
|
|
1367
|
+
name: string;
|
|
1368
|
+
managedBy: ManagedByType | null;
|
|
1369
|
+
platform: import("./common.types").Platform;
|
|
1370
|
+
onboardingReviewerId: string | null;
|
|
1371
|
+
onboardingReviewAt: Date | null;
|
|
1372
|
+
allowPendingComplianceReview: boolean;
|
|
1373
|
+
__entity?: string | undefined;
|
|
1374
|
+
} | null | undefined;
|
|
1375
|
+
accountNumber?: string | null | undefined;
|
|
1376
|
+
routingNumber?: string | null | undefined;
|
|
1377
|
+
company?: string | null | undefined;
|
|
1378
|
+
} | null | undefined;
|
|
939
1379
|
}[];
|
|
940
1380
|
meta: {
|
|
941
1381
|
itemCount: number;
|
|
@@ -971,6 +1411,46 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
971
1411
|
template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
|
|
972
1412
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
973
1413
|
enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1414
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1415
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1416
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1417
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1418
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1419
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1420
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1421
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1422
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1423
|
+
}, "strip", z.ZodTypeAny, {
|
|
1424
|
+
value: number;
|
|
1425
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1426
|
+
startAmount: number;
|
|
1427
|
+
endAmount: number;
|
|
1428
|
+
}, {
|
|
1429
|
+
value: number;
|
|
1430
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1431
|
+
startAmount: number;
|
|
1432
|
+
endAmount: number;
|
|
1433
|
+
}>, {
|
|
1434
|
+
value: number;
|
|
1435
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1436
|
+
startAmount: number;
|
|
1437
|
+
endAmount: number;
|
|
1438
|
+
}, {
|
|
1439
|
+
value: number;
|
|
1440
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1441
|
+
startAmount: number;
|
|
1442
|
+
endAmount: number;
|
|
1443
|
+
}>, {
|
|
1444
|
+
value: number;
|
|
1445
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1446
|
+
startAmount: number;
|
|
1447
|
+
endAmount: number;
|
|
1448
|
+
}, {
|
|
1449
|
+
value: number;
|
|
1450
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1451
|
+
startAmount: number;
|
|
1452
|
+
endAmount: number;
|
|
1453
|
+
}>, "many">>;
|
|
974
1454
|
}, "strip", z.ZodTypeAny, {
|
|
975
1455
|
type: OfferingType;
|
|
976
1456
|
name: string;
|
|
@@ -991,11 +1471,21 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
991
1471
|
startAt?: Date | null | undefined;
|
|
992
1472
|
endAt?: Date | null | undefined;
|
|
993
1473
|
cancellationPeriod?: number | null | undefined;
|
|
1474
|
+
hasEscrow?: boolean | undefined;
|
|
1475
|
+
bankAccountId?: string | null | undefined;
|
|
1476
|
+
escrowAccountId?: string | null | undefined;
|
|
994
1477
|
yield?: number | null | undefined;
|
|
995
1478
|
duration?: number | null | undefined;
|
|
996
1479
|
durationType?: DurationType | null | undefined;
|
|
997
1480
|
tiers?: number[] | null | undefined;
|
|
998
1481
|
enableBonus?: boolean | undefined;
|
|
1482
|
+
interestRate?: number | null | undefined;
|
|
1483
|
+
bonusTiers?: {
|
|
1484
|
+
value: number;
|
|
1485
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1486
|
+
startAmount: number;
|
|
1487
|
+
endAmount: number;
|
|
1488
|
+
}[] | undefined;
|
|
999
1489
|
}, {
|
|
1000
1490
|
type: OfferingType;
|
|
1001
1491
|
name: string;
|
|
@@ -1016,11 +1506,21 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1016
1506
|
startAt?: string | null | undefined;
|
|
1017
1507
|
endAt?: string | null | undefined;
|
|
1018
1508
|
cancellationPeriod?: number | null | undefined;
|
|
1509
|
+
hasEscrow?: boolean | undefined;
|
|
1510
|
+
bankAccountId?: string | null | undefined;
|
|
1511
|
+
escrowAccountId?: string | null | undefined;
|
|
1019
1512
|
yield?: number | null | undefined;
|
|
1020
1513
|
duration?: number | null | undefined;
|
|
1021
1514
|
durationType?: DurationType | null | undefined;
|
|
1022
1515
|
tiers?: number[] | null | undefined;
|
|
1023
1516
|
enableBonus?: boolean | undefined;
|
|
1517
|
+
interestRate?: number | null | undefined;
|
|
1518
|
+
bonusTiers?: {
|
|
1519
|
+
value: number;
|
|
1520
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1521
|
+
startAmount: number;
|
|
1522
|
+
endAmount: number;
|
|
1523
|
+
}[] | undefined;
|
|
1024
1524
|
}>, {
|
|
1025
1525
|
type: OfferingType;
|
|
1026
1526
|
name: string;
|
|
@@ -1041,11 +1541,21 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1041
1541
|
startAt?: Date | null | undefined;
|
|
1042
1542
|
endAt?: Date | null | undefined;
|
|
1043
1543
|
cancellationPeriod?: number | null | undefined;
|
|
1544
|
+
hasEscrow?: boolean | undefined;
|
|
1545
|
+
bankAccountId?: string | null | undefined;
|
|
1546
|
+
escrowAccountId?: string | null | undefined;
|
|
1044
1547
|
yield?: number | null | undefined;
|
|
1045
1548
|
duration?: number | null | undefined;
|
|
1046
1549
|
durationType?: DurationType | null | undefined;
|
|
1047
1550
|
tiers?: number[] | null | undefined;
|
|
1048
1551
|
enableBonus?: boolean | undefined;
|
|
1552
|
+
interestRate?: number | null | undefined;
|
|
1553
|
+
bonusTiers?: {
|
|
1554
|
+
value: number;
|
|
1555
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1556
|
+
startAmount: number;
|
|
1557
|
+
endAmount: number;
|
|
1558
|
+
}[] | undefined;
|
|
1049
1559
|
}, {
|
|
1050
1560
|
type: OfferingType;
|
|
1051
1561
|
name: string;
|
|
@@ -1066,14 +1576,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1066
1576
|
startAt?: string | null | undefined;
|
|
1067
1577
|
endAt?: string | null | undefined;
|
|
1068
1578
|
cancellationPeriod?: number | null | undefined;
|
|
1579
|
+
hasEscrow?: boolean | undefined;
|
|
1580
|
+
bankAccountId?: string | null | undefined;
|
|
1581
|
+
escrowAccountId?: string | null | undefined;
|
|
1069
1582
|
yield?: number | null | undefined;
|
|
1070
1583
|
duration?: number | null | undefined;
|
|
1071
1584
|
durationType?: DurationType | null | undefined;
|
|
1072
1585
|
tiers?: number[] | null | undefined;
|
|
1073
1586
|
enableBonus?: boolean | undefined;
|
|
1587
|
+
interestRate?: number | null | undefined;
|
|
1588
|
+
bonusTiers?: {
|
|
1589
|
+
value: number;
|
|
1590
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1591
|
+
startAmount: number;
|
|
1592
|
+
endAmount: number;
|
|
1593
|
+
}[] | undefined;
|
|
1074
1594
|
}>;
|
|
1075
1595
|
export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
|
|
1076
|
-
export declare const PatchIssuerOffering: z.ZodObject<{
|
|
1596
|
+
export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
1077
1597
|
name: z.ZodOptional<z.ZodString>;
|
|
1078
1598
|
type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
|
|
1079
1599
|
targetAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1087,7 +1607,6 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1087
1607
|
memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1088
1608
|
subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1089
1609
|
coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1090
|
-
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
1091
1610
|
showTotalRaised: z.ZodOptional<z.ZodBoolean>;
|
|
1092
1611
|
issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1093
1612
|
assetName: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,10 +1620,50 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1101
1620
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1102
1621
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1103
1622
|
enableBonus: z.ZodOptional<z.ZodBoolean>;
|
|
1623
|
+
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1624
|
+
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1625
|
+
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1626
|
+
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1627
|
+
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1628
|
+
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1629
|
+
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1630
|
+
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1631
|
+
startAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1632
|
+
endAmount: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1633
|
+
}, "strip", z.ZodTypeAny, {
|
|
1634
|
+
value: number;
|
|
1635
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1636
|
+
startAmount: number;
|
|
1637
|
+
endAmount: number;
|
|
1638
|
+
}, {
|
|
1639
|
+
value: number;
|
|
1640
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1641
|
+
startAmount: number;
|
|
1642
|
+
endAmount: number;
|
|
1643
|
+
}>, {
|
|
1644
|
+
value: number;
|
|
1645
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1646
|
+
startAmount: number;
|
|
1647
|
+
endAmount: number;
|
|
1648
|
+
}, {
|
|
1649
|
+
value: number;
|
|
1650
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1651
|
+
startAmount: number;
|
|
1652
|
+
endAmount: number;
|
|
1653
|
+
}>, {
|
|
1654
|
+
value: number;
|
|
1655
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1656
|
+
startAmount: number;
|
|
1657
|
+
endAmount: number;
|
|
1658
|
+
}, {
|
|
1659
|
+
value: number;
|
|
1660
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1661
|
+
startAmount: number;
|
|
1662
|
+
endAmount: number;
|
|
1663
|
+
}>, "many">>;
|
|
1104
1664
|
}, "strip", z.ZodTypeAny, {
|
|
1105
1665
|
type?: OfferingType | undefined;
|
|
1106
1666
|
name?: string | undefined;
|
|
1107
|
-
managedBy?: ManagedByType | undefined;
|
|
1108
1667
|
description?: string | null | undefined;
|
|
1109
1668
|
enabled?: boolean | undefined;
|
|
1110
1669
|
template?: AssetTemplateType | null | undefined;
|
|
@@ -1120,6 +1679,10 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1120
1679
|
memorandumId?: string | null | undefined;
|
|
1121
1680
|
subscriptionAgreementId?: string | null | undefined;
|
|
1122
1681
|
showTotalRaised?: boolean | undefined;
|
|
1682
|
+
hasEscrow?: boolean | undefined;
|
|
1683
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1684
|
+
bankAccountId?: string | null | undefined;
|
|
1685
|
+
escrowAccountId?: string | null | undefined;
|
|
1123
1686
|
assetName?: string | undefined;
|
|
1124
1687
|
assetType?: AssetType | undefined;
|
|
1125
1688
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1129,10 +1692,92 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1129
1692
|
durationType?: DurationType | null | undefined;
|
|
1130
1693
|
tiers?: number[] | null | undefined;
|
|
1131
1694
|
enableBonus?: boolean | undefined;
|
|
1695
|
+
interestRate?: number | null | undefined;
|
|
1696
|
+
bonusTiers?: {
|
|
1697
|
+
value: number;
|
|
1698
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1699
|
+
startAmount: number;
|
|
1700
|
+
endAmount: number;
|
|
1701
|
+
}[] | undefined;
|
|
1702
|
+
}, {
|
|
1703
|
+
type?: OfferingType | undefined;
|
|
1704
|
+
name?: string | undefined;
|
|
1705
|
+
description?: string | null | undefined;
|
|
1706
|
+
enabled?: boolean | undefined;
|
|
1707
|
+
template?: AssetTemplateType | null | undefined;
|
|
1708
|
+
coverArtId?: string | null | undefined;
|
|
1709
|
+
targetAmount?: number | undefined;
|
|
1710
|
+
minInvestment?: number | null | undefined;
|
|
1711
|
+
maxInvestment?: number | null | undefined;
|
|
1712
|
+
contingencyAmount?: number | null | undefined;
|
|
1713
|
+
startAt?: string | null | undefined;
|
|
1714
|
+
endAt?: string | null | undefined;
|
|
1715
|
+
issuerId?: string | undefined;
|
|
1716
|
+
cancellationPeriod?: number | null | undefined;
|
|
1717
|
+
memorandumId?: string | null | undefined;
|
|
1718
|
+
subscriptionAgreementId?: string | null | undefined;
|
|
1719
|
+
showTotalRaised?: boolean | undefined;
|
|
1720
|
+
hasEscrow?: boolean | undefined;
|
|
1721
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1722
|
+
bankAccountId?: string | null | undefined;
|
|
1723
|
+
escrowAccountId?: string | null | undefined;
|
|
1724
|
+
assetName?: string | undefined;
|
|
1725
|
+
assetType?: AssetType | undefined;
|
|
1726
|
+
pricePerUnit?: number | null | undefined;
|
|
1727
|
+
totalUnits?: number | null | undefined;
|
|
1728
|
+
yield?: number | null | undefined;
|
|
1729
|
+
duration?: number | null | undefined;
|
|
1730
|
+
durationType?: DurationType | null | undefined;
|
|
1731
|
+
tiers?: number[] | null | undefined;
|
|
1732
|
+
enableBonus?: boolean | undefined;
|
|
1733
|
+
interestRate?: number | null | undefined;
|
|
1734
|
+
bonusTiers?: {
|
|
1735
|
+
value: number;
|
|
1736
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1737
|
+
startAmount: number;
|
|
1738
|
+
endAmount: number;
|
|
1739
|
+
}[] | undefined;
|
|
1740
|
+
}>, {
|
|
1741
|
+
type?: OfferingType | undefined;
|
|
1742
|
+
name?: string | undefined;
|
|
1743
|
+
description?: string | null | undefined;
|
|
1744
|
+
enabled?: boolean | undefined;
|
|
1745
|
+
template?: AssetTemplateType | null | undefined;
|
|
1746
|
+
coverArtId?: string | null | undefined;
|
|
1747
|
+
targetAmount?: number | undefined;
|
|
1748
|
+
minInvestment?: number | null | undefined;
|
|
1749
|
+
maxInvestment?: number | null | undefined;
|
|
1750
|
+
contingencyAmount?: number | null | undefined;
|
|
1751
|
+
startAt?: Date | null | undefined;
|
|
1752
|
+
endAt?: Date | null | undefined;
|
|
1753
|
+
issuerId?: string | undefined;
|
|
1754
|
+
cancellationPeriod?: number | null | undefined;
|
|
1755
|
+
memorandumId?: string | null | undefined;
|
|
1756
|
+
subscriptionAgreementId?: string | null | undefined;
|
|
1757
|
+
showTotalRaised?: boolean | undefined;
|
|
1758
|
+
hasEscrow?: boolean | undefined;
|
|
1759
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1760
|
+
bankAccountId?: string | null | undefined;
|
|
1761
|
+
escrowAccountId?: string | null | undefined;
|
|
1762
|
+
assetName?: string | undefined;
|
|
1763
|
+
assetType?: AssetType | undefined;
|
|
1764
|
+
pricePerUnit?: number | null | undefined;
|
|
1765
|
+
totalUnits?: number | null | undefined;
|
|
1766
|
+
yield?: number | null | undefined;
|
|
1767
|
+
duration?: number | null | undefined;
|
|
1768
|
+
durationType?: DurationType | null | undefined;
|
|
1769
|
+
tiers?: number[] | null | undefined;
|
|
1770
|
+
enableBonus?: boolean | undefined;
|
|
1771
|
+
interestRate?: number | null | undefined;
|
|
1772
|
+
bonusTiers?: {
|
|
1773
|
+
value: number;
|
|
1774
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1775
|
+
startAmount: number;
|
|
1776
|
+
endAmount: number;
|
|
1777
|
+
}[] | undefined;
|
|
1132
1778
|
}, {
|
|
1133
1779
|
type?: OfferingType | undefined;
|
|
1134
1780
|
name?: string | undefined;
|
|
1135
|
-
managedBy?: ManagedByType | undefined;
|
|
1136
1781
|
description?: string | null | undefined;
|
|
1137
1782
|
enabled?: boolean | undefined;
|
|
1138
1783
|
template?: AssetTemplateType | null | undefined;
|
|
@@ -1148,6 +1793,10 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1148
1793
|
memorandumId?: string | null | undefined;
|
|
1149
1794
|
subscriptionAgreementId?: string | null | undefined;
|
|
1150
1795
|
showTotalRaised?: boolean | undefined;
|
|
1796
|
+
hasEscrow?: boolean | undefined;
|
|
1797
|
+
escrowAgreementFileId?: string | null | undefined;
|
|
1798
|
+
bankAccountId?: string | null | undefined;
|
|
1799
|
+
escrowAccountId?: string | null | undefined;
|
|
1151
1800
|
assetName?: string | undefined;
|
|
1152
1801
|
assetType?: AssetType | undefined;
|
|
1153
1802
|
pricePerUnit?: number | null | undefined;
|
|
@@ -1157,6 +1806,13 @@ export declare const PatchIssuerOffering: z.ZodObject<{
|
|
|
1157
1806
|
durationType?: DurationType | null | undefined;
|
|
1158
1807
|
tiers?: number[] | null | undefined;
|
|
1159
1808
|
enableBonus?: boolean | undefined;
|
|
1809
|
+
interestRate?: number | null | undefined;
|
|
1810
|
+
bonusTiers?: {
|
|
1811
|
+
value: number;
|
|
1812
|
+
type: import("./bonus-tier.types").BonusType;
|
|
1813
|
+
startAmount: number;
|
|
1814
|
+
endAmount: number;
|
|
1815
|
+
}[] | undefined;
|
|
1160
1816
|
}>;
|
|
1161
1817
|
export type PatchIssuerOffering = z.infer<typeof PatchIssuerOffering>;
|
|
1162
1818
|
/**
|
|
@@ -1243,3 +1899,4 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
|
|
|
1243
1899
|
sortByNameASC?: unknown;
|
|
1244
1900
|
}>;
|
|
1245
1901
|
export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
|
|
1902
|
+
export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
|