expo-backend-types 0.17.0-EXPO-244-EB-CSV.2 → 0.17.0-EXPO-289-EB-Filtro-base.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/event/dto/event.dto.js +1 -1
- package/dist/src/i18n/es.d.ts +3 -22
- package/dist/src/i18n/es.js +3 -22
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/dto/create-profile.dto.d.ts +10 -10
- package/dist/src/profile/dto/delete-profile.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +8 -8
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +12 -12
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +8 -8
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +8 -8
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +8 -8
- package/dist/src/profile/dto/profile.dto.d.ts +2 -2
- package/dist/src/profile/dto/profile.dto.js +6 -1
- package/dist/src/profile/dto/update-profile.dto.d.ts +10 -10
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +8 -8
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +8 -8
- package/dist/types/schema.d.ts +0 -110
- package/package.json +2 -5
- package/dist/src/csv/dto/csv.dto.d.ts +0 -18
- package/dist/src/csv/dto/csv.dto.js +0 -17
- package/dist/src/csv/dto/download-all-tables.dto.d.ts +0 -23
- package/dist/src/csv/dto/download-all-tables.dto.js +0 -19
- package/dist/src/csv/dto/download-profiles.dto.d.ts +0 -18
- package/dist/src/csv/dto/download-profiles.dto.js +0 -15
- package/dist/src/csv/exports.d.ts +0 -3
- package/dist/src/csv/exports.js +0 -20
@@ -48,6 +48,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
48
48
|
secondaryPhoneNumber: string | null;
|
49
49
|
fullName: string;
|
50
50
|
profilePictureUrl: string | null;
|
51
|
+
mail: string | null;
|
51
52
|
created_at: Date;
|
52
53
|
updated_at: Date;
|
53
54
|
shortId: number;
|
@@ -55,7 +56,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
55
56
|
gender: string | null;
|
56
57
|
birthDate: Date | null;
|
57
58
|
instagram: string | null;
|
58
|
-
mail: string | null;
|
59
59
|
dni: string | null;
|
60
60
|
alternativeNames: string[];
|
61
61
|
birthLocationId: string | null;
|
@@ -68,6 +68,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
68
68
|
secondaryPhoneNumber: string | null;
|
69
69
|
fullName: string;
|
70
70
|
profilePictureUrl: string | null;
|
71
|
+
mail: string | null;
|
71
72
|
created_at: Date;
|
72
73
|
updated_at: Date;
|
73
74
|
shortId: number;
|
@@ -75,7 +76,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
75
76
|
gender: string | null;
|
76
77
|
birthDate: string | null;
|
77
78
|
instagram: string | null;
|
78
|
-
mail: string | null;
|
79
79
|
dni: string | null;
|
80
80
|
alternativeNames: string[];
|
81
81
|
birthLocationId: string | null;
|
@@ -90,6 +90,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
90
90
|
secondaryPhoneNumber: string | null;
|
91
91
|
fullName: string;
|
92
92
|
profilePictureUrl: string | null;
|
93
|
+
mail: string | null;
|
93
94
|
created_at: Date;
|
94
95
|
updated_at: Date;
|
95
96
|
shortId: number;
|
@@ -97,7 +98,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
97
98
|
gender: string | null;
|
98
99
|
birthDate: Date | null;
|
99
100
|
instagram: string | null;
|
100
|
-
mail: string | null;
|
101
101
|
dni: string | null;
|
102
102
|
alternativeNames: string[];
|
103
103
|
birthLocationId: string | null;
|
@@ -112,6 +112,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
112
112
|
secondaryPhoneNumber: string | null;
|
113
113
|
fullName: string;
|
114
114
|
profilePictureUrl: string | null;
|
115
|
+
mail: string | null;
|
115
116
|
created_at: Date;
|
116
117
|
updated_at: Date;
|
117
118
|
shortId: number;
|
@@ -119,7 +120,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
119
120
|
gender: string | null;
|
120
121
|
birthDate: string | null;
|
121
122
|
instagram: string | null;
|
122
|
-
mail: string | null;
|
123
123
|
dni: string | null;
|
124
124
|
alternativeNames: string[];
|
125
125
|
birthLocationId: string | null;
|
@@ -155,6 +155,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
155
155
|
secondaryPhoneNumber: string | null;
|
156
156
|
fullName: string;
|
157
157
|
profilePictureUrl: string | null;
|
158
|
+
mail: string | null;
|
158
159
|
created_at: string;
|
159
160
|
updated_at: string;
|
160
161
|
shortId: number;
|
@@ -162,7 +163,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
162
163
|
gender: string | null;
|
163
164
|
birthDate: Date | null;
|
164
165
|
instagram: string | null;
|
165
|
-
mail: string | null;
|
166
166
|
dni: string | null;
|
167
167
|
alternativeNames: string[];
|
168
168
|
birthLocationId: string | null;
|
@@ -175,6 +175,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
175
175
|
secondaryPhoneNumber: string | null;
|
176
176
|
fullName: string;
|
177
177
|
profilePictureUrl: string | null;
|
178
|
+
mail: string | null;
|
178
179
|
created_at: string;
|
179
180
|
updated_at: string;
|
180
181
|
shortId: number;
|
@@ -182,7 +183,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
182
183
|
gender: string | null;
|
183
184
|
birthDate: string | null;
|
184
185
|
instagram: string | null;
|
185
|
-
mail: string | null;
|
186
186
|
dni: string | null;
|
187
187
|
alternativeNames: string[];
|
188
188
|
birthLocationId: string | null;
|
@@ -197,6 +197,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
197
197
|
secondaryPhoneNumber: string | null;
|
198
198
|
fullName: string;
|
199
199
|
profilePictureUrl: string | null;
|
200
|
+
mail: string | null;
|
200
201
|
created_at: string;
|
201
202
|
updated_at: string;
|
202
203
|
shortId: number;
|
@@ -204,7 +205,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
204
205
|
gender: string | null;
|
205
206
|
birthDate: Date | null;
|
206
207
|
instagram: string | null;
|
207
|
-
mail: string | null;
|
208
208
|
dni: string | null;
|
209
209
|
alternativeNames: string[];
|
210
210
|
birthLocationId: string | null;
|
@@ -219,6 +219,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
219
219
|
secondaryPhoneNumber: string | null;
|
220
220
|
fullName: string;
|
221
221
|
profilePictureUrl: string | null;
|
222
|
+
mail: string | null;
|
222
223
|
created_at: string;
|
223
224
|
updated_at: string;
|
224
225
|
shortId: number;
|
@@ -226,7 +227,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
226
227
|
gender: string | null;
|
227
228
|
birthDate: string | null;
|
228
229
|
instagram: string | null;
|
229
|
-
mail: string | null;
|
230
230
|
dni: string | null;
|
231
231
|
alternativeNames: string[];
|
232
232
|
birthLocationId: string | null;
|
@@ -48,6 +48,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
48
48
|
secondaryPhoneNumber: string | null;
|
49
49
|
fullName: string;
|
50
50
|
profilePictureUrl: string | null;
|
51
|
+
mail: string | null;
|
51
52
|
created_at: Date;
|
52
53
|
updated_at: Date;
|
53
54
|
shortId: number;
|
@@ -55,7 +56,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
55
56
|
gender: string | null;
|
56
57
|
birthDate: Date | null;
|
57
58
|
instagram: string | null;
|
58
|
-
mail: string | null;
|
59
59
|
dni: string | null;
|
60
60
|
alternativeNames: string[];
|
61
61
|
birthLocationId: string | null;
|
@@ -68,6 +68,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
68
68
|
secondaryPhoneNumber: string | null;
|
69
69
|
fullName: string;
|
70
70
|
profilePictureUrl: string | null;
|
71
|
+
mail: string | null;
|
71
72
|
created_at: Date;
|
72
73
|
updated_at: Date;
|
73
74
|
shortId: number;
|
@@ -75,7 +76,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
75
76
|
gender: string | null;
|
76
77
|
birthDate: string | null;
|
77
78
|
instagram: string | null;
|
78
|
-
mail: string | null;
|
79
79
|
dni: string | null;
|
80
80
|
alternativeNames: string[];
|
81
81
|
birthLocationId: string | null;
|
@@ -90,6 +90,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
90
90
|
secondaryPhoneNumber: string | null;
|
91
91
|
fullName: string;
|
92
92
|
profilePictureUrl: string | null;
|
93
|
+
mail: string | null;
|
93
94
|
created_at: Date;
|
94
95
|
updated_at: Date;
|
95
96
|
shortId: number;
|
@@ -97,7 +98,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
97
98
|
gender: string | null;
|
98
99
|
birthDate: Date | null;
|
99
100
|
instagram: string | null;
|
100
|
-
mail: string | null;
|
101
101
|
dni: string | null;
|
102
102
|
alternativeNames: string[];
|
103
103
|
birthLocationId: string | null;
|
@@ -112,6 +112,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
112
112
|
secondaryPhoneNumber: string | null;
|
113
113
|
fullName: string;
|
114
114
|
profilePictureUrl: string | null;
|
115
|
+
mail: string | null;
|
115
116
|
created_at: Date;
|
116
117
|
updated_at: Date;
|
117
118
|
shortId: number;
|
@@ -119,7 +120,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
119
120
|
gender: string | null;
|
120
121
|
birthDate: string | null;
|
121
122
|
instagram: string | null;
|
122
|
-
mail: string | null;
|
123
123
|
dni: string | null;
|
124
124
|
alternativeNames: string[];
|
125
125
|
birthLocationId: string | null;
|
@@ -155,6 +155,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
155
155
|
secondaryPhoneNumber: string | null;
|
156
156
|
fullName: string;
|
157
157
|
profilePictureUrl: string | null;
|
158
|
+
mail: string | null;
|
158
159
|
created_at: string;
|
159
160
|
updated_at: string;
|
160
161
|
shortId: number;
|
@@ -162,7 +163,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
162
163
|
gender: string | null;
|
163
164
|
birthDate: Date | null;
|
164
165
|
instagram: string | null;
|
165
|
-
mail: string | null;
|
166
166
|
dni: string | null;
|
167
167
|
alternativeNames: string[];
|
168
168
|
birthLocationId: string | null;
|
@@ -175,6 +175,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
175
175
|
secondaryPhoneNumber: string | null;
|
176
176
|
fullName: string;
|
177
177
|
profilePictureUrl: string | null;
|
178
|
+
mail: string | null;
|
178
179
|
created_at: string;
|
179
180
|
updated_at: string;
|
180
181
|
shortId: number;
|
@@ -182,7 +183,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
182
183
|
gender: string | null;
|
183
184
|
birthDate: string | null;
|
184
185
|
instagram: string | null;
|
185
|
-
mail: string | null;
|
186
186
|
dni: string | null;
|
187
187
|
alternativeNames: string[];
|
188
188
|
birthLocationId: string | null;
|
@@ -197,6 +197,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
197
197
|
secondaryPhoneNumber: string | null;
|
198
198
|
fullName: string;
|
199
199
|
profilePictureUrl: string | null;
|
200
|
+
mail: string | null;
|
200
201
|
created_at: string;
|
201
202
|
updated_at: string;
|
202
203
|
shortId: number;
|
@@ -204,7 +205,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
204
205
|
gender: string | null;
|
205
206
|
birthDate: Date | null;
|
206
207
|
instagram: string | null;
|
207
|
-
mail: string | null;
|
208
208
|
dni: string | null;
|
209
209
|
alternativeNames: string[];
|
210
210
|
birthLocationId: string | null;
|
@@ -219,6 +219,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
219
219
|
secondaryPhoneNumber: string | null;
|
220
220
|
fullName: string;
|
221
221
|
profilePictureUrl: string | null;
|
222
|
+
mail: string | null;
|
222
223
|
created_at: string;
|
223
224
|
updated_at: string;
|
224
225
|
shortId: number;
|
@@ -226,7 +227,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
226
227
|
gender: string | null;
|
227
228
|
birthDate: string | null;
|
228
229
|
instagram: string | null;
|
229
|
-
mail: string | null;
|
230
230
|
dni: string | null;
|
231
231
|
alternativeNames: string[];
|
232
232
|
birthLocationId: string | null;
|
package/dist/types/schema.d.ts
CHANGED
@@ -703,38 +703,6 @@ export interface paths {
|
|
703
703
|
patch: operations["ProfileController_update"];
|
704
704
|
trace?: never;
|
705
705
|
};
|
706
|
-
"/csv/download-profiles": {
|
707
|
-
parameters: {
|
708
|
-
query?: never;
|
709
|
-
header?: never;
|
710
|
-
path?: never;
|
711
|
-
cookie?: never;
|
712
|
-
};
|
713
|
-
get: operations["CsvController_downloadProfiles"];
|
714
|
-
put?: never;
|
715
|
-
post?: never;
|
716
|
-
delete?: never;
|
717
|
-
options?: never;
|
718
|
-
head?: never;
|
719
|
-
patch?: never;
|
720
|
-
trace?: never;
|
721
|
-
};
|
722
|
-
"/csv/download-all-tables": {
|
723
|
-
parameters: {
|
724
|
-
query?: never;
|
725
|
-
header?: never;
|
726
|
-
path?: never;
|
727
|
-
cookie?: never;
|
728
|
-
};
|
729
|
-
get: operations["CsvController_downloadAllTables"];
|
730
|
-
put?: never;
|
731
|
-
post?: never;
|
732
|
-
delete?: never;
|
733
|
-
options?: never;
|
734
|
-
head?: never;
|
735
|
-
patch?: never;
|
736
|
-
trace?: never;
|
737
|
-
};
|
738
706
|
}
|
739
707
|
export type webhooks = Record<string, never>;
|
740
708
|
export interface components {
|
@@ -1837,14 +1805,6 @@ export interface components {
|
|
1837
1805
|
};
|
1838
1806
|
tags?: string[];
|
1839
1807
|
};
|
1840
|
-
DownloadProfilesDto: {
|
1841
|
-
password: string;
|
1842
|
-
};
|
1843
|
-
StreamableFile: Record<string, never>;
|
1844
|
-
DownloadAllTablesDto: {
|
1845
|
-
password: string;
|
1846
|
-
};
|
1847
|
-
Buffer: Record<string, never>;
|
1848
1808
|
};
|
1849
1809
|
responses: never;
|
1850
1810
|
parameters: never;
|
@@ -3274,74 +3234,4 @@ export interface operations {
|
|
3274
3234
|
};
|
3275
3235
|
};
|
3276
3236
|
};
|
3277
|
-
CsvController_downloadProfiles: {
|
3278
|
-
parameters: {
|
3279
|
-
query?: never;
|
3280
|
-
header?: never;
|
3281
|
-
path?: never;
|
3282
|
-
cookie?: never;
|
3283
|
-
};
|
3284
|
-
requestBody: {
|
3285
|
-
content: {
|
3286
|
-
"application/json": components["schemas"]["DownloadProfilesDto"];
|
3287
|
-
};
|
3288
|
-
};
|
3289
|
-
responses: {
|
3290
|
-
409: {
|
3291
|
-
headers: {
|
3292
|
-
[name: string]: unknown;
|
3293
|
-
};
|
3294
|
-
content: {
|
3295
|
-
"application/json": components["schemas"]["ErrorDto"];
|
3296
|
-
};
|
3297
|
-
};
|
3298
|
-
500: {
|
3299
|
-
headers: {
|
3300
|
-
[name: string]: unknown;
|
3301
|
-
};
|
3302
|
-
content: {
|
3303
|
-
"application/json": components["schemas"]["ErrorDto"];
|
3304
|
-
};
|
3305
|
-
};
|
3306
|
-
default: {
|
3307
|
-
headers: {
|
3308
|
-
[name: string]: unknown;
|
3309
|
-
};
|
3310
|
-
content: {
|
3311
|
-
"application/json": components["schemas"]["StreamableFile"];
|
3312
|
-
};
|
3313
|
-
};
|
3314
|
-
};
|
3315
|
-
};
|
3316
|
-
CsvController_downloadAllTables: {
|
3317
|
-
parameters: {
|
3318
|
-
query?: never;
|
3319
|
-
header?: never;
|
3320
|
-
path?: never;
|
3321
|
-
cookie?: never;
|
3322
|
-
};
|
3323
|
-
requestBody: {
|
3324
|
-
content: {
|
3325
|
-
"application/json": components["schemas"]["DownloadAllTablesDto"];
|
3326
|
-
};
|
3327
|
-
};
|
3328
|
-
responses: {
|
3329
|
-
409: {
|
3330
|
-
headers: {
|
3331
|
-
[name: string]: unknown;
|
3332
|
-
};
|
3333
|
-
content: {
|
3334
|
-
"application/json": components["schemas"]["ErrorDto"];
|
3335
|
-
};
|
3336
|
-
};
|
3337
|
-
default: {
|
3338
|
-
headers: {
|
3339
|
-
[name: string]: unknown;
|
3340
|
-
};
|
3341
|
-
content: {
|
3342
|
-
"application/json": components["schemas"]["Buffer"];
|
3343
|
-
};
|
3344
|
-
};
|
3345
|
-
};
|
3346
|
-
};
|
3347
3237
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.17.0-EXPO-
|
3
|
+
"version": "0.17.0-EXPO-289-EB-Filtro-base.4",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"check-exports": "attw --pack .",
|
22
22
|
"local-release": "changeset version && changeset publish",
|
23
23
|
"commit-schema": "git add ./types/schema.d.ts swagger.yaml && git commit -m \"Update schema\"",
|
24
|
-
"start": "npx prisma generate && nest start",
|
24
|
+
"start": "npx prisma generate && npx nest start",
|
25
25
|
"dev": "npx prisma generate && nest start --watch",
|
26
26
|
"start:debug": "nest start --debug --watch",
|
27
27
|
"start:prod": "node dist/src/main",
|
@@ -50,11 +50,8 @@
|
|
50
50
|
"class-validator": "^0.14.1",
|
51
51
|
"country-state-city": "^3.2.1",
|
52
52
|
"date-fns": "^4.1.0",
|
53
|
-
"exceljs": "^4.4.0",
|
54
|
-
"fast-csv": "^5.0.2",
|
55
53
|
"i18n-js": "^4.4.3",
|
56
54
|
"json-to-pretty-yaml": "^1.2.2",
|
57
|
-
"jszip": "^3.10.1",
|
58
55
|
"openapi3-ts": "^4.4.0",
|
59
56
|
"patch-package": "^8.0.0",
|
60
57
|
"reflect-metadata": "^0.2.0",
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare const csvDownloadSchema: z.ZodObject<{
|
3
|
-
password: z.ZodString;
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
5
|
-
password: string;
|
6
|
-
}, {
|
7
|
-
password: string;
|
8
|
-
}>;
|
9
|
-
declare const CsvDownloadDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
-
password: z.ZodString;
|
11
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
-
password: string;
|
13
|
-
}, {
|
14
|
-
password: string;
|
15
|
-
}>>;
|
16
|
-
export declare class CsvDownloadDto extends CsvDownloadDto_base {
|
17
|
-
}
|
18
|
-
export {};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CsvDownloadDto = exports.csvDownloadSchema = void 0;
|
4
|
-
const translate_1 = require("../../i18n/translate");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
-
const zod_1 = require("zod");
|
7
|
-
exports.csvDownloadSchema = zod_1.z.object({
|
8
|
-
password: zod_1.z
|
9
|
-
.string({
|
10
|
-
required_error: (0, translate_1.translate)('model.csv.password.required'),
|
11
|
-
})
|
12
|
-
.min(1, (0, translate_1.translate)('model.csv.password.empty')),
|
13
|
-
});
|
14
|
-
class CsvDownloadDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.csvDownloadSchema) {
|
15
|
-
}
|
16
|
-
exports.CsvDownloadDto = CsvDownloadDto;
|
17
|
-
//# sourceMappingURL=csv.dto.js.map
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
import { z } from 'zod';
|
3
|
-
export declare const downloadAllTablesSchema: z.ZodObject<{
|
4
|
-
password: z.ZodString;
|
5
|
-
}, "strip", z.ZodTypeAny, {
|
6
|
-
password: string;
|
7
|
-
}, {
|
8
|
-
password: string;
|
9
|
-
}>;
|
10
|
-
declare const DownloadAllTablesDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
11
|
-
password: z.ZodString;
|
12
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
13
|
-
password: string;
|
14
|
-
}, {
|
15
|
-
password: string;
|
16
|
-
}>>;
|
17
|
-
export declare class DownloadAllTablesDto extends DownloadAllTablesDto_base {
|
18
|
-
}
|
19
|
-
export declare const downloadAllTablesResponseSchema: z.ZodType<Buffer, z.ZodTypeDef, Buffer>;
|
20
|
-
declare const DownloadAllTablesResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer, z.ZodTypeDef, Buffer>>;
|
21
|
-
export declare class DownloadAllTablesResponseDto extends DownloadAllTablesResponseDto_base {
|
22
|
-
}
|
23
|
-
export {};
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DownloadAllTablesResponseDto = exports.downloadAllTablesResponseSchema = exports.DownloadAllTablesDto = exports.downloadAllTablesSchema = void 0;
|
4
|
-
const translate_1 = require("../../i18n/translate");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
-
const zod_1 = require("zod");
|
7
|
-
exports.downloadAllTablesSchema = zod_1.z.object({
|
8
|
-
password: zod_1.z
|
9
|
-
.string({ required_error: (0, translate_1.translate)('model.csv.password.required') })
|
10
|
-
.min(1, (0, translate_1.translate)('model.csv.password.empty')),
|
11
|
-
});
|
12
|
-
class DownloadAllTablesDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.downloadAllTablesSchema) {
|
13
|
-
}
|
14
|
-
exports.DownloadAllTablesDto = DownloadAllTablesDto;
|
15
|
-
exports.downloadAllTablesResponseSchema = zod_1.z.instanceof(Buffer);
|
16
|
-
class DownloadAllTablesResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.downloadAllTablesResponseSchema) {
|
17
|
-
}
|
18
|
-
exports.DownloadAllTablesResponseDto = DownloadAllTablesResponseDto;
|
19
|
-
//# sourceMappingURL=download-all-tables.dto.js.map
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare const downloadProfilesSchema: z.ZodObject<{
|
3
|
-
password: z.ZodString;
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
5
|
-
password: string;
|
6
|
-
}, {
|
7
|
-
password: string;
|
8
|
-
}>;
|
9
|
-
declare const DownloadProfilesDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
-
password: z.ZodString;
|
11
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
-
password: string;
|
13
|
-
}, {
|
14
|
-
password: string;
|
15
|
-
}>>;
|
16
|
-
export declare class DownloadProfilesDto extends DownloadProfilesDto_base {
|
17
|
-
}
|
18
|
-
export {};
|
@@ -1,15 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DownloadProfilesDto = exports.downloadProfilesSchema = void 0;
|
4
|
-
const translate_1 = require("../../i18n/translate");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
-
const zod_1 = require("zod");
|
7
|
-
exports.downloadProfilesSchema = zod_1.z.object({
|
8
|
-
password: zod_1.z
|
9
|
-
.string({ required_error: (0, translate_1.translate)('model.csv.password.required') })
|
10
|
-
.min(1, (0, translate_1.translate)('model.csv.password.empty')),
|
11
|
-
});
|
12
|
-
class DownloadProfilesDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.downloadProfilesSchema) {
|
13
|
-
}
|
14
|
-
exports.DownloadProfilesDto = DownloadProfilesDto;
|
15
|
-
//# sourceMappingURL=download-profiles.dto.js.map
|
package/dist/src/csv/exports.js
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./dto/csv.dto"), exports);
|
18
|
-
__exportStar(require("./dto/download-all-tables.dto"), exports);
|
19
|
-
__exportStar(require("./dto/download-profiles.dto"), exports);
|
20
|
-
//# sourceMappingURL=exports.js.map
|