expo-backend-types 0.59.0-EXPO-405-EB-Rutas-necesarias.11 → 0.59.0-EXPO-405-EB-Rutas-necesarias.12
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.
@@ -1,36 +1,53 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const deallocateAllRoleSchema: z.ZodObject<{
|
3
|
+
profileId: z.ZodString;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
profileId: string;
|
6
|
+
}, {
|
7
|
+
profileId: string;
|
8
|
+
}>;
|
9
|
+
declare const DeallocateAllRoleDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
+
profileId: z.ZodString;
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
+
profileId: string;
|
13
|
+
}, {
|
14
|
+
profileId: string;
|
15
|
+
}>>;
|
16
|
+
export declare class DeallocateAllRoleDto extends DeallocateAllRoleDto_base {
|
17
|
+
}
|
18
|
+
export declare const deallocateAllRoleResponseSchema: z.ZodObject<Omit<{
|
19
|
+
id: z.ZodString;
|
20
|
+
shortId: z.ZodNumber;
|
21
|
+
role: z.ZodDefault<z.ZodNativeEnum<{
|
5
22
|
USER: "USER";
|
6
23
|
ADMIN: "ADMIN";
|
7
24
|
FORM: "FORM";
|
8
25
|
TICKETS: "TICKETS";
|
9
26
|
MI_EXPO: "MI_EXPO";
|
10
27
|
}>>;
|
11
|
-
firstTimeMiExpo:
|
12
|
-
username:
|
13
|
-
password:
|
14
|
-
phoneNumber:
|
15
|
-
isPhoneVerified:
|
16
|
-
secondaryPhoneNumber:
|
17
|
-
fullName:
|
18
|
-
firstName:
|
19
|
-
gender:
|
20
|
-
birthDate:
|
21
|
-
profilePictureUrl:
|
22
|
-
instagram:
|
23
|
-
mail:
|
24
|
-
dni:
|
25
|
-
alternativeNames:
|
26
|
-
birthLocationId:
|
27
|
-
residenceLocationId:
|
28
|
-
isInTrash:
|
29
|
-
movedToTrashDate:
|
30
|
-
created_at:
|
31
|
-
updated_at:
|
32
|
-
referralCode:
|
33
|
-
}, "password">, "strip",
|
28
|
+
firstTimeMiExpo: z.ZodBoolean;
|
29
|
+
username: z.ZodNullable<z.ZodString>;
|
30
|
+
password: z.ZodNullable<z.ZodString>;
|
31
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
32
|
+
isPhoneVerified: z.ZodBoolean;
|
33
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
34
|
+
fullName: z.ZodString;
|
35
|
+
firstName: z.ZodNullable<z.ZodString>;
|
36
|
+
gender: z.ZodNullable<z.ZodString>;
|
37
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
38
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
39
|
+
instagram: z.ZodNullable<z.ZodString>;
|
40
|
+
mail: z.ZodNullable<z.ZodString>;
|
41
|
+
dni: z.ZodNullable<z.ZodString>;
|
42
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
43
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
44
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
45
|
+
isInTrash: z.ZodBoolean;
|
46
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
47
|
+
created_at: z.ZodDate;
|
48
|
+
updated_at: z.ZodDate;
|
49
|
+
referralCode: z.ZodString;
|
50
|
+
}, "password">, "strip", z.ZodTypeAny, {
|
34
51
|
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
35
52
|
id: string;
|
36
53
|
username: string | null;
|
@@ -81,38 +98,38 @@ export declare const deallocateAllRoleResponseSchema: import("zod").ZodObject<Om
|
|
81
98
|
movedToTrashDate: Date | null;
|
82
99
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
83
100
|
}>;
|
84
|
-
declare const DeallocateAllRoleResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
85
|
-
role:
|
101
|
+
declare const DeallocateAllRoleResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
102
|
+
role: z.ZodDefault<z.ZodNativeEnum<{
|
86
103
|
USER: "USER";
|
87
104
|
ADMIN: "ADMIN";
|
88
105
|
FORM: "FORM";
|
89
106
|
TICKETS: "TICKETS";
|
90
107
|
MI_EXPO: "MI_EXPO";
|
91
108
|
}>>;
|
92
|
-
id:
|
93
|
-
username:
|
94
|
-
phoneNumber:
|
95
|
-
secondaryPhoneNumber:
|
96
|
-
fullName:
|
97
|
-
profilePictureUrl:
|
98
|
-
mail:
|
99
|
-
dni:
|
100
|
-
created_at:
|
101
|
-
updated_at:
|
102
|
-
referralCode:
|
103
|
-
shortId:
|
104
|
-
firstTimeMiExpo:
|
105
|
-
isPhoneVerified:
|
106
|
-
firstName:
|
107
|
-
gender:
|
108
|
-
birthDate:
|
109
|
-
instagram:
|
110
|
-
alternativeNames:
|
111
|
-
birthLocationId:
|
112
|
-
residenceLocationId:
|
113
|
-
isInTrash:
|
114
|
-
movedToTrashDate:
|
115
|
-
},
|
109
|
+
id: z.ZodString;
|
110
|
+
username: z.ZodNullable<z.ZodString>;
|
111
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
112
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
113
|
+
fullName: z.ZodString;
|
114
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
115
|
+
mail: z.ZodNullable<z.ZodString>;
|
116
|
+
dni: z.ZodNullable<z.ZodString>;
|
117
|
+
created_at: z.ZodString;
|
118
|
+
updated_at: z.ZodString;
|
119
|
+
referralCode: z.ZodString;
|
120
|
+
shortId: z.ZodNumber;
|
121
|
+
firstTimeMiExpo: z.ZodBoolean;
|
122
|
+
isPhoneVerified: z.ZodBoolean;
|
123
|
+
firstName: z.ZodNullable<z.ZodString>;
|
124
|
+
gender: z.ZodNullable<z.ZodString>;
|
125
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
126
|
+
instagram: z.ZodNullable<z.ZodString>;
|
127
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
128
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
129
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
130
|
+
isInTrash: z.ZodBoolean;
|
131
|
+
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
132
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
116
133
|
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
117
134
|
id: string;
|
118
135
|
username: string | null;
|
@@ -1,8 +1,18 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DeallocateAllRoleResponseDto = exports.deallocateAllRoleResponseSchema = void 0;
|
6
|
+
exports.DeallocateAllRoleResponseDto = exports.deallocateAllRoleResponseSchema = exports.DeallocateAllRoleDto = exports.deallocateAllRoleSchema = void 0;
|
4
7
|
const profile_schema_1 = require("../../schema/profile.schema");
|
5
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
|
+
const zod_1 = __importDefault(require("zod"));
|
10
|
+
exports.deallocateAllRoleSchema = zod_1.default.object({
|
11
|
+
profileId: profile_schema_1.profileSchema.shape.id,
|
12
|
+
});
|
13
|
+
class DeallocateAllRoleDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deallocateAllRoleSchema) {
|
14
|
+
}
|
15
|
+
exports.DeallocateAllRoleDto = DeallocateAllRoleDto;
|
6
16
|
exports.deallocateAllRoleResponseSchema = profile_schema_1.profileSchema.omit({
|
7
17
|
password: true,
|
8
18
|
});
|