expo-backend-types 0.25.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/src/i18n/es.d.ts +80 -0
  2. package/dist/src/i18n/es.js +80 -0
  3. package/dist/src/i18n/es.js.map +1 -1
  4. package/dist/src/location/dto/arg-city.dto.d.ts +2 -2
  5. package/dist/src/message/dto/create-template.dto.d.ts +93 -0
  6. package/dist/src/message/dto/create-template.dto.js +24 -0
  7. package/dist/src/message/dto/delete-template.dto.d.ts +18 -0
  8. package/dist/src/message/dto/delete-template.dto.js +15 -0
  9. package/dist/src/message/dto/find-messages-by-phone.dto.d.ts +316 -0
  10. package/dist/src/message/dto/find-messages-by-phone.dto.js +24 -0
  11. package/dist/src/message/dto/find-template-by-id.dto.d.ts +245 -0
  12. package/dist/src/message/dto/find-template-by-id.dto.js +23 -0
  13. package/dist/src/message/dto/find-templates.dto.d.ts +109 -0
  14. package/dist/src/message/dto/find-templates.dto.js +20 -0
  15. package/dist/src/message/dto/get-last-message-timestamp.dto.d.ts +18 -0
  16. package/dist/src/message/dto/get-last-message-timestamp.dto.js +15 -0
  17. package/dist/src/message/dto/message.dto.d.ts +46 -16
  18. package/dist/src/message/dto/message.dto.js +1 -1
  19. package/dist/src/message/dto/non-read-messages.dto.d.ts +76 -0
  20. package/dist/src/message/dto/non-read-messages.dto.js +21 -0
  21. package/dist/src/message/dto/read-messages.dto.d.ts +18 -0
  22. package/dist/src/message/dto/read-messages.dto.js +15 -0
  23. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +40 -0
  24. package/dist/src/message/dto/send-message-to-phone.dto.js +23 -0
  25. package/dist/src/message/dto/send-template-to-tags.dto.d.ts +40 -0
  26. package/dist/src/message/dto/send-template-to-tags.dto.js +23 -0
  27. package/dist/src/message/dto/template.dto.d.ts +154 -0
  28. package/dist/src/message/dto/template.dto.js +63 -0
  29. package/dist/src/message/dto/update-template.dto.d.ts +88 -0
  30. package/dist/src/message/dto/update-template.dto.js +23 -0
  31. package/dist/src/message/exports.d.ts +9 -0
  32. package/dist/src/message/exports.js +9 -0
  33. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +36 -36
  34. package/dist/src/webhook/dto/webhook.dto.d.ts +86 -0
  35. package/dist/src/webhook/dto/webhook.dto.js +3 -0
  36. package/dist/types/schema.d.ts +602 -2
  37. package/package.json +2 -1
@@ -165,6 +165,21 @@ declare const _default: {
165
165
  readonly empty: "La contraseña no puede estar vacía";
166
166
  };
167
167
  };
168
+ readonly template: {
169
+ readonly name: {
170
+ readonly min: "El nombre de la plantilla debe tener al menos 1 caracter";
171
+ readonly max: "El nombre debe tener como máximo 512 caracteres";
172
+ readonly invalid: "El nombre debe ser una cadena con letras minúsculas y guiones bajos";
173
+ };
174
+ readonly content: {
175
+ readonly max: "El contenido debe tener como máximo 768 caracteres";
176
+ readonly min: "El contenido debe tener al menos 1 caracter";
177
+ };
178
+ readonly buttons: {
179
+ readonly max: "No se pueden tener más de 3 botones";
180
+ readonly 'max-length': "Los botones no pueden tener más de 20 caracteres";
181
+ };
182
+ };
168
183
  };
