expo-backend-types 0.30.0-EXPO-308-auth.26 → 0.30.0-EXPO-309-Migrar-Configuracion.5
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 +1 -3
- package/dist/src/exports.js +1 -3
- package/dist/src/i18n/es.d.ts +0 -20
- package/dist/src/i18n/es.js +0 -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/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 +6 -30
- package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -5
- 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/types/prisma-schema/edge.js +24 -38
- package/dist/types/prisma-schema/index-browser.js +9 -18
- package/dist/types/prisma-schema/index.d.ts +553 -3904
- package/dist/types/prisma-schema/index.js +24 -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 -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 +1 -1
- package/dist/types/prisma-schema/runtime/library.d.ts +133 -177
- package/dist/types/prisma-schema/runtime/library.js +51 -51
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +19 -19
- package/dist/types/prisma-schema/schema.prisma +1 -22
- package/dist/types/prisma-schema/wasm.js +9 -18
- package/dist/types/schema.d.ts +6 -429
- package/package.json +17 -23
- 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/otp/exports.js +0 -19
- 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,12 @@ 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';
|
package/dist/src/exports.js
CHANGED
@@ -18,14 +18,12 @@ __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);
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -11,7 +11,6 @@ declare const _default: {
|
|
11
11
|
readonly location: "Ubicación";
|
12
12
|
readonly cannedResponse: "Respuesta enlatada";
|
13
13
|
readonly message: "Mensaje";
|
14
|
-
readonly otp: "OTP";
|
15
14
|
};
|
16
15
|
readonly tag: {
|
17
16
|
readonly assisted: "Asistió";
|
@@ -188,7 +187,6 @@ declare const _default: {
|
|
188
187
|
readonly 'no-token': "No se encontró un token";
|
189
188
|
readonly 'invalid-token': "Token inválido";
|
190
189
|
readonly 'user-not-found': "Usuario no encontrado";
|
191
|
-
readonly 'phone-not-verified': "El teléfono no está verificado";
|
192
190
|
};
|
193
191
|
readonly account: {
|
194
192
|
readonly create: {
|
@@ -507,24 +505,6 @@ declare const _default: {
|
|
507
505
|
};
|
508
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!";
|
509
507
|
};
|
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
508
|
};
|
529
509
|
};
|
530
510
|
export default _default;
|
package/dist/src/i18n/es.js
CHANGED
@@ -13,7 +13,6 @@ exports.default = {
|
|
13
13
|
location: 'Ubicación',
|
14
14
|
cannedResponse: 'Respuesta enlatada',
|
15
15
|
message: 'Mensaje',
|
16
|
-
otp: 'OTP',
|
17
16
|
},
|
18
17
|
tag: {
|
19
18
|
assisted: 'Asistió',
|
@@ -190,7 +189,6 @@ exports.default = {
|
|
190
189
|
'no-token': 'No se encontró un token',
|
191
190
|
'invalid-token': 'Token inválido',
|
192
191
|
'user-not-found': 'Usuario no encontrado',
|
193
|
-
'phone-not-verified': 'El teléfono no está verificado',
|
194
192
|
},
|
195
193
|
account: {
|
196
194
|
create: {
|
@@ -509,24 +507,6 @@ exports.default = {
|
|
509
507
|
},
|
510
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!`,
|
511
509
|
},
|
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
510
|
},
|
531
511
|
};
|
532
512
|
//# 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;
|
1
|
+
{"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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"}
|
@@ -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) {
|
@@ -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>;
|
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.CreateProfileResponseDto = exports.createProfileResponseSchema = exports.CreateProfileDto = exports.createProfileSchema = void 0;
|
7
7
|
const comment_dto_1 = require("../../comment/dto/comment.dto");
|
8
|
-
const
|
9
|
-
const
|
8
|
+
const location_dto_1 = require("../../location/dto/location.dto");
|
9
|
+
const profile_dto_1 = require("./profile.dto");
|
10
10
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
11
11
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
12
12
|
const zod_1 = __importDefault(require("zod"));
|
13
13
|
exports.createProfileSchema = zod_1.default.object({
|
14
|
-
profile:
|
14
|
+
profile: profile_dto_1.profileSchema
|
15
15
|
.pick({
|
16
16
|
alternativeNames: true,
|
17
17
|
birthDate: true,
|
@@ -23,8 +23,6 @@ exports.createProfileSchema = zod_1.default.object({
|
|
23
23
|
phoneNumber: true,
|
24
24
|
profilePictureUrl: true,
|
25
25
|
secondaryPhoneNumber: true,
|
26
|
-
username: true,
|
27
|
-
password: true,
|
28
26
|
})
|
29
27
|
.merge(zod_1.default.object({
|
30
28
|
comments: zod_1.default
|
@@ -33,7 +31,7 @@ exports.createProfileSchema = zod_1.default.object({
|
|
33
31
|
isSolvable: true,
|
34
32
|
}))
|
35
33
|
.optional(),
|
36
|
-
residence:
|
34
|
+
residence: location_dto_1.locationSchema
|
37
35
|
.pick({
|
38
36
|
city: true,
|
39
37
|
country: true,
|
@@ -42,7 +40,7 @@ exports.createProfileSchema = zod_1.default.object({
|
|
42
40
|
state: true,
|
43
41
|
})
|
44
42
|
.optional(),
|
45
|
-
birth:
|
43
|
+
birth: location_dto_1.locationSchema
|
46
44
|
.pick({
|
47
45
|
city: true,
|
48
46
|
country: true,
|
@@ -59,7 +57,7 @@ class CreateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWit
|
|
59
57
|
}
|
60
58
|
exports.CreateProfileDto = CreateProfileDto;
|
61
59
|
const similarProfileSchema = zod_1.default.object({
|
62
|
-
profile:
|
60
|
+
profile: profile_dto_1.profileSchema.pick({
|
63
61
|
fullName: true,
|
64
62
|
phoneNumber: true,
|
65
63
|
id: true,
|
@@ -71,7 +69,7 @@ const similarityProfileSchema = zod_1.default.object({
|
|
71
69
|
similarProfiles: zod_1.default.array(similarProfileSchema),
|
72
70
|
});
|
73
71
|
const createdProfileSchema = zod_1.default.object({
|
74
|
-
id:
|
72
|
+
id: profile_dto_1.profileSchema.shape.id,
|
75
73
|
});
|
76
74
|
const createProfileResponseSchemaBase = zod_1.default.discriminatedUnion('type', [
|
77
75
|
similarityProfileSchema.extend({
|
@@ -1,12 +1,8 @@
|
|
1
1
|
export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
shortId: import("zod").ZodNumber;
|
4
|
-
|
5
|
-
|
6
|
-
password: import("zod").ZodNullable<import("zod").ZodString>;
|
7
|
-
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
8
|
-
isPhoneVerified: import("zod").ZodBoolean;
|
9
|
-
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
4
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
5
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
10
6
|
fullName: import("zod").ZodString;
|
11
7
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
12
8
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -24,8 +20,6 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
|
|
24
20
|
updated_at: import("zod").ZodDate;
|
25
21
|
}, "strip", import("zod").ZodTypeAny, {
|
26
22
|
id: string;
|
27
|
-
username: string | null;
|
28
|
-
password: string | null;
|
29
23
|
phoneNumber: string;
|
30
24
|
secondaryPhoneNumber: string | null;
|
31
25
|
fullName: string;
|
@@ -34,8 +28,6 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
|
|
34
28
|
created_at: Date;
|
35
29
|
updated_at: Date;
|
36
30
|
shortId: number;
|
37
|
-
firstTimeMiExpo: boolean;
|
38
|
-
isPhoneVerified: boolean;
|
39
31
|
firstName: string | null;
|
40
32
|
gender: string | null;
|
41
33
|
birthDate: Date | null;
|
@@ -48,8 +40,6 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
|
|
48
40
|
movedToTrashDate: Date | null;
|
49
41
|
}, {
|
50
42
|
id: string;
|
51
|
-
username: string | null;
|
52
|
-
password: string | null;
|
53
43
|
phoneNumber: string;
|
54
44
|
secondaryPhoneNumber: string | null;
|
55
45
|
fullName: string;
|
@@ -58,8 +48,6 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
|
|
58
48
|
created_at: Date;
|
59
49
|
updated_at: Date;
|
60
50
|
shortId: number;
|
61
|
-
firstTimeMiExpo: boolean;
|
62
|
-
isPhoneVerified: boolean;
|
63
51
|
firstName: string | null;
|
64
52
|
gender: string | null;
|
65
53
|
birthDate: string | null;
|
@@ -74,16 +62,12 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
|
|
74
62
|
declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
75
63
|
id: import("zod").ZodString;
|
76
64
|
shortId: import("zod").ZodNumber;
|
77
|
-
|
78
|
-
|
79
|
-
password: import("zod").ZodNullable<import("zod").ZodString>;
|
80
|
-
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
81
|
-
isPhoneVerified: import("zod").ZodBoolean;
|
82
|
-
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
65
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
66
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
83
67
|
fullName: import("zod").ZodString;
|
84
68
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
85
69
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
86
|
-
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").
|
70
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
|
87
71
|
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
88
72
|
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
89
73
|
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -97,8 +81,6 @@ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
97
81
|
updated_at: import("zod").ZodString;
|
98
82
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
99
83
|
id: string;
|
100
|
-
username: string | null;
|
101
|
-
password: string | null;
|
102
84
|
phoneNumber: string;
|
103
85
|
secondaryPhoneNumber: string | null;
|
104
86
|
fullName: string;
|
@@ -107,11 +89,9 @@ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
107
89
|
created_at: string;
|
108
90
|
updated_at: string;
|
109
91
|
shortId: number;
|
110
|
-
firstTimeMiExpo: boolean;
|
111
|
-
isPhoneVerified: boolean;
|
112
92
|
firstName: string | null;
|
113
93
|
gender: string | null;
|
114
|
-
birthDate:
|
94
|
+
birthDate: Date | null;
|
115
95
|
instagram: string | null;
|
116
96
|
dni: string | null;
|
117
97
|
alternativeNames: string[];
|
@@ -121,8 +101,6 @@ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
121
101
|
movedToTrashDate: string | null;
|
122
102
|
}, {
|
123
103
|
id: string;
|
124
|
-
username: string | null;
|
125
|
-
password: string | null;
|
126
104
|
phoneNumber: string;
|
127
105
|
secondaryPhoneNumber: string | null;
|
128
106
|
fullName: string;
|
@@ -131,8 +109,6 @@ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
131
109
|
created_at: string;
|
132
110
|
updated_at: string;
|
133
111
|
shortId: number;
|
134
|
-
firstTimeMiExpo: boolean;
|
135
|
-
isPhoneVerified: boolean;
|
136
112
|
firstName: string | null;
|
137
113
|
gender: string | null;
|
138
114
|
birthDate: string | null;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DeleteProfileResponseDto = exports.deleteProfileResponseSchema = void 0;
|
4
|
-
const
|
4
|
+
const profile_dto_1 = require("./profile.dto");
|
5
5
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
-
exports.deleteProfileResponseSchema =
|
6
|
+
exports.deleteProfileResponseSchema = profile_dto_1.profileSchema;
|
7
7
|
class DeleteProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteProfileResponseSchema) {
|
8
8
|
}
|
9
9
|
exports.DeleteProfileResponseDto = DeleteProfileResponseDto;
|