expo-backend-types 0.24.0-EXPO-288-EB-Imagenes.1 → 0.25.0-EXPO-251-EB-Whatsapp.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/i18n/es.d.ts +78 -24
- package/dist/src/i18n/es.js +78 -24
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/location/dto/arg-city.dto.d.ts +2 -2
- package/dist/src/message/dto/create-template.dto.d.ts +93 -0
- package/dist/src/message/dto/create-template.dto.js +24 -0
- package/dist/src/message/dto/delete-template.dto.d.ts +18 -0
- package/dist/src/message/dto/delete-template.dto.js +15 -0
- package/dist/src/message/dto/find-messages-by-phone.dto.d.ts +316 -0
- package/dist/src/message/dto/find-messages-by-phone.dto.js +24 -0
- package/dist/src/message/dto/find-template-by-id.dto.d.ts +245 -0
- package/dist/src/message/dto/find-template-by-id.dto.js +23 -0
- package/dist/src/message/dto/find-templates.dto.d.ts +109 -0
- package/dist/src/message/dto/find-templates.dto.js +20 -0
- package/dist/src/message/dto/get-last-message-timestamp.dto.d.ts +18 -0
- package/dist/src/message/dto/get-last-message-timestamp.dto.js +15 -0
- package/dist/src/message/dto/message.dto.d.ts +46 -16
- package/dist/src/message/dto/message.dto.js +1 -1
- package/dist/src/message/dto/non-read-messages.dto.d.ts +76 -0
- package/dist/src/message/dto/non-read-messages.dto.js +21 -0
- package/dist/src/message/dto/read-messages.dto.d.ts +18 -0
- package/dist/src/message/dto/read-messages.dto.js +15 -0
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +40 -0
- package/dist/src/message/dto/send-message-to-phone.dto.js +23 -0
- package/dist/src/message/dto/send-template-to-tags.dto.d.ts +40 -0
- package/dist/src/message/dto/send-template-to-tags.dto.js +23 -0
- package/dist/src/message/dto/template.dto.d.ts +154 -0
- package/dist/src/message/dto/template.dto.js +63 -0
- package/dist/src/message/dto/update-template.dto.d.ts +88 -0
- package/dist/src/message/dto/update-template.dto.js +23 -0
- package/dist/src/message/exports.d.ts +9 -0
- package/dist/src/message/exports.js +9 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +36 -36
- package/dist/src/webhook/dto/webhook.dto.d.ts +86 -0
- package/dist/src/webhook/dto/webhook.dto.js +3 -0
- package/dist/types/prisma-schema/default.d.ts +1 -1
- package/dist/types/prisma-schema/edge.d.ts +1 -1
- package/dist/types/prisma-schema/edge.js +7 -11
- package/dist/types/prisma-schema/index-browser.js +4 -7
- package/dist/types/prisma-schema/index.d.ts +1036 -805
- package/dist/types/prisma-schema/index.js +7 -11
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +1 -14
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -21
- package/dist/types/prisma-schema/runtime/edge.js +18 -21
- package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
- package/dist/types/prisma-schema/runtime/library.d.ts +87 -297
- package/dist/types/prisma-schema/runtime/library.js +61 -64
- package/dist/types/prisma-schema/runtime/react-native.js +28 -31
- package/dist/types/prisma-schema/runtime/wasm.js +19 -22
- package/dist/types/prisma-schema/wasm.d.ts +1 -1
- package/dist/types/prisma-schema/wasm.js +4 -7
- package/dist/types/schema.d.ts +524 -44
- package/package.json +4 -5
- package/dist/src/image/dto/delete-image.dto.d.ts +0 -18
- package/dist/src/image/dto/delete-image.dto.js +0 -12
- package/dist/src/image/dto/image.dto.d.ts +0 -24
- package/dist/src/image/dto/image.dto.js +0 -18
- package/dist/src/image/dto/update-image.dto.d.ts +0 -18
- package/dist/src/image/dto/update-image.dto.js +0 -15
- package/dist/src/image/exports.d.ts +0 -3
- package/dist/src/image/exports.js +0 -20
package/dist/src/i18n/es.d.ts
CHANGED
@@ -151,20 +151,27 @@ declare const _default: {
|
|
151
151
|
readonly uuid: "El ID debe ser un UUID";
|
152
152
|
};
|
153
153
|
};
|
154
|
-
readonly image: {
|
155
|
-
readonly id: {
|
156
|
-
readonly uuid: "El formato del ID de la imagen es inválido.";
|
157
|
-
};
|
158
|
-
readonly url: {
|
159
|
-
readonly url: "Por favor, proporcione una URL válida para la imagen.";
|
160
|
-
};
|
161
|
-
};
|
162
154
|
readonly csv: {
|
163
155
|
readonly password: {
|
164
156
|
readonly required: "La contraseña es obligatoria";
|
165
157
|
readonly empty: "La contraseña no puede estar vacía";
|
166
158
|
};
|
167
159
|
};
|
160
|
+
readonly template: {
|
161
|
+
readonly name: {
|
162
|
+
readonly min: "El nombre debe tener al menos 1 caracter";
|
163
|
+
readonly max: "El nombre debe tener como máximo 512 caracteres";
|
164
|
+
readonly invalid: "El nombre debe ser una cadena con letras minúsculas y guiones bajos";
|
165
|
+
};
|
166
|
+
readonly content: {
|
167
|
+
readonly max: "El contenido debe tener como máximo 768 caracteres";
|
168
|
+
readonly min: "El contenido debe tener al menos 1 caracter";
|
169
|
+
};
|
170
|
+
readonly buttons: {
|
171
|
+
readonly max: "No se pueden tener más de 10 botones";
|
172
|
+
readonly 'max-length': "Los botones no pueden tener más de 25 caracteres";
|
173
|
+
};
|
174
|
+
};
|
168
175
|
};
|
169
176
|
readonly route: {
|
170
177
|
readonly auth: {
|
@@ -397,22 +404,6 @@ declare const _default: {
|
|
397
404
|
readonly success: "Perfiles obtenido";
|
398
405
|
};
|
399
406
|
};
|
400
|
-
readonly image: {
|
401
|
-
readonly update: {
|
402
|
-
readonly success: "Imagen actualizada exitosamente";
|
403
|
-
readonly conflict: "Conflicto al actualizar la imagen";
|
404
|
-
readonly invalid: "Parámetros inválidos para actualizar la imagen";
|
405
|
-
readonly error: "Error al subir la imagen al CDN";
|
406
|
-
readonly 'purge-error': "Error al purgar la imagen del CDN";
|
407
|
-
readonly 'unprocessable-entity': "La imagen no es válida, debe ser un archivo de imagen";
|
408
|
-
};
|
409
|
-
readonly delete: {
|
410
|
-
readonly success: "Imagen eliminada exitosamente";
|
411
|
-
readonly 'not-found': "Perfil o foto no encontrados";
|
412
|
-
readonly initiated: "Eliminación de imagen iniciada";
|
413
|
-
readonly error: "Error al eliminar la imagen del CDN";
|
414
|
-
};
|
415
|
-
};
|
416
407
|
readonly csv: {
|
417
408
|
readonly 'download-profiles': {
|
418
409
|
readonly success: "CSV de modelos descargado con éxito";
|
@@ -425,6 +416,69 @@ declare const _default: {
|
|
425
416
|
readonly error: "Error al descargar el archivo CSV de todas las tablas";
|
426
417
|
};
|
427
418
|
};
|
419
|
+
readonly message: {
|
420
|
+
readonly 'create-template': {
|
421
|
+
readonly success: "Plantilla creada con éxito";
|
422
|
+
readonly error: "Error al crear la plantilla";
|
423
|
+
};
|
424
|
+
readonly 'find-templates': {
|
425
|
+
readonly success: "Plantillas encontradas";
|
426
|
+
};
|
427
|
+
readonly 'find-template-by-id': {
|
428
|
+
readonly error: "Error al encontrar la plantilla";
|
429
|
+
readonly success: "Plantilla encontrada";
|
430
|
+
};
|
431
|
+
readonly 'update-template': {
|
432
|
+
readonly success: "Plantilla actualizada";
|
433
|
+
readonly error: "Error al actualizar la plantilla";
|
434
|
+
readonly 'not-found': "Plantilla no encontrada";
|
435
|
+
};
|
436
|
+
readonly 'delete-template': {
|
437
|
+
readonly success: "Plantilla eliminada";
|
438
|
+
readonly error: "Error al eliminar la plantilla";
|
439
|
+
readonly 'not-found': "Plantilla no encontrada";
|
440
|
+
};
|
441
|
+
readonly 'send-message-to-phone': {
|
442
|
+
readonly success: "Mensaje enviado";
|
443
|
+
readonly error: "Error al enviar el mensaje";
|
444
|
+
};
|
445
|
+
readonly 'send-template-to-tags': {
|
446
|
+
readonly success: "Plantilla enviada";
|
447
|
+
readonly error: "Error al enviar la plantilla";
|
448
|
+
};
|
449
|
+
readonly 'find-messages-by-phone': {
|
450
|
+
readonly success: "Mensajes encontrados";
|
451
|
+
readonly error: "Error al encontrar los mensajes";
|
452
|
+
readonly 'not-found': "No se encontró el perfil";
|
453
|
+
};
|
454
|
+
readonly 'read-messages': {
|
455
|
+
readonly success: "Mensajes leídos";
|
456
|
+
readonly error: "Error al leer los mensajes";
|
457
|
+
};
|
458
|
+
readonly 'non-read-messages': {
|
459
|
+
readonly success: "Mensajes no leídos encontrados";
|
460
|
+
readonly error: "Error al encontrar los mensajes no leídos";
|
461
|
+
};
|
462
|
+
readonly 'last-message-timestamp': {
|
463
|
+
readonly success: "Último mensaje obtenido";
|
464
|
+
readonly error: "Error al obtener el último mensaje";
|
465
|
+
};
|
466
|
+
};
|
467
|
+
readonly webhook: {
|
468
|
+
readonly get: {
|
469
|
+
readonly success: "Webhook verificado";
|
470
|
+
readonly forbidden: "Prohibido";
|
471
|
+
readonly 'bad-request': "Solicitud incorrecta";
|
472
|
+
};
|
473
|
+
readonly post: {
|
474
|
+
readonly unauthorized: "No autorizado";
|
475
|
+
readonly 'bad-request': "Solicitud incorrecta";
|
476
|
+
readonly 'no-secret': "No se encontró un secreto de META_APP";
|
477
|
+
readonly error: "Error al procesar el webhook";
|
478
|
+
readonly 'tag-not-found': "Etiqueta no encontrada";
|
479
|
+
readonly 'profile-not-found': "Perfil no encontrado";
|
480
|
+
};
|
481
|
+
};
|
428
482
|
};
|
429
483
|
};
|
430
484
|
export default _default;
|
package/dist/src/i18n/es.js
CHANGED
@@ -153,20 +153,27 @@ exports.default = {
|
|
153
153
|
uuid: 'El ID debe ser un UUID',
|
154
154
|
},
|
155
155
|
},
|
156
|
-
image: {
|
157
|
-
id: {
|
158
|
-
uuid: 'El formato del ID de la imagen es inválido.',
|
159
|
-
},
|
160
|
-
url: {
|
161
|
-
url: 'Por favor, proporcione una URL válida para la imagen.',
|
162
|
-
},
|
163
|
-
},
|
164
156
|
csv: {
|
165
157
|
password: {
|
166
158
|
required: 'La contraseña es obligatoria',
|
167
159
|
empty: 'La contraseña no puede estar vacía',
|
168
160
|
},
|
169
161
|
},
|
162
|
+
template: {
|
163
|
+
name: {
|
164
|
+
min: 'El nombre debe tener al menos 1 caracter',
|
165
|
+
max: 'El nombre debe tener como máximo 512 caracteres',
|
166
|
+
invalid: 'El nombre debe ser una cadena con letras minúsculas y guiones bajos',
|
167
|
+
},
|
168
|
+
content: {
|
169
|
+
max: 'El contenido debe tener como máximo 768 caracteres',
|
170
|
+
min: 'El contenido debe tener al menos 1 caracter',
|
171
|
+
},
|
172
|
+
buttons: {
|
173
|
+
max: 'No se pueden tener más de 10 botones',
|
174
|
+
'max-length': 'Los botones no pueden tener más de 25 caracteres',
|
175
|
+
},
|
176
|
+
},
|
170
177
|
},
|
171
178
|
route: {
|
172
179
|
auth: {
|
@@ -399,22 +406,6 @@ exports.default = {
|
|
399
406
|
success: 'Perfiles obtenido',
|
400
407
|
},
|
401
408
|
},
|
402
|
-
image: {
|
403
|
-
update: {
|
404
|
-
success: 'Imagen actualizada exitosamente',
|
405
|
-
conflict: 'Conflicto al actualizar la imagen',
|
406
|
-
invalid: 'Parámetros inválidos para actualizar la imagen',
|
407
|
-
error: 'Error al subir la imagen al CDN',
|
408
|
-
'purge-error': 'Error al purgar la imagen del CDN',
|
409
|
-
'unprocessable-entity': 'La imagen no es válida, debe ser un archivo de imagen',
|
410
|
-
},
|
411
|
-
delete: {
|
412
|
-
success: 'Imagen eliminada exitosamente',
|
413
|
-
'not-found': 'Perfil o foto no encontrados',
|
414
|
-
initiated: 'Eliminación de imagen iniciada',
|
415
|
-
error: 'Error al eliminar la imagen del CDN',
|
416
|
-
},
|
417
|
-
},
|
418
409
|
csv: {
|
419
410
|
'download-profiles': {
|
420
411
|
success: 'CSV de modelos descargado con éxito',
|
@@ -427,6 +418,69 @@ exports.default = {
|
|
427
418
|
error: 'Error al descargar el archivo CSV de todas las tablas',
|
428
419
|
},
|
429
420
|
},
|
421
|
+
message: {
|
422
|
+
'create-template': {
|
423
|
+
success: 'Plantilla creada con éxito',
|
424
|
+
error: 'Error al crear la plantilla',
|
425
|
+
},
|
426
|
+
'find-templates': {
|
427
|
+
success: 'Plantillas encontradas',
|
428
|
+
},
|
429
|
+
'find-template-by-id': {
|
430
|
+
error: 'Error al encontrar la plantilla',
|
431
|
+
success: 'Plantilla encontrada',
|
432
|
+
},
|
433
|
+
'update-template': {
|
434
|
+
success: 'Plantilla actualizada',
|
435
|
+
error: 'Error al actualizar la plantilla',
|
436
|
+
'not-found': 'Plantilla no encontrada',
|
437
|
+
},
|
438
|
+
'delete-template': {
|
439
|
+
success: 'Plantilla eliminada',
|
440
|
+
error: 'Error al eliminar la plantilla',
|
441
|
+
'not-found': 'Plantilla no encontrada',
|
442
|
+
},
|
443
|
+
'send-message-to-phone': {
|
444
|
+
success: 'Mensaje enviado',
|
445
|
+
error: 'Error al enviar el mensaje',
|
446
|
+
},
|
447
|
+
'send-template-to-tags': {
|
448
|
+
success: 'Plantilla enviada',
|
449
|
+
error: 'Error al enviar la plantilla',
|
450
|
+
},
|
451
|
+
'find-messages-by-phone': {
|
452
|
+
success: 'Mensajes encontrados',
|
453
|
+
error: 'Error al encontrar los mensajes',
|
454
|
+
'not-found': 'No se encontró el perfil',
|
455
|
+
},
|
456
|
+
'read-messages': {
|
457
|
+
success: 'Mensajes leídos',
|
458
|
+
error: 'Error al leer los mensajes',
|
459
|
+
},
|
460
|
+
'non-read-messages': {
|
461
|
+
success: 'Mensajes no leídos encontrados',
|
462
|
+
error: 'Error al encontrar los mensajes no leídos',
|
463
|
+
},
|
464
|
+
'last-message-timestamp': {
|
465
|
+
success: 'Último mensaje obtenido',
|
466
|
+
error: 'Error al obtener el último mensaje',
|
467
|
+
},
|
468
|
+
},
|
469
|
+
webhook: {
|
470
|
+
get: {
|
471
|
+
success: 'Webhook verificado',
|
472
|
+
forbidden: 'Prohibido',
|
473
|
+
'bad-request': 'Solicitud incorrecta',
|
474
|
+
},
|
475
|
+
post: {
|
476
|
+
unauthorized: 'No autorizado',
|
477
|
+
'bad-request': 'Solicitud incorrecta',
|
478
|
+
'no-secret': 'No se encontró un secreto de META_APP',
|
479
|
+
error: 'Error al procesar el webhook',
|
480
|
+
'tag-not-found': 'Etiqueta no encontrada',
|
481
|
+
'profile-not-found': 'Perfil no encontrado',
|
482
|
+
},
|
483
|
+
},
|
430
484
|
},
|
431
485
|
};
|
432
486
|
//# sourceMappingURL=es.js.map
|
package/dist/src/i18n/es.js.map
CHANGED
@@ -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,EAAE,6CAA6C;aACnD;YACD,UAAU,EAAE;gBACV,QAAQ,EAAE,4CAA4C;aACvD;SACF;QACD,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,QAAQ,EAAE,oBAAoB;gBAC9B,IAAI,EAAE,wBAAwB;aAC/B;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,mCAAmC;aAC9C;YACD,KAAK,EAAE;gBACL,QAAQ,EAAE,uBAAuB;gBACjC,KAAK,EAAE,mCAAmC;aAC3C;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,4BAA4B;gBACtC,GAAG,EAAE,gDAAgD;aACtD;YACD,IAAI,EAAE;gBACJ,QAAQ,EAAE,qBAAqB;gBAC/B,OAAO,EAAE,oBAAoB;aAC9B;SACF;QACD,GAAG,EAAE;YACH,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,IAAI,EAAE;gBACJ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AAE,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;aAC5C;SACF;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
|