169
184
  readonly route: {
170
185
  readonly auth: {
@@ -425,6 +440,71 @@ declare const _default: {
425
440
  readonly error: "Error al descargar el archivo CSV de todas las tablas";
426
441
  };
427
442
  };
443
+ readonly message: {
444
+ readonly 'create-template': {
445
+ readonly success: "Plantilla creada con éxito";
446
+ readonly error: "Error al crear la plantilla";
447
+ };
448
+ readonly 'find-templates': {
449
+ readonly success: "Plantillas encontradas";
450
+ };
451
+ readonly 'find-template-by-id': {
452
+ readonly error: "Error al encontrar la plantilla";
453
+ readonly success: "Plantilla encontrada";
454
+ };
455
+ readonly 'update-template': {
456
+ readonly success: "Plantilla actualizada";
457
+ readonly error: "Error al actualizar la plantilla";
458
+ readonly 'not-found': "Plantilla no encontrada";
459
+ };
460
+ readonly 'delete-template': {
461
+ readonly success: "Plantilla eliminada";
462
+ readonly error: "Error al eliminar la plantilla";
463
+ readonly 'not-found': "Plantilla no encontrada";
464
+ };
465
+ readonly 'send-message-to-phone': {
466
+ readonly success: "Mensaje enviado";
467
+ readonly error: "Error al enviar el mensaje";
468
+ };
469
+ readonly 'send-template-to-tags': {
470
+ readonly success: "Plantilla enviada";
471
+ readonly error: "Error al enviar la plantilla";
472
+ };
473
+ readonly 'find-messages-by-phone': {
474
+ readonly success: "Mensajes encontrados";
475
+ readonly error: "Error al encontrar los mensajes";
476
+ readonly 'not-found': "No se encontró el perfil";
477
+ };
478
+ readonly 'read-messages': {
479
+ readonly success: "Mensajes leídos";
480
+ readonly error: "Error al leer los mensajes";
481
+ };
482
+ readonly 'non-read-messages': {
483
+ readonly success: "Mensajes no leídos encontrados";
484
+ readonly error: "Error al encontrar los mensajes no leídos";
485
+ };
486
+ readonly 'last-message-timestamp': {
487
+ readonly success: "Último mensaje obtenido";
488
+ readonly error: "Error al obtener el último mensaje";
489
+ };
490
+ };
491
+ readonly webhook: {
492
+ readonly get: {
493
+ readonly success: "Webhook verificado";
494
+ readonly forbidden: "Prohibido";
495
+ readonly 'bad-request': "Solicitud incorrecta";
496
+ };
497
+ readonly post: {
498
+ readonly unauthorized: "No autorizado";
499
+ readonly 'bad-request': "Solicitud incorrecta";
500
+ readonly 'no-secret': "No se encontró un secreto de META_APP";
501
+ readonly error: "Error al procesar el webhook";
502
+ readonly 'tag-not-found': "Etiqueta no encontrada";
503
+ readonly 'profile-not-found': "Perfil no encontrado";
504
+ readonly 'no-body': "No se encontró el cuerpo del webhook";
505
+ };
506
+ readonly 'send-automatic-response': "¡Hola {{name}}! Muchas gracias por participar de Expo Desfiles. ¡Ya estás dentro! En los próximos días vas a recibir más información acerca de los próximos desfiles. Podés seguirnos en nuestro Instagram @expodesfiles para enterarte de todas las novedades. ¡Saludos!";
507
+ };
428
508
  };
429
509
  };
430
510
  export default _default;
@@ -167,6 +167,21 @@ exports.default = {
167
167
  empty: 'La contraseña no puede estar vacía',
168
168
  },
169
169
  },
170
+ template: {
171
+ name: {
172
+ min: 'El nombre de la plantilla debe tener al menos 1 caracter',
173
+ max: 'El nombre debe tener como máximo 512 caracteres',
174
+ invalid: 'El nombre debe ser una cadena con letras minúsculas y guiones bajos',
175
+ },
176
+ content: {
177
+ max: 'El contenido debe tener como máximo 768 caracteres',
178
+ min: 'El contenido debe tener al menos 1 caracter',
179
+ },
180
+ buttons: {
181
+ max: 'No se pueden tener más de 3 botones',
182
+ 'max-length': 'Los botones no pueden tener más de 20 caracteres',
183
+ },
184
+ },
170
185
  },
