@dalmore/api-contracts 0.0.0-dev.f1cb508 → 0.0.0-dev.f48e7e9
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/constants.d.ts +43 -0
- package/common/constants.js +77 -0
- package/common/constants.js.map +1 -0
- package/common/helpers/index.d.ts +8 -0
- package/common/helpers/index.js +15 -0
- package/common/helpers/index.js.map +1 -1
- package/common/types/account-setting.types.d.ts +22 -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 +4 -3
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +34 -25
- package/common/types/activity.types.js +11 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +25 -111
- package/common/types/asset.types.js +24 -100
- package/common/types/asset.types.js.map +1 -1
- package/common/types/auth.types.d.ts +36 -0
- package/common/types/auth.types.js +3 -2
- package/common/types/auth.types.js.map +1 -1
- package/common/types/bonus-tier.types.d.ts +0 -30
- package/common/types/cap-table.types.d.ts +177 -53
- package/common/types/cap-table.types.js +31 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/common.types.d.ts +349 -6
- package/common/types/common.types.js +68 -4
- package/common/types/common.types.js.map +1 -1
- package/common/types/csv.types.d.ts +3612 -0
- package/common/types/csv.types.js +290 -0
- package/common/types/csv.types.js.map +1 -0
- package/common/types/dashboard.types.d.ts +7 -7
- package/common/types/disbursement-transaction.types.d.ts +1 -1
- package/common/types/disbursement-transaction.types.js +1 -1
- package/common/types/disbursement-transaction.types.js.map +1 -1
- package/common/types/disbursements.types.d.ts +956 -7
- package/common/types/disbursements.types.js +92 -2
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/escrow-account.types.d.ts +17 -0
- package/common/types/escrow-account.types.js +3 -0
- package/common/types/escrow-account.types.js.map +1 -1
- package/common/types/exchange-provider.types.d.ts +12 -12
- package/common/types/file.types.d.ts +33 -9
- package/common/types/file.types.js +12 -0
- package/common/types/file.types.js.map +1 -1
- package/common/types/index.d.ts +4 -0
- package/common/types/index.js +4 -0
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.d.ts +207 -5
- package/common/types/individuals.types.js +11 -14
- package/common/types/individuals.types.js.map +1 -1
- package/common/types/investor-account.types.d.ts +1 -1
- package/common/types/investor-account.types.js +1 -2
- package/common/types/investor-account.types.js.map +1 -1
- package/common/types/investors-offering.types.d.ts +8 -0
- package/common/types/investors-offering.types.js +1 -0
- package/common/types/investors-offering.types.js.map +1 -1
- package/common/types/invite.types.d.ts +5 -2
- package/common/types/invite.types.js +2 -1
- package/common/types/invite.types.js.map +1 -1
- package/common/types/issuer-offering.types.d.ts +359 -79
- package/common/types/issuer-offering.types.js +188 -63
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/job-item.types.d.ts +14 -14
- package/common/types/legal-entity.types.d.ts +39 -1
- package/common/types/legal-entity.types.js +8 -5
- package/common/types/legal-entity.types.js.map +1 -1
- 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 +17 -4
- package/common/types/offering-submission.types.js.map +1 -1
- package/common/types/offering.types.d.ts +270 -65
- package/common/types/offering.types.js +241 -55
- package/common/types/offering.types.js.map +1 -1
- package/common/types/portfolio.types.d.ts +6 -6
- package/common/types/reports.types.d.ts +345 -0
- package/common/types/reports.types.js +69 -0
- package/common/types/reports.types.js.map +1 -0
- package/common/types/review.types.js +1 -1
- package/common/types/review.types.js.map +1 -1
- package/common/types/secondary-order.types.d.ts +10 -10
- package/common/types/secondary-trade.types.d.ts +10 -10
- package/common/types/site.types.d.ts +12 -27
- package/common/types/task.types.d.ts +30 -22
- package/common/types/task.types.js +3 -0
- package/common/types/task.types.js.map +1 -1
- package/common/types/trade-line-item.types.d.ts +24 -0
- package/common/types/trade-line-item.types.js +3 -0
- package/common/types/trade-line-item.types.js.map +1 -1
- package/common/types/trade.types.d.ts +20 -14
- package/common/types/trade.types.js +18 -7
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +0 -1
- package/common/types/transaction.types.js +0 -1
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +108 -82
- package/common/types/user.types.js +10 -23
- package/common/types/user.types.js.map +1 -1
- package/contracts/clients/assets/index.d.ts +0 -66
- package/contracts/clients/csv/index.d.ts +1800 -0
- package/contracts/clients/csv/index.js +96 -0
- package/contracts/clients/csv/index.js.map +1 -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 +1986 -113
- package/contracts/clients/index.js +4 -0
- package/contracts/clients/index.js.map +1 -1
- package/contracts/clients/individuals/index.d.ts +5 -5
- package/contracts/clients/legal-entities/index.d.ts +1 -1
- package/contracts/clients/offerings/index.d.ts +90 -35
- package/contracts/clients/review/index.d.ts +85 -0
- package/contracts/clients/review/index.js +27 -0
- package/contracts/clients/review/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -6,6 +6,9 @@ export declare enum OnboardingType {
|
|
|
6
6
|
CHECKOUT = "CHECKOUT",
|
|
7
7
|
COMPLETE = "COMPLETE"
|
|
8
8
|
}
|
|
9
|
+
export declare enum LockReason {
|
|
10
|
+
DOB_UNDER_18 = "DOB_UNDER_18"
|
|
11
|
+
}
|
|
9
12
|
export declare const userIdSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
10
13
|
export declare const UserDeleteResponse: z.ZodObject<{
|
|
11
14
|
message: z.ZodString;
|
|
@@ -38,6 +41,7 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
38
41
|
provider: z.ZodString;
|
|
39
42
|
active: z.ZodBoolean;
|
|
40
43
|
locked: z.ZodBoolean;
|
|
44
|
+
lockReason: z.ZodNullable<z.ZodString>;
|
|
41
45
|
lastLoginAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
42
46
|
loginCount: z.ZodNumber;
|
|
43
47
|
role: z.ZodString;
|
|
@@ -107,45 +111,61 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
107
111
|
}>>;
|
|
108
112
|
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
109
113
|
userType: z.ZodOptional<z.ZodNativeEnum<typeof UserType>>;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
settings: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
115
|
+
__entity: z.ZodOptional<z.ZodString>;
|
|
116
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
117
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
118
|
+
deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
119
|
+
} & {
|
|
120
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
121
|
+
accountId: z.ZodString;
|
|
122
|
+
offeringSetup: z.ZodBoolean;
|
|
123
|
+
investorPortalSetup: z.ZodBoolean;
|
|
124
|
+
paymentMethodSetup: z.ZodBoolean;
|
|
125
|
+
accountContactsSetup: z.ZodBoolean;
|
|
115
126
|
productPrimaries: z.ZodBoolean;
|
|
116
127
|
productSecondaries: z.ZodBoolean;
|
|
117
128
|
featureDisbursements: z.ZodBoolean;
|
|
129
|
+
apiPortal: z.ZodBoolean;
|
|
130
|
+
investorSiteEnabled: z.ZodBoolean;
|
|
118
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
id: string;
|
|
133
|
+
createdAt: string | Date;
|
|
134
|
+
updatedAt: string | Date;
|
|
135
|
+
deletedAt: string | Date | null;
|
|
136
|
+
accountId: string;
|
|
137
|
+
offeringSetup: boolean;
|
|
138
|
+
investorPortalSetup: boolean;
|
|
139
|
+
paymentMethodSetup: boolean;
|
|
140
|
+
accountContactsSetup: boolean;
|
|
119
141
|
productPrimaries: boolean;
|
|
120
142
|
productSecondaries: boolean;
|
|
121
143
|
featureDisbursements: boolean;
|
|
144
|
+
apiPortal: boolean;
|
|
145
|
+
investorSiteEnabled: boolean;
|
|
146
|
+
__entity?: string | undefined;
|
|
122
147
|
}, {
|
|
148
|
+
id: string;
|
|
149
|
+
createdAt: string | Date;
|
|
150
|
+
updatedAt: string | Date;
|
|
151
|
+
deletedAt: string | Date | null;
|
|
152
|
+
accountId: string;
|
|
153
|
+
offeringSetup: boolean;
|
|
154
|
+
investorPortalSetup: boolean;
|
|
155
|
+
paymentMethodSetup: boolean;
|
|
156
|
+
accountContactsSetup: boolean;
|
|
123
157
|
productPrimaries: boolean;
|
|
124
158
|
productSecondaries: boolean;
|
|
125
159
|
featureDisbursements: boolean;
|
|
126
|
-
|
|
160
|
+
apiPortal: boolean;
|
|
161
|
+
investorSiteEnabled: boolean;
|
|
162
|
+
__entity?: string | undefined;
|
|
163
|
+
}>>>;
|
|
127
164
|
account: z.ZodOptional<z.ZodObject<{
|
|
128
165
|
id: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
|
|
129
166
|
name: z.ZodNullable<z.ZodString>;
|
|
130
167
|
status: z.ZodLazy<z.ZodNativeEnum<typeof AccountStatus>>;
|
|
131
168
|
managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
|
|
132
|
-
offeringSetup: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
-
investorPortalSetup: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
paymentMethodSetup: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
-
accountContactsSetup: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
-
accountSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
137
|
-
productPrimaries: z.ZodBoolean;
|
|
138
|
-
productSecondaries: z.ZodBoolean;
|
|
139
|
-
featureDisbursements: z.ZodBoolean;
|
|
140
|
-
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
productPrimaries: boolean;
|
|
142
|
-
productSecondaries: boolean;
|
|
143
|
-
featureDisbursements: boolean;
|
|
144
|
-
}, {
|
|
145
|
-
productPrimaries: boolean;
|
|
146
|
-
productSecondaries: boolean;
|
|
147
|
-
featureDisbursements: boolean;
|
|
148
|
-
}>, "many">>;
|
|
149
169
|
accountManager: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
150
170
|
id: z.ZodString;
|
|
151
171
|
__entity: z.ZodOptional<z.ZodString>;
|
|
@@ -623,7 +643,6 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
623
643
|
} | null | undefined;
|
|
624
644
|
referenceLink?: string | null | undefined;
|
|
625
645
|
}>>, "many">>;
|
|
626
|
-
apiPortal: z.ZodOptional<z.ZodBoolean>;
|
|
627
646
|
}, "strip", z.ZodTypeAny, {
|
|
628
647
|
status: AccountStatus;
|
|
629
648
|
id: string;
|
|
@@ -690,16 +709,6 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
690
709
|
} | undefined;
|
|
691
710
|
} | null | undefined;
|
|
692
711
|
} | null | undefined;
|
|
693
|
-
accountSettings?: {
|
|
694
|
-
productPrimaries: boolean;
|
|
695
|
-
productSecondaries: boolean;
|
|
696
|
-
featureDisbursements: boolean;
|
|
697
|
-
}[] | undefined;
|
|
698
|
-
apiPortal?: boolean | undefined;
|
|
699
|
-
offeringSetup?: boolean | undefined;
|
|
700
|
-
investorPortalSetup?: boolean | undefined;
|
|
701
|
-
paymentMethodSetup?: boolean | undefined;
|
|
702
|
-
accountContactsSetup?: boolean | undefined;
|
|
703
712
|
accountContacts?: {
|
|
704
713
|
type: import("./common.types").AccountContactType;
|
|
705
714
|
id: string;
|
|
@@ -802,16 +811,6 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
802
811
|
} | undefined;
|
|
803
812
|
} | null | undefined;
|
|
804
813
|
} | null | undefined;
|
|
805
|
-
accountSettings?: {
|
|
806
|
-
productPrimaries: boolean;
|
|
807
|
-
productSecondaries: boolean;
|
|
808
|
-
featureDisbursements: boolean;
|
|
809
|
-
}[] | undefined;
|
|
810
|
-
apiPortal?: boolean | undefined;
|
|
811
|
-
offeringSetup?: boolean | undefined;
|
|
812
|
-
investorPortalSetup?: boolean | undefined;
|
|
813
|
-
paymentMethodSetup?: boolean | undefined;
|
|
814
|
-
accountContactsSetup?: boolean | undefined;
|
|
815
814
|
accountContacts?: {
|
|
816
815
|
type: import("./common.types").AccountContactType;
|
|
817
816
|
id: string;
|
|
@@ -869,6 +868,7 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
869
868
|
locked: boolean;
|
|
870
869
|
accountName: string | null;
|
|
871
870
|
onboarding: string | null;
|
|
871
|
+
lockReason: string | null;
|
|
872
872
|
__entity?: string | undefined;
|
|
873
873
|
managedBy?: ManagedByType | undefined;
|
|
874
874
|
userType?: UserType | undefined;
|
|
@@ -938,16 +938,6 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
938
938
|
} | undefined;
|
|
939
939
|
} | null | undefined;
|
|
940
940
|
} | null | undefined;
|
|
941
|
-
accountSettings?: {
|
|
942
|
-
productPrimaries: boolean;
|
|
943
|
-
productSecondaries: boolean;
|
|
944
|
-
featureDisbursements: boolean;
|
|
945
|
-
}[] | undefined;
|
|
946
|
-
apiPortal?: boolean | undefined;
|
|
947
|
-
offeringSetup?: boolean | undefined;
|
|
948
|
-
investorPortalSetup?: boolean | undefined;
|
|
949
|
-
paymentMethodSetup?: boolean | undefined;
|
|
950
|
-
accountContactsSetup?: boolean | undefined;
|
|
951
941
|
accountContacts?: {
|
|
952
942
|
type: import("./common.types").AccountContactType;
|
|
953
943
|
id: string;
|
|
@@ -985,16 +975,7 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
985
975
|
referenceLink?: string | null | undefined;
|
|
986
976
|
}[] | undefined;
|
|
987
977
|
} | undefined;
|
|
988
|
-
accountSettings?: {
|
|
989
|
-
productPrimaries: boolean;
|
|
990
|
-
productSecondaries: boolean;
|
|
991
|
-
featureDisbursements: boolean;
|
|
992
|
-
}[] | undefined;
|
|
993
978
|
investorAccounts?: any[] | undefined;
|
|
994
|
-
offeringSetup?: boolean | undefined;
|
|
995
|
-
investorPortalSetup?: boolean | undefined;
|
|
996
|
-
paymentMethodSetup?: boolean | undefined;
|
|
997
|
-
accountContactsSetup?: boolean | undefined;
|
|
998
979
|
cart?: any;
|
|
999
980
|
investorOnboarding?: OnboardingType | null | undefined;
|
|
1000
981
|
investorRegistrationFlow?: OfferingType[] | null | undefined;
|
|
@@ -1014,6 +995,23 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
1014
995
|
phoneVerified: boolean;
|
|
1015
996
|
emailVerified: boolean;
|
|
1016
997
|
} | undefined;
|
|
998
|
+
settings?: {
|
|
999
|
+
id: string;
|
|
1000
|
+
createdAt: string | Date;
|
|
1001
|
+
updatedAt: string | Date;
|
|
1002
|
+
deletedAt: string | Date | null;
|
|
1003
|
+
accountId: string;
|
|
1004
|
+
offeringSetup: boolean;
|
|
1005
|
+
investorPortalSetup: boolean;
|
|
1006
|
+
paymentMethodSetup: boolean;
|
|
1007
|
+
accountContactsSetup: boolean;
|
|
1008
|
+
productPrimaries: boolean;
|
|
1009
|
+
productSecondaries: boolean;
|
|
1010
|
+
featureDisbursements: boolean;
|
|
1011
|
+
apiPortal: boolean;
|
|
1012
|
+
investorSiteEnabled: boolean;
|
|
1013
|
+
__entity?: string | undefined;
|
|
1014
|
+
} | undefined;
|
|
1017
1015
|
}, {
|
|
1018
1016
|
type: string;
|
|
1019
1017
|
id: string;
|
|
@@ -1034,6 +1032,7 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
1034
1032
|
locked: boolean;
|
|
1035
1033
|
accountName: string | null;
|
|
1036
1034
|
onboarding: string | null;
|
|
1035
|
+
lockReason: string | null;
|
|
1037
1036
|
__entity?: string | undefined;
|
|
1038
1037
|
managedBy?: ManagedByType | undefined;
|
|
1039
1038
|
userType?: UserType | undefined;
|
|
@@ -1103,16 +1102,6 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
1103
1102
|
} | undefined;
|
|
1104
1103
|
} | null | undefined;
|
|
1105
1104
|
} | null | undefined;
|
|
1106
|
-
accountSettings?: {
|
|
1107
|
-
productPrimaries: boolean;
|
|
1108
|
-
productSecondaries: boolean;
|
|
1109
|
-
featureDisbursements: boolean;
|
|
1110
|
-
}[] | undefined;
|
|
1111
|
-
apiPortal?: boolean | undefined;
|
|
1112
|
-
offeringSetup?: boolean | undefined;
|
|
1113
|
-
investorPortalSetup?: boolean | undefined;
|
|
1114
|
-
paymentMethodSetup?: boolean | undefined;
|
|
1115
|
-
accountContactsSetup?: boolean | undefined;
|
|
1116
1105
|
accountContacts?: {
|
|
1117
1106
|
type: import("./common.types").AccountContactType;
|
|
1118
1107
|
id: string;
|
|
@@ -1150,16 +1139,7 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
1150
1139
|
referenceLink?: string | null | undefined;
|
|
1151
1140
|
}[] | undefined;
|
|
1152
1141
|
} | undefined;
|
|
1153
|
-
accountSettings?: {
|
|
1154
|
-
productPrimaries: boolean;
|
|
1155
|
-
productSecondaries: boolean;
|
|
1156
|
-
featureDisbursements: boolean;
|
|
1157
|
-
}[] | undefined;
|
|
1158
1142
|
investorAccounts?: any[] | undefined;
|
|
1159
|
-
offeringSetup?: boolean | undefined;
|
|
1160
|
-
investorPortalSetup?: boolean | undefined;
|
|
1161
|
-
paymentMethodSetup?: boolean | undefined;
|
|
1162
|
-
accountContactsSetup?: boolean | undefined;
|
|
1163
1143
|
cart?: any;
|
|
1164
1144
|
investorOnboarding?: OnboardingType | null | undefined;
|
|
1165
1145
|
investorRegistrationFlow?: OfferingType[] | null | undefined;
|
|
@@ -1179,6 +1159,23 @@ export declare const GetMeResponse: z.ZodObject<{
|
|
|
1179
1159
|
phoneVerified: boolean;
|
|
1180
1160
|
emailVerified: boolean;
|
|
1181
1161
|
} | undefined;
|
|
1162
|
+
settings?: {
|
|
1163
|
+
id: string;
|
|
1164
|
+
createdAt: string | Date;
|
|
1165
|
+
updatedAt: string | Date;
|
|
1166
|
+
deletedAt: string | Date | null;
|
|
1167
|
+
accountId: string;
|
|
1168
|
+
offeringSetup: boolean;
|
|
1169
|
+
investorPortalSetup: boolean;
|
|
1170
|
+
paymentMethodSetup: boolean;
|
|
1171
|
+
accountContactsSetup: boolean;
|
|
1172
|
+
productPrimaries: boolean;
|
|
1173
|
+
productSecondaries: boolean;
|
|
1174
|
+
featureDisbursements: boolean;
|
|
1175
|
+
apiPortal: boolean;
|
|
1176
|
+
investorSiteEnabled: boolean;
|
|
1177
|
+
__entity?: string | undefined;
|
|
1178
|
+
} | undefined;
|
|
1182
1179
|
}>;
|
|
1183
1180
|
export type GetMeResponse = z.infer<typeof GetMeResponse>;
|
|
1184
1181
|
export declare const UserUpdateZod: z.ZodObject<{
|
|
@@ -1700,6 +1697,35 @@ export declare const UserFiltersZod: z.ZodObject<{
|
|
|
1700
1697
|
search?: string | undefined;
|
|
1701
1698
|
portal?: string | undefined;
|
|
1702
1699
|
}>;
|
|
1700
|
+
export declare const ComplianceUserFiltersZod: z.ZodObject<{
|
|
1701
|
+
accountId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1702
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
role: z.ZodOptional<z.ZodNativeEnum<typeof UserRole>>;
|
|
1704
|
+
portal: z.ZodOptional<z.ZodString>;
|
|
1705
|
+
locked: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
1706
|
+
active: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
1707
|
+
twoFactorEnabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
1708
|
+
} & {
|
|
1709
|
+
complianceOfficer: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
1710
|
+
}, "strip", z.ZodTypeAny, {
|
|
1711
|
+
active?: boolean | undefined;
|
|
1712
|
+
accountId?: string | undefined;
|
|
1713
|
+
role?: UserRole | undefined;
|
|
1714
|
+
locked?: boolean | undefined;
|
|
1715
|
+
twoFactorEnabled?: boolean | undefined;
|
|
1716
|
+
search?: string | undefined;
|
|
1717
|
+
portal?: string | undefined;
|
|
1718
|
+
complianceOfficer?: boolean | undefined;
|
|
1719
|
+
}, {
|
|
1720
|
+
active?: unknown;
|
|
1721
|
+
accountId?: string | undefined;
|
|
1722
|
+
role?: UserRole | undefined;
|
|
1723
|
+
locked?: unknown;
|
|
1724
|
+
twoFactorEnabled?: unknown;
|
|
1725
|
+
search?: string | undefined;
|
|
1726
|
+
portal?: string | undefined;
|
|
1727
|
+
complianceOfficer?: unknown;
|
|
1728
|
+
}>;
|
|
1703
1729
|
/**
|
|
1704
1730
|
* @description Query parameters for including related entities
|
|
1705
1731
|
* @xample in contract us as -> query: z.object({}).merge(UsersIncludeQuery),
|
|
@@ -12,6 +12,7 @@ import { issuerIdSchema } from './issuer.types.js';
|
|
|
12
12
|
import { PhoneNumberData, TwoFactorMethod } from './sms.types.js';
|
|
13
13
|
import { IAccountManagerZod } from './account-manager.types.js';
|
|
14
14
|
import { IAccountContact } from './account-contact.types.js';
|
|
15
|
+
import { IAccountSettingZod } from './common.types.js';
|
|
15
16
|
extendZodWithOpenApi(z);
|
|
16
17
|
export var OnboardingType;
|
|
17
18
|
(function (OnboardingType) {
|
|
@@ -19,6 +20,10 @@ export var OnboardingType;
|
|
|
19
20
|
OnboardingType["CHECKOUT"] = "CHECKOUT";
|
|
20
21
|
OnboardingType["COMPLETE"] = "COMPLETE";
|
|
21
22
|
})(OnboardingType || (OnboardingType = {}));
|
|
23
|
+
export var LockReason;
|
|
24
|
+
(function (LockReason) {
|
|
25
|
+
LockReason["DOB_UNDER_18"] = "DOB_UNDER_18";
|
|
26
|
+
})(LockReason || (LockReason = {}));
|
|
22
27
|
export const userIdSchema = z.string().refine((value) => {
|
|
23
28
|
try {
|
|
24
29
|
const tid = TypeID.fromString(value);
|
|
@@ -45,6 +50,7 @@ export const GetMeResponse = IBaseEntity.extend({
|
|
|
45
50
|
provider: z.string(),
|
|
46
51
|
active: z.boolean(),
|
|
47
52
|
locked: z.boolean(),
|
|
53
|
+
lockReason: z.string().nullable(),
|
|
48
54
|
lastLoginAt: dateOrString.nullable(),
|
|
49
55
|
loginCount: z.number(),
|
|
50
56
|
role: z.string(),
|
|
@@ -75,40 +81,18 @@ export const GetMeResponse = IBaseEntity.extend({
|
|
|
75
81
|
.optional(),
|
|
76
82
|
managedBy: z.nativeEnum(ManagedByType).optional(),
|
|
77
83
|
userType: z.nativeEnum(UserType).optional(),
|
|
78
|
-
|
|
79
|
-
investorPortalSetup: z.boolean().optional(),
|
|
80
|
-
paymentMethodSetup: z.boolean().optional(),
|
|
81
|
-
accountContactsSetup: z.boolean().optional(),
|
|
82
|
-
accountSettings: z
|
|
83
|
-
.array(z.object({
|
|
84
|
-
productPrimaries: z.boolean(),
|
|
85
|
-
productSecondaries: z.boolean(),
|
|
86
|
-
featureDisbursements: z.boolean(),
|
|
87
|
-
}))
|
|
88
|
-
.optional(),
|
|
84
|
+
settings: z.lazy(() => IAccountSettingZod).optional(),
|
|
89
85
|
account: z
|
|
90
86
|
.object({
|
|
91
87
|
id: z.lazy(() => accountIdSchema),
|
|
92
88
|
name: z.string().nullable(),
|
|
93
89
|
status: z.lazy(() => z.nativeEnum(AccountStatus)),
|
|
94
90
|
managedBy: z.nativeEnum(ManagedByType).optional(),
|
|
95
|
-
offeringSetup: z.boolean().optional(),
|
|
96
|
-
investorPortalSetup: z.boolean().optional(),
|
|
97
|
-
paymentMethodSetup: z.boolean().optional(),
|
|
98
|
-
accountContactsSetup: z.boolean().optional(),
|
|
99
|
-
accountSettings: z
|
|
100
|
-
.array(z.object({
|
|
101
|
-
productPrimaries: z.boolean(),
|
|
102
|
-
productSecondaries: z.boolean(),
|
|
103
|
-
featureDisbursements: z.boolean(),
|
|
104
|
-
}))
|
|
105
|
-
.optional(),
|
|
106
91
|
accountManager: z
|
|
107
92
|
.lazy(() => IAccountManagerZod)
|
|
108
93
|
.nullable()
|
|
109
94
|
.optional(),
|
|
110
95
|
accountContacts: z.array(z.lazy(() => IAccountContact)).optional(),
|
|
111
|
-
apiPortal: z.boolean().optional(),
|
|
112
96
|
})
|
|
113
97
|
.optional(),
|
|
114
98
|
});
|
|
@@ -153,6 +137,9 @@ export const UserFiltersZod = z.object({
|
|
|
153
137
|
active: StringToBooleanSchema.optional(),
|
|
154
138
|
twoFactorEnabled: StringToBooleanSchema.optional(),
|
|
155
139
|
});
|
|
140
|
+
export const ComplianceUserFiltersZod = UserFiltersZod.extend({
|
|
141
|
+
complianceOfficer: StringToBooleanSchema.optional(),
|
|
142
|
+
});
|
|
156
143
|
const usersInclude = z.enum(['account', 'role']);
|
|
157
144
|
/**
|
|
158
145
|
* @description Query parameters for including related entities
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.types.js","sourceRoot":"","sources":["user.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,eAAe,EACf,UAAU,EACV,aAAa,EACb,YAAY,EACZ,UAAU,EACV,qBAAqB,EACrB,QAAQ,EACR,QAAQ,EACR,WAAW,GACZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAi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c,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IAC5B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC5B,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;CACpB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC;IAC/B,IAAI,EAAE,eAAe;CACtB,CAAC,CAAC;AAKH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC;IAClE,MAAM,EAAE,YAAY;SACjB,QAAQ,EAAE;SACV,OAAO,CAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;CAC3D,CAAC,CAAC"}
|
|
@@ -101,10 +101,7 @@ export declare const assetsContract: {
|
|
|
101
101
|
template: z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>;
|
|
102
102
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
103
103
|
enableBonus: z.ZodBoolean;
|
|
104
|
-
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
105
|
-
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
106
104
|
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
107
|
-
interestType: z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>;
|
|
108
105
|
}, "strip", z.ZodTypeAny, {
|
|
109
106
|
type: import("../../..").AssetType | null;
|
|
110
107
|
id: string;
|
|
@@ -123,10 +120,7 @@ export declare const assetsContract: {
|
|
|
123
120
|
durationType: import("../../..").DurationType | null;
|
|
124
121
|
tiers: number[] | null;
|
|
125
122
|
enableBonus: boolean;
|
|
126
|
-
principalAmount: number | null;
|
|
127
|
-
maxTotalRaise: number | null;
|
|
128
123
|
interestRate: number | null;
|
|
129
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
130
124
|
__entity?: string | undefined;
|
|
131
125
|
account?: {
|
|
132
126
|
status: import("../../..").AccountStatus;
|
|
@@ -161,10 +155,7 @@ export declare const assetsContract: {
|
|
|
161
155
|
durationType: import("../../..").DurationType | null;
|
|
162
156
|
tiers: number[] | null;
|
|
163
157
|
enableBonus: boolean;
|
|
164
|
-
principalAmount: number | null;
|
|
165
|
-
maxTotalRaise: number | null;
|
|
166
158
|
interestRate: number | null;
|
|
167
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
168
159
|
__entity?: string | undefined;
|
|
169
160
|
account?: {
|
|
170
161
|
status: import("../../..").AccountStatus;
|
|
@@ -220,10 +211,7 @@ export declare const assetsContract: {
|
|
|
220
211
|
durationType: import("../../..").DurationType | null;
|
|
221
212
|
tiers: number[] | null;
|
|
222
213
|
enableBonus: boolean;
|
|
223
|
-
principalAmount: number | null;
|
|
224
|
-
maxTotalRaise: number | null;
|
|
225
214
|
interestRate: number | null;
|
|
226
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
227
215
|
__entity?: string | undefined;
|
|
228
216
|
account?: {
|
|
229
217
|
status: import("../../..").AccountStatus;
|
|
@@ -267,10 +255,7 @@ export declare const assetsContract: {
|
|
|
267
255
|
durationType: import("../../..").DurationType | null;
|
|
268
256
|
tiers: number[] | null;
|
|
269
257
|
enableBonus: boolean;
|
|
270
|
-
principalAmount: number | null;
|
|
271
|
-
maxTotalRaise: number | null;
|
|
272
258
|
interestRate: number | null;
|
|
273
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
274
259
|
__entity?: string | undefined;
|
|
275
260
|
account?: {
|
|
276
261
|
status: import("../../..").AccountStatus;
|
|
@@ -421,10 +406,7 @@ export declare const assetsContract: {
|
|
|
421
406
|
template: z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>;
|
|
422
407
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
423
408
|
enableBonus: z.ZodBoolean;
|
|
424
|
-
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
425
|
-
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
426
409
|
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
427
|
-
interestType: z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>;
|
|
428
410
|
}, "strip", z.ZodTypeAny, {
|
|
429
411
|
type: import("../../..").AssetType | null;
|
|
430
412
|
id: string;
|
|
@@ -443,10 +425,7 @@ export declare const assetsContract: {
|
|
|
443
425
|
durationType: import("../../..").DurationType | null;
|
|
444
426
|
tiers: number[] | null;
|
|
445
427
|
enableBonus: boolean;
|
|
446
|
-
principalAmount: number | null;
|
|
447
|
-
maxTotalRaise: number | null;
|
|
448
428
|
interestRate: number | null;
|
|
449
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
450
429
|
__entity?: string | undefined;
|
|
451
430
|
account?: {
|
|
452
431
|
status: import("../../..").AccountStatus;
|
|
@@ -481,10 +460,7 @@ export declare const assetsContract: {
|
|
|
481
460
|
durationType: import("../../..").DurationType | null;
|
|
482
461
|
tiers: number[] | null;
|
|
483
462
|
enableBonus: boolean;
|
|
484
|
-
principalAmount: number | null;
|
|
485
|
-
maxTotalRaise: number | null;
|
|
486
463
|
interestRate: number | null;
|
|
487
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
488
464
|
__entity?: string | undefined;
|
|
489
465
|
account?: {
|
|
490
466
|
status: import("../../..").AccountStatus;
|
|
@@ -573,10 +549,7 @@ export declare const assetsContract: {
|
|
|
573
549
|
template: z.ZodDefault<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>>;
|
|
574
550
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
575
551
|
enableBonus: z.ZodDefault<z.ZodBoolean>;
|
|
576
|
-
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
577
|
-
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
578
552
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
579
|
-
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>>;
|
|
580
553
|
}, "strip", z.ZodTypeAny, {
|
|
581
554
|
type: import("../../..").AssetType;
|
|
582
555
|
name: string;
|
|
@@ -589,10 +562,7 @@ export declare const assetsContract: {
|
|
|
589
562
|
duration?: number | null | undefined;
|
|
590
563
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
591
564
|
tiers?: number[] | null | undefined;
|
|
592
|
-
principalAmount?: number | null | undefined;
|
|
593
|
-
maxTotalRaise?: number | null | undefined;
|
|
594
565
|
interestRate?: number | null | undefined;
|
|
595
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
596
566
|
}, {
|
|
597
567
|
type: import("../../..").AssetType;
|
|
598
568
|
name: string;
|
|
@@ -605,10 +575,7 @@ export declare const assetsContract: {
|
|
|
605
575
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
606
576
|
tiers?: number[] | null | undefined;
|
|
607
577
|
enableBonus?: boolean | undefined;
|
|
608
|
-
principalAmount?: number | null | undefined;
|
|
609
|
-
maxTotalRaise?: number | null | undefined;
|
|
610
578
|
interestRate?: number | null | undefined;
|
|
611
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
612
579
|
}>, {
|
|
613
580
|
type: import("../../..").AssetType;
|
|
614
581
|
name: string;
|
|
@@ -621,10 +588,7 @@ export declare const assetsContract: {
|
|
|
621
588
|
duration?: number | null | undefined;
|
|
622
589
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
623
590
|
tiers?: number[] | null | undefined;
|
|
624
|
-
principalAmount?: number | null | undefined;
|
|
625
|
-
maxTotalRaise?: number | null | undefined;
|
|
626
591
|
interestRate?: number | null | undefined;
|
|
627
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
628
592
|
}, {
|
|
629
593
|
type: import("../../..").AssetType;
|
|
630
594
|
name: string;
|
|
@@ -637,10 +601,7 @@ export declare const assetsContract: {
|
|
|
637
601
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
638
602
|
tiers?: number[] | null | undefined;
|
|
639
603
|
enableBonus?: boolean | undefined;
|
|
640
|
-
principalAmount?: number | null | undefined;
|
|
641
|
-
maxTotalRaise?: number | null | undefined;
|
|
642
604
|
interestRate?: number | null | undefined;
|
|
643
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
644
605
|
}>;
|
|
645
606
|
summary: "Create an asset";
|
|
646
607
|
path: "assets";
|
|
@@ -707,10 +668,7 @@ export declare const assetsContract: {
|
|
|
707
668
|
template: z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>;
|
|
708
669
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
709
670
|
enableBonus: z.ZodBoolean;
|
|
710
|
-
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
711
|
-
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
712
671
|
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
713
|
-
interestType: z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>;
|
|
714
672
|
}, "strip", z.ZodTypeAny, {
|
|
715
673
|
type: import("../../..").AssetType | null;
|
|
716
674
|
id: string;
|
|
@@ -729,10 +687,7 @@ export declare const assetsContract: {
|
|
|
729
687
|
durationType: import("../../..").DurationType | null;
|
|
730
688
|
tiers: number[] | null;
|
|
731
689
|
enableBonus: boolean;
|
|
732
|
-
principalAmount: number | null;
|
|
733
|
-
maxTotalRaise: number | null;
|
|
734
690
|
interestRate: number | null;
|
|
735
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
736
691
|
__entity?: string | undefined;
|
|
737
692
|
account?: {
|
|
738
693
|
status: import("../../..").AccountStatus;
|
|
@@ -767,10 +722,7 @@ export declare const assetsContract: {
|
|
|
767
722
|
durationType: import("../../..").DurationType | null;
|
|
768
723
|
tiers: number[] | null;
|
|
769
724
|
enableBonus: boolean;
|
|
770
|
-
principalAmount: number | null;
|
|
771
|
-
maxTotalRaise: number | null;
|
|
772
725
|
interestRate: number | null;
|
|
773
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
774
726
|
__entity?: string | undefined;
|
|
775
727
|
account?: {
|
|
776
728
|
status: import("../../..").AccountStatus;
|
|
@@ -858,10 +810,7 @@ export declare const assetsContract: {
|
|
|
858
810
|
template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>>>>;
|
|
859
811
|
tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
860
812
|
enableBonus: z.ZodOptional<z.ZodBoolean>;
|
|
861
|
-
principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
862
|
-
maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
863
813
|
interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
864
|
-
interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>>;
|
|
865
814
|
}, "strip", z.ZodTypeAny, {
|
|
866
815
|
type?: import("../../..").AssetType | undefined;
|
|
867
816
|
name?: string | undefined;
|
|
@@ -873,10 +822,7 @@ export declare const assetsContract: {
|
|
|
873
822
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
874
823
|
tiers?: number[] | null | undefined;
|
|
875
824
|
enableBonus?: boolean | undefined;
|
|
876
|
-
principalAmount?: number | null | undefined;
|
|
877
|
-
maxTotalRaise?: number | null | undefined;
|
|
878
825
|
interestRate?: number | null | undefined;
|
|
879
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
880
826
|
}, {
|
|
881
827
|
type?: import("../../..").AssetType | undefined;
|
|
882
828
|
name?: string | undefined;
|
|
@@ -888,10 +834,7 @@ export declare const assetsContract: {
|
|
|
888
834
|
durationType?: import("../../..").DurationType | null | undefined;
|
|
889
835
|
tiers?: number[] | null | undefined;
|
|
890
836
|
enableBonus?: boolean | undefined;
|
|
891
|
-
principalAmount?: number | null | undefined;
|
|
892
|
-
maxTotalRaise?: number | null | undefined;
|
|
893
837
|
interestRate?: number | null | undefined;
|
|
894
|
-
interestType?: import("../../../common/types/asset.types").InterestType | null | undefined;
|
|
895
838
|
}>;
|
|
896
839
|
pathParams: z.ZodObject<{
|
|
897
840
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -965,10 +908,7 @@ export declare const assetsContract: {
|
|
|
965
908
|
template: z.ZodNativeEnum<typeof import("../../../common/types/asset.types").AssetTemplateType>;
|
|
966
909
|
tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
967
910
|
enableBonus: z.ZodBoolean;
|
|
968
|
-
principalAmount: z.ZodNullable<z.ZodNumber>;
|
|
969
|
-
maxTotalRaise: z.ZodNullable<z.ZodNumber>;
|
|
970
911
|
interestRate: z.ZodNullable<z.ZodNumber>;
|
|
971
|
-
interestType: z.ZodNullable<z.ZodNativeEnum<typeof import("../../../common/types/asset.types").InterestType>>;
|
|
972
912
|
}, "strip", z.ZodTypeAny, {
|
|
973
913
|
type: import("../../..").AssetType | null;
|
|
974
914
|
id: string;
|
|
@@ -987,10 +927,7 @@ export declare const assetsContract: {
|
|
|
987
927
|
durationType: import("../../..").DurationType | null;
|
|
988
928
|
tiers: number[] | null;
|
|
989
929
|
enableBonus: boolean;
|
|
990
|
-
principalAmount: number | null;
|
|
991
|
-
maxTotalRaise: number | null;
|
|
992
930
|
interestRate: number | null;
|
|
993
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
994
931
|
__entity?: string | undefined;
|
|
995
932
|
account?: {
|
|
996
933
|
status: import("../../..").AccountStatus;
|
|
@@ -1025,10 +962,7 @@ export declare const assetsContract: {
|
|
|
1025
962
|
durationType: import("../../..").DurationType | null;
|
|
1026
963
|
tiers: number[] | null;
|
|
1027
964
|
enableBonus: boolean;
|
|
1028
|
-
principalAmount: number | null;
|
|
1029
|
-
maxTotalRaise: number | null;
|
|
1030
965
|
interestRate: number | null;
|
|
1031
|
-
interestType: import("../../../common/types/asset.types").InterestType | null;
|
|
1032
966
|
__entity?: string | undefined;
|
|
1033
967
|
account?: {
|
|
1034
968
|
status: import("../../..").AccountStatus;
|