expo-backend-types 0.17.0-EXPO-288-EB-Imagenes.2 → 0.17.0-EXPO-244-EB-CSV.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/dist/src/csv/dto/csv.dto.d.ts +18 -0
  2. package/dist/src/csv/dto/csv.dto.js +17 -0
  3. package/dist/src/csv/dto/download-all-tables.dto.d.ts +23 -0
  4. package/dist/src/csv/dto/download-all-tables.dto.js +19 -0
  5. package/dist/src/csv/dto/download-profiles.dto.d.ts +18 -0
  6. package/dist/src/csv/dto/download-profiles.dto.js +15 -0
  7. package/dist/src/csv/exports.d.ts +3 -0
  8. package/dist/src/{image → csv}/exports.js +3 -3
  9. package/dist/src/i18n/es.d.ts +18 -17
  10. package/dist/src/i18n/es.js +18 -17
  11. package/dist/src/i18n/es.js.map +1 -1
  12. package/dist/src/profile/dto/create-profile.dto.d.ts +10 -10
  13. package/dist/src/profile/dto/delete-profile.dto.d.ts +4 -4
  14. package/dist/src/profile/dto/find-all-profile.dto.d.ts +8 -8
  15. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +12 -12
  16. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +4 -4
  17. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +4 -4
  18. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +8 -8
  19. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +8 -8
  20. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +8 -8
  21. package/dist/src/profile/dto/profile.dto.d.ts +2 -2
  22. package/dist/src/profile/dto/profile.dto.js +1 -6
  23. package/dist/src/profile/dto/update-profile.dto.d.ts +10 -10
  24. package/dist/src/tag/dto/massive-allocation.dto.d.ts +8 -8
  25. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +8 -8
  26. package/dist/types/schema.d.ts +37 -35
  27. package/package.json +5 -2
  28. package/dist/src/image/dto/delete-image.dto.d.ts +0 -34
  29. package/dist/src/image/dto/delete-image.dto.js +0 -14
  30. package/dist/src/image/dto/image.dto.d.ts +0 -36
  31. package/dist/src/image/dto/image.dto.js +0 -23
  32. package/dist/src/image/dto/update-image.dto.d.ts +0 -64
  33. package/dist/src/image/dto/update-image.dto.js +0 -18
  34. package/dist/src/image/exports.d.ts +0 -3