171
186
  route: {
172
187
  auth: {
@@ -427,6 +442,71 @@ exports.default = {
427
442
  error: 'Error al descargar el archivo CSV de todas las tablas',
428
443
  },
429
444
  },
445
+ message: {
446
+ 'create-template': {
447
+ success: 'Plantilla creada con éxito',
448
+ error: 'Error al crear la plantilla',
449
+ },
450
+ 'find-templates': {
451
+ success: 'Plantillas encontradas',
452
+ },
453
+ 'find-template-by-id': {
454
+ error: 'Error al encontrar la plantilla',
455
+ success: 'Plantilla encontrada',
456
+ },
457
+ 'update-template': {
458
+ success: 'Plantilla actualizada',
459
+ error: 'Error al actualizar la plantilla',
460
+ 'not-found': 'Plantilla no encontrada',
461
+ },
462
+ 'delete-template': {
463
+ success: 'Plantilla eliminada',
464
+ error: 'Error al eliminar la plantilla',
465
+ 'not-found': 'Plantilla no encontrada',
466
+ },
467
+ 'send-message-to-phone': {
468
+ success: 'Mensaje enviado',
469
+ error: 'Error al enviar el mensaje',
470
+ },
471
+ 'send-template-to-tags': {
472
+ success: 'Plantilla enviada',
473
+ error: 'Error al enviar la plantilla',
474
+ },
475
+ 'find-messages-by-phone': {
476
+ success: 'Mensajes encontrados',
477
+ error: 'Error al encontrar los mensajes',
478
+ 'not-found': 'No se encontró el perfil',
479
+ },
480
+ 'read-messages': {
481
+ success: 'Mensajes leídos',
482
+ error: 'Error al leer los mensajes',
483
+ },
484
+ 'non-read-messages': {
485
+ success: 'Mensajes no leídos encontrados',
486
+ error: 'Error al encontrar los mensajes no leídos',
487
+ },
488
+ 'last-message-timestamp': {
489
+ success: 'Último mensaje obtenido',
490
+ error: 'Error al obtener el último mensaje',
491
+ },
492
+ },
493
+ webhook: {
494
+ get: {
495
+ success: 'Webhook verificado',
496
+ forbidden: 'Prohibido',
497
+ 'bad-request': 'Solicitud incorrecta',
498
+ },
499
+ post: {
500
+ unauthorized: 'No autorizado',
501
+ 'bad-request': 'Solicitud incorrecta',
502
+ 'no-secret': 'No se encontró un secreto de META_APP',
503
+ error: 'Error al procesar el webhook',
504
+ 'tag-not-found': 'Etiqueta no encontrada',
505
+ 'profile-not-found': 'Perfil no encontrado',
506
+ 'no-body': 'No se encontró el cuerpo del webhook',
507
+ },
508
+ 'send-automatic-response': `¡Hola \{\{name\}\}! Muchas gracias por participar de Expo Desfiles. ¡Ya estás dentro! En los próximos días vas a recibir más información acerca de los próximos desfiles. Podés seguirnos en nuestro Instagram @expodesfiles para enterarte de todas las novedades. ¡Saludos!`,
509
+ },
430
510
  },
431
511
  };
