expo-backend-types 0.30.0-EXPO-308-auth.10 → 0.30.0-EXPO-309-Migrar-Configuracion.2
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 +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/i18n/es.d.ts +0 -19
- package/dist/src/i18n/es.js +0 -19
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
- package/dist/src/profile/dto/create-profile.dto.d.ts +10 -26
- package/dist/src/profile/dto/delete-profile.dto.d.ts +4 -28
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +4 -44
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +8 -72
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +4 -28
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +4 -28
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +4 -44
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +4 -44
- package/dist/src/profile/dto/find-trash.dto.d.ts +3 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +4 -44
- package/dist/src/profile/dto/profile.dto.d.ts +2 -90
- package/dist/src/profile/dto/profile.dto.js +4 -75
- package/dist/src/profile/dto/update-profile.dto.d.ts +8 -32
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +4 -44
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +4 -44
- 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 +2 -277
- package/package.json +4 -5
- package/dist/src/auth/dto/login-mi-expo.dto.d.ts +0 -327
- package/dist/src/auth/dto/login-mi-expo.dto.js +0 -31
- package/dist/src/image/constants.d.ts +0 -5
- package/dist/src/image/constants.js +0 -9
- 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 -286
- package/dist/src/otp/dto/verify-otp.dto.js +0 -28
- 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/webhook/constants.d.ts +0 -1
- package/dist/src/webhook/constants.js +0 -5
@@ -1,286 +0,0 @@
|
|
1
|
-
import z from 'zod';
|
2
|
-
export declare const verifyOtpSchema: z.ZodObject<{
|
3
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
4
|
-
code: z.ZodString;
|
5
|
-
}, "strip", z.ZodTypeAny, {
|
6
|
-
phoneNumber: string;
|
7
|
-
code: string;
|
8
|
-
}, {
|
9
|
-
phoneNumber: string;
|
10
|
-
code: string;
|
11
|
-
}>;
|
12
|
-
declare const VerifyOtpDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
14
|
-
code: z.ZodString;
|
15
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
16
|
-
phoneNumber: string;
|
17
|
-
code: string;
|
18
|
-
}, {
|
19
|
-
phoneNumber: string;
|
20
|
-
code: string;
|
21
|
-
}>>;
|
22
|
-
export declare class VerifyOtpDto extends VerifyOtpDto_base {
|
23
|
-
}
|
24
|
-
export declare const verifyOtpResponseSchema: z.ZodObject<{
|
25
|
-
success: z.ZodBoolean;
|
26
|
-
profile: z.ZodObject<{
|
27
|
-
id: z.ZodString;
|
28
|
-
shortId: z.ZodNumber;
|
29
|
-
firstTimeMiExpo: z.ZodBoolean;
|
30
|
-
username: z.ZodNullable<z.ZodString>;
|
31
|
-
password: z.ZodNullable<z.ZodString>;
|
32
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
33
|
-
isPhoneVerified: z.ZodBoolean;
|
34
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
35
|
-
fullName: z.ZodString;
|
36
|
-
firstName: z.ZodNullable<z.ZodString>;
|
37
|
-
gender: z.ZodNullable<z.ZodString>;
|
38
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
39
|
-
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
40
|
-
instagram: z.ZodNullable<z.ZodString>;
|
41
|
-
mail: z.ZodNullable<z.ZodString>;
|
42
|
-
dni: z.ZodNullable<z.ZodString>;
|
43
|
-
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
44
|
-
birthLocationId: z.ZodNullable<z.ZodString>;
|
45
|
-
residenceLocationId: z.ZodNullable<z.ZodString>;
|
46
|
-
isInTrash: z.ZodBoolean;
|
47
|
-
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
48
|
-
created_at: z.ZodDate;
|
49
|
-
updated_at: z.ZodDate;
|
50
|
-
}, "strip", z.ZodTypeAny, {
|
51
|
-
id: string;
|
52
|
-
username: string | null;
|
53
|
-
password: string | null;
|
54
|
-
phoneNumber: string;
|
55
|
-
secondaryPhoneNumber: string | null;
|
56
|
-
fullName: string;
|
57
|
-
profilePictureUrl: string | null;
|
58
|
-
mail: string | null;
|
59
|
-
created_at: Date;
|
60
|
-
updated_at: Date;
|
61
|
-
shortId: number;
|
62
|
-
firstTimeMiExpo: boolean;
|
63
|
-
isPhoneVerified: boolean;
|
64
|
-
firstName: string | null;
|
65
|
-
gender: string | null;
|
66
|
-
birthDate: Date | null;
|
67
|
-
instagram: string | null;
|
68
|
-
dni: string | null;
|
69
|
-
alternativeNames: string[];
|
70
|
-
birthLocationId: string | null;
|
71
|
-
residenceLocationId: string | null;
|
72
|
-
isInTrash: boolean;
|
73
|
-
movedToTrashDate: Date | null;
|
74
|
-
}, {
|
75
|
-
id: string;
|
76
|
-
username: string | null;
|
77
|
-
password: string | null;
|
78
|
-
phoneNumber: string;
|
79
|
-
secondaryPhoneNumber: string | null;
|
80
|
-
fullName: string;
|
81
|
-
profilePictureUrl: string | null;
|
82
|
-
mail: string | null;
|
83
|
-
created_at: Date;
|
84
|
-
updated_at: Date;
|
85
|
-
shortId: number;
|
86
|
-
firstTimeMiExpo: boolean;
|
87
|
-
isPhoneVerified: boolean;
|
88
|
-
firstName: string | null;
|
89
|
-
gender: string | null;
|
90
|
-
birthDate: string | null;
|
91
|
-
instagram: string | null;
|
92
|
-
dni: string | null;
|
93
|
-
alternativeNames: string[];
|
94
|
-
birthLocationId: string | null;
|
95
|
-
residenceLocationId: string | null;
|
96
|
-
isInTrash: boolean;
|
97
|
-
movedToTrashDate: Date | null;
|
98
|
-
}>;
|
99
|
-
}, "strip", z.ZodTypeAny, {
|
100
|
-
profile: {
|
101
|
-
id: string;
|
102
|
-
username: string | null;
|
103
|
-
password: string | null;
|
104
|
-
phoneNumber: string;
|
105
|
-
secondaryPhoneNumber: string | null;
|
106
|
-
fullName: string;
|
107
|
-
profilePictureUrl: string | null;
|
108
|
-
mail: string | null;
|
109
|
-
created_at: Date;
|
110
|
-
updated_at: Date;
|
111
|
-
shortId: number;
|
112
|
-
firstTimeMiExpo: boolean;
|
113
|
-
isPhoneVerified: boolean;
|
114
|
-
firstName: string | null;
|
115
|
-
gender: string | null;
|
116
|
-
birthDate: Date | null;
|
117
|
-
instagram: string | null;
|
118
|
-
dni: string | null;
|
119
|
-
alternativeNames: string[];
|
120
|
-
birthLocationId: string | null;
|
121
|
-
residenceLocationId: string | null;
|
122
|
-
isInTrash: boolean;
|
123
|
-
movedToTrashDate: Date | null;
|
124
|
-
};
|
125
|
-
success: boolean;
|
126
|
-
}, {
|
127
|
-
profile: {
|
128
|
-
id: string;
|
129
|
-
username: string | null;
|
130
|
-
password: string | null;
|
131
|
-
phoneNumber: string;
|
132
|
-
secondaryPhoneNumber: string | null;
|
133
|
-
fullName: string;
|
134
|
-
profilePictureUrl: string | null;
|
135
|
-
mail: string | null;
|
136
|
-
created_at: Date;
|
137
|
-
updated_at: Date;
|
138
|
-
shortId: number;
|
139
|
-
firstTimeMiExpo: boolean;
|
140
|
-
isPhoneVerified: boolean;
|
141
|
-
firstName: string | null;
|
142
|
-
gender: string | null;
|
143
|
-
birthDate: string | null;
|
144
|
-
instagram: string | null;
|
145
|
-
dni: string | null;
|
146
|
-
alternativeNames: string[];
|
147
|
-
birthLocationId: string | null;
|
148
|
-
residenceLocationId: string | null;
|
149
|
-
isInTrash: boolean;
|
150
|
-
movedToTrashDate: Date | null;
|
151
|
-
};
|
152
|
-
success: boolean;
|
153
|
-
}>;
|
154
|
-
declare const VerifyOtpResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
155
|
-
success: z.ZodBoolean;
|
156
|
-
profile: z.ZodObject<{
|
157
|
-
id: z.ZodString;
|
158
|
-
shortId: z.ZodNumber;
|
159
|
-
firstTimeMiExpo: z.ZodBoolean;
|
160
|
-
username: z.ZodNullable<z.ZodString>;
|
161
|
-
password: z.ZodNullable<z.ZodString>;
|
162
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
163
|
-
isPhoneVerified: z.ZodBoolean;
|
164
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
165
|
-
fullName: z.ZodString;
|
166
|
-
firstName: z.ZodNullable<z.ZodString>;
|
167
|
-
gender: z.ZodNullable<z.ZodString>;
|
168
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
169
|
-
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
170
|
-
instagram: z.ZodNullable<z.ZodString>;
|
171
|
-
mail: z.ZodNullable<z.ZodString>;
|
172
|
-
dni: z.ZodNullable<z.ZodString>;
|
173
|
-
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
174
|
-
birthLocationId: z.ZodNullable<z.ZodString>;
|
175
|
-
residenceLocationId: z.ZodNullable<z.ZodString>;
|
176
|
-
isInTrash: z.ZodBoolean;
|
177
|
-
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
178
|
-
created_at: z.ZodString;
|
179
|
-
updated_at: z.ZodString;
|
180
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
181
|
-
id: string;
|
182
|
-
username: string | null;
|
183
|
-
password: string | null;
|
184
|
-
phoneNumber: string;
|
185
|
-
secondaryPhoneNumber: string | null;
|
186
|
-
fullName: string;
|
187
|
-
profilePictureUrl: string | null;
|
188
|
-
mail: string | null;
|
189
|
-
created_at: string;
|
190
|
-
updated_at: string;
|
191
|
-
shortId: number;
|
192
|
-
firstTimeMiExpo: boolean;
|
193
|
-
isPhoneVerified: boolean;
|
194
|
-
firstName: string | null;
|
195
|
-
gender: string | null;
|
196
|
-
birthDate: Date | null;
|
197
|
-
instagram: string | null;
|
198
|
-
dni: string | null;
|
199
|
-
alternativeNames: string[];
|
200
|
-
birthLocationId: string | null;
|
201
|
-
residenceLocationId: string | null;
|
202
|
-
isInTrash: boolean;
|
203
|
-
movedToTrashDate: string | null;
|
204
|
-
}, {
|
205
|
-
id: string;
|
206
|
-
username: string | null;
|
207
|
-
password: string | null;
|
208
|
-
phoneNumber: string;
|
209
|
-
secondaryPhoneNumber: string | null;
|
210
|
-
fullName: string;
|
211
|
-
profilePictureUrl: string | null;
|
212
|
-
mail: string | null;
|
213
|
-
created_at: string;
|
214
|
-
updated_at: string;
|
215
|
-
shortId: number;
|
216
|
-
firstTimeMiExpo: boolean;
|
217
|
-
isPhoneVerified: boolean;
|
218
|
-
firstName: string | null;
|
219
|
-
gender: string | null;
|
220
|
-
birthDate: string | null;
|
221
|
-
instagram: string | null;
|
222
|
-
dni: string | null;
|
223
|
-
alternativeNames: string[];
|
224
|
-
birthLocationId: string | null;
|
225
|
-
residenceLocationId: string | null;
|
226
|
-
isInTrash: boolean;
|
227
|
-
movedToTrashDate: string | null;
|
228
|
-
}>;
|
229
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
230
|
-
profile: {
|
231
|
-
id: string;
|
232
|
-
username: string | null;
|
233
|
-
password: string | null;
|
234
|
-
phoneNumber: string;
|
235
|
-
secondaryPhoneNumber: string | null;
|
236
|
-
fullName: string;
|
237
|
-
profilePictureUrl: string | null;
|
238
|
-
mail: string | null;
|
239
|
-
created_at: string;
|
240
|
-
updated_at: string;
|
241
|
-
shortId: number;
|
242
|
-
firstTimeMiExpo: boolean;
|
243
|
-
isPhoneVerified: boolean;
|
244
|
-
firstName: string | null;
|
245
|
-
gender: string | null;
|
246
|
-
birthDate: Date | null;
|
247
|
-
instagram: string | null;
|
248
|
-
dni: string | null;
|
249
|
-
alternativeNames: string[];
|
250
|
-
birthLocationId: string | null;
|
251
|
-
residenceLocationId: string | null;
|
252
|
-
isInTrash: boolean;
|
253
|
-
movedToTrashDate: string | null;
|
254
|
-
};
|
255
|
-
success: boolean;
|
256
|
-
}, {
|
257
|
-
profile: {
|
258
|
-
id: string;
|
259
|
-
username: string | null;
|
260
|
-
password: string | null;
|
261
|
-
phoneNumber: string;
|
262
|
-
secondaryPhoneNumber: string | null;
|
263
|
-
fullName: string;
|
264
|
-
profilePictureUrl: string | null;
|
265
|
-
mail: string | null;
|
266
|
-
created_at: string;
|
267
|
-
updated_at: string;
|
268
|
-
shortId: number;
|
269
|
-
firstTimeMiExpo: boolean;
|
270
|
-
isPhoneVerified: boolean;
|
271
|
-
firstName: string | null;
|
272
|
-
gender: string | null;
|
273
|
-
birthDate: string | null;
|
274
|
-
instagram: string | null;
|
275
|
-
dni: string | null;
|
276
|
-
alternativeNames: string[];
|
277
|
-
birthLocationId: string | null;
|
278
|
-
residenceLocationId: string | null;
|
279
|
-
isInTrash: boolean;
|
280
|
-
movedToTrashDate: string | null;
|
281
|
-
};
|
282
|
-
success: boolean;
|
283
|
-
}>>;
|
284
|
-
export declare class VerifyOtpResponseDto extends VerifyOtpResponseDto_base {
|
285
|
-
}
|
286
|
-
export {};
|
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.VerifyOtpResponseDto = exports.verifyOtpResponseSchema = exports.VerifyOtpDto = exports.verifyOtpSchema = void 0;
|
7
|
-
const translate_1 = require("../../i18n/translate");
|
8
|
-
const constants_1 = require("../constants");
|
9
|
-
const profile_dto_1 = require("../../profile/dto/profile.dto");
|
10
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
11
|
-
const zod_1 = __importDefault(require("zod"));
|
12
|
-
exports.verifyOtpSchema = zod_1.default.object({
|
13
|
-
phoneNumber: profile_dto_1.profileSchema.shape.phoneNumber,
|
14
|
-
code: zod_1.default.string().length(constants_1.OTP_LENGTH, {
|
15
|
-
message: (0, translate_1.translate)('route.otp.verify.error-format'),
|
16
|
-
}),
|
17
|
-
});
|
18
|
-
class VerifyOtpDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.verifyOtpSchema) {
|
19
|
-
}
|
20
|
-
exports.VerifyOtpDto = VerifyOtpDto;
|
21
|
-
exports.verifyOtpResponseSchema = zod_1.default.object({
|
22
|
-
success: zod_1.default.boolean(),
|
23
|
-
profile: profile_dto_1.profileSchema,
|
24
|
-
});
|
25
|
-
class VerifyOtpResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.verifyOtpResponseSchema) {
|
26
|
-
}
|
27
|
-
exports.VerifyOtpResponseDto = VerifyOtpResponseDto;
|
28
|
-
//# sourceMappingURL=verify-otp.dto.js.map
|
package/dist/src/otp/exports.js
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./dto/send-otp.dto"), exports);
|
18
|
-
__exportStar(require("./dto/verify-otp.dto"), exports);
|
19
|
-
//# sourceMappingURL=exports.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const PRISMA_SERVICE: unique symbol;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const AUTOMATIC_MESSAGE_DEADLINE: Date;
|