expo-backend-types 0.17.0-EXPO-289-EB-Filtro-base.4 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
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 {};
@@ -0,0 +1,17 @@
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
@@ -0,0 +1,23 @@
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 {};
@@ -0,0 +1,19 @@
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
@@ -0,0 +1,18 @@
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 {};
@@ -0,0 +1,15 @@
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
@@ -0,0 +1,3 @@
1
+ export * from './dto/csv.dto';
2
+ export * from './dto/download-all-tables.dto';
3
+ export * from './dto/download-profiles.dto';
@@ -0,0 +1,20 @@
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
@@ -8,7 +8,7 @@ const zod_1 = require("zod");
8
8
  exports.eventSchema = zod_1.z.object({
9
9
  id: zod_1.z.string().uuid({ message: (0, translate_1.translate)('model.event.id.uuid') }),
10
10
  name: zod_1.z.string().min(1, (0, translate_1.translate)('model.event.name.required')),
11
- date: zod_1.z.coerce.date({
11
+ date: zod_1.z.date({
12
12
  required_error: (0, translate_1.translate)('model.event.date.required'),
13
13
  invalid_type_error: (0, translate_1.translate)('model.event.date.invalid'),
14
14
  }),
@@ -151,6 +151,12 @@ declare const _default: {
151
151
  readonly uuid: "El ID debe ser un UUID";
152
152
  };
153
153
  };
154
+ readonly csv: {
155
+ readonly password: {
156
+ readonly required: "La contraseña es obligatoria";
157
+ readonly empty: "La contraseña no puede estar vacía";
158
+ };
159
+ };
154
160
  };
155
161
  readonly route: {
156
162
  readonly auth: {
@@ -175,6 +181,10 @@ declare const _default: {
175
181
  readonly me: {
176
182
  readonly success: "Cuenta obtenida";
177
183
  };
184
+ readonly 'check-password': {
185
+ readonly 'not-found': "Cuenta no encontrada";
186
+ readonly 'invalid-password': "Contraseña inválida";
187
+ };
178
188
  };
179
189
  readonly tag: {
180
190
  readonly create: {
@@ -379,6 +389,18 @@ declare const _default: {
379
389
  readonly success: "Perfiles obtenido";
380
390
  };
381
391
  };
392
+ readonly csv: {
393
+ readonly 'download-profiles': {
394
+ readonly success: "CSV de modelos descargado con éxito";
395
+ readonly unauthorized: "No tienes autorización para descargar el archivo de modelos";
396
+ readonly error: "Error al descargar el archivo CSV de modelos";
397
+ };
398
+ readonly 'download-all-tables': {
399
+ readonly success: "CSV de todas las tablas descargado con éxito";
400
+ readonly unauthorized: "No tienes autorización para descargar todas las tablas";
401
+ readonly error: "Error al descargar el archivo CSV de todas las tablas";
402
+ };
403
+ };
382
404
  };
383
405
  };
384
406
  export default _default;
@@ -153,6 +153,12 @@ exports.default = {
153
153
  uuid: 'El ID debe ser un UUID',
154
154
  },
155
155
  },
156
+ csv: {
157
+ password: {
158
+ required: 'La contraseña es obligatoria',
159
+ empty: 'La contraseña no puede estar vacía',
160
+ },
161
+ },
156
162
  },
157
163
  route: {
158
164
  auth: {
@@ -177,6 +183,10 @@ exports.default = {
177
183
  me: {
178
184
  success: 'Cuenta obtenida',
179
185
  },
186
+ 'check-password': {
187
+ 'not-found': 'Cuenta no encontrada',
188
+ 'invalid-password': 'Contraseña inválida',
189
+ },
180
190
  },
181
191
  tag: {
182
192
  create: {
@@ -381,6 +391,18 @@ exports.default = {
381
391
  success: 'Perfiles obtenido',
382
392
  },
383
393
  },
394
+ csv: {
395
+ 'download-profiles': {
396
+ success: 'CSV de modelos descargado con éxito',
397
+ unauthorized: 'No tienes autorización para descargar el archivo de modelos',
398
+ error: 'Error al descargar el archivo CSV de modelos',
399
+ },
400
+ 'download-all-tables': {
401
+ success: 'CSV de todas las tablas descargado con éxito',
402
+ unauthorized: 'No tienes autorización para descargar todas las tablas',
403
+ error: 'Error al descargar el archivo CSV de todas las tablas',
404
+ },
405
+ },
384
406
  },
385
407
  };
386
408
  //# sourceMappingURL=es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,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CAAiC;aAC5C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,sBAAsB;aACpC;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,sBAAsB;gBACnC,QAAQ,EAAE,sCAAsC;gBAChD,gBAAgB,EAAE,0EAA0E;aAC7F;YACD,oBAAoB,EAAE;gBACpB,OAAO,EAAE,oBAAoB;gBAC7B,cAAc,EAAE,gBAAgB;aACjC;YACD,sBAAsB,EAAE;gBACtB,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,sBAAsB;aACpC;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE,oBAAoB;aAC9B;YACD,2BAA2B,EAAE;gBAC3B,OAAO,EAAE,mBAAmB;aAC7B;SACF;QACD,GAAG,EAAE;YACH,mBAAmB,EAAE;gBACnB,OAAO,EAAE,qCAAqC;gBAC9C,YAAY,EACV,6DAA6D;gBAC/D,KAAK,EAAE,8CAA8C;aACtD;YACD,qBAAqB,EAAE;gBACrB,OAAO,EAAE,8CAA8C;gBACvD,YAAY,EAAE,wDAAwD;gBACtE,KAAK,EAAE,uDAAuD;aAC/D;SACF;KACF;CACO,CAAC"}
@@ -703,6 +703,38 @@ 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
+ };
706
738
  }
707
739
  export type webhooks = Record<string, never>;
708
740
  export interface components {
@@ -1805,6 +1837,14 @@ export interface components {
1805
1837
  };
1806
1838
  tags?: string[];
1807
1839
  };
1840
+ DownloadProfilesDto: {
1841
+ password: string;
1842
+ };
1843
+ StreamableFile: Record<string, never>;
1844
+ DownloadAllTablesDto: {
1845
+ password: string;
1846
+ };
1847
+ Buffer: Record<string, never>;
1808
1848
  };
1809
1849
  responses: never;
1810
1850
  parameters: never;
@@ -3234,4 +3274,74 @@ export interface operations {
3234
3274
  };
3235
3275
  };
3236
3276
  };
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
+ };
3237
3347
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.17.0-EXPO-289-EB-Filtro-base.4",
3
+ "version": "0.18.0",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -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",