@@ -25,7 +25,6 @@ export declare const profileSchema: z.ZodObject<{
25
25
  secondaryPhoneNumber: string | null;
26
26
  fullName: string;
27
27
  profilePictureUrl: string | null;
28
- mail: string | null;
29
28
  created_at: Date;
30
29
  updated_at: Date;
31
30
  shortId: number;
@@ -33,6 +32,7 @@ export declare const profileSchema: z.ZodObject<{
33
32
  gender: string | null;
34
33
  birthDate: Date | null;
35
34
  instagram: string | null;
35
+ mail: string | null;
36
36
  dni: string | null;
37
37
  alternativeNames: string[];
38
38
  birthLocationId: string | null;
@@ -45,7 +45,6 @@ export declare const profileSchema: z.ZodObject<{
45
45
  secondaryPhoneNumber: string | null;
46
46
  fullName: string;
47
47
  profilePictureUrl: string | null;
48
- mail: string | null;
49
48
  created_at: Date;
50
49
  updated_at: Date;
51
50
  shortId: number;
@@ -53,6 +52,7 @@ export declare const profileSchema: z.ZodObject<{
53
52
  gender: string | null;
54
53
  birthDate: string | null;
55
54
  instagram: string | null;
55
+ mail: string | null;
56
56
  dni: string | null;
57
57
  alternativeNames: string[];
58
58
  birthLocationId: string | null;
@@ -48,12 +48,7 @@ exports.profileSchema = zod_1.default.object({
48
48
  })
49
49
  .nullable(),
50
50
  instagram: zod_1.default.string().nullable(),
51
- mail: zod_1.default
52
- .string()
53
- .email({
54
- message: (0, translate_1.translate)('model.profile.mail.invalid'),
55
- })
56
- .nullable(),
51
+ mail: zod_1.default.string().email().nullable(),
57
52
  dni: zod_1.default.string().nullable(),
58
53
  alternativeNames: zod_1.default.array(zod_1.default.string()),
59
54
  birthLocationId: zod_1.default.string().uuid().nullable(),
@@ -4,10 +4,10 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
4
4
  secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>>;
5
5
  fullName: z.ZodOptional<z.ZodString>;
6
6
  profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
7
  gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
8
  birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
10
9
  instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  dni: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  alternativeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
13
  isInTrash: z.ZodOptional<z.ZodBoolean>;
@@ -63,11 +63,11 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
63
63
  secondaryPhoneNumber?: string | null | undefined;
64
64
  fullName?: string | undefined;
65
65
  profilePictureUrl?: string | null | undefined;
66
- mail?: string | null | undefined;
67
66
  tags?: string[] | undefined;
68
67
  gender?: string | null | undefined;
69
68
  birthDate?: Date | null | undefined;
70
69
  instagram?: string | null | undefined;
70
+ mail?: string | null | undefined;
71
71
  dni?: string | null | undefined;
72
72
  alternativeNames?: string[] | undefined;
73
73
  isInTrash?: boolean | undefined;
@@ -91,11 +91,11 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
91
91
  secondaryPhoneNumber?: string | null | undefined;
92
92
  fullName?: string | undefined;
93
93
  profilePictureUrl?: string | null | undefined;
94
- mail?: string | null | undefined;
95
94
  tags?: string[] | undefined;
96
95
  gender?: string | null | undefined;
97
96
  birthDate?: string | null | undefined;
98
97
  instagram?: string | null | undefined;
98
+ mail?: string | null | undefined;
99
99
  dni?: string | null | undefined;
100
100
  alternativeNames?: string[] | undefined;
101
101
  isInTrash?: boolean | undefined;
@@ -120,10 +120,10 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
120
120
  secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>>;
121
121
  fullName: z.ZodOptional<z.ZodString>;
122
122
  profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
- mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
123
  gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
124
  birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
126
125
  instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
127
  dni: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
128
  alternativeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
129
129
  isInTrash: z.ZodOptional<z.ZodBoolean>;
@@ -172,11 +172,11 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
172
172
  secondaryPhoneNumber?: string | null | undefined;
173
173
  fullName?: string | undefined;
174
174
  profilePictureUrl?: string | null | undefined;
175
- mail?: string | null | undefined;
176
175
  tags?: string[] | undefined;
177
176
  gender?: string | null | undefined;
178
177
  birthDate?: Date | null | undefined;
179
178
  instagram?: string | null | undefined;
179
+ mail?: string | null | undefined;
180
180
  dni?: string | null | undefined;
181
181
  alternativeNames?: string[] | undefined;
182
182
  isInTrash?: boolean | undefined;
@@ -200,11 +200,11 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
200
200
  secondaryPhoneNumber?: string | null | undefined;
201
201
  fullName?: string | undefined;
202
202
  profilePictureUrl?: string | null | undefined;
203
- mail?: string | null | undefined;
204
203
  tags?: string[] | undefined;
205
204
  gender?: string | null | undefined;
206
205
  birthDate?: string | null | undefined;
207
206
  instagram?: string | null | undefined;
207
+ mail?: string | null | undefined;
208
208
  dni?: string | null | undefined;
209
209
  alternativeNames?: string[] | undefined;
210
210
  isInTrash?: boolean | undefined;
@@ -252,7 +252,6 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
252
252
  secondaryPhoneNumber: string | null;
253
253
  fullName: string;
254
254
  profilePictureUrl: string | null;
255
- mail: string | null;
256
255
  created_at: Date;
257
256
  updated_at: Date;
258
257
  shortId: number;
@@ -260,6 +259,7 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
260
259
  gender: string | null;
261
260
  birthDate: Date | null;
262
261
  instagram: string | null;
262
+ mail: string | null;
263
263
  dni: string | null;
264
264
  alternativeNames: string[];
265
265
  birthLocationId: string | null;
@@ -272,7 +272,6 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
272
272
  secondaryPhoneNumber: string | null;
273
273
  fullName: string;
274
274
  profilePictureUrl: string | null;
275
- mail: string | null;
276
275
  created_at: Date;
277
276
  updated_at: Date;
278
277
  shortId: number;
@@ -280,6 +279,7 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
280
279
  gender: string | null;
281
280
  birthDate: string | null;
282
281
  instagram: string | null;
282
+ mail: string | null;
283
283
  dni: string | null;
284
284
  alternativeNames: string[];
285
285
  birthLocationId: string | null;
@@ -313,7 +313,6 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
313
313
  secondaryPhoneNumber: string | null;
314
314
  fullName: string;
315
315
  profilePictureUrl: string | null;
316
- mail: string | null;
317
316
  created_at: string;
318
317
  updated_at: string;
319
318
  shortId: number;
@@ -321,6 +320,7 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
321
320
  gender: string | null;
322
321
  birthDate: Date | null;
323
322
  instagram: string | null;
323
+ mail: string | null;
324
324
  dni: string | null;
325
325
  alternativeNames: string[];
326
326
  birthLocationId: string | null;
@@ -333,7 +333,6 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
333
333
  secondaryPhoneNumber: string | null;
334
334
  fullName: string;
335
335
  profilePictureUrl: string | null;
336
- mail: string | null;
337
336
  created_at: string;
338
337
  updated_at: string;
339
338
  shortId: number;
@@ -341,6 +340,7 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
341
340
  gender: string | null;
342
341
  birthDate: string | null;
343
342
  instagram: string | null;
343
+ mail: string | null;
344
344
  dni: string | null;
345
345
  alternativeNames: string[];
346
346
  birthLocationId: string | null;
@@ -48,7 +48,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
48
48
  secondaryPhoneNumber: string | null;
49
49
  fullName: string;
50
50
  profilePictureUrl: string | null;
51
- mail: string | null;
52
51
  created_at: Date;
53
52
  updated_at: Date;
54
53
  shortId: number;
@@ -56,6 +55,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
56
55
  gender: string | null;
57
56
  birthDate: Date | null;
58
57
  instagram: string | null;
58
+ mail: string | null;
59
59
  dni: string | null;
60
60
  alternativeNames: string[];
61
61
  birthLocationId: string | null;
@@ -68,7 +68,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
68
68
  secondaryPhoneNumber: string | null;
69
69
  fullName: string;
70
70
  profilePictureUrl: string | null;
71
- mail: string | null;
72
71
  created_at: Date;
73
72
  updated_at: Date;
74
73
  shortId: number;
@@ -76,6 +75,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
76
75
  gender: string | null;
77
76
  birthDate: string | null;
78
77
  instagram: string | null;
78
+ mail: string | null;
79
79
  dni: string | null;
80
80
  alternativeNames: string[];
81
81
  birthLocationId: string | null;
@@ -90,7 +90,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
90
90
  secondaryPhoneNumber: string | null;
91
91
  fullName: string;
92
92
  profilePictureUrl: string | null;
93
- mail: string | null;
94
93
  created_at: Date;
95
94
  updated_at: Date;
96
95
  shortId: number;
@@ -98,6 +97,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
98
97
  gender: string | null;
99
98
  birthDate: Date | null;
100
99
  instagram: string | null;
100
+ mail: string | null;
101
101
  dni: string | null;
102
102
  alternativeNames: string[];
103
103
  birthLocationId: string | null;
@@ -112,7 +112,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
112
112
  secondaryPhoneNumber: string | null;
113
113
  fullName: string;
114
114
  profilePictureUrl: string | null;
115
- mail: string | null;
116
115
  created_at: Date;
117
116
  updated_at: Date;
118
117
  shortId: number;
@@ -120,6 +119,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
120
119
  gender: string | null;
121
120
  birthDate: string | null;
122
121
  instagram: string | null;
122
+ mail: string | null;
123
123
  dni: string | null;
124
124
  alternativeNames: string[];
125
125
  birthLocationId: string | null;
@@ -155,7 +155,6 @@ 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;
159
158
  created_at: string;
160
159
  updated_at: string;
161
160
  shortId: number;
@@ -163,6 +162,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
163
162
  gender: string | null;
164
163
  birthDate: Date | null;
165
164
  instagram: string | null;
165
+ mail: string | null;
166
166
  dni: string | null;
167
167
  alternativeNames: string[];
168
168
  birthLocationId: string | null;
@@ -175,7 +175,6 @@ 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;
179
178
  created_at: string;
180
179
  updated_at: string;
181
180
  shortId: number;
@@ -183,6 +182,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
183
182
  gender: string | null;
184
183
  birthDate: string | null;
185
184
  instagram: string | null;
185
+ mail: string | null;
186
186
  dni: string | null;
187
187
  alternativeNames: string[];
188
188
  birthLocationId: string | null;
@@ -197,7 +197,6 @@ 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;
201
200
  created_at: string;
202
201
  updated_at: string;
203
202
  shortId: number;
@@ -205,6 +204,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
205
204
  gender: string | null;
206
205
  birthDate: Date | null;
207
206
  instagram: string | null;
207
+ mail: string | null;
208
208
  dni: string | null;
209
209
  alternativeNames: string[];
210
210
  birthLocationId: string | null;
@@ -219,7 +219,6 @@ 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;
223
222
  created_at: string;
224
223
  updated_at: string;
225
224
  shortId: number;
@@ -227,6 +226,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
227
226
  gender: string | null;
228
227
  birthDate: string | null;
229
228
  instagram: string | null;
229
+ mail: string | null;
230
230
  dni: string | null;
231
231
  alternativeNames: string[];
232
232
  birthLocationId: string | null;
@@ -48,7 +48,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
48
48
  secondaryPhoneNumber: string | null;
49
49
  fullName: string;
50
50
  profilePictureUrl: string | null;
51
- mail: string | null;
52
51
  created_at: Date;
53
52
  updated_at: Date;
54
53
  shortId: number;
@@ -56,6 +55,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
56
55
  gender: string | null;
57
56
  birthDate: Date | null;
58
57
  instagram: string | null;
58
+ mail: string | null;
59
59
  dni: string | null;
60
60
  alternativeNames: string[];
61
61
  birthLocationId: string | null;
@@ -68,7 +68,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
68
68
  secondaryPhoneNumber: string | null;
69
69
  fullName: string;
70
70
  profilePictureUrl: string | null;
71
- mail: string | null;
72
71
  created_at: Date;
73
72
  updated_at: Date;
74
73
  shortId: number;
@@ -76,6 +75,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
76
75
  gender: string | null;
77
76
  birthDate: string | null;
78
77
  instagram: string | null;
78
+ mail: string | null;
79
79
  dni: string | null;
80
80
  alternativeNames: string[];
81
81
  birthLocationId: string | null;
@@ -90,7 +90,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
90
90
  secondaryPhoneNumber: string | null;
91
91
  fullName: string;
92
92
  profilePictureUrl: string | null;
93
- mail: string | null;
94
93
  created_at: Date;
95
94
  updated_at: Date;
96
95
  shortId: number;
@@ -98,6 +97,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
98
97
  gender: string | null;
99
98
  birthDate: Date | null;
100
99
  instagram: string | null;
100
+ mail: string | null;
101
101
  dni: string | null;
102
102
  alternativeNames: string[];
103
103
  birthLocationId: string | null;
@@ -112,7 +112,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
112
112
  secondaryPhoneNumber: string | null;
113
113
  fullName: string;
114
114
  profilePictureUrl: string | null;
115
- mail: string | null;
116
115
  created_at: Date;
117
116
  updated_at: Date;
118
117
  shortId: number;
@@ -120,6 +119,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
120
119
  gender: string | null;
121
120
  birthDate: string | null;
122
121
  instagram: string | null;
122
+ mail: string | null;
123
123
  dni: string | null;
124
124
  alternativeNames: string[];
125
125
  birthLocationId: string | null;
@@ -155,7 +155,6 @@ 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;
159
158
  created_at: string;
160
159
  updated_at: string;
161
160
  shortId: number;
@@ -163,6 +162,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
163
162
  gender: string | null;
164
163
  birthDate: Date | null;
165
164
  instagram: string | null;
165
+ mail: string | null;
166
166
  dni: string | null;
167
167
  alternativeNames: string[];
168
168
  birthLocationId: string | null;
@@ -175,7 +175,6 @@ 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;
179
178
  created_at: string;
180
179
  updated_at: string;
181
180
  shortId: number;
@@ -183,6 +182,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
183
182
  gender: string | null;
184
183
  birthDate: string | null;
185
184
  instagram: string | null;
185
+ mail: string | null;
186
186
  dni: string | null;
187
187
  alternativeNames: string[];
188
188
  birthLocationId: string | null;
@@ -197,7 +197,6 @@ 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;
201
200
  created_at: string;
202
201
  updated_at: string;
203
202
  shortId: number;
@@ -205,6 +204,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
205
204
  gender: string | null;
206
205
  birthDate: Date | null;
207
206
  instagram: string | null;
207
+ mail: string | null;
208
208
  dni: string | null;
209
209
  alternativeNames: string[];
210
210
  birthLocationId: string | null;
@@ -219,7 +219,6 @@ 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;
223
222
  created_at: string;
224
223
  updated_at: string;
225
224
  shortId: number;
@@ -227,6 +226,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
227
226
  gender: string | null;
228
227
  birthDate: string | null;
229
228
  instagram: string | null;
229
+ mail: string | null;
230
230
  dni: string | null;
231
231
  alternativeNames: string[];
232
232
  birthLocationId: string | null;
@@ -703,33 +703,33 @@ export interface paths {
703
703
  patch: operations["ProfileController_update"];
704
704
  trace?: never;
705
705
  };
706
- "/image/update/{id}": {
706
+ "/csv/download-profiles": {
707
707
  parameters: {
708
708
  query?: never;
709
709
  header?: never;
710
710
  path?: never;
711
711
  cookie?: never;
712
712
  };
713
- get?: never;
713
+ get: operations["CsvController_downloadProfiles"];
714
714
  put?: never;
715
715
  post?: never;
716
716
  delete?: never;
717
717
  options?: never;
718
718
  head?: never;
719
- patch: operations["ImageController_updateImage"];
719
+ patch?: never;
720
720
  trace?: never;
721
721
  };
722
- "/image/delete/{id}": {
722
+ "/csv/download-all-tables": {
723
723
  parameters: {
724
724
  query?: never;
725
725
  header?: never;
726
726
  path?: never;
727
727
  cookie?: never;
728
728
  };
729
- get?: never;
729
+ get: operations["CsvController_downloadAllTables"];
730
730
  put?: never;
731
731
  post?: never;
732
- delete: operations["ImageController_deleteImage"];
732
+ delete?: never;
733
733
  options?: never;
734
734
  head?: never;
735
735
  patch?: never;
@@ -1837,20 +1837,14 @@ export interface components {
1837
1837
  };
1838
1838
  tags?: string[];
1839
1839
  };
1840
- UpdateImageDto: {
1841
- url?: string;
1842
- title?: string;
1843
- description?: string;
1844
- };
1845
- UpdateImageResponseDto: {
1846
- id: string;
1847
- url?: string;
1848
- title?: string;
1849
- description?: string;
1840
+ DownloadProfilesDto: {
1841
+ password: string;
1850
1842
  };
1851
- DeleteImageDto: {
1852
- id: string;
1843
+ StreamableFile: Record<string, never>;
1844
+ DownloadAllTablesDto: {
1845
+ password: string;
1853
1846
  };
1847
+ Buffer: Record<string, never>;
1854
1848
  };
1855
1849
  responses: never;
1856
1850
  parameters: never;
@@ -3280,30 +3274,28 @@ export interface operations {
3280
3274
  };
3281
3275
  };
3282
3276
  };
3283
- ImageController_updateImage: {
3277
+ CsvController_downloadProfiles: {
3284
3278
  parameters: {
3285
3279
  query?: never;
3286
3280
  header?: never;
3287
- path: {
3288
- id: string;
3289
- };
3281
+ path?: never;
3290
3282
  cookie?: never;
3291
3283
  };
3292
3284
  requestBody: {
3293
3285
  content: {
3294
- "application/json": components["schemas"]["UpdateImageDto"];
3286
+ "application/json": components["schemas"]["DownloadProfilesDto"];
3295
3287
  };
3296
3288
  };
3297
3289
  responses: {
3298
- 200: {
3290
+ 409: {
3299
3291
  headers: {
3300
3292
  [name: string]: unknown;
3301
3293
  };
3302
3294
  content: {
3303
- "application/json": components["schemas"]["UpdateImageResponseDto"];
3295
+ "application/json": components["schemas"]["ErrorDto"];
3304
3296
  };
3305
3297
  };
3306
- 409: {
3298
+ 500: {
3307
3299
  headers: {
3308
3300
  [name: string]: unknown;
3309
3301
  };
@@ -3311,33 +3303,43 @@ export interface operations {
3311
3303
  "application/json": components["schemas"]["ErrorDto"];
3312
3304
  };
3313
3305
  };
3306
+ default: {
3307
+ headers: {
3308
+ [name: string]: unknown;
3309
+ };
3310
+ content: {
3311
+ "application/json": components["schemas"]["StreamableFile"];
3312
+ };
3313
+ };
3314
3314
  };
3315
3315
  };
3316
- ImageController_deleteImage: {
3316
+ CsvController_downloadAllTables: {
3317
3317
  parameters: {
3318
3318
  query?: never;
3319
3319
  header?: never;
3320
- path: {
3321
- id: string;
3322
- };
3320
+ path?: never;
3323
3321
  cookie?: never;
3324
3322
  };
3325
- requestBody?: never;
3323
+ requestBody: {
3324
+ content: {
3325
+ "application/json": components["schemas"]["DownloadAllTablesDto"];
3326
+ };
3327
+ };
3326
3328
  responses: {
3327
- 200: {
3329
+ 409: {
3328
3330
  headers: {
3329
3331
  [name: string]: unknown;
3330
3332
  };
3331
3333
  content: {
3332
- "application/json": components["schemas"]["DeleteImageDto"];
3334
+ "application/json": components["schemas"]["ErrorDto"];
3333
3335
  };
3334
3336
  };
3335
- 404: {
3337
+ default: {
3336
3338
  headers: {
3337
3339
  [name: string]: unknown;
3338
3340
  };
3339
3341
  content: {
3340
- "application/json": components["schemas"]["ErrorDto"];
3342
+ "application/json": components["schemas"]["Buffer"];
3341
3343
  };
3342
3344
  };
3343
3345
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.17.0-EXPO-288-EB-Imagenes.2",
3
+ "version": "0.17.0-EXPO-244-EB-CSV.2",
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 && npx nest start",
24
+ "start": "npx prisma generate && 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,8 +50,11 @@
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",
53
55
  "i18n-js": "^4.4.3",
54
56
  "json-to-pretty-yaml": "^1.2.2",
57
+ "jszip": "^3.10.1",
55
58
  "openapi3-ts": "^4.4.0",
56
59
  "patch-package": "^8.0.0",
57
60
  "reflect-metadata": "^0.2.0",
@@ -1,34 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const deleteImageSchema: z.ZodObject<{
3
- id: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- id: string;
6
- }, {
7
- id: string;
8
- }>;
9
- export declare const deleteImageResponseSchema: z.ZodObject<{
10
- id: z.ZodString;
11
- url: z.ZodOptional<z.ZodString>;
12
- title: z.ZodOptional<z.ZodString>;
13
- description: z.ZodOptional<z.ZodString>;
14
- }, "strip", z.ZodTypeAny, {
15
- id: string;
16
- description?: string | undefined;
17
- url?: string | undefined;
18
- title?: string | undefined;
19
- }, {
20
- id: string;
21
- description?: string | undefined;
22
- url?: string | undefined;
23
- title?: string | undefined;
24
- }>;
25
- declare const DeleteImageDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
26
- id: z.ZodString;
27
- }, z.UnknownKeysParam, z.ZodTypeAny, {
28
- id: string;
29
- }, {
30
- id: string;
31
- }>>;
32
- export declare class DeleteImageDto extends DeleteImageDto_base {
33
- }
34
- export {};
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteImageDto = exports.deleteImageResponseSchema = exports.deleteImageSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const zod_1 = require("zod");
6
- const image_dto_1 = require("./image.dto");
7
- exports.deleteImageSchema = zod_1.z.object({
8
- id: zod_1.z.string(),
9
- });
10
- exports.deleteImageResponseSchema = image_dto_1.imageSchema;
11
- class DeleteImageDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteImageSchema) {
12
- }
13
- exports.DeleteImageDto = DeleteImageDto;
14
- //# sourceMappingURL=delete-image.dto.js.map