expo-backend-types 0.30.0-EXPO-308-auth.22 → 0.30.0-EXPO-308-auth.23

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.
@@ -0,0 +1,144 @@
1
+ export declare const meResponseSchema: import("zod").ZodObject<Omit<{
2
+ id: import("zod").ZodString;
3
+ shortId: import("zod").ZodNumber;
4
+ firstTimeMiExpo: import("zod").ZodBoolean;
5
+ username: import("zod").ZodNullable<import("zod").ZodString>;
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").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
10
+ fullName: import("zod").ZodString;
11
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
12
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
13
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
14
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
15
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
16
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
17
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
18
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
19
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
20
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
21
+ isInTrash: import("zod").ZodBoolean;
22
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
23
+ created_at: import("zod").ZodDate;
24
+ updated_at: import("zod").ZodDate;
25
+ }, "password">, "strip", import("zod").ZodTypeAny, {
26
+ id: string;
27
+ username: string | null;
28
+ phoneNumber: string;
29
+ secondaryPhoneNumber: string | null;
30
+ fullName: string;
31
+ profilePictureUrl: string | null;
32
+ mail: string | null;
33
+ created_at: Date;
34
+ updated_at: Date;
35
+ shortId: number;
36
+ firstTimeMiExpo: boolean;
37
+ isPhoneVerified: boolean;
38
+ firstName: string | null;
39
+ gender: string | null;
40
+ birthDate: Date | null;
41
+ instagram: string | null;
42
+ dni: string | null;
43
+ alternativeNames: string[];
44
+ birthLocationId: string | null;
45
+ residenceLocationId: string | null;
46
+ isInTrash: boolean;
47
+ movedToTrashDate: Date | null;
48
+ }, {
49
+ id: string;
50
+ username: string | null;
51
+ phoneNumber: string;
52
+ secondaryPhoneNumber: string | null;
53
+ fullName: string;
54
+ profilePictureUrl: string | null;
55
+ mail: string | null;
56
+ created_at: Date;
57
+ updated_at: Date;
58
+ shortId: number;
59
+ firstTimeMiExpo: boolean;
60
+ isPhoneVerified: boolean;
61
+ firstName: string | null;
62
+ gender: string | null;
63
+ birthDate: string | null;
64
+ instagram: string | null;
65
+ dni: string | null;
66
+ alternativeNames: string[];
67
+ birthLocationId: string | null;
68
+ residenceLocationId: string | null;
69
+ isInTrash: boolean;
70
+ movedToTrashDate: Date | null;
71
+ }>;
72
+ declare const MiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
73
+ id: import("zod").ZodString;
74
+ username: import("zod").ZodNullable<import("zod").ZodString>;
75
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
76
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
77
+ fullName: import("zod").ZodString;
78
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
79
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
80
+ created_at: import("zod").ZodString;
81
+ updated_at: import("zod").ZodString;
82
+ shortId: import("zod").ZodNumber;
83
+ firstTimeMiExpo: import("zod").ZodBoolean;
84
+ isPhoneVerified: import("zod").ZodBoolean;
85
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
86
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
87
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
88
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
89
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
90
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
91
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
92
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
93
+ isInTrash: import("zod").ZodBoolean;
94
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
95
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
96
+ id: string;
97
+ username: string | null;
98
+ phoneNumber: string;
99
+ secondaryPhoneNumber: string | null;
100
+ fullName: string;
101
+ profilePictureUrl: string | null;
102
+ mail: string | null;
103
+ created_at: string;
104
+ updated_at: string;
105
+ shortId: number;
106
+ firstTimeMiExpo: boolean;
107
+ isPhoneVerified: boolean;
108
+ firstName: string | null;
109
+ gender: string | null;
110
+ birthDate: string | null;
111
+ instagram: string | null;
112
+ dni: string | null;
113
+ alternativeNames: string[];
114
+ birthLocationId: string | null;
115
+ residenceLocationId: string | null;
116
+ isInTrash: boolean;
117
+ movedToTrashDate: string | null;
118
+ }, {
119
+ id: string;
120
+ username: string | null;
121
+ phoneNumber: string;
122
+ secondaryPhoneNumber: string | null;
123
+ fullName: string;
124
+ profilePictureUrl: string | null;
125
+ mail: string | null;
126
+ created_at: string;
127
+ updated_at: string;
128
+ shortId: number;
129
+ firstTimeMiExpo: boolean;
130
+ isPhoneVerified: boolean;
131
+ firstName: string | null;
132
+ gender: string | null;
133
+ birthDate: string | null;
134
+ instagram: string | null;
135
+ dni: string | null;
136
+ alternativeNames: string[];
137
+ birthLocationId: string | null;
138
+ residenceLocationId: string | null;
139
+ isInTrash: boolean;
140
+ movedToTrashDate: string | null;
141
+ }>>;
142
+ export declare class MiExpoMeResponseDto extends MiExpoMeResponseDto_base {
143
+ }
144
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MiExpoMeResponseDto = exports.meResponseSchema = void 0;
4
+ const profile_schema_1 = require("../../schema/profile.schema");
5
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
+ exports.meResponseSchema = profile_schema_1.profileSchema.omit({ password: true });
7
+ class MiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.meResponseSchema) {
8
+ }
9
+ exports.MiExpoMeResponseDto = MiExpoMeResponseDto;
10
+ //# sourceMappingURL=me.dto.js.map
@@ -1,2 +1,3 @@
1
1
  export * from './dto/login-with-phone.dto';
2
2
  export * from './dto/login.dto';
3
+ export * from './dto/me.dto';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto/login-with-phone.dto"), exports);
18
18
  __exportStar(require("./dto/login.dto"), exports);
19
+ __exportStar(require("./dto/me.dto"), exports);
19
20
  //# sourceMappingURL=exports.js.map
@@ -2356,7 +2356,7 @@ export interface components {
2356
2356
  updated_at: string;
2357
2357
  };
2358
2358
  };
2359
- MeResponseDto: {
2359
+ MiExpoMeResponseDto: {
2360
2360
  id: string;
2361
2361
  shortId: number;
2362
2362
  firstTimeMiExpo: boolean;
@@ -4419,7 +4419,7 @@ export interface operations {
4419
4419
  [name: string]: unknown;
4420
4420
  };
4421
4421
  content: {
4422
- "application/json": components["schemas"]["MeResponseDto"];
4422
+ "application/json": components["schemas"]["MiExpoMeResponseDto"];
4423
4423
  };
4424
4424
  };
4425
4425
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.30.0-EXPO-308-auth.22",
3
+ "version": "0.30.0-EXPO-308-auth.23",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,