@dalmore/api-contracts 0.0.0-dev.f1cb508 → 0.0.0-dev.fb640f0

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.
Files changed (59) hide show
  1. package/common/types/account-setting.types.d.ts +17 -66
  2. package/common/types/account-setting.types.js +2 -31
  3. package/common/types/account-setting.types.js.map +1 -1
  4. package/common/types/account.types.d.ts +32 -23
  5. package/common/types/account.types.js +1 -0
  6. package/common/types/account.types.js.map +1 -1
  7. package/common/types/activity.types.d.ts +34 -25
  8. package/common/types/activity.types.js +11 -0
  9. package/common/types/activity.types.js.map +1 -1
  10. package/common/types/asset.types.d.ts +25 -111
  11. package/common/types/asset.types.js +24 -100
  12. package/common/types/asset.types.js.map +1 -1
  13. package/common/types/bonus-tier.types.d.ts +0 -30
  14. package/common/types/cap-table.types.d.ts +29 -14
  15. package/common/types/cap-table.types.js +17 -0
  16. package/common/types/cap-table.types.js.map +1 -1
  17. package/common/types/common.types.d.ts +312 -2
  18. package/common/types/common.types.js +48 -1
  19. package/common/types/common.types.js.map +1 -1
  20. package/common/types/dashboard.types.d.ts +7 -7
  21. package/common/types/disbursements.types.d.ts +41 -0
  22. package/common/types/disbursements.types.js +3 -0
  23. package/common/types/disbursements.types.js.map +1 -1
  24. package/common/types/escrow-account.types.d.ts +17 -0
  25. package/common/types/escrow-account.types.js +3 -0
  26. package/common/types/escrow-account.types.js.map +1 -1
  27. package/common/types/file.types.d.ts +30 -9
  28. package/common/types/file.types.js +9 -0
  29. package/common/types/file.types.js.map +1 -1
  30. package/common/types/index.d.ts +2 -0
  31. package/common/types/index.js +2 -0
  32. package/common/types/index.js.map +1 -1
  33. package/common/types/issuer-offering.types.d.ts +160 -68
  34. package/common/types/issuer-offering.types.js +148 -37
  35. package/common/types/issuer-offering.types.js.map +1 -1
  36. package/common/types/job-item.types.d.ts +14 -14
  37. package/common/types/note.types.d.ts +15 -15
  38. package/common/types/offering-submission.types.d.ts +198 -0
  39. package/common/types/offering-submission.types.js +16 -3
  40. package/common/types/offering-submission.types.js.map +1 -1
  41. package/common/types/offering.types.d.ts +216 -41
  42. package/common/types/offering.types.js +164 -38
  43. package/common/types/offering.types.js.map +1 -1
  44. package/common/types/reports.types.d.ts +345 -0
  45. package/common/types/reports.types.js +69 -0
  46. package/common/types/reports.types.js.map +1 -0
  47. package/common/types/site.types.d.ts +0 -15
  48. package/common/types/task.types.d.ts +22 -22
  49. package/common/types/trade.types.js +1 -0
  50. package/common/types/trade.types.js.map +1 -1
  51. package/common/types/user.types.d.ts +107 -59
  52. package/common/types/user.types.js +7 -1
  53. package/common/types/user.types.js.map +1 -1
  54. package/contracts/clients/assets/index.d.ts +0 -66
  55. package/contracts/clients/files/index.d.ts +3 -3
  56. package/contracts/clients/files-public/index.d.ts +3 -3
  57. package/contracts/clients/index.d.ts +76 -102
  58. package/contracts/clients/offerings/index.d.ts +70 -30
  59. package/package.json +1 -1
