expo-backend-types 0.32.0-EXPO-308-auth.1 → 0.32.0-EXPO-315-Marcelo-Tinelli.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/exports.d.ts +2 -3
- package/dist/src/exports.js +2 -3
- package/dist/src/i18n/es.d.ts +64 -20
- package/dist/src/i18n/es.js +64 -20
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/{schema/location.schema.js → location/dto/location.dto.js} +2 -2
- package/dist/src/location/exports.d.ts +1 -0
- package/dist/src/location/exports.js +1 -0
- package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
- package/dist/src/message/dto/non-read-messages.dto.js +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
- package/dist/src/message/dto/template.dto.d.ts +2 -2
- package/dist/src/profile/dto/create-profile.dto.d.ts +14 -48
- package/dist/src/profile/dto/create-profile.dto.js +7 -9
- package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -30
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +7 -47
- package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +11 -75
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +13 -32
- package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -7
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -30
- package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +7 -47
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +7 -47
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +3 -7
- package/dist/src/profile/dto/find-trash.dto.js +2 -2
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +7 -47
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +30 -44
- package/dist/src/profile/dto/profile.dto.js +63 -6
- package/dist/src/profile/dto/update-profile.dto.d.ts +12 -54
- package/dist/src/profile/dto/update-profile.dto.js +6 -9
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +4 -2
- package/dist/src/shared/dto-modification/zod-without-dates.js +0 -8
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +7 -47
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +7 -47
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +134 -0
- package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +75 -0
- package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +198 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +198 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +198 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +198 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +75 -0
- package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
- package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
- package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +76 -0
- package/dist/src/ticket/dto/ticket.dto.js +29 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +125 -0
- package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
- package/dist/src/ticket/exports.d.ts +10 -0
- package/dist/src/{otp → ticket}/exports.js +10 -2
- package/dist/types/prisma-schema/edge.js +48 -38
- package/dist/types/prisma-schema/index-browser.js +33 -18
- package/dist/types/prisma-schema/index.d.ts +4312 -5988
- package/dist/types/prisma-schema/index.js +48 -38
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +2 -8
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +1 -3
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +153 -205
- package/dist/types/prisma-schema/runtime/library.js +55 -55
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +17 -17
- package/dist/types/prisma-schema/schema.prisma +33 -23
- package/dist/types/prisma-schema/wasm.js +33 -18
- package/dist/types/schema.d.ts +339 -313
- package/package.json +41 -32
- package/dist/src/image/constants.d.ts +0 -5
- package/dist/src/image/constants.js +0 -9
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -337
- package/dist/src/mi-expo/dto/get-me.dto.js +0 -16
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -311
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +0 -29
- package/dist/src/mi-expo/dto/login.dto.d.ts +0 -327
- package/dist/src/mi-expo/dto/login.dto.js +0 -31
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -352
- package/dist/src/mi-expo/dto/update-me.dto.js +0 -31
- package/dist/src/mi-expo/exports.d.ts +0 -4
- package/dist/src/mi-expo/exports.js +0 -21
- package/dist/src/otp/constants.d.ts +0 -2
- package/dist/src/otp/constants.js +0 -6
- package/dist/src/otp/dto/send-otp.dto.d.ts +0 -158
- package/dist/src/otp/dto/send-otp.dto.js +0 -35
- package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -455
- package/dist/src/otp/dto/verify-otp.dto.js +0 -46
- package/dist/src/otp/exports.d.ts +0 -2
- package/dist/src/prisma/constants.d.ts +0 -1
- package/dist/src/prisma/constants.js +0 -5
- package/dist/src/schema/exports.d.ts +0 -2
- package/dist/src/schema/exports.js +0 -19
- package/dist/src/schema/profile.schema.d.ts +0 -74
- package/dist/src/schema/profile.schema.js +0 -133
- package/dist/src/webhook/constants.d.ts +0 -1
- package/dist/src/webhook/constants.js +0 -5
- /package/dist/src/{schema/location.schema.d.ts → location/dto/location.dto.d.ts} +0 -0
package/dist/src/exports.d.ts
CHANGED
@@ -2,14 +2,13 @@ export * from './account/exports';
|
|
2
2
|
export * from './auth/exports';
|
3
3
|
export * from './canned-response/exports';
|
4
4
|
export * from './comment/exports';
|
5
|
+
export * from './csv/exports';
|
5
6
|
export * from './event-folder/exports';
|
6
7
|
export * from './event/exports';
|
7
8
|
export * from './location/exports';
|
8
9
|
export * from './message/exports';
|
9
|
-
export * from './mi-expo/exports';
|
10
|
-
export * from './otp/exports';
|
11
10
|
export * from './profile/exports';
|
12
|
-
export * from './schema/exports';
|
13
11
|
export * from './shared/dto-modification/zod-without-dates';
|
14
12
|
export * from './tag-group/exports';
|
15
13
|
export * from './tag/exports';
|
14
|
+
export * from './ticket/exports';
|
package/dist/src/exports.js
CHANGED
@@ -18,15 +18,14 @@ __exportStar(require("./account/exports"), exports);
|
|
18
18
|
__exportStar(require("./auth/exports"), exports);
|
19
19
|
__exportStar(require("./canned-response/exports"), exports);
|
20
20
|
__exportStar(require("./comment/exports"), exports);
|
21
|
+
__exportStar(require("./csv/exports"), exports);
|
21
22
|
__exportStar(require("./event-folder/exports"), exports);
|
22
23
|
__exportStar(require("./event/exports"), exports);
|
23
24
|
__exportStar(require("./location/exports"), exports);
|
24
25
|
__exportStar(require("./message/exports"), exports);
|
25
|
-
__exportStar(require("./mi-expo/exports"), exports);
|
26
|
-
__exportStar(require("./otp/exports"), exports);
|
27
26
|
__exportStar(require("./profile/exports"), exports);
|
28
|
-
__exportStar(require("./schema/exports"), exports);
|
29
27
|
__exportStar(require("./shared/dto-modification/zod-without-dates"), exports);
|
30
28
|
__exportStar(require("./tag-group/exports"), exports);
|
31
29
|
__exportStar(require("./tag/exports"), exports);
|
30
|
+
__exportStar(require("./ticket/exports"), exports);
|
32
31
|
//# sourceMappingURL=exports.js.map
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -11,7 +11,7 @@ declare const _default: {
|
|
11
11
|
readonly location: "Ubicación";
|
12
12
|
readonly cannedResponse: "Respuesta enlatada";
|
13
13
|
readonly message: "Mensaje";
|
14
|
-
readonly
|
14
|
+
readonly ticket: "Ticket";
|
15
15
|
};
|
16
16
|
readonly tag: {
|
17
17
|
readonly assisted: "Asistió";
|
@@ -181,6 +181,26 @@ declare const _default: {
|
|
181
181
|
readonly 'max-length': "Los botones no pueden tener más de 20 caracteres";
|
182
182
|
};
|
183
183
|
};
|
184
|
+
readonly ticket: {
|
185
|
+
readonly id: {
|
186
|
+
readonly uuid: "El ID debe ser un UUID";
|
187
|
+
};
|
188
|
+
readonly eventId: {
|
189
|
+
readonly uuid: "El ID del evento debe ser un UUID";
|
190
|
+
};
|
191
|
+
readonly fullName: {
|
192
|
+
readonly required: "El nombre es requerido";
|
193
|
+
};
|
194
|
+
readonly mail: {
|
195
|
+
readonly email: "El email debe ser un email válido";
|
196
|
+
};
|
197
|
+
readonly type: {
|
198
|
+
readonly invalid: "El tipo de ticket es inválido";
|
199
|
+
};
|
200
|
+
readonly status: {
|
201
|
+
readonly invalid: "El estado del ticket es inválido";
|
202
|
+
};
|
203
|
+
};
|
184
204
|
};
|
185
205
|
readonly route: {
|
186
206
|
readonly auth: {
|
@@ -188,7 +208,6 @@ declare const _default: {
|
|
188
208
|
readonly 'no-token': "No se encontró un token";
|
189
209
|
readonly 'invalid-token': "Token inválido";
|
190
210
|
readonly 'user-not-found': "Usuario no encontrado";
|
191
|
-
readonly 'phone-not-verified': "El teléfono no está verificado";
|
192
211
|
};
|
193
212
|
readonly account: {
|
194
213
|
readonly create: {
|
@@ -363,6 +382,18 @@ declare const _default: {
|
|
363
382
|
readonly 'not-found': "Evento no encontrado";
|
364
383
|
};
|
365
384
|
};
|
385
|
+
readonly pdf: {
|
386
|
+
readonly 'generate-pdf': {
|
387
|
+
readonly success: "Ticket generado con éxito";
|
388
|
+
readonly 'not-found': "Ticket no encontrado";
|
389
|
+
};
|
390
|
+
readonly 'find-ticket': {
|
391
|
+
readonly success: "Ticket encontrado con éxito";
|
392
|
+
readonly 'not-found': "Ticket no encontrado";
|
393
|
+
readonly 'invalid-barcode': "Error de formato en el valor del código de barras";
|
394
|
+
readonly error: "Error al descifrar el ID del ticket";
|
395
|
+
};
|
396
|
+
};
|
366
397
|
readonly profile: {
|
367
398
|
readonly 'find-all': {
|
368
399
|
readonly success: "Perfiles obtenidos";
|
@@ -490,6 +521,37 @@ declare const _default: {
|
|
490
521
|
readonly error: "Error al obtener el último mensaje";
|
491
522
|
};
|
492
523
|
};
|
524
|
+
readonly ticket: {
|
525
|
+
readonly create: {
|
526
|
+
readonly success: "Ticket creado con éxito";
|
527
|
+
readonly 'event-not-found': "Evento no encontrado";
|
528
|
+
readonly conflict: "Error en la creación del ticket";
|
529
|
+
};
|
530
|
+
readonly 'find-all': {
|
531
|
+
readonly success: "Tickets obtenidos";
|
532
|
+
};
|
533
|
+
readonly 'find-by-id': {
|
534
|
+
readonly success: "Ticket obtenido";
|
535
|
+
readonly 'not-found': "Ticket no encontrado";
|
536
|
+
};
|
537
|
+
readonly 'find-by-mail': {
|
538
|
+
readonly success: "Tickets por mail obtenidos";
|
539
|
+
readonly 'not-found': "Tickets por mail no encontrados";
|
540
|
+
};
|
541
|
+
readonly 'find-by-event': {
|
542
|
+
readonly success: "Tickets por evento obtenidos";
|
543
|
+
readonly 'not-found': "Tickets por evento no encontrados";
|
544
|
+
};
|
545
|
+
readonly update: {
|
546
|
+
readonly success: "Ticket actualizado";
|
547
|
+
readonly 'not-found': "Ticket no encontrado";
|
548
|
+
readonly conflict: "Error en la actualización del ticket";
|
549
|
+
};
|
550
|
+
readonly delete: {
|
551
|
+
readonly success: "Ticket eliminado";
|
552
|
+
readonly 'not-found': "Ticket no encontrado";
|
553
|
+
};
|
554
|
+
};
|
493
555
|
readonly webhook: {
|
494
556
|
readonly get: {
|
495
557
|
readonly success: "Webhook verificado";
|
@@ -507,24 +569,6 @@ declare const _default: {
|
|
507
569
|
};
|
508
570
|
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!";
|
509
571
|
};
|
510
|
-
readonly otp: {
|
511
|
-
readonly 'secret-not-found': "El secreto de OTP no se encontró";
|
512
|
-
readonly 'already-exists': "El código de verificación ya fue enviado";
|
513
|
-
readonly 'phone-already-verified': "El teléfono ya fue verificado, por favor inicie sesión";
|
514
|
-
readonly send: {
|
515
|
-
readonly error: "Error al enviar el código de verificación";
|
516
|
-
readonly 'phone-already-verified': "El teléfono ya fue verificado, por favor inicie sesión";
|
517
|
-
readonly 'profile-not-found': "No se encontró un perfil asociado al teléfono. Por favor registrate";
|
518
|
-
readonly success: "Código de verificación enviado con éxito";
|
519
|
-
};
|
520
|
-
readonly verify: {
|
521
|
-
readonly 'error-format': "El código debe tener 6 dígitos";
|
522
|
-
readonly 'invalid-otp': "Error al verificar el código";
|
523
|
-
readonly 'no-otp-found': "No se encontró un código de verificación";
|
524
|
-
readonly 'otp-expired': "El código de verificación expiró. Por favor solicita uno nuevo";
|
525
|
-
readonly success: "Código de verificación verificado con éxito";
|
526
|
-
};
|
527
|
-
};
|
528
572
|
};
|
529
573
|
};
|
530
574
|
export default _default;
|
package/dist/src/i18n/es.js
CHANGED
@@ -13,7 +13,7 @@ exports.default = {
|
|
13
13
|
location: 'Ubicación',
|
14
14
|
cannedResponse: 'Respuesta enlatada',
|
15
15
|
message: 'Mensaje',
|
16
|
-
|
16
|
+
ticket: 'Ticket',
|
17
17
|
},
|
18
18
|
tag: {
|
19
19
|
assisted: 'Asistió',
|
@@ -183,6 +183,26 @@ exports.default = {
|
|
183
183
|
'max-length': 'Los botones no pueden tener más de 20 caracteres',
|
184
184
|
},
|
185
185
|
},
|
186
|
+
ticket: {
|
187
|
+
id: {
|
188
|
+
uuid: 'El ID debe ser un UUID',
|
189
|
+
},
|
190
|
+
eventId: {
|
191
|
+
uuid: 'El ID del evento debe ser un UUID',
|
192
|
+
},
|
193
|
+
fullName: {
|
194
|
+
required: 'El nombre es requerido',
|
195
|
+
},
|
196
|
+
mail: {
|
197
|
+
email: 'El email debe ser un email válido',
|
198
|
+
},
|
199
|
+
type: {
|
200
|
+
invalid: 'El tipo de ticket es inválido',
|
201
|
+
},
|
202
|
+
status: {
|
203
|
+
invalid: 'El estado del ticket es inválido',
|
204
|
+
},
|
205
|
+
},
|
186
206
|
},
|
187
207
|
route: {
|
188
208
|
auth: {
|
@@ -190,7 +210,6 @@ exports.default = {
|
|
190
210
|
'no-token': 'No se encontró un token',
|
191
211
|
'invalid-token': 'Token inválido',
|
192
212
|
'user-not-found': 'Usuario no encontrado',
|
193
|
-
'phone-not-verified': 'El teléfono no está verificado',
|
194
213
|
},
|
195
214
|
account: {
|
196
215
|
create: {
|
@@ -365,6 +384,18 @@ exports.default = {
|
|
365
384
|
'not-found': 'Evento no encontrado',
|
366
385
|
},
|
367
386
|
},
|
387
|
+
pdf: {
|
388
|
+
'generate-pdf': {
|
389
|
+
success: 'Ticket generado con éxito',
|
390
|
+
'not-found': 'Ticket no encontrado',
|
391
|
+
},
|
392
|
+
'find-ticket': {
|
393
|
+
success: 'Ticket encontrado con éxito',
|
394
|
+
'not-found': 'Ticket no encontrado',
|
395
|
+
'invalid-barcode': 'Error de formato en el valor del código de barras',
|
396
|
+
error: 'Error al descifrar el ID del ticket',
|
397
|
+
},
|
398
|
+
},
|
368
399
|
profile: {
|
369
400
|
'find-all': {
|
370
401
|
success: 'Perfiles obtenidos',
|
@@ -492,6 +523,37 @@ exports.default = {
|
|
492
523
|
error: 'Error al obtener el último mensaje',
|
493
524
|
},
|
494
525
|
},
|
526
|
+
ticket: {
|
527
|
+
create: {
|
528
|
+
success: 'Ticket creado con éxito',
|
529
|
+
'event-not-found': 'Evento no encontrado',
|
530
|
+
conflict: 'Error en la creación del ticket',
|
531
|
+
},
|
532
|
+
'find-all': {
|
533
|
+
success: 'Tickets obtenidos',
|
534
|
+
},
|
535
|
+
'find-by-id': {
|
536
|
+
success: 'Ticket obtenido',
|
537
|
+
'not-found': 'Ticket no encontrado',
|
538
|
+
},
|
539
|
+
'find-by-mail': {
|
540
|
+
success: 'Tickets por mail obtenidos',
|
541
|
+
'not-found': 'Tickets por mail no encontrados',
|
542
|
+
},
|
543
|
+
'find-by-event': {
|
544
|
+
success: 'Tickets por evento obtenidos',
|
545
|
+
'not-found': 'Tickets por evento no encontrados',
|
546
|
+
},
|
547
|
+
update: {
|
548
|
+
success: 'Ticket actualizado',
|
549
|
+
'not-found': 'Ticket no encontrado',
|
550
|
+
conflict: 'Error en la actualización del ticket',
|
551
|
+
},
|
552
|
+
delete: {
|
553
|
+
success: 'Ticket eliminado',
|
554
|
+
'not-found': 'Ticket no encontrado',
|
555
|
+
},
|
556
|
+
},
|
495
557
|
webhook: {
|
496
558
|
get: {
|
497
559
|
success: 'Webhook verificado',
|
@@ -509,24 +571,6 @@ exports.default = {
|
|
509
571
|
},
|
510
572
|
'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!`,
|
511
573
|
},
|
512
|
-
otp: {
|
513
|
-
'secret-not-found': 'El secreto de OTP no se encontró',
|
514
|
-
'already-exists': 'El código de verificación ya fue enviado',
|
515
|
-
'phone-already-verified': 'El teléfono ya fue verificado, por favor inicie sesión',
|
516
|
-
send: {
|
517
|
-
error: 'Error al enviar el código de verificación',
|
518
|
-
'phone-already-verified': 'El teléfono ya fue verificado, por favor inicie sesión',
|
519
|
-
'profile-not-found': 'No se encontró un perfil asociado al teléfono. Por favor registrate',
|
520
|
-
success: 'Código de verificación enviado con éxito',
|
521
|
-
},
|
522
|
-
verify: {
|
523
|
-
'error-format': 'El código debe tener 6 dígitos',
|
524
|
-
'invalid-otp': 'Error al verificar el código',
|
525
|
-
'no-otp-found': 'No se encontró un código de verificación',
|
526
|
-
'otp-expired': 'El código de verificación expiró. Por favor solicita uno nuevo',
|
527
|
-
success: 'Código de verificación verificado con éxito',
|
528
|
-
},
|
529
|
-
},
|
530
574
|
},
|
531
575
|
};
|
532
576
|
//# 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;YAClB,
|
1
|
+
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAA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,QAAQ,EAAE,iCAAiC;aAC5C;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,mBAAmB;aAC7B;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,sBAAsB;aACpC;YACD,cAAc,EAAE;gBACd,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,iCAAiC;aAC/C;YACD,eAAe,EAAE;gBACf,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,mCAAmC;aACjD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,oBAAoB;gBAC7B,WAAW,EAAE,sBAAsB;gBACnC,QAAQ,EAAE,sCAAsC;aACjD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,sBAAsB;aACpC;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"}
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindAllLocationResponseDto = exports.findAllLocationResponseSchema = void 0;
|
7
|
-
const
|
7
|
+
const location_dto_1 = require("./location.dto");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const zod_1 = __importDefault(require("zod"));
|
10
10
|
function locationPickedSchema() {
|
11
|
-
return
|
11
|
+
return location_dto_1.locationSchema.pick({
|
12
12
|
city: true,
|
13
13
|
longitude: true,
|
14
14
|
latitude: true,
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.locationSchema = void 0;
|
7
|
-
const translate_1 = require("
|
7
|
+
const translate_1 = require("../../i18n/translate");
|
8
8
|
const zod_1 = __importDefault(require("zod"));
|
9
9
|
exports.locationSchema = zod_1.default.object({
|
10
10
|
id: zod_1.default.string().uuid({
|
@@ -32,4 +32,4 @@ exports.locationSchema = zod_1.default.object({
|
|
32
32
|
created_at: zod_1.default.date(),
|
33
33
|
updated_at: zod_1.default.date(),
|
34
34
|
});
|
35
|
-
//# sourceMappingURL=location.
|
35
|
+
//# sourceMappingURL=location.dto.js.map
|
@@ -3,4 +3,5 @@ export * from './dto/find-all-countries.dto';
|
|
3
3
|
export * from './dto/find-all-location.dto';
|
4
4
|
export * from './dto/find-arg-states.dto';
|
5
5
|
export * from './dto/find-cities-by-arg-state.dto';
|
6
|
+
export * from './dto/location.dto';
|
6
7
|
export * from './dto/states-by-country.dto';
|
@@ -19,5 +19,6 @@ __exportStar(require("./dto/find-all-countries.dto"), exports);
|
|
19
19
|
__exportStar(require("./dto/find-all-location.dto"), exports);
|
20
20
|
__exportStar(require("./dto/find-arg-states.dto"), exports);
|
21
21
|
__exportStar(require("./dto/find-cities-by-arg-state.dto"), exports);
|
22
|
+
__exportStar(require("./dto/location.dto"), exports);
|
22
23
|
__exportStar(require("./dto/states-by-country.dto"), exports);
|
23
24
|
//# sourceMappingURL=exports.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const nonReadMessagesSchema: z.ZodObject<{
|
3
3
|
messages: z.ZodArray<z.ZodObject<{
|
4
|
-
profilePhoneNumber: z.ZodEffects<z.
|
4
|
+
profilePhoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
5
5
|
_count: z.ZodObject<{
|
6
6
|
id: z.ZodNumber;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
@@ -37,7 +37,7 @@ export declare const nonReadMessagesSchema: z.ZodObject<{
|
|
37
37
|
}>;
|
38
38
|
declare const NonReadMessagesDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
39
39
|
messages: z.ZodArray<z.ZodObject<{
|
40
|
-
profilePhoneNumber: z.ZodEffects<z.
|
40
|
+
profilePhoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
41
41
|
_count: z.ZodObject<{
|
42
42
|
id: z.ZodNumber;
|
43
43
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.NonReadMessagesDto = exports.nonReadMessagesSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_dto_1 = require("../../profile/dto/profile.dto");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const zod_1 = __importDefault(require("zod"));
|
10
10
|
exports.nonReadMessagesSchema = zod_1.default.object({
|
11
11
|
messages: zod_1.default.array(zod_1.default.object({
|
12
|
-
profilePhoneNumber:
|
12
|
+
profilePhoneNumber: profile_dto_1.profileSchema.shape.phoneNumber,
|
13
13
|
_count: zod_1.default.object({
|
14
14
|
id: zod_1.default.number(),
|
15
15
|
}),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const sendMessageToPhoneSchema: z.ZodObject<{
|
3
|
-
phone: z.ZodEffects<z.
|
3
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
4
4
|
message: z.ZodString;
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
6
6
|
message: string;
|
@@ -10,7 +10,7 @@ export declare const sendMessageToPhoneSchema: z.ZodObject<{
|
|
10
10
|
phone: string;
|
11
11
|
}>;
|
12
12
|
declare const SendMessageToPhoneDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
-
phone: z.ZodEffects<z.
|
13
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
14
14
|
message: z.ZodString;
|
15
15
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
16
16
|
message: string;
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.SendMessageToPhoneResponseDto = exports.sendMessageToPhoneResponseSchema = exports.SendMessageToPhoneDto = exports.sendMessageToPhoneSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_dto_1 = require("../../profile/dto/profile.dto");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const zod_1 = __importDefault(require("zod"));
|
10
10
|
exports.sendMessageToPhoneSchema = zod_1.default.object({
|
11
|
-
phone:
|
11
|
+
phone: profile_dto_1.profileSchema.shape.phoneNumber,
|
12
12
|
message: zod_1.default.string(),
|
13
13
|
});
|
14
14
|
class SendMessageToPhoneDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.sendMessageToPhoneSchema) {
|
@@ -113,8 +113,8 @@ export declare const templateSchema: z.ZodObject<{
|
|
113
113
|
id: string;
|
114
114
|
name: string;
|
115
115
|
content: string;
|
116
|
-
buttons: string[];
|
117
116
|
status: "APPROVED" | "PENDING" | "REJECTED";
|
117
|
+
buttons: string[];
|
118
118
|
language: string;
|
119
119
|
components: ({
|
120
120
|
type: "BUTTONS";
|
@@ -132,8 +132,8 @@ export declare const templateSchema: z.ZodObject<{
|
|
132
132
|
id: string;
|
133
133
|
name: string;
|
134
134
|
content: string;
|
135
|
-
buttons: string[];
|
136
135
|
status: "APPROVED" | "PENDING" | "REJECTED";
|
136
|
+
buttons: string[];
|
137
137
|
language: string;
|
138
138
|
components: ({
|
139
139
|
type: "BUTTONS";
|
@@ -3,12 +3,8 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
3
3
|
profile: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
|
7
|
-
|
8
|
-
password: z.ZodNullable<z.ZodString>;
|
9
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
10
|
-
isPhoneVerified: z.ZodBoolean;
|
11
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
6
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
7
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
12
8
|
fullName: z.ZodString;
|
13
9
|
firstName: z.ZodNullable<z.ZodString>;
|
14
10
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -24,7 +20,7 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
24
20
|
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
25
21
|
created_at: z.ZodDate;
|
26
22
|
updated_at: z.ZodDate;
|
27
|
-
}, "
|
23
|
+
}, "phoneNumber" | "secondaryPhoneNumber" | "fullName" | "profilePictureUrl" | "mail" | "gender" | "birthDate" | "instagram" | "dni" | "alternativeNames">, {
|
28
24
|
comments: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
|
29
25
|
id: z.ZodString;
|
30
26
|
content: z.ZodString;
|
@@ -89,8 +85,6 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
89
85
|
}>>;
|
90
86
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
91
87
|
}>, "strip", z.ZodTypeAny, {
|
92
|
-
username: string | null;
|
93
|
-
password: string | null;
|
94
88
|
phoneNumber: string;
|
95
89
|
secondaryPhoneNumber: string | null;
|
96
90
|
fullName: string;
|
@@ -121,8 +115,6 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
121
115
|
city: string;
|
122
116
|
} | undefined;
|
123
117
|
}, {
|
124
|
-
username: string | null;
|
125
|
-
password: string | null;
|
126
118
|
phoneNumber: string;
|
127
119
|
secondaryPhoneNumber: string | null;
|
128
120
|
fullName: string;
|
@@ -156,8 +148,6 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
156
148
|
checkForSimilarity: z.ZodOptional<z.ZodBoolean>;
|
157
149
|
}, "strip", z.ZodTypeAny, {
|
158
150
|
profile: {
|
159
|
-
username: string | null;
|
160
|
-
password: string | null;
|
161
151
|
phoneNumber: string;
|
162
152
|
secondaryPhoneNumber: string | null;
|
163
153
|
fullName: string;
|
@@ -191,8 +181,6 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
191
181
|
checkForSimilarity?: boolean | undefined;
|
192
182
|
}, {
|
193
183
|
profile: {
|
194
|
-
username: string | null;
|
195
|
-
password: string | null;
|
196
184
|
phoneNumber: string;
|
197
185
|
secondaryPhoneNumber: string | null;
|
198
186
|
fullName: string;
|
@@ -227,15 +215,13 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
227
215
|
}>;
|
228
216
|
declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
229
217
|
profile: z.ZodObject<{
|
230
|
-
|
231
|
-
|
232
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
233
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
218
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
219
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
234
220
|
fullName: z.ZodString;
|
235
221
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
236
222
|
mail: z.ZodNullable<z.ZodString>;
|
237
223
|
gender: z.ZodNullable<z.ZodString>;
|
238
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
224
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
239
225
|
instagram: z.ZodNullable<z.ZodString>;
|
240
226
|
dni: z.ZodNullable<z.ZodString>;
|
241
227
|
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
@@ -289,15 +275,13 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
289
275
|
}>>;
|
290
276
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
291
277
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
292
|
-
username: string | null;
|
293
|
-
password: string | null;
|
294
278
|
phoneNumber: string;
|
295
279
|
secondaryPhoneNumber: string | null;
|
296
280
|
fullName: string;
|
297
281
|
profilePictureUrl: string | null;
|
298
282
|
mail: string | null;
|
299
283
|
gender: string | null;
|
300
|
-
birthDate:
|
284
|
+
birthDate: Date | null;
|
301
285
|
instagram: string | null;
|
302
286
|
dni: string | null;
|
303
287
|
alternativeNames: string[];
|
@@ -321,8 +305,6 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
321
305
|
city: string;
|
322
306
|
} | undefined;
|
323
307
|
}, {
|
324
|
-
username: string | null;
|
325
|
-
password: string | null;
|
326
308
|
phoneNumber: string;
|
327
309
|
secondaryPhoneNumber: string | null;
|
328
310
|
fullName: string;
|
@@ -356,15 +338,13 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
356
338
|
checkForSimilarity: z.ZodOptional<z.ZodBoolean>;
|
357
339
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
358
340
|
profile: {
|
359
|
-
username: string | null;
|
360
|
-
password: string | null;
|
361
341
|
phoneNumber: string;
|
362
342
|
secondaryPhoneNumber: string | null;
|
363
343
|
fullName: string;
|
364
344
|
profilePictureUrl: string | null;
|
365
345
|
mail: string | null;
|
366
346
|
gender: string | null;
|
367
|
-
birthDate:
|
347
|
+
birthDate: Date | null;
|
368
348
|
instagram: string | null;
|
369
349
|
dni: string | null;
|
370
350
|
alternativeNames: string[];
|
@@ -391,8 +371,6 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
391
371
|
checkForSimilarity?: boolean | undefined;
|
392
372
|
}, {
|
393
373
|
profile: {
|
394
|
-
username: string | null;
|
395
|
-
password: string | null;
|
396
374
|
phoneNumber: string;
|
397
375
|
secondaryPhoneNumber: string | null;
|
398
376
|
fullName: string;
|
@@ -431,12 +409,8 @@ declare const similarProfileSchema: z.ZodObject<{
|
|
431
409
|
profile: z.ZodObject<Pick<{
|
432
410
|
id: z.ZodString;
|
433
411
|
shortId: z.ZodNumber;
|
434
|
-
|
435
|
-
|
436
|
-
password: z.ZodNullable<z.ZodString>;
|
437
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
438
|
-
isPhoneVerified: z.ZodBoolean;
|
439
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
412
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
413
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
440
414
|
fullName: z.ZodString;
|
441
415
|
firstName: z.ZodNullable<z.ZodString>;
|
442
416
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -486,12 +460,8 @@ export declare const createProfileResponseSchema: z.ZodObject<{
|
|
486
460
|
profile: z.ZodObject<Pick<{
|
487
461
|
id: z.ZodString;
|
488
462
|
shortId: z.ZodNumber;
|
489
|
-
|
490
|
-
|
491
|
-
password: z.ZodNullable<z.ZodString>;
|
492
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
493
|
-
isPhoneVerified: z.ZodBoolean;
|
494
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
463
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
464
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
495
465
|
fullName: z.ZodString;
|
496
466
|
firstName: z.ZodNullable<z.ZodString>;
|
497
467
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -609,12 +579,8 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
609
579
|
profile: z.ZodObject<Pick<{
|
610
580
|
id: z.ZodString;
|
611
581
|
shortId: z.ZodNumber;
|
612
|
-
|
613
|
-
|
614
|
-
password: z.ZodNullable<z.ZodString>;
|
615
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
616
|
-
isPhoneVerified: z.ZodBoolean;
|
617
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
582
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
583
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
618
584
|
fullName: z.ZodString;
|
619
585
|
firstName: z.ZodNullable<z.ZodString>;
|
620
586
|
gender: z.ZodNullable<z.ZodString>;
|