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