432
512
  //# 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,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,GAAG,EAAE;YACH,QAAQ,EAAE,SAAS;YACnB,SAAS,EAAE,qBAAqB;SACjC;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,OAAO,EAAE;gBACP,GAAG,EAA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AiB,EAAE;gBACjB,OAAO,EAAE,qBAAqB;gBAC9B,KAAK,EAAE,gCAAgC;gBACvC,WAAW,EAAE,yBAAyB;aACvC;YACD,uBAAuB,EAAE;gBACvB,OAAO,EAAE,iBAAiB;gBAC1B,KAAK,EAAE,4BAA4B;aACpC;YACD,uBAAuB,EAAE;gBACvB,OAAO,EAAE,mBAAmB;gBAC5B,KAAK,EAAE,8BAA8B;aACtC;YACD,wBAAwB,EAAE;gBACxB,OAAO,EAAE,sBAAsB;gBAC/B,KAAK,EAAE,iCAAiC;gBACxC,WAAW,EAAE,0BAA0B;aACxC;YACD,eAAe,EAAE;gBACf,OAAO,EAAE,iBAAiB;gBAC1B,KAAK,EAAE,4BAA4B;aACpC;YACD,mBAAmB,EAAE;gBACnB,OAAO,EAAE,gCAAgC;gBACzC,KAAK,EAAE,2CAA2C;aACnD;YACD,wBAAwB,EAAE;gBACxB,OAAO,EAAE,yBAAyB;gBAClC,KAAK,EAAE,oCAAoC;aAC5C;SACF;QACD,OAAO,EAAE;YACP,GAAG,EAAE;gBACH,OAAO,EAAE,oBAAoB;gBAC7B,SAAS,EAAE,WAAW;gBACtB,aAAa,EAAE,sBAAsB;aACtC;YACD,IAAI,EAAE;gBACJ,YAAY,EAAE,eAAe;gBAC7B,aAAa,EAAE,sBAAsB;gBACrC,WAAW,EAAE,uCAAuC;gBACpD,KAAK,EAAE,8BAA8B;gBACrC,eAAe,EAAE,wBAAwB;gBACzC,mBAAmB,EAAE,sBAAsB;gBAC3C,SAAS,EAAE,sCAAsC;aAClD;YACD,yBAAyB,EAAE,+QAA+Q;SAC3S;KACF;CACO,CAAC"}
