expo-backend-types 0.32.0 → 0.33.0-EXPO-308-auth.1
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/event/dto/create-event.dto.d.ts +2 -115
- package/dist/src/event/dto/create-event.dto.js +0 -8
- package/dist/src/event/dto/delete-event.dto.d.ts +0 -18
- package/dist/src/event/dto/event.dto.d.ts +0 -9
- package/dist/src/event/dto/event.dto.js +0 -9
- package/dist/src/event/dto/get-all-event.dto.d.ts +160 -424
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -208
- package/dist/src/event/dto/get-by-id-event.dto.js +0 -2
- package/dist/src/event/dto/update-event.dto.d.ts +22 -193
- package/dist/src/event/dto/update-event.dto.js +0 -9
- package/dist/src/event/exports.d.ts +0 -3
- package/dist/src/event/exports.js +0 -3
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +0 -42
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +0 -30
- package/dist/src/exports.d.ts +3 -1
- package/dist/src/exports.js +3 -1
- package/dist/src/i18n/es.d.ts +20 -24
- package/dist/src/i18n/es.js +20 -24
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/image/constants.d.ts +5 -0
- package/dist/src/image/constants.js +9 -0
- package/dist/src/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/location/exports.d.ts +0 -1
- package/dist/src/location/exports.js +0 -1
- 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/mi-expo/dto/get-me.dto.d.ts +337 -0
- package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
- package/dist/src/mi-expo/dto/login.dto.js +31 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
- package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
- package/dist/src/mi-expo/exports.d.ts +4 -0
- package/dist/src/mi-expo/exports.js +21 -0
- package/dist/src/otp/constants.d.ts +2 -0
- package/dist/src/otp/constants.js +6 -0
- package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
- package/dist/src/otp/dto/send-otp.dto.js +35 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
- package/dist/src/otp/dto/verify-otp.dto.js +46 -0
- package/dist/src/otp/exports.d.ts +2 -0
- package/dist/src/otp/exports.js +19 -0
- package/dist/src/prisma/constants.d.ts +1 -0
- package/dist/src/prisma/constants.js +5 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
- package/dist/src/profile/dto/create-profile.dto.js +9 -7
- package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
- 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 +75 -11
- 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 +32 -13
- package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
- 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 +47 -7
- 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 +47 -7
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
- package/dist/src/profile/dto/find-trash.dto.js +2 -2
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +44 -30
- package/dist/src/profile/dto/profile.dto.js +6 -63
- package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
- package/dist/src/profile/dto/update-profile.dto.js +9 -6
- package/dist/src/schema/exports.d.ts +2 -0
- package/dist/src/schema/exports.js +19 -0
- package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
- package/dist/src/schema/profile.schema.d.ts +74 -0
- package/dist/src/schema/profile.schema.js +133 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/src/webhook/constants.d.ts +1 -0
- package/dist/src/webhook/constants.js +5 -0
- package/dist/types/prisma-schema/edge.js +37 -43
- package/dist/types/prisma-schema/index-browser.js +19 -30
- package/dist/types/prisma-schema/index.d.ts +6249 -5155
- package/dist/types/prisma-schema/index.js +37 -43
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +8 -2
- 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 +3 -1
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
- 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 +27 -33
- package/dist/types/prisma-schema/wasm.js +19 -30
- package/dist/types/schema.d.ts +510 -198
- package/package.json +32 -38
- package/dist/src/event/dto/event-tickets.dto.d.ts +0 -21
- package/dist/src/event/dto/event-tickets.dto.js +0 -21
- package/dist/src/event/dto/get-active-events.dto.d.ts +0 -247
- package/dist/src/event/dto/get-active-events.dto.js +0 -19
- package/dist/src/event/dto/toggle-active-event.dto.d.ts +0 -43
- package/dist/src/event/dto/toggle-active-event.dto.js +0 -6
- /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -10,13 +10,10 @@ export declare const getByIdEventFolderResponseSchema: z.ZodObject<z.objectUtil.
|
|
10
10
|
id: z.ZodString;
|
11
11
|
name: z.ZodString;
|
12
12
|
date: z.ZodDate;
|
13
|
-
startingDate: z.ZodDate;
|
14
|
-
endingDate: z.ZodDate;
|
15
13
|
location: z.ZodString;
|
16
14
|
folderId: z.ZodNullable<z.ZodString>;
|
17
15
|
tagAssistedId: z.ZodString;
|
18
16
|
tagConfirmedId: z.ZodString;
|
19
|
-
active: z.ZodBoolean;
|
20
17
|
supraEventId: z.ZodNullable<z.ZodString>;
|
21
18
|
created_at: z.ZodDate;
|
22
19
|
updated_at: z.ZodDate;
|
@@ -25,11 +22,8 @@ export declare const getByIdEventFolderResponseSchema: z.ZodObject<z.objectUtil.
|
|
25
22
|
id: string;
|
26
23
|
name: string;
|
27
24
|
date: Date;
|
28
|
-
startingDate: Date;
|
29
|
-
endingDate: Date;
|
30
25
|
created_at: Date;
|
31
26
|
updated_at: Date;
|
32
|
-
active: boolean;
|
33
27
|
folderId: string | null;
|
34
28
|
tagAssistedId: string;
|
35
29
|
tagConfirmedId: string;
|
@@ -39,11 +33,8 @@ export declare const getByIdEventFolderResponseSchema: z.ZodObject<z.objectUtil.
|
|
39
33
|
id: string;
|
40
34
|
name: string;
|
41
35
|
date: Date;
|
42
|
-
startingDate: Date;
|
43
|
-
endingDate: Date;
|
44
36
|
created_at: Date;
|
45
37
|
updated_at: Date;
|
46
|
-
active: boolean;
|
47
38
|
folderId: string | null;
|
48
39
|
tagAssistedId: string;
|
49
40
|
tagConfirmedId: string;
|
@@ -60,11 +51,8 @@ export declare const getByIdEventFolderResponseSchema: z.ZodObject<z.objectUtil.
|
|
60
51
|
id: string;
|
61
52
|
name: string;
|
62
53
|
date: Date;
|
63
|
-
startingDate: Date;
|
64
|
-
endingDate: Date;
|
65
54
|
created_at: Date;
|
66
55
|
updated_at: Date;
|
67
|
-
active: boolean;
|
68
56
|
folderId: string | null;
|
69
57
|
tagAssistedId: string;
|
70
58
|
tagConfirmedId: string;
|
@@ -81,11 +69,8 @@ export declare const getByIdEventFolderResponseSchema: z.ZodObject<z.objectUtil.
|
|
81
69
|
id: string;
|
82
70
|
name: string;
|
83
71
|
date: Date;
|
84
|
-
startingDate: Date;
|
85
|
-
endingDate: Date;
|
86
72
|
created_at: Date;
|
87
73
|
updated_at: Date;
|
88
|
-
active: boolean;
|
89
74
|
folderId: string | null;
|
90
75
|
tagAssistedId: string;
|
91
76
|
tagConfirmedId: string;
|
@@ -102,13 +87,10 @@ declare const GetByIdEventFolderResponseDto_base: import("@anatine/zod-nestjs").
|
|
102
87
|
id: z.ZodString;
|
103
88
|
name: z.ZodString;
|
104
89
|
date: z.ZodString;
|
105
|
-
startingDate: z.ZodString;
|
106
|
-
endingDate: z.ZodString;
|
107
90
|
location: z.ZodString;
|
108
91
|
folderId: z.ZodNullable<z.ZodString>;
|
109
92
|
tagAssistedId: z.ZodString;
|
110
93
|
tagConfirmedId: z.ZodString;
|
111
|
-
active: z.ZodBoolean;
|
112
94
|
supraEventId: z.ZodNullable<z.ZodString>;
|
113
95
|
created_at: z.ZodString;
|
114
96
|
updated_at: z.ZodString;
|
@@ -117,11 +99,8 @@ declare const GetByIdEventFolderResponseDto_base: import("@anatine/zod-nestjs").
|
|
117
99
|
id: string;
|
118
100
|
name: string;
|
119
101
|
date: string;
|
120
|
-
startingDate: string;
|
121
|
-
endingDate: string;
|
122
102
|
created_at: string;
|
123
103
|
updated_at: string;
|
124
|
-
active: boolean;
|
125
104
|
folderId: string | null;
|
126
105
|
tagAssistedId: string;
|
127
106
|
tagConfirmedId: string;
|
@@ -131,11 +110,8 @@ declare const GetByIdEventFolderResponseDto_base: import("@anatine/zod-nestjs").
|
|
131
110
|
id: string;
|
132
111
|
name: string;
|
133
112
|
date: string;
|
134
|
-
startingDate: string;
|
135
|
-
endingDate: string;
|
136
113
|
created_at: string;
|
137
114
|
updated_at: string;
|
138
|
-
active: boolean;
|
139
115
|
folderId: string | null;
|
140
116
|
tagAssistedId: string;
|
141
117
|
tagConfirmedId: string;
|
@@ -152,11 +128,8 @@ declare const GetByIdEventFolderResponseDto_base: import("@anatine/zod-nestjs").
|
|
152
128
|
id: string;
|
153
129
|
name: string;
|
154
130
|
date: string;
|
155
|
-
startingDate: string;
|
156
|
-
endingDate: string;
|
157
131
|
created_at: string;
|
158
132
|
updated_at: string;
|
159
|
-
active: boolean;
|
160
133
|
folderId: string | null;
|
161
134
|
tagAssistedId: string;
|
162
135
|
tagConfirmedId: string;
|
@@ -173,11 +146,8 @@ declare const GetByIdEventFolderResponseDto_base: import("@anatine/zod-nestjs").
|
|
173
146
|
id: string;
|
174
147
|
name: string;
|
175
148
|
date: string;
|
176
|
-
startingDate: string;
|
177
|
-
endingDate: string;
|
178
149
|
created_at: string;
|
179
150
|
updated_at: string;
|
180
|
-
active: boolean;
|
181
151
|
folderId: string | null;
|
182
152
|
tagAssistedId: string;
|
183
153
|
tagConfirmedId: string;
|
package/dist/src/exports.d.ts
CHANGED
@@ -2,12 +2,14 @@ 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';
|
6
5
|
export * from './event-folder/exports';
|
7
6
|
export * from './event/exports';
|
8
7
|
export * from './location/exports';
|
9
8
|
export * from './message/exports';
|
9
|
+
export * from './mi-expo/exports';
|
10
|
+
export * from './otp/exports';
|
10
11
|
export * from './profile/exports';
|
12
|
+
export * from './schema/exports';
|
11
13
|
export * from './shared/dto-modification/zod-without-dates';
|
12
14
|
export * from './tag-group/exports';
|
13
15
|
export * from './tag/exports';
|
package/dist/src/exports.js
CHANGED
@@ -18,12 +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);
|
22
21
|
__exportStar(require("./event-folder/exports"), exports);
|
23
22
|
__exportStar(require("./event/exports"), exports);
|
24
23
|
__exportStar(require("./location/exports"), exports);
|
25
24
|
__exportStar(require("./message/exports"), exports);
|
25
|
+
__exportStar(require("./mi-expo/exports"), exports);
|
26
|
+
__exportStar(require("./otp/exports"), exports);
|
26
27
|
__exportStar(require("./profile/exports"), exports);
|
28
|
+
__exportStar(require("./schema/exports"), exports);
|
27
29
|
__exportStar(require("./shared/dto-modification/zod-without-dates"), exports);
|
28
30
|
__exportStar(require("./tag-group/exports"), exports);
|
29
31
|
__exportStar(require("./tag/exports"), exports);
|
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 otp: "OTP";
|
15
15
|
};
|
16
16
|
readonly tag: {
|
17
17
|
readonly assisted: "Asistió";
|
@@ -76,14 +76,6 @@ declare const _default: {
|
|
76
76
|
readonly required: "La fecha es requerida";
|
77
77
|
readonly invalid: "La fecha debe ser una fecha válida";
|
78
78
|
};
|
79
|
-
readonly startingDate: {
|
80
|
-
readonly required: "La fecha de inicio es requerida";
|
81
|
-
readonly invalid: "La fecha de inicio debe ser una fecha válida";
|
82
|
-
};
|
83
|
-
readonly endingDate: {
|
84
|
-
readonly required: "La fecha de finalización es requerida";
|
85
|
-
readonly invalid: "La fecha de finalización debe ser una fecha válida";
|
86
|
-
};
|
87
79
|
readonly location: {
|
88
80
|
readonly required: "La ubicación es requerida";
|
89
81
|
};
|
@@ -189,14 +181,6 @@ declare const _default: {
|
|
189
181
|
readonly 'max-length': "Los botones no pueden tener más de 20 caracteres";
|
190
182
|
};
|
191
183
|
};
|
192
|
-
readonly eventTicket: {
|
193
|
-
readonly amount: {
|
194
|
-
readonly min: "La cantidad de tickets debe ser mayor a 0";
|
195
|
-
};
|
196
|
-
readonly price: {
|
197
|
-
readonly min: "El precio de los tickets debe ser mayor a 0";
|
198
|
-
};
|
199
|
-
};
|
200
184
|
};
|
201
185
|
readonly route: {
|
202
186
|
readonly auth: {
|
@@ -204,6 +188,7 @@ declare const _default: {
|
|
204
188
|
readonly 'no-token': "No se encontró un token";
|
205
189
|
readonly 'invalid-token': "Token inválido";
|
206
190
|
readonly 'user-not-found': "Usuario no encontrado";
|
191
|
+
readonly 'phone-not-verified': "El teléfono no está verificado";
|
207
192
|
};
|
208
193
|
readonly account: {
|
209
194
|
readonly create: {
|
@@ -359,7 +344,6 @@ declare const _default: {
|
|
359
344
|
readonly success: "Evento creado con éxito";
|
360
345
|
readonly conflict: "Error en la creación del evento";
|
361
346
|
readonly 'folder-not-found': "Carpeta de evento no encontrada";
|
362
|
-
readonly 'tag-not-found': "Etiqueta no encontrada";
|
363
347
|
};
|
364
348
|
readonly 'get-all': {
|
365
349
|
readonly success: "Eventos obtenidos con éxito";
|
@@ -373,17 +357,11 @@ declare const _default: {
|
|
373
357
|
readonly success: "Evento actualizado con éxito";
|
374
358
|
readonly 'not-found': "Evento no encontrado";
|
375
359
|
readonly 'subevent-not-found': "Subevento no encontrado";
|
376
|
-
readonly 'active-event-not-editable': "Evento activo no editable";
|
377
360
|
};
|
378
361
|
readonly delete: {
|
379
362
|
readonly success: "Evento eliminado con éxito";
|
380
363
|
readonly 'not-found': "Evento no encontrado";
|
381
364
|
};
|
382
|
-
readonly 'toggle-active': {
|
383
|
-
readonly success: "Evento activo cambiado con éxito";
|
384
|
-
readonly 'active-event-not-editable': "Evento activo no editable";
|
385
|
-
readonly 'not-found': "Evento no encontrado";
|
386
|
-
};
|
387
365
|
};
|
388
366
|
readonly profile: {
|
389
367
|
readonly 'find-all': {
|
@@ -529,6 +507,24 @@ declare const _default: {
|
|
529
507
|
};
|
530
508
|
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!";
|
531
509
|
};
|
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
|
+
};
|
532
528
|
};
|
533
529
|
};
|
534
530
|
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
|
+
otp: 'OTP',
|
17
17
|
},
|
18
18
|
tag: {
|
19
19
|
assisted: 'Asistió',
|
@@ -78,14 +78,6 @@ exports.default = {
|
|
78
78
|
required: 'La fecha es requerida',
|
79
79
|
invalid: 'La fecha debe ser una fecha válida',
|
80
80
|
},
|
81
|
-
startingDate: {
|
82
|
-
required: 'La fecha de inicio es requerida',
|
83
|
-
invalid: 'La fecha de inicio debe ser una fecha válida',
|
84
|
-
},
|
85
|
-
endingDate: {
|
86
|
-
required: 'La fecha de finalización es requerida',
|
87
|
-
invalid: 'La fecha de finalización debe ser una fecha válida',
|
88
|
-
},
|
89
81
|
location: {
|
90
82
|
required: 'La ubicación es requerida',
|
91
83
|
},
|
@@ -191,14 +183,6 @@ exports.default = {
|
|
191
183
|
'max-length': 'Los botones no pueden tener más de 20 caracteres',
|
192
184
|
},
|
193
185
|
},
|
194
|
-
eventTicket: {
|
195
|
-
amount: {
|
196
|
-
min: 'La cantidad de tickets debe ser mayor a 0',
|
197
|
-
},
|
198
|
-
price: {
|
199
|
-
min: 'El precio de los tickets debe ser mayor a 0',
|
200
|
-
},
|
201
|
-
},
|
202
186
|
},
|
203
187
|
route: {
|
204
188
|
auth: {
|
@@ -206,6 +190,7 @@ exports.default = {
|
|
206
190
|
'no-token': 'No se encontró un token',
|
207
191
|
'invalid-token': 'Token inválido',
|
208
192
|
'user-not-found': 'Usuario no encontrado',
|
193
|
+
'phone-not-verified': 'El teléfono no está verificado',
|
209
194
|
},
|
210
195
|
account: {
|
211
196
|
create: {
|
@@ -361,7 +346,6 @@ exports.default = {
|
|
361
346
|
success: 'Evento creado con éxito',
|
362
347
|
conflict: 'Error en la creación del evento',
|
363
348
|
'folder-not-found': 'Carpeta de evento no encontrada',
|
364
|
-
'tag-not-found': 'Etiqueta no encontrada',
|
365
349
|
},
|
366
350
|
'get-all': {
|
367
351
|
success: 'Eventos obtenidos con éxito',
|
@@ -375,17 +359,11 @@ exports.default = {
|
|
375
359
|
success: 'Evento actualizado con éxito',
|
376
360
|
'not-found': 'Evento no encontrado',
|
377
361
|
'subevent-not-found': 'Subevento no encontrado',
|
378
|
-
'active-event-not-editable': 'Evento activo no editable',
|
379
362
|
},
|
380
363
|
delete: {
|
381
364
|
success: 'Evento eliminado con éxito',
|
382
365
|
'not-found': 'Evento no encontrado',
|
383
366
|
},
|
384
|
-
'toggle-active': {
|
385
|
-
success: 'Evento activo cambiado con éxito',
|
386
|
-
'active-event-not-editable': 'Evento activo no editable',
|
387
|
-
'not-found': 'Evento no encontrado',
|
388
|
-
},
|
389
367
|
},
|
390
368
|
profile: {
|
391
369
|
'find-all': {
|
@@ -531,6 +509,24 @@ exports.default = {
|
|
531
509
|
},
|
532
510
|
'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!`,
|
533
511
|
},
|
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
|
+
},
|
534
530
|
},
|
535
531
|
};
|
536
532
|
//# 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":";;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,GAAG,EAAE,KAAK;SACX;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,EA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AAE,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;QACD,GAAG,EAAE;YACH,kBAAkB,EAAE,kCAAkC;YACtD,gBAAgB,EAAE,0CAA0C;YAC5D,wBAAwB,EACtB,wDAAwD;YAC1D,IAAI,EAAE;gBACJ,KAAK,EAAE,2CAA2C;gBAClD,wBAAwB,EACtB,wDAAwD;gBAC1D,mBAAmB,EACjB,qEAAqE;gBACvE,OAAO,EAAE,0CAA0C;aACpD;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,gCAAgC;gBAChD,aAAa,EAAE,8BAA8B;gBAC7C,cAAc,EAAE,0CAA0C;gBAC1D,aAAa,EACX,gEAAgE;gBAClE,OAAO,EAAE,6CAA6C;aACvD;SACF;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_schema_1 = require("../../schema/location.schema");
|
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_schema_1.locationSchema.pick({
|
12
12
|
city: true,
|
13
13
|
longitude: true,
|
14
14
|
latitude: true,
|
@@ -3,5 +3,4 @@ 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';
|
7
6
|
export * from './dto/states-by-country.dto';
|
@@ -19,6 +19,5 @@ __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);
|
23
22
|
__exportStar(require("./dto/states-by-country.dto"), exports);
|
24
23
|
//# 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.ZodString, string, string>;
|
4
|
+
profilePhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, 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.ZodString, string, string>;
|
40
|
+
profilePhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, 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_schema_1 = require("../../schema/profile.schema");
|
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_schema_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.ZodString, string, string>;
|
3
|
+
phone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, 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.ZodString, string, string>;
|
13
|
+
phone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, 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_schema_1 = require("../../schema/profile.schema");
|
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_schema_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) {
|