@@ -0,0 +1,345 @@
1
+ import { z } from 'zod';
2
+ export declare enum ReportType {
3
+ COMPLIANCE_OFFICER_REPORT = "COMPLIANCE_OFFICER_REPORT",
4
+ OFFERING_REPORT = "OFFERING_REPORT"
5
+ }
6
+ export declare const ComplianceOfficerReportFiltersZod: z.ZodObject<{
7
+ search: z.ZodOptional<z.ZodString>;
8
+ complianceOfficerIds: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string[], string | undefined>, string[], string | undefined>;
9
+ /**
10
+ * Optional date range filter on when the trade was reviewed.
11
+ */
12
+ from: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
13
+ to: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ complianceOfficerIds: string[];
16
+ from?: Date | null | undefined;
17
+ to?: Date | null | undefined;
18
+ search?: string | undefined;
19
+ }, {
20
+ from?: string | null | undefined;
21
+ to?: string | null | undefined;
22
+ search?: string | undefined;
23
+ complianceOfficerIds?: string | undefined;
24
+ }>;
25
+ export type ComplianceOfficerReportFiltersZod = z.infer<typeof ComplianceOfficerReportFiltersZod>;
26
+ export declare const IComplianceOfficerReportRow: z.ZodObject<{
27
+ complianceOfficerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
28
+ complianceOfficerName: z.ZodString;
29
+ accountCount: z.ZodNumber;
30
+ issuerCount: z.ZodNumber;
31
+ offeringCount: z.ZodNumber;
32
+ approvedTradesCount: z.ZodNumber;
33
+ rejectedTradesCount: z.ZodNumber;
34
+ }, "strip", z.ZodTypeAny, {
35
+ complianceOfficerId: string;
36
+ complianceOfficerName: string;
37
+ accountCount: number;
38
+ issuerCount: number;
39
+ offeringCount: number;
40
+ approvedTradesCount: number;
41
+ rejectedTradesCount: number;
42
+ }, {
43
+ complianceOfficerId: string;
44
+ complianceOfficerName: string;
45
+ accountCount: number;
46
+ issuerCount: number;
47
+ offeringCount: number;
48
+ approvedTradesCount: number;
49
+ rejectedTradesCount: number;
50
+ }>;
51
+ export type IComplianceOfficerReportRow = z.infer<typeof IComplianceOfficerReportRow>;
52
+ export declare const IComplianceOfficerReportDetailRow: z.ZodObject<{
53
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
54
+ accountName: z.ZodString;
55
+ issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
56
+ issuerName: z.ZodString;
57
+ offeringId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
58
+ offeringName: z.ZodString;
59
+ approvedTradesCount: z.ZodNumber;
60
+ rejectedTradesCount: z.ZodNumber;
61
+ }, "strip", z.ZodTypeAny, {
62
+ accountId: string;
63
+ accountName: string;
64
+ offeringId: string;
65
+ issuerId: string;
66
+ issuerName: string;
67
+ offeringName: string;
68
+ approvedTradesCount: number;
69
+ rejectedTradesCount: number;
70
+ }, {
71
+ accountId: string;
72
+ accountName: string;
73
+ offeringId: string;
74
+ issuerId: string;
75
+ issuerName: string;
76
+ offeringName: string;
77
+ approvedTradesCount: number;
78
+ rejectedTradesCount: number;
79
+ }>;
80
+ export type IComplianceOfficerReportDetailRow = z.infer<typeof IComplianceOfficerReportDetailRow>;
81
+ export declare const IComplianceOfficerReportRowWithDetails: z.ZodObject<{
82
+ complianceOfficerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
83
+ complianceOfficerName: z.ZodString;
84
+ accountCount: z.ZodNumber;
85
+ issuerCount: z.ZodNumber;
86
+ offeringCount: z.ZodNumber;
87
+ approvedTradesCount: z.ZodNumber;
88
+ rejectedTradesCount: z.ZodNumber;
89
+ } & {
90
+ rows: z.ZodArray<z.ZodObject<{
91
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
92
+ accountName: z.ZodString;
93
+ issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
94
+ issuerName: z.ZodString;
95
+ offeringId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
96
+ offeringName: z.ZodString;
97
+ approvedTradesCount: z.ZodNumber;
98
+ rejectedTradesCount: z.ZodNumber;
99
+ }, "strip", z.ZodTypeAny, {
100
+ accountId: string;
101
+ accountName: string;
102
+ offeringId: string;
103
+ issuerId: string;
104
+ issuerName: string;
105
+ offeringName: string;
106
+ approvedTradesCount: number;
107
+ rejectedTradesCount: number;
108
+ }, {
109
+ accountId: string;
110
+ accountName: string;
111
+ offeringId: string;
112
+ issuerId: string;
113
+ issuerName: string;
114
+ offeringName: string;
115
+ approvedTradesCount: number;
116
+ rejectedTradesCount: number;
117
+ }>, "many">;
118
+ }, "strip", z.ZodTypeAny, {
119
+ complianceOfficerId: string;
120
+ complianceOfficerName: string;
121
+ accountCount: number;
122
+ issuerCount: number;
123
+ offeringCount: number;
124
+ approvedTradesCount: number;
125
+ rejectedTradesCount: number;
126
+ rows: {
127
+ accountId: string;
128
+ accountName: string;
129
+ offeringId: string;
130
+ issuerId: string;
131
+ issuerName: string;
132
+ offeringName: string;
133
+ approvedTradesCount: number;
134
+ rejectedTradesCount: number;
135
+ }[];
136
+ }, {
137
+ complianceOfficerId: string;
138
+ complianceOfficerName: string;
139
+ accountCount: number;
140
+ issuerCount: number;
141
+ offeringCount: number;
142
+ approvedTradesCount: number;
143
+ rejectedTradesCount: number;
144
+ rows: {
145
+ accountId: string;
146
+ accountName: string;
147
+ offeringId: string;
148
+ issuerId: string;
149
+ issuerName: string;
150
+ offeringName: string;
151
+ approvedTradesCount: number;
152
+ rejectedTradesCount: number;
153
+ }[];
154
+ }>;
155
+ export type IComplianceOfficerReportRowWithDetails = z.infer<typeof IComplianceOfficerReportRowWithDetails>;
156
+ export declare const IReportSummary: z.ZodObject<{
157
+ type: z.ZodNativeEnum<typeof ReportType>;
158
+ count: z.ZodNumber;
159
+ }, "strip", z.ZodTypeAny, {
160
+ type: ReportType;
161
+ count: number;
162
+ }, {
163
+ type: ReportType;
164
+ count: number;
165
+ }>;
166
+ export type IReportSummary = z.infer<typeof IReportSummary>;
167
+ export declare const IPaginatedComplianceOfficerReport: z.ZodObject<{
168
+ items: z.ZodArray<z.ZodObject<{
169
+ complianceOfficerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
170
+ complianceOfficerName: z.ZodString;
171
+ accountCount: z.ZodNumber;
172
+ issuerCount: z.ZodNumber;
173
+ offeringCount: z.ZodNumber;
174
+ approvedTradesCount: z.ZodNumber;
175
+ rejectedTradesCount: z.ZodNumber;
176
+ } & {
177
+ rows: z.ZodArray<z.ZodObject<{
178
+ accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
179
+ accountName: z.ZodString;
180
+ issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
181
+ issuerName: z.ZodString;
182
+ offeringId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
183
+ offeringName: z.ZodString;
184
+ approvedTradesCount: z.ZodNumber;
185
+ rejectedTradesCount: z.ZodNumber;
186
+ }, "strip", z.ZodTypeAny, {
187
+ accountId: string;
188
+ accountName: string;
189
+ offeringId: string;
190
+ issuerId: string;
191
+ issuerName: string;
192
+ offeringName: string;
193
+ approvedTradesCount: number;
194
+ rejectedTradesCount: number;
195
+ }, {
196
+ accountId: string;
197
+ accountName: string;
198
+ offeringId: string;
199
+ issuerId: string;
200
+ issuerName: string;
201
+ offeringName: string;
202
+ approvedTradesCount: number;
203
+ rejectedTradesCount: number;
204
+ }>, "many">;
205
+ }, "strip", z.ZodTypeAny, {
206
+ complianceOfficerId: string;
207
+ complianceOfficerName: string;
208
+ accountCount: number;
209
+ issuerCount: number;
210
+ offeringCount: number;
211
+ approvedTradesCount: number;
212
+ rejectedTradesCount: number;
213
+ rows: {
214
+ accountId: string;
215
+ accountName: string;
216
+ offeringId: string;
217
+ issuerId: string;
218
+ issuerName: string;
219
+ offeringName: string;
220
+ approvedTradesCount: number;
221
+ rejectedTradesCount: number;
222
+ }[];
223
+ }, {
224
+ complianceOfficerId: string;
225
+ complianceOfficerName: string;
226
+ accountCount: number;
227
+ issuerCount: number;
228
+ offeringCount: number;
229
+ approvedTradesCount: number;
230
+ rejectedTradesCount: number;
231
+ rows: {
232
+ accountId: string;
233
+ accountName: string;
234
+ offeringId: string;
235
+ issuerId: string;
236
+ issuerName: string;
237
+ offeringName: string;
238
+ approvedTradesCount: number;
239
+ rejectedTradesCount: number;
240
+ }[];
241
+ }>, "many">;
242
+ meta: z.ZodObject<{
243
+ itemCount: z.ZodNumber;
244
+ totalItems: z.ZodOptional<z.ZodNumber>;
245
+ itemsPerPage: z.ZodNumber;
246
+ totalPages: z.ZodOptional<z.ZodNumber>;
247
+ currentPage: z.ZodNumber;
248
+ }, "strip", z.ZodTypeAny, {
249
+ itemCount: number;
250
+ itemsPerPage: number;
251
+ currentPage: number;
252
+ totalItems?: number | undefined;
253
+ totalPages?: number | undefined;
254
+ }, {
255
+ itemCount: number;
256
+ itemsPerPage: number;
257
+ currentPage: number;
258
+ totalItems?: number | undefined;
259
+ totalPages?: number | undefined;
260
+ }>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ items: {
263
+ complianceOfficerId: string;
264
+ complianceOfficerName: string;
265
+ accountCount: number;
266
+ issuerCount: number;
267
+ offeringCount: number;
268
+ approvedTradesCount: number;
269
+ rejectedTradesCount: number;
270
+ rows: {
271
+ accountId: string;
272
+ accountName: string;
273
+ offeringId: string;
274
+ issuerId: string;
275
+ issuerName: string;
276
+ offeringName: string;
277
+ approvedTradesCount: number;
278
+ rejectedTradesCount: number;
279
+ }[];
280
+ }[];
281
+ meta: {
282
+ itemCount: number;
283
+ itemsPerPage: number;
284
+ currentPage: number;
285
+ totalItems?: number | undefined;
286
+ totalPages?: number | undefined;
287
+ };
288
+ }, {
289
+ items: {
290
+ complianceOfficerId: string;
291
+ complianceOfficerName: string;
292
+ accountCount: number;
293
+ issuerCount: number;
294
+ offeringCount: number;
295
+ approvedTradesCount: number;
296
+ rejectedTradesCount: number;
297
+ rows: {
298
+ accountId: string;
299
+ accountName: string;
300
+ offeringId: string;
301
+ issuerId: string;
302
+ issuerName: string;
303
+ offeringName: string;
304
+ approvedTradesCount: number;
305
+ rejectedTradesCount: number;
306
+ }[];
307
+ }[];
308
+ meta: {
309
+ itemCount: number;
310
+ itemsPerPage: number;
311
+ currentPage: number;
312
+ totalItems?: number | undefined;
313
+ totalPages?: number | undefined;
314
+ };
315
+ }>;
316
+ export type IPaginatedComplianceOfficerReport = z.infer<typeof IPaginatedComplianceOfficerReport>;
317
+ /** Common filter parameters for compliance officer queries */
318
+ export interface ComplianceOfficerFilterParams {
319
+ fromDate: Date | null;
320
+ toDate: Date | null;
321
+ search: string | undefined;
322
+ complianceOfficerIds: string[];
323
+ }
324
+ /** Raw row type from compliance officer aggregate query */
325
+ export interface ComplianceOfficerAggregateRow {
326
+ compliance_officer_id: string;
327
+ compliance_officer_name: string;
328
+ account_count: string | number;
329
+ issuer_count: string | number;
330
+ offering_count: string | number;
331
+ approved_trades_count: string | number;
332
+ rejected_trades_count: string | number;
333
+ }
334
+ /** Raw row type from compliance officer detail query */
335
+ export interface ComplianceOfficerDetailQueryRow {
336
+ compliance_officer_id: string;
337
+ account_id: string | null;
338
+ account_name: string | null;
339
+ issuer_id: string | null;
340
+ issuer_name: string | null;
341
+ offering_id: string | null;
342
+ offering_name: string | null;
343
+ approved_trades_count: string | number;
344
+ rejected_trades_count: string | number;
345
+ }
@@ -0,0 +1,69 @@
1
+ import { extendZodWithOpenApi } from '@anatine/zod-openapi';
2
+ import { z } from 'zod';
3
+ import { accountIdSchema } from './account.types.js';
4
+ import { dateSchema, IPaginationMeta } from './common.types.js';
5
+ import { issuerIdSchema } from './issuer.types.js';
6
+ import { offeringIdSchema } from './offering.types.js';
7
+ import { userIdSchema } from './user.types.js';
8
+ extendZodWithOpenApi(z);
9
+ export var ReportType;
10
+ (function (ReportType) {
11
+ ReportType["COMPLIANCE_OFFICER_REPORT"] = "COMPLIANCE_OFFICER_REPORT";
12
+ ReportType["OFFERING_REPORT"] = "OFFERING_REPORT";
13
+ })(ReportType || (ReportType = {}));
14
+ export const ComplianceOfficerReportFiltersZod = z.object({
15
+ search: z.string().trim().max(50).optional(),
16
+ complianceOfficerIds: z
17
+ .string()
18
+ .optional()
19
+ .transform((value) => {
20
+ if (!value) {
21
+ return [];
22
+ }
23
+ const ids = value.split(',').map((id) => id.trim());
24
+ return Array.from(new Set(ids));
25
+ })
26
+ .refine((value) => {
27
+ if (!value || value.length === 0)
28
+ return true;
29
+ return value.every((id) => userIdSchema.safeParse(id).success);
30
+ }, {
31
+ message: 'Invalid compliance officer IDs. Must be a valid user ID. Example: user_01j6aqmtfyfwy9spjdcnh7yqk7',
32
+ }),
33
+ /**
34
+ * Optional date range filter on when the trade was reviewed.
35
+ */
36
+ from: dateSchema.optional().openapi({ example: 'MM/DD/YYYY' }),
37
+ to: dateSchema.optional().openapi({ example: 'MM/DD/YYYY' }),
38
+ });
39
+ export const IComplianceOfficerReportRow = z.object({
40
+ complianceOfficerId: z.lazy(() => userIdSchema),
41
+ complianceOfficerName: z.string(),
42
+ accountCount: z.number(),
43
+ issuerCount: z.number(),
44
+ offeringCount: z.number(),
45
+ approvedTradesCount: z.number(),
46
+ rejectedTradesCount: z.number(),
47
+ });
48
+ export const IComplianceOfficerReportDetailRow = z.object({
49
+ accountId: z.lazy(() => accountIdSchema),
50
+ accountName: z.string(),
51
+ issuerId: z.lazy(() => issuerIdSchema),
52
+ issuerName: z.string(),
53
+ offeringId: z.lazy(() => offeringIdSchema),
54
+ offeringName: z.string(),
55
+ approvedTradesCount: z.number(),
56
+ rejectedTradesCount: z.number(),
57
+ });
58
+ export const IComplianceOfficerReportRowWithDetails = IComplianceOfficerReportRow.extend({
59
+ rows: z.array(IComplianceOfficerReportDetailRow),
60
+ });
61
+ export const IReportSummary = z.object({
62
+ type: z.nativeEnum(ReportType),
63
+ count: z.number(),
64
+ });
65
+ export const IPaginatedComplianceOfficerReport = z.object({
66
+ items: z.array(IComplianceOfficerReportRowWithDetails),
67
+ meta: IPaginationMeta,
68
+ });
69
+ //# sourceMappingURL=reports.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reports.types.js","sourceRoot":"","sources":["reports.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAExB,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;I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,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,sCAAsC,CAAC;IACtD,IAAI,EAAE,eAAe;CACtB,CAAC,CAAC"}
@@ -942,10 +942,7 @@ export declare const SiteConfigsZod: z.ZodObject<{
942
942
  template: z.ZodNativeEnum<typeof import("./asset.types").AssetTemplateType>;
943
943
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
944
944
  enableBonus: z.ZodBoolean;
945
- principalAmount: z.ZodNullable<z.ZodNumber>;
946
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
947
945
  interestRate: z.ZodNullable<z.ZodNumber>;
948
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof import("./asset.types").InterestType>>;
949
946
  }, "strip", z.ZodTypeAny, {
950
947
  type: import("./common.types").AssetType | null;
951
948
  id: string;
@@ -964,10 +961,7 @@ export declare const SiteConfigsZod: z.ZodObject<{
964
961
  durationType: import("./common.types").DurationType | null;
965
962
  tiers: number[] | null;
966
963
  enableBonus: boolean;
967
- principalAmount: number | null;
968
- maxTotalRaise: number | null;
969
964
  interestRate: number | null;
970
- interestType: import("./asset.types").InterestType | null;
971
965
  __entity?: string | undefined;
972
966
  account?: {
973
967
  status: AccountStatus;
@@ -1002,10 +996,7 @@ export declare const SiteConfigsZod: z.ZodObject<{
1002
996
  durationType: import("./common.types").DurationType | null;
1003
997
  tiers: number[] | null;
1004
998
  enableBonus: boolean;
1005
- principalAmount: number | null;
1006
- maxTotalRaise: number | null;
1007
999
  interestRate: number | null;
1008
- interestType: import("./asset.types").InterestType | null;
1009
1000
  __entity?: string | undefined;
1010
1001
  account?: {
1011
1002
  status: AccountStatus;
@@ -1265,10 +1256,7 @@ export declare const SiteConfigsZod: z.ZodObject<{
1265
1256
  durationType: import("./common.types").DurationType | null;
1266
1257
  tiers: number[] | null;
1267
1258
  enableBonus: boolean;
1268
- principalAmount: number | null;
1269
- maxTotalRaise: number | null;
1270
1259
  interestRate: number | null;
1271
- interestType: import("./asset.types").InterestType | null;
1272
1260
  __entity?: string | undefined;
1273
1261
  account?: {
1274
1262
  status: AccountStatus;
@@ -1372,10 +1360,7 @@ export declare const SiteConfigsZod: z.ZodObject<{
1372
1360
  durationType: import("./common.types").DurationType | null;
1373
1361
  tiers: number[] | null;
1374
1362
  enableBonus: boolean;
1375
- principalAmount: number | null;
1376
- maxTotalRaise: number | null;
1377
1363
  interestRate: number | null;
1378
- interestType: import("./asset.types").InterestType | null;
1379
1364
  __entity?: string | undefined;
1380
1365
  account?: {
1381
1366
  status: AccountStatus;