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
- export declare const deallocateAllRoleResponseSchema: import("zod").ZodObject<Omit<{
2
- id: import("zod").ZodString;
3
- shortId: import("zod").ZodNumber;
4
- role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
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: import("zod").ZodBoolean;
12
- username: import("zod").ZodNullable<import("zod").ZodString>;
13
- password: import("zod").ZodNullable<import("zod").ZodString>;
14
- phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
15
- isPhoneVerified: import("zod").ZodBoolean;
16
- secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
17
- fullName: import("zod").ZodString;
18
- firstName: import("zod").ZodNullable<import("zod").ZodString>;
19
- gender: import("zod").ZodNullable<import("zod").ZodString>;
20
- birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
21
- profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
22
- instagram: import("zod").ZodNullable<import("zod").ZodString>;
23
- mail: import("zod").ZodNullable<import("zod").ZodString>;
24
- dni: import("zod").ZodNullable<import("zod").ZodString>;
25
- alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
26
- birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
27
- residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
28
- isInTrash: import("zod").ZodBoolean;
29
- movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
30
- created_at: import("zod").ZodDate;
31
- updated_at: import("zod").ZodDate;
32
- referralCode: import("zod").ZodString;
33
- }, "password">, "strip", import("zod").ZodTypeAny, {
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<import("zod").ZodObject<{
85
- role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
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: import("zod").ZodString;
93
- username: import("zod").ZodNullable<import("zod").ZodString>;
94
- phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
95
- secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
96
- fullName: import("zod").ZodString;
97
- profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
98
- mail: import("zod").ZodNullable<import("zod").ZodString>;
99
- dni: import("zod").ZodNullable<import("zod").ZodString>;
100
- created_at: import("zod").ZodString;
101
- updated_at: import("zod").ZodString;
102
- referralCode: import("zod").ZodString;
103
- shortId: import("zod").ZodNumber;
104
- firstTimeMiExpo: import("zod").ZodBoolean;
105
- isPhoneVerified: import("zod").ZodBoolean;
106
- firstName: import("zod").ZodNullable<import("zod").ZodString>;
107
- gender: import("zod").ZodNullable<import("zod").ZodString>;
108
- birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
109
- instagram: import("zod").ZodNullable<import("zod").ZodString>;
110
- alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
111
- birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
112
- residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
113
- isInTrash: import("zod").ZodBoolean;
114
- movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
115
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.59.0-EXPO-405-EB-Rutas-necesarias.11",
3
+ "version": "0.59.0-EXPO-405-EB-Rutas-necesarias.12",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,