@@ -82,6 +82,7 @@ export declare const argCitySchema: z.ZodObject<{
82
82
  }, "strip", z.ZodTypeAny, {
83
83
  id: string;
84
84
  name: string;
85
+ category: string;
85
86
  state: {
86
87
  id: string;
87
88
  name: string;
@@ -98,7 +99,6 @@ export declare const argCitySchema: z.ZodObject<{
98
99
  id: string;
99
100
  name: string;
100
101
  };
101
- category: string;
102
102
  centroid: {
103
103
  lon: number;
104
104
  lat: number;
@@ -106,6 +106,7 @@ export declare const argCitySchema: z.ZodObject<{
106
106
  }, {
107
107
  id: string;
108
108
  name: string;
109
+ category: string;
109
110
  state: {
110
111
  id: string;
111
112
  name: string;
@@ -122,7 +123,6 @@ export declare const argCitySchema: z.ZodObject<{
122
123
  id: string;
123
124
  name: string;
124
125
  };
125
- category: string;
126
126
  centroid: {
127
127
  lon: number;
128
128
  lat: number;
@@ -0,0 +1,93 @@
1
+ import z from 'zod';
2
+ export declare const createTemplateSchema: z.ZodObject<Pick<{
3
+ name: z.ZodEffects<z.ZodString, string, string>;
4
+ content: z.ZodString;
5
+ buttons: z.ZodArray<z.ZodString, "many">;
6
+ id: z.ZodString;
7
+ language: z.ZodString;
8
+ components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9
+ type: z.ZodLiteral<"BODY">;
10
+ text: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ type: "BODY";
13
+ text: string;
14
+ }, {
15
+ type: "BODY";
16
+ text: string;
17
+ }>, z.ZodObject<{
18
+ type: z.ZodLiteral<"BUTTONS">;
19
+ buttons: z.ZodArray<z.ZodObject<{
20
+ text: z.ZodString;
21
+ type: z.ZodLiteral<"QUICK_REPLY">;
22
+ }, "strip", z.ZodTypeAny, {
23
+ type: "QUICK_REPLY";
24
+ text: string;
25
+ }, {
26
+ type: "QUICK_REPLY";
27
+ text: string;
28
+ }>, "many">;
29
+ }, "strip", z.ZodTypeAny, {
30
+ type: "BUTTONS";
31
+ buttons: {
32
+ type: "QUICK_REPLY";
33
+ text: string;
34
+ }[];
35
+ }, {
36
+ type: "BUTTONS";
37
+ buttons: {
38
+ type: "QUICK_REPLY";
39
+ text: string;
40
+ }[];
41
+ }>]>, "many">;
42
+ allow_category_change: z.ZodBoolean;
43
+ category: z.ZodNativeEnum<{
44
+ MARKETING: "MARKETING";
45
+ UTILITY: "UTILITY";
46
+ AUTHENTICATION: "AUTHENTICATION";
47
+ }>;
48
+ status: z.ZodNativeEnum<{
49
+ APRROVED: "APRROVED";
50
+ PENDING: "PENDING";
51
+ REJECTED: "REJECTED";
52
+ }>;
53
+ }, "name" | "content" | "buttons">, "strip", z.ZodTypeAny, {
54
+ name: string;
55
+ content: string;
56
+ buttons: string[];
57
+ }, {
58
+ name: string;
59
+ content: string;
60
+ buttons: string[];
61
+ }>;
62
+ declare const CreateTemplateDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
63
+ name: z.ZodEffects<z.ZodString, string, string>;
64
+ content: z.ZodString;
65
+ buttons: z.ZodArray<z.ZodString, "many">;
66
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
67
+ name: string;
68
+ content: string;
69
+ buttons: string[];
70
+ }, {
71
+ name: string;
72
+ content: string;
73
+ buttons: string[];
74
+ }>>;
75
+ export declare class CreateTemplateDto extends CreateTemplateDto_base {
76
+ }
77
+ export declare const createTemplateResponseSchema: z.ZodObject<{
78
+ message: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ message: string;
81
+ }, {
82
+ message: string;
83
+ }>;
84
+ declare const CreateTemplateResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
85
+ message: z.ZodString;
86
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
87
+ message: string;
88
+ }, {
89
+ message: string;
90
+ }>>;
91
+ export declare class CreateTemplateResponseDto extends CreateTemplateResponseDto_base {
92
+ }
93
+ export {};
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CreateTemplateResponseDto = exports.createTemplateResponseSchema = exports.CreateTemplateDto = exports.createTemplateSchema = void 0;
7
+ const template_dto_1 = require("./template.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const zod_1 = __importDefault(require("zod"));
10
+ exports.createTemplateSchema = template_dto_1.templateSchema.pick({
11
+ name: true,
12
+ content: true,
13
+ buttons: true,
14
+ });
15
+ class CreateTemplateDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTemplateSchema) {
16
+ }
17
+ exports.CreateTemplateDto = CreateTemplateDto;
18
+ exports.createTemplateResponseSchema = zod_1.default.object({
19
+ message: zod_1.default.string(),
20
+ });
21
+ class CreateTemplateResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTemplateResponseSchema) {
22
+ }
23
+ exports.CreateTemplateResponseDto = CreateTemplateResponseDto;
24
+ //# sourceMappingURL=create-template.dto.js.map
@@ -0,0 +1,18 @@
1
+ import z from 'zod';
2
+ export declare const deleteTemplateResponseSchema: z.ZodObject<{
3
+ success: z.ZodBoolean;
4
+ }, "strip", z.ZodTypeAny, {
5
+ success: boolean;
6
+ }, {
7
+ success: boolean;
8
+ }>;
9
+ declare const DeleteTemplateResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
+ success: z.ZodBoolean;
11
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
12
+ success: boolean;
13
+ }, {
14
+ success: boolean;
15
+ }>>;
16
+ export declare class DeleteTemplateResponseDto extends DeleteTemplateResponseDto_base {
17
+ }
18
+ export {};
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.DeleteTemplateResponseDto = exports.deleteTemplateResponseSchema = void 0;
7
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
+ const zod_1 = __importDefault(require("zod"));
9
+ exports.deleteTemplateResponseSchema = zod_1.default.object({
10
+ success: zod_1.default.boolean(),
11
+ });
12
+ class DeleteTemplateResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteTemplateResponseSchema) {
13
+ }
14
+ exports.DeleteTemplateResponseDto = DeleteTemplateResponseDto;
15
+ //# sourceMappingURL=delete-template.dto.js.map