@dalmore/api-contracts 0.0.0-dev.b823e2b → 0.0.0-dev.c1dc422
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/activity.types.d.ts +24 -26
- package/common/types/activity.types.js +0 -4
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +111 -25
- package/common/types/asset.types.js +100 -24
- package/common/types/asset.types.js.map +1 -1
- package/common/types/bonus-tier.types.d.ts +30 -0
- package/common/types/cap-table.types.d.ts +0 -15
- package/common/types/cap-table.types.js +0 -17
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/common.types.d.ts +1 -11
- package/common/types/common.types.js +0 -6
- package/common/types/common.types.js.map +1 -1
- package/common/types/dashboard.types.d.ts +7 -7
- package/common/types/file.types.d.ts +9 -10
- package/common/types/index.d.ts +0 -1
- package/common/types/index.js +0 -1
- package/common/types/index.js.map +1 -1
- package/common/types/issuer-offering.types.d.ts +67 -1
- package/common/types/issuer-offering.types.js +45 -3
- 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 +0 -198
- package/common/types/offering-submission.types.js +3 -16
- package/common/types/offering-submission.types.js.map +1 -1
- package/common/types/offering.types.d.ts +40 -1
- package/common/types/offering.types.js +43 -1
- package/common/types/offering.types.js.map +1 -1
- package/common/types/site.types.d.ts +15 -0
- package/common/types/task.types.d.ts +22 -22
- package/common/types/user.types.d.ts +0 -29
- package/common/types/user.types.js +0 -3
- package/common/types/user.types.js.map +1 -1
- package/contracts/clients/assets/index.d.ts +66 -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 +102 -6
- package/contracts/clients/offerings/index.d.ts +30 -0
- package/package.json +1 -1
- package/common/types/reports.types.d.ts +0 -345
- package/common/types/reports.types.js +0 -69
- package/common/types/reports.types.js.map +0 -1
|
@@ -368,7 +368,7 @@ export declare const IssuerDashboardZod: z.ZodObject<{
|
|
|
368
368
|
taskType: z.ZodNullable<z.ZodNativeEnum<typeof import("./task.types").TaskType>>;
|
|
369
369
|
priority: z.ZodNullable<z.ZodNativeEnum<typeof import("./task.types").TaskPriority>>;
|
|
370
370
|
isTemplate: z.ZodBoolean;
|
|
371
|
-
targetTable: z.ZodEnum<["KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
371
|
+
targetTable: z.ZodEnum<["KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES", ...("KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES")[]]>;
|
|
372
372
|
targetId: z.ZodString;
|
|
373
373
|
actionUrl: z.ZodNullable<z.ZodString>;
|
|
374
374
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -381,7 +381,7 @@ export declare const IssuerDashboardZod: z.ZodObject<{
|
|
|
381
381
|
title: string;
|
|
382
382
|
portalType: import("./common.types").PortalType | null;
|
|
383
383
|
targetId: string;
|
|
384
|
-
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
384
|
+
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES";
|
|
385
385
|
templateName: string | null;
|
|
386
386
|
assigneeId: string | null;
|
|
387
387
|
createdById: string;
|
|
@@ -402,7 +402,7 @@ export declare const IssuerDashboardZod: z.ZodObject<{
|
|
|
402
402
|
title: string;
|
|
403
403
|
portalType: import("./common.types").PortalType | null;
|
|
404
404
|
targetId: string;
|
|
405
|
-
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
405
|
+
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES";
|
|
406
406
|
templateName: string | null;
|
|
407
407
|
assigneeId: string | null;
|
|
408
408
|
createdById: string;
|
|
@@ -423,7 +423,7 @@ export declare const IssuerDashboardZod: z.ZodObject<{
|
|
|
423
423
|
title: string;
|
|
424
424
|
portalType: import("./common.types").PortalType | null;
|
|
425
425
|
targetId: string;
|
|
426
|
-
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
426
|
+
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES";
|
|
427
427
|
templateName: string | null;
|
|
428
428
|
assigneeId: string | null;
|
|
429
429
|
createdById: string;
|
|
@@ -444,7 +444,7 @@ export declare const IssuerDashboardZod: z.ZodObject<{
|
|
|
444
444
|
title: string;
|
|
445
445
|
portalType: import("./common.types").PortalType | null;
|
|
446
446
|
targetId: string;
|
|
447
|
-
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
447
|
+
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES";
|
|
448
448
|
templateName: string | null;
|
|
449
449
|
assigneeId: string | null;
|
|
450
450
|
createdById: string;
|
|
@@ -478,7 +478,7 @@ export declare const IssuerDashboardZod: z.ZodObject<{
|
|
|
478
478
|
title: string;
|
|
479
479
|
portalType: import("./common.types").PortalType | null;
|
|
480
480
|
targetId: string;
|
|
481
|
-
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
481
|
+
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES";
|
|
482
482
|
templateName: string | null;
|
|
483
483
|
assigneeId: string | null;
|
|
484
484
|
createdById: string;
|
|
@@ -547,7 +547,7 @@ export declare const IssuerDashboardZod: z.ZodObject<{
|
|
|
547
547
|
title: string;
|
|
548
548
|
portalType: import("./common.types").PortalType | null;
|
|
549
549
|
targetId: string;
|
|
550
|
-
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
550
|
+
targetTable: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES";
|
|
551
551
|
templateName: string | null;
|
|
552
552
|
assigneeId: string | null;
|
|
553
553
|
createdById: string;
|
|
@@ -158,20 +158,20 @@ export declare const FileFilters: z.ZodObject<{
|
|
|
158
158
|
label: z.ZodOptional<z.ZodString>;
|
|
159
159
|
targetId: z.ZodOptional<z.ZodString>;
|
|
160
160
|
fileType: z.ZodOptional<z.ZodString>;
|
|
161
|
-
targetTable: z.ZodOptional<z.ZodEnum<["KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
161
|
+
targetTable: z.ZodOptional<z.ZodEnum<["KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES", ...("KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES")[]]>>;
|
|
162
162
|
includeLinkedFrom: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, boolean, string | undefined>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
164
|
includeLinkedFrom: boolean;
|
|
165
165
|
name?: string | undefined;
|
|
166
166
|
targetId?: string | undefined;
|
|
167
|
-
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" |
|
|
167
|
+
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" | undefined;
|
|
168
168
|
fileType?: string | undefined;
|
|
169
169
|
category?: string | undefined;
|
|
170
170
|
label?: string | undefined;
|
|
171
171
|
}, {
|
|
172
172
|
name?: string | undefined;
|
|
173
173
|
targetId?: string | undefined;
|
|
174
|
-
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" |
|
|
174
|
+
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" | undefined;
|
|
175
175
|
fileType?: string | undefined;
|
|
176
176
|
category?: string | undefined;
|
|
177
177
|
label?: string | undefined;
|
|
@@ -184,22 +184,22 @@ export declare const filesInclude: z.ZodEnum<["user", "account"]>;
|
|
|
184
184
|
*/
|
|
185
185
|
export declare const FilesIncludeQuery: z.ZodObject<{
|
|
186
186
|
include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
|
|
187
|
-
targetTable: z.ZodOptional<z.ZodEnum<["KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
187
|
+
targetTable: z.ZodOptional<z.ZodEnum<["KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES", ...("KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES")[]]>>;
|
|
188
188
|
targetId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
190
|
include: string[];
|
|
191
191
|
targetId?: string | undefined;
|
|
192
|
-
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" |
|
|
192
|
+
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" | undefined;
|
|
193
193
|
}, {
|
|
194
194
|
include?: string | undefined;
|
|
195
195
|
targetId?: string | undefined;
|
|
196
|
-
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" |
|
|
196
|
+
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" | undefined;
|
|
197
197
|
}>;
|
|
198
198
|
export interface FilesIncludeQuery extends z.infer<typeof FilesIncludeQuery> {
|
|
199
199
|
}
|
|
200
200
|
export declare const ComplianceFilesIncludeQuery: z.ZodObject<{
|
|
201
201
|
include: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
|
|
202
|
-
targetTable: z.ZodOptional<z.ZodEnum<["KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES"
|
|
202
|
+
targetTable: z.ZodOptional<z.ZodEnum<["KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES", ...("KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES")[]]>>;
|
|
203
203
|
targetId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
|
|
204
204
|
status: z.ZodOptional<z.ZodNativeEnum<typeof FileStatus>>;
|
|
205
205
|
label: z.ZodOptional<z.ZodNativeEnum<{
|
|
@@ -220,7 +220,6 @@ export declare const ComplianceFilesIncludeQuery: z.ZodObject<{
|
|
|
220
220
|
readonly OTHER: import("./common.types").OtherFileLabels.OTHER;
|
|
221
221
|
readonly COMPLIANCE_REQUEST: import("./common.types").OtherFileLabels.COMPLIANCE_REQUEST;
|
|
222
222
|
readonly SUB_DOC: import("./common.types").OtherFileLabels.SUB_DOC;
|
|
223
|
-
readonly CONTENT_FILE: import("./common.types").OtherFileLabels.CONTENT_FILE;
|
|
224
223
|
readonly BAD_ACTOR_REPORT_FILE: import("./common.types").CoveredPersonFileLabels.BAD_ACTOR_REPORT_FILE;
|
|
225
224
|
readonly PROOF_OF_INCOME: import("./common.types").AccreditationFileLabels.PROOF_OF_INCOME;
|
|
226
225
|
readonly PROOF_OF_NET_WORTH: import("./common.types").AccreditationFileLabels.PROOF_OF_NET_WORTH;
|
|
@@ -239,7 +238,7 @@ export declare const ComplianceFilesIncludeQuery: z.ZodObject<{
|
|
|
239
238
|
status?: FileStatus | undefined;
|
|
240
239
|
accountId?: string | undefined;
|
|
241
240
|
complianceReview?: ComplianceReview | undefined;
|
|
242
|
-
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" |
|
|
241
|
+
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" | undefined;
|
|
243
242
|
label?: import("./common.types").AccreditationFileLabels | import("./common.types").CoveredPersonFileLabels.BAD_ACTOR_REPORT_FILE | import("./common.types").OtherFileLabels | import("./common.types").RetirementFileLabels | import("./common.types").SiteBrandingFileLabels | import("./common.types").OfferingFileLabels.MEMORANDUM | import("./common.types").OfferingFileLabels.SUBSCRIPTION_AGREEMENT | import("./common.types").OfferingFileLabels.ESCROW_AGREEMENT | import("./common.types").IssuerFileLabels | import("./common.types").IdentityFileLabels | import("./common.types").TradeFileLables | undefined;
|
|
244
243
|
pipeline?: ADFFileProcessingPipeline | undefined;
|
|
245
244
|
}, {
|
|
@@ -248,7 +247,7 @@ export declare const ComplianceFilesIncludeQuery: z.ZodObject<{
|
|
|
248
247
|
complianceReview?: ComplianceReview | undefined;
|
|
249
248
|
include?: string | undefined;
|
|
250
249
|
targetId?: string | undefined;
|
|
251
|
-
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" |
|
|
250
|
+
targetTable?: "KYCS" | "AMLS" | "AICS" | "KYBS" | "INDIVIDUALS" | "LEGAL_ENTITIES" | "INVESTOR_ACCOUNTS" | "TRADES" | "OFFERINGS" | "ISSUERS" | "COVERED_PERSONS" | "PAYMENT_METHODS" | "NOTES" | "USERS" | "ACCOUNTS" | "PAGES" | "TASKS" | "FILES" | "DATA_RECORD_FILES" | "ASSETS" | "SITES" | "PAGE_REVISIONS" | "TRADE_LINE_ITEMS" | "TRANSACTIONS" | "DISBURSEMENTS" | "DISBURSEMENT_REVIEWS" | "ISSUER_PAYMENT_METHODS" | "SIGNER_BRANDS" | "THEMES" | "THEME_SETTINGS" | "CAP_TABLES" | "CAP_TABLE_SHARE_CLASSES" | "CAP_TABLE_ENTRIES" | undefined;
|
|
252
251
|
label?: import("./common.types").AccreditationFileLabels | import("./common.types").CoveredPersonFileLabels.BAD_ACTOR_REPORT_FILE | import("./common.types").OtherFileLabels | import("./common.types").RetirementFileLabels | import("./common.types").SiteBrandingFileLabels | import("./common.types").OfferingFileLabels.MEMORANDUM | import("./common.types").OfferingFileLabels.SUBSCRIPTION_AGREEMENT | import("./common.types").OfferingFileLabels.ESCROW_AGREEMENT | import("./common.types").IssuerFileLabels | import("./common.types").IdentityFileLabels | import("./common.types").TradeFileLables | undefined;
|
|
253
252
|
pipeline?: ADFFileProcessingPipeline | undefined;
|
|
254
253
|
}>;
|
package/common/types/index.d.ts
CHANGED
|
@@ -42,7 +42,6 @@ export * from './domain-filter.types';
|
|
|
42
42
|
export * from './aic.types';
|
|
43
43
|
export * from './default-theme-config.types';
|
|
44
44
|
export * from './offering-reports.types';
|
|
45
|
-
export * from './reports.types';
|
|
46
45
|
export * from './i-will-do-it-later.types';
|
|
47
46
|
export * from './payment-methods.types';
|
|
48
47
|
export * from './cap-table.types';
|
package/common/types/index.js
CHANGED
|
@@ -42,7 +42,6 @@ export * from './domain-filter.types.js';
|
|
|
42
42
|
export * from './aic.types.js';
|
|
43
43
|
export * from './default-theme-config.types.js';
|
|
44
44
|
export * from './offering-reports.types.js';
|
|
45
|
-
export * from './reports.types.js';
|
|
46
45
|
export * from './i-will-do-it-later.types.js';
|
|
47
46
|
export * from './payment-methods.types.js';
|
|
48
47
|
export * from './cap-table.types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAElC,MAAM,CAAN,IAAY,QAEX;AAFD,WAAY,QAAQ;IAClB,qBAAS,CAAA;AACX,CAAC,EAFW,QAAQ,KAAR,QAAQ,QAEnB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod } from './common.types';
|
|
3
|
-
import { AssetTemplateType } from './asset.types';
|
|
3
|
+
import { AssetTemplateType, InterestType } from './asset.types';
|
|
4
4
|
export declare enum OfferingStatus {
|
|
5
5
|
ONBOARDING = "ONBOARDING",
|
|
6
6
|
IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
|
|
@@ -134,7 +134,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
134
134
|
template: z.ZodNativeEnum<typeof AssetTemplateType>;
|
|
135
135
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
136
136
|
enableBonus: z.ZodBoolean;
|
|
137
|
+
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
138
|
+
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
137
139
|
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
140
|
+
interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
|
|
138
141
|
}, "strip", z.ZodTypeAny, {
|
|
139
142
|
type: AssetType | null;
|
|
140
143
|
id: string;
|
|
@@ -153,7 +156,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
153
156
|
durationType: DurationType | null;
|
|
154
157
|
tiers: number[] | null;
|
|
155
158
|
enableBonus: boolean;
|
|
159
|
+
principalAmount: number | null;
|
|
160
|
+
maxTotalRaise: number | null;
|
|
156
161
|
interestRate: number | null;
|
|
162
|
+
interestType: InterestType | null;
|
|
157
163
|
__entity?: string | undefined;
|
|
158
164
|
account?: {
|
|
159
165
|
status: import("./common.types").AccountStatus;
|
|
@@ -188,7 +194,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
188
194
|
durationType: DurationType | null;
|
|
189
195
|
tiers: number[] | null;
|
|
190
196
|
enableBonus: boolean;
|
|
197
|
+
principalAmount: number | null;
|
|
198
|
+
maxTotalRaise: number | null;
|
|
191
199
|
interestRate: number | null;
|
|
200
|
+
interestType: InterestType | null;
|
|
192
201
|
__entity?: string | undefined;
|
|
193
202
|
account?: {
|
|
194
203
|
status: import("./common.types").AccountStatus;
|
|
@@ -374,7 +383,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
374
383
|
durationType: DurationType | null;
|
|
375
384
|
tiers: number[] | null;
|
|
376
385
|
enableBonus: boolean;
|
|
386
|
+
principalAmount: number | null;
|
|
387
|
+
maxTotalRaise: number | null;
|
|
377
388
|
interestRate: number | null;
|
|
389
|
+
interestType: InterestType | null;
|
|
378
390
|
__entity?: string | undefined;
|
|
379
391
|
account?: {
|
|
380
392
|
status: import("./common.types").AccountStatus;
|
|
@@ -489,7 +501,10 @@ export declare const IIssuerOffering: z.ZodObject<{
|
|
|
489
501
|
durationType: DurationType | null;
|
|
490
502
|
tiers: number[] | null;
|
|
491
503
|
enableBonus: boolean;
|
|
504
|
+
principalAmount: number | null;
|
|
505
|
+
maxTotalRaise: number | null;
|
|
492
506
|
interestRate: number | null;
|
|
507
|
+
interestType: InterestType | null;
|
|
493
508
|
__entity?: string | undefined;
|
|
494
509
|
account?: {
|
|
495
510
|
status: import("./common.types").AccountStatus;
|
|
@@ -690,7 +705,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
690
705
|
template: z.ZodNativeEnum<typeof AssetTemplateType>;
|
|
691
706
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
692
707
|
enableBonus: z.ZodBoolean;
|
|
708
|
+
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
709
|
+
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
693
710
|
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
711
|
+
interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
|
|
694
712
|
}, "strip", z.ZodTypeAny, {
|
|
695
713
|
type: AssetType | null;
|
|
696
714
|
id: string;
|
|
@@ -709,7 +727,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
709
727
|
durationType: DurationType | null;
|
|
710
728
|
tiers: number[] | null;
|
|
711
729
|
enableBonus: boolean;
|
|
730
|
+
principalAmount: number | null;
|
|
731
|
+
maxTotalRaise: number | null;
|
|
712
732
|
interestRate: number | null;
|
|
733
|
+
interestType: InterestType | null;
|
|
713
734
|
__entity?: string | undefined;
|
|
714
735
|
account?: {
|
|
715
736
|
status: import("./common.types").AccountStatus;
|
|
@@ -744,7 +765,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
744
765
|
durationType: DurationType | null;
|
|
745
766
|
tiers: number[] | null;
|
|
746
767
|
enableBonus: boolean;
|
|
768
|
+
principalAmount: number | null;
|
|
769
|
+
maxTotalRaise: number | null;
|
|
747
770
|
interestRate: number | null;
|
|
771
|
+
interestType: InterestType | null;
|
|
748
772
|
__entity?: string | undefined;
|
|
749
773
|
account?: {
|
|
750
774
|
status: import("./common.types").AccountStatus;
|
|
@@ -930,7 +954,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
930
954
|
durationType: DurationType | null;
|
|
931
955
|
tiers: number[] | null;
|
|
932
956
|
enableBonus: boolean;
|
|
957
|
+
principalAmount: number | null;
|
|
958
|
+
maxTotalRaise: number | null;
|
|
933
959
|
interestRate: number | null;
|
|
960
|
+
interestType: InterestType | null;
|
|
934
961
|
__entity?: string | undefined;
|
|
935
962
|
account?: {
|
|
936
963
|
status: import("./common.types").AccountStatus;
|
|
@@ -1045,7 +1072,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1045
1072
|
durationType: DurationType | null;
|
|
1046
1073
|
tiers: number[] | null;
|
|
1047
1074
|
enableBonus: boolean;
|
|
1075
|
+
principalAmount: number | null;
|
|
1076
|
+
maxTotalRaise: number | null;
|
|
1048
1077
|
interestRate: number | null;
|
|
1078
|
+
interestType: InterestType | null;
|
|
1049
1079
|
__entity?: string | undefined;
|
|
1050
1080
|
account?: {
|
|
1051
1081
|
status: import("./common.types").AccountStatus;
|
|
@@ -1181,7 +1211,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1181
1211
|
durationType: DurationType | null;
|
|
1182
1212
|
tiers: number[] | null;
|
|
1183
1213
|
enableBonus: boolean;
|
|
1214
|
+
principalAmount: number | null;
|
|
1215
|
+
maxTotalRaise: number | null;
|
|
1184
1216
|
interestRate: number | null;
|
|
1217
|
+
interestType: InterestType | null;
|
|
1185
1218
|
__entity?: string | undefined;
|
|
1186
1219
|
account?: {
|
|
1187
1220
|
status: import("./common.types").AccountStatus;
|
|
@@ -1305,7 +1338,10 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
|
|
|
1305
1338
|
durationType: DurationType | null;
|
|
1306
1339
|
tiers: number[] | null;
|
|
1307
1340
|
enableBonus: boolean;
|
|
1341
|
+
principalAmount: number | null;
|
|
1342
|
+
maxTotalRaise: number | null;
|
|
1308
1343
|
interestRate: number | null;
|
|
1344
|
+
interestType: InterestType | null;
|
|
1309
1345
|
__entity?: string | undefined;
|
|
1310
1346
|
account?: {
|
|
1311
1347
|
status: import("./common.types").AccountStatus;
|
|
@@ -1414,7 +1450,10 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1414
1450
|
hasEscrow: z.ZodOptional<z.ZodBoolean>;
|
|
1415
1451
|
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1416
1452
|
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1453
|
+
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1454
|
+
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1417
1455
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1456
|
+
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
|
|
1418
1457
|
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1419
1458
|
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1420
1459
|
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -1479,7 +1518,10 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1479
1518
|
durationType?: DurationType | null | undefined;
|
|
1480
1519
|
tiers?: number[] | null | undefined;
|
|
1481
1520
|
enableBonus?: boolean | undefined;
|
|
1521
|
+
principalAmount?: number | null | undefined;
|
|
1522
|
+
maxTotalRaise?: number | null | undefined;
|
|
1482
1523
|
interestRate?: number | null | undefined;
|
|
1524
|
+
interestType?: InterestType | null | undefined;
|
|
1483
1525
|
bonusTiers?: {
|
|
1484
1526
|
value: number;
|
|
1485
1527
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1514,7 +1556,10 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1514
1556
|
durationType?: DurationType | null | undefined;
|
|
1515
1557
|
tiers?: number[] | null | undefined;
|
|
1516
1558
|
enableBonus?: boolean | undefined;
|
|
1559
|
+
principalAmount?: number | null | undefined;
|
|
1560
|
+
maxTotalRaise?: number | null | undefined;
|
|
1517
1561
|
interestRate?: number | null | undefined;
|
|
1562
|
+
interestType?: InterestType | null | undefined;
|
|
1518
1563
|
bonusTiers?: {
|
|
1519
1564
|
value: number;
|
|
1520
1565
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1549,7 +1594,10 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1549
1594
|
durationType?: DurationType | null | undefined;
|
|
1550
1595
|
tiers?: number[] | null | undefined;
|
|
1551
1596
|
enableBonus?: boolean | undefined;
|
|
1597
|
+
principalAmount?: number | null | undefined;
|
|
1598
|
+
maxTotalRaise?: number | null | undefined;
|
|
1552
1599
|
interestRate?: number | null | undefined;
|
|
1600
|
+
interestType?: InterestType | null | undefined;
|
|
1553
1601
|
bonusTiers?: {
|
|
1554
1602
|
value: number;
|
|
1555
1603
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1584,7 +1632,10 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1584
1632
|
durationType?: DurationType | null | undefined;
|
|
1585
1633
|
tiers?: number[] | null | undefined;
|
|
1586
1634
|
enableBonus?: boolean | undefined;
|
|
1635
|
+
principalAmount?: number | null | undefined;
|
|
1636
|
+
maxTotalRaise?: number | null | undefined;
|
|
1587
1637
|
interestRate?: number | null | undefined;
|
|
1638
|
+
interestType?: InterestType | null | undefined;
|
|
1588
1639
|
bonusTiers?: {
|
|
1589
1640
|
value: number;
|
|
1590
1641
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1624,7 +1675,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1624
1675
|
escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1625
1676
|
bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1626
1677
|
escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
1678
|
+
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1679
|
+
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1627
1680
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1681
|
+
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
|
|
1628
1682
|
bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1629
1683
|
type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
|
|
1630
1684
|
value: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -1692,7 +1746,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1692
1746
|
durationType?: DurationType | null | undefined;
|
|
1693
1747
|
tiers?: number[] | null | undefined;
|
|
1694
1748
|
enableBonus?: boolean | undefined;
|
|
1749
|
+
principalAmount?: number | null | undefined;
|
|
1750
|
+
maxTotalRaise?: number | null | undefined;
|
|
1695
1751
|
interestRate?: number | null | undefined;
|
|
1752
|
+
interestType?: InterestType | null | undefined;
|
|
1696
1753
|
bonusTiers?: {
|
|
1697
1754
|
value: number;
|
|
1698
1755
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1730,7 +1787,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1730
1787
|
durationType?: DurationType | null | undefined;
|
|
1731
1788
|
tiers?: number[] | null | undefined;
|
|
1732
1789
|
enableBonus?: boolean | undefined;
|
|
1790
|
+
principalAmount?: number | null | undefined;
|
|
1791
|
+
maxTotalRaise?: number | null | undefined;
|
|
1733
1792
|
interestRate?: number | null | undefined;
|
|
1793
|
+
interestType?: InterestType | null | undefined;
|
|
1734
1794
|
bonusTiers?: {
|
|
1735
1795
|
value: number;
|
|
1736
1796
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1768,7 +1828,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1768
1828
|
durationType?: DurationType | null | undefined;
|
|
1769
1829
|
tiers?: number[] | null | undefined;
|
|
1770
1830
|
enableBonus?: boolean | undefined;
|
|
1831
|
+
principalAmount?: number | null | undefined;
|
|
1832
|
+
maxTotalRaise?: number | null | undefined;
|
|
1771
1833
|
interestRate?: number | null | undefined;
|
|
1834
|
+
interestType?: InterestType | null | undefined;
|
|
1772
1835
|
bonusTiers?: {
|
|
1773
1836
|
value: number;
|
|
1774
1837
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -1806,7 +1869,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
|
|
|
1806
1869
|
durationType?: DurationType | null | undefined;
|
|
1807
1870
|
tiers?: number[] | null | undefined;
|
|
1808
1871
|
enableBonus?: boolean | undefined;
|
|
1872
|
+
principalAmount?: number | null | undefined;
|
|
1873
|
+
maxTotalRaise?: number | null | undefined;
|
|
1809
1874
|
interestRate?: number | null | undefined;
|
|
1875
|
+
interestType?: InterestType | null | undefined;
|
|
1810
1876
|
bonusTiers?: {
|
|
1811
1877
|
value: number;
|
|
1812
1878
|
type: import("./bonus-tier.types").BonusType;
|
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
import { AccountZod, dateSchema, IPaginationMeta, OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, StringToBooleanSchema, HttpMethod, } from './common.types.js';
|
|
4
4
|
import { IBaseEntity } from './entity.types.js';
|
|
5
5
|
import { IIssuer, issuerIdSchema } from './issuer.types.js';
|
|
6
|
-
import { IAsset, postAssetRefinement, AssetTemplateType } from './asset.types.js';
|
|
6
|
+
import { IAsset, postAssetRefinement, AssetTemplateType, InterestType, } from './asset.types.js';
|
|
7
7
|
import { fileIdSchema, FileZod } from './file.types.js';
|
|
8
8
|
import { accountIdSchema } from './account.types.js';
|
|
9
9
|
import { IIssuerBankAccount, issuerBankAccountIdSchema, } from './issuer-bank-account.types.js';
|
|
@@ -125,7 +125,7 @@ export const PostIssuerOffering = z
|
|
|
125
125
|
description: z
|
|
126
126
|
.string()
|
|
127
127
|
.min(1)
|
|
128
|
-
.max(
|
|
128
|
+
.max(1000)
|
|
129
129
|
.optional()
|
|
130
130
|
.nullable()
|
|
131
131
|
.openapi({ example: 'This is a description of the offering.' }),
|
|
@@ -178,6 +178,22 @@ export const PostIssuerOffering = z
|
|
|
178
178
|
.lazy(() => escrowAccountIdSchema)
|
|
179
179
|
.nullable()
|
|
180
180
|
.optional(),
|
|
181
|
+
principalAmount: z
|
|
182
|
+
.number()
|
|
183
|
+
.int()
|
|
184
|
+
.positive()
|
|
185
|
+
.max(10000000000)
|
|
186
|
+
.nullable()
|
|
187
|
+
.optional()
|
|
188
|
+
.openapi({ example: 1000 }),
|
|
189
|
+
maxTotalRaise: z
|
|
190
|
+
.number()
|
|
191
|
+
.int()
|
|
192
|
+
.positive()
|
|
193
|
+
.max(10000000000)
|
|
194
|
+
.nullable()
|
|
195
|
+
.optional()
|
|
196
|
+
.openapi({ example: 100 }),
|
|
181
197
|
interestRate: z
|
|
182
198
|
.number()
|
|
183
199
|
.min(0.01)
|
|
@@ -185,6 +201,11 @@ export const PostIssuerOffering = z
|
|
|
185
201
|
.nullable()
|
|
186
202
|
.optional()
|
|
187
203
|
.openapi({ example: 10 }),
|
|
204
|
+
interestType: z
|
|
205
|
+
.nativeEnum(InterestType)
|
|
206
|
+
.nullable()
|
|
207
|
+
.optional()
|
|
208
|
+
.openapi({ example: InterestType.SIMPLE }),
|
|
188
209
|
bonusTiers: BonusTierListZod.optional(),
|
|
189
210
|
})
|
|
190
211
|
.superRefine((data, ctx) => {
|
|
@@ -259,7 +280,7 @@ export const PatchIssuerOffering = z
|
|
|
259
280
|
description: z
|
|
260
281
|
.string()
|
|
261
282
|
.min(1)
|
|
262
|
-
.max(
|
|
283
|
+
.max(1000)
|
|
263
284
|
.optional()
|
|
264
285
|
.nullable()
|
|
265
286
|
.openapi({ example: 'This is a description of the offering.' }),
|
|
@@ -337,6 +358,22 @@ export const PatchIssuerOffering = z
|
|
|
337
358
|
.lazy(() => escrowAccountIdSchema)
|
|
338
359
|
.nullable()
|
|
339
360
|
.optional(),
|
|
361
|
+
principalAmount: z
|
|
362
|
+
.number()
|
|
363
|
+
.int()
|
|
364
|
+
.positive()
|
|
365
|
+
.max(10000000000)
|
|
366
|
+
.nullable()
|
|
367
|
+
.optional()
|
|
368
|
+
.openapi({ example: 1000 }),
|
|
369
|
+
maxTotalRaise: z
|
|
370
|
+
.number()
|
|
371
|
+
.int()
|
|
372
|
+
.positive()
|
|
373
|
+
.max(10000000000)
|
|
374
|
+
.nullable()
|
|
375
|
+
.optional()
|
|
376
|
+
.openapi({ example: 100 }),
|
|
340
377
|
interestRate: z
|
|
341
378
|
.number()
|
|
342
379
|
.min(0.01)
|
|
@@ -344,6 +381,11 @@ export const PatchIssuerOffering = z
|
|
|
344
381
|
.nullable()
|
|
345
382
|
.optional()
|
|
346
383
|
.openapi({ example: 10 }),
|
|
384
|
+
interestType: z
|
|
385
|
+
.nativeEnum(InterestType)
|
|
386
|
+
.nullable()
|
|
387
|
+
.optional()
|
|
388
|
+
.openapi({ example: InterestType.SIMPLE }),
|
|
347
389
|
bonusTiers: BonusTierListZod.optional(),
|
|
348
390
|
})
|
|
349
391
|
.superRefine((data, ctx) => {
|