expo-backend-types 0.30.0-EXPO-308-auth.18 → 0.30.0-EXPO-308-auth.19
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.
@@ -23,7 +23,7 @@ export declare class VerifyOtpDto extends VerifyOtpDto_base {
|
|
23
23
|
}
|
24
24
|
export declare const verifyOtpResponseSchema: z.ZodObject<{
|
25
25
|
success: z.ZodBoolean;
|
26
|
-
profile: z.ZodObject<{
|
26
|
+
profile: z.ZodObject<z.objectUtil.extendShape<{
|
27
27
|
id: z.ZodString;
|
28
28
|
shortId: z.ZodNumber;
|
29
29
|
firstTimeMiExpo: z.ZodBoolean;
|
@@ -47,7 +47,48 @@ export declare const verifyOtpResponseSchema: z.ZodObject<{
|
|
47
47
|
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
48
48
|
created_at: z.ZodDate;
|
49
49
|
updated_at: z.ZodDate;
|
50
|
-
},
|
50
|
+
}, {
|
51
|
+
residenceLocation: z.ZodNullable<z.ZodObject<Pick<{
|
52
|
+
id: z.ZodString;
|
53
|
+
latitude: z.ZodNumber;
|
54
|
+
longitude: z.ZodNumber;
|
55
|
+
country: z.ZodString;
|
56
|
+
state: z.ZodString;
|
57
|
+
city: z.ZodString;
|
58
|
+
created_at: z.ZodDate;
|
59
|
+
updated_at: z.ZodDate;
|
60
|
+
}, "latitude" | "longitude" | "country" | "city">, "strip", z.ZodTypeAny, {
|
61
|
+
latitude: number;
|
62
|
+
longitude: number;
|
63
|
+
country: string;
|
64
|
+
city: string;
|
65
|
+
}, {
|
66
|
+
latitude: number;
|
67
|
+
longitude: number;
|
68
|
+
country: string;
|
69
|
+
city: string;
|
70
|
+
}>>;
|
71
|
+
birthLocation: z.ZodNullable<z.ZodObject<Pick<{
|
72
|
+
id: z.ZodString;
|
73
|
+
latitude: z.ZodNumber;
|
74
|
+
longitude: z.ZodNumber;
|
75
|
+
country: z.ZodString;
|
76
|
+
state: z.ZodString;
|
77
|
+
city: z.ZodString;
|
78
|
+
created_at: z.ZodDate;
|
79
|
+
updated_at: z.ZodDate;
|
80
|
+
}, "latitude" | "longitude" | "country" | "city">, "strip", z.ZodTypeAny, {
|
81
|
+
latitude: number;
|
82
|
+
longitude: number;
|
83
|
+
country: string;
|
84
|
+
city: string;
|
85
|
+
}, {
|
86
|
+
latitude: number;
|
87
|
+
longitude: number;
|
88
|
+
country: string;
|
89
|
+
city: string;
|
90
|
+
}>>;
|
91
|
+
}>, "strip", z.ZodTypeAny, {
|
51
92
|
id: string;
|
52
93
|
username: string | null;
|
53
94
|
password: string | null;
|
@@ -71,6 +112,18 @@ export declare const verifyOtpResponseSchema: z.ZodObject<{
|
|
71
112
|
residenceLocationId: string | null;
|
72
113
|
isInTrash: boolean;
|
73
114
|
movedToTrashDate: Date | null;
|
115
|
+
birthLocation: {
|
116
|
+
latitude: number;
|
117
|
+
longitude: number;
|
118
|
+
country: string;
|
119
|
+
city: string;
|
120
|
+
} | null;
|
121
|
+
residenceLocation: {
|
122
|
+
latitude: number;
|
123
|
+
longitude: number;
|
124
|
+
country: string;
|
125
|
+
city: string;
|
126
|
+
} | null;
|
74
127
|
}, {
|
75
128
|
id: string;
|
76
129
|
username: string | null;
|
@@ -95,6 +148,18 @@ export declare const verifyOtpResponseSchema: z.ZodObject<{
|
|
95
148
|
residenceLocationId: string | null;
|
96
149
|
isInTrash: boolean;
|
97
150
|
movedToTrashDate: Date | null;
|
151
|
+
birthLocation: {
|
152
|
+
latitude: number;
|
153
|
+
longitude: number;
|
154
|
+
country: string;
|
155
|
+
city: string;
|
156
|
+
} | null;
|
157
|
+
residenceLocation: {
|
158
|
+
latitude: number;
|
159
|
+
longitude: number;
|
160
|
+
country: string;
|
161
|
+
city: string;
|
162
|
+
} | null;
|
98
163
|
}>;
|
99
164
|
}, "strip", z.ZodTypeAny, {
|
100
165
|
profile: {
|
@@ -121,6 +186,18 @@ export declare const verifyOtpResponseSchema: z.ZodObject<{
|
|
121
186
|
residenceLocationId: string | null;
|
122
187
|
isInTrash: boolean;
|
123
188
|
movedToTrashDate: Date | null;
|
189
|
+
birthLocation: {
|
190
|
+
latitude: number;
|
191
|
+
longitude: number;
|
192
|
+
country: string;
|
193
|
+
city: string;
|
194
|
+
} | null;
|
195
|
+
residenceLocation: {
|
196
|
+
latitude: number;
|
197
|
+
longitude: number;
|
198
|
+
country: string;
|
199
|
+
city: string;
|
200
|
+
} | null;
|
124
201
|
};
|
125
202
|
success: boolean;
|
126
203
|
}, {
|
@@ -148,6 +225,18 @@ export declare const verifyOtpResponseSchema: z.ZodObject<{
|
|
148
225
|
residenceLocationId: string | null;
|
149
226
|
isInTrash: boolean;
|
150
227
|
movedToTrashDate: Date | null;
|
228
|
+
birthLocation: {
|
229
|
+
latitude: number;
|
230
|
+
longitude: number;
|
231
|
+
country: string;
|
232
|
+
city: string;
|
233
|
+
} | null;
|
234
|
+
residenceLocation: {
|
235
|
+
latitude: number;
|
236
|
+
longitude: number;
|
237
|
+
country: string;
|
238
|
+
city: string;
|
239
|
+
} | null;
|
151
240
|
};
|
152
241
|
success: boolean;
|
153
242
|
}>;
|
@@ -177,6 +266,38 @@ declare const VerifyOtpResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
|
|
177
266
|
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
178
267
|
created_at: z.ZodString;
|
179
268
|
updated_at: z.ZodString;
|
269
|
+
residenceLocation: z.ZodNullable<z.ZodObject<{
|
270
|
+
latitude: z.ZodNumber;
|
271
|
+
longitude: z.ZodNumber;
|
272
|
+
country: z.ZodString;
|
273
|
+
city: z.ZodString;
|
274
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
275
|
+
latitude: number;
|
276
|
+
longitude: number;
|
277
|
+
country: string;
|
278
|
+
city: string;
|
279
|
+
}, {
|
280
|
+
latitude: number;
|
281
|
+
longitude: number;
|
282
|
+
country: string;
|
283
|
+
city: string;
|
284
|
+
}>>;
|
285
|
+
birthLocation: z.ZodNullable<z.ZodObject<{
|
286
|
+
latitude: z.ZodNumber;
|
287
|
+
longitude: z.ZodNumber;
|
288
|
+
country: z.ZodString;
|
289
|
+
city: z.ZodString;
|
290
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
291
|
+
latitude: number;
|
292
|
+
longitude: number;
|
293
|
+
country: string;
|
294
|
+
city: string;
|
295
|
+
}, {
|
296
|
+
latitude: number;
|
297
|
+
longitude: number;
|
298
|
+
country: string;
|
299
|
+
city: string;
|
300
|
+
}>>;
|
180
301
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
181
302
|
id: string;
|
182
303
|
username: string | null;
|
@@ -201,6 +322,18 @@ declare const VerifyOtpResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
|
|
201
322
|
residenceLocationId: string | null;
|
202
323
|
isInTrash: boolean;
|
203
324
|
movedToTrashDate: string | null;
|
325
|
+
birthLocation: {
|
326
|
+
latitude: number;
|
327
|
+
longitude: number;
|
328
|
+
country: string;
|
329
|
+
city: string;
|
330
|
+
} | null;
|
331
|
+
residenceLocation: {
|
332
|
+
latitude: number;
|
333
|
+
longitude: number;
|
334
|
+
country: string;
|
335
|
+
city: string;
|
336
|
+
} | null;
|
204
337
|
}, {
|
205
338
|
id: string;
|
206
339
|
username: string | null;
|
@@ -225,6 +358,18 @@ declare const VerifyOtpResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
|
|
225
358
|
residenceLocationId: string | null;
|
226
359
|
isInTrash: boolean;
|
227
360
|
movedToTrashDate: string | null;
|
361
|
+
birthLocation: {
|
362
|
+
latitude: number;
|
363
|
+
longitude: number;
|
364
|
+
country: string;
|
365
|
+
city: string;
|
366
|
+
} | null;
|
367
|
+
residenceLocation: {
|
368
|
+
latitude: number;
|
369
|
+
longitude: number;
|
370
|
+
country: string;
|
371
|
+
city: string;
|
372
|
+
} | null;
|
228
373
|
}>;
|
229
374
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
230
375
|
profile: {
|
@@ -251,6 +396,18 @@ declare const VerifyOtpResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
|
|
251
396
|
residenceLocationId: string | null;
|
252
397
|
isInTrash: boolean;
|
253
398
|
movedToTrashDate: string | null;
|
399
|
+
birthLocation: {
|
400
|
+
latitude: number;
|
401
|
+
longitude: number;
|
402
|
+
country: string;
|
403
|
+
city: string;
|
404
|
+
} | null;
|
405
|
+
residenceLocation: {
|
406
|
+
latitude: number;
|
407
|
+
longitude: number;
|
408
|
+
country: string;
|
409
|
+
city: string;
|
410
|
+
} | null;
|
254
411
|
};
|
255
412
|
success: boolean;
|
256
413
|
}, {
|
@@ -278,6 +435,18 @@ declare const VerifyOtpResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
|
|
278
435
|
residenceLocationId: string | null;
|
279
436
|
isInTrash: boolean;
|
280
437
|
movedToTrashDate: string | null;
|
438
|
+
birthLocation: {
|
439
|
+
latitude: number;
|
440
|
+
longitude: number;
|
441
|
+
country: string;
|
442
|
+
city: string;
|
443
|
+
} | null;
|
444
|
+
residenceLocation: {
|
445
|
+
latitude: number;
|
446
|
+
longitude: number;
|
447
|
+
country: string;
|
448
|
+
city: string;
|
449
|
+
} | null;
|
281
450
|
};
|
282
451
|
success: boolean;
|
283
452
|
}>>;
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.VerifyOtpResponseDto = exports.verifyOtpResponseSchema = exports.VerifyOtpDto = exports.verifyOtpSchema = void 0;
|
7
7
|
const translate_1 = require("../../i18n/translate");
|
8
8
|
const constants_1 = require("../constants");
|
9
|
+
const location_schema_1 = require("../../schema/location.schema");
|
9
10
|
const profile_schema_1 = require("../../schema/profile.schema");
|
10
11
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
11
12
|
const zod_1 = __importDefault(require("zod"));
|
@@ -20,7 +21,24 @@ class VerifyOtpDto extends (0, create_zod_dto_without_date_1.createZodDtoWithout
|
|
20
21
|
exports.VerifyOtpDto = VerifyOtpDto;
|
21
22
|
exports.verifyOtpResponseSchema = zod_1.default.object({
|
22
23
|
success: zod_1.default.boolean(),
|
23
|
-
profile: profile_schema_1.profileSchema
|
24
|
+
profile: profile_schema_1.profileSchema.extend({
|
25
|
+
residenceLocation: location_schema_1.locationSchema
|
26
|
+
.pick({
|
27
|
+
city: true,
|
28
|
+
country: true,
|
29
|
+
latitude: true,
|
30
|
+
longitude: true,
|
31
|
+
})
|
32
|
+
.nullable(),
|
33
|
+
birthLocation: location_schema_1.locationSchema
|
34
|
+
.pick({
|
35
|
+
city: true,
|
36
|
+
country: true,
|
37
|
+
latitude: true,
|
38
|
+
longitude: true,
|
39
|
+
})
|
40
|
+
.nullable(),
|
41
|
+
}),
|
24
42
|
});
|
25
43
|
class VerifyOtpResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.verifyOtpResponseSchema) {
|
26
44
|
}
|
package/dist/types/schema.d.ts
CHANGED
@@ -2323,6 +2323,18 @@ export interface components {
|
|
2323
2323
|
movedToTrashDate: string | null;
|
2324
2324
|
created_at: string;
|
2325
2325
|
updated_at: string;
|
2326
|
+
residenceLocation: {
|
2327
|
+
city: string;
|
2328
|
+
country: string;
|
2329
|
+
latitude: number;
|
2330
|
+
longitude: number;
|
2331
|
+
} | null;
|
2332
|
+
birthLocation: {
|
2333
|
+
city: string;
|
2334
|
+
country: string;
|
2335
|
+
latitude: number;
|
2336
|
+
longitude: number;
|
2337
|
+
} | null;
|
2326
2338
|
};
|
2327
2339
|
};
|
2328
2340
|
};
|