@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
|
@@ -1,345 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;IACpB,qEAAuD,CAA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