expo-backend-types 0.30.0-EXPO-311-EB-Modificar-DB-schema.1 → 0.30.0-EXPO-308-auth.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.
Files changed (72) hide show
  1. package/dist/src/auth/dto/login-mi-expo.dto.d.ts +327 -0
  2. package/dist/src/auth/dto/login-mi-expo.dto.js +31 -0
  3. package/dist/src/exports.d.ts +2 -0
  4. package/dist/src/exports.js +2 -0
  5. package/dist/src/i18n/es.d.ts +19 -0
  6. package/dist/src/i18n/es.js +19 -0
  7. package/dist/src/i18n/es.js.map +1 -1
  8. package/dist/src/image/constants.d.ts +5 -0
  9. package/dist/src/image/constants.js +9 -0
  10. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  11. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  12. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  13. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  14. package/dist/src/otp/constants.d.ts +2 -0
  15. package/dist/src/otp/constants.js +6 -0
  16. package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
  17. package/dist/src/otp/dto/send-otp.dto.js +35 -0
  18. package/dist/src/otp/dto/verify-otp.dto.d.ts +286 -0
  19. package/dist/src/otp/dto/verify-otp.dto.js +28 -0
  20. package/dist/src/otp/exports.d.ts +2 -0
  21. package/dist/src/otp/exports.js +19 -0
  22. package/dist/src/prisma/constants.d.ts +1 -0
  23. package/dist/src/prisma/constants.js +5 -0
  24. package/dist/src/prisma/dtos.dto.d.ts +74 -0
  25. package/dist/src/prisma/dtos.dto.js +133 -0
  26. package/dist/src/profile/dto/create-profile.dto.d.ts +26 -10
  27. package/dist/src/profile/dto/create-profile.dto.js +4 -4
  28. package/dist/src/profile/dto/delete-profile.dto.d.ts +28 -4
  29. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  30. package/dist/src/profile/dto/find-all-profile.dto.d.ts +44 -4
  31. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  32. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +72 -8
  33. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  34. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +28 -4
  35. package/dist/src/profile/dto/find-by-id-profile.dto.js +2 -2
  36. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +28 -4
  37. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  38. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +44 -4
  39. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  40. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +44 -4
  41. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  42. package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
  43. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  44. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +44 -4
  45. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  46. package/dist/src/profile/dto/profile.dto.d.ts +43 -29
  47. package/dist/src/profile/dto/profile.dto.js +6 -63
  48. package/dist/src/profile/dto/update-profile.dto.d.ts +32 -8
  49. package/dist/src/profile/dto/update-profile.dto.js +3 -3
  50. package/dist/src/tag/dto/massive-allocation.dto.d.ts +44 -4
  51. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  52. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +44 -4
  53. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  54. package/dist/src/webhook/constants.d.ts +1 -0
  55. package/dist/src/webhook/constants.js +5 -0
  56. package/dist/types/prisma-schema/edge.js +38 -24
  57. package/dist/types/prisma-schema/index-browser.js +18 -9
  58. package/dist/types/prisma-schema/index.d.ts +3862 -511
  59. package/dist/types/prisma-schema/index.js +38 -24
  60. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  61. package/dist/types/prisma-schema/package.json +2 -2
  62. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  63. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  64. package/dist/types/prisma-schema/runtime/index-browser.d.ts +1 -1
  65. package/dist/types/prisma-schema/runtime/library.d.ts +177 -133
  66. package/dist/types/prisma-schema/runtime/library.js +51 -51
  67. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  68. package/dist/types/prisma-schema/runtime/wasm.js +19 -19
  69. package/dist/types/prisma-schema/schema.prisma +22 -1
  70. package/dist/types/prisma-schema/wasm.js +18 -9
  71. package/dist/types/schema.d.ts +277 -2
  72. package/package.json +27 -24
@@ -25,8 +25,12 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
25
25
  profiles: z.ZodArray<z.ZodObject<{
26
26
  id: z.ZodString;
27
27
  shortId: z.ZodNumber;
28
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
29
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
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.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
30
34
  fullName: z.ZodString;
31
35
  firstName: z.ZodNullable<z.ZodString>;
32
36
  gender: z.ZodNullable<z.ZodString>;
@@ -44,6 +48,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
44
48
  updated_at: z.ZodDate;
45
49
  }, "strip", z.ZodTypeAny, {
46
50
  id: string;
51
+ username: string | null;
52
+ password: string | null;
47
53
  phoneNumber: string;
48
54
  secondaryPhoneNumber: string | null;
49
55
  fullName: string;
@@ -52,6 +58,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
52
58
  created_at: Date;
53
59
  updated_at: Date;
54
60
  shortId: number;
61
+ firstTimeMiExpo: boolean;
62
+ isPhoneVerified: boolean;
55
63
  firstName: string | null;
56
64
  gender: string | null;
57
65
  birthDate: Date | null;
@@ -64,6 +72,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
64
72
  movedToTrashDate: Date | null;
65
73
  }, {
66
74
  id: string;
75
+ username: string | null;
76
+ password: string | null;
67
77
  phoneNumber: string;
68
78
  secondaryPhoneNumber: string | null;
69
79
  fullName: string;
@@ -72,6 +82,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
72
82
  created_at: Date;
73
83
  updated_at: Date;
74
84
  shortId: number;
85
+ firstTimeMiExpo: boolean;
86
+ isPhoneVerified: boolean;
75
87
  firstName: string | null;
76
88
  gender: string | null;
77
89
  birthDate: string | null;
@@ -86,6 +98,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
86
98
  }, "strip", z.ZodTypeAny, {
87
99
  profiles: {
88
100
  id: string;
101
+ username: string | null;
102
+ password: string | null;
89
103
  phoneNumber: string;
90
104
  secondaryPhoneNumber: string | null;
91
105
  fullName: string;
@@ -94,6 +108,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
94
108
  created_at: Date;
95
109
  updated_at: Date;
96
110
  shortId: number;
111
+ firstTimeMiExpo: boolean;
112
+ isPhoneVerified: boolean;
97
113
  firstName: string | null;
98
114
  gender: string | null;
99
115
  birthDate: Date | null;
@@ -108,6 +124,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
108
124
  }, {
109
125
  profiles: {
110
126
  id: string;
127
+ username: string | null;
128
+ password: string | null;
111
129
  phoneNumber: string;
112
130
  secondaryPhoneNumber: string | null;
113
131
  fullName: string;
@@ -116,6 +134,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
116
134
  created_at: Date;
117
135
  updated_at: Date;
118
136
  shortId: number;
137
+ firstTimeMiExpo: boolean;
138
+ isPhoneVerified: boolean;
119
139
  firstName: string | null;
120
140
  gender: string | null;
121
141
  birthDate: string | null;
@@ -132,8 +152,12 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
132
152
  profiles: z.ZodArray<z.ZodObject<{
133
153
  id: z.ZodString;
134
154
  shortId: z.ZodNumber;
135
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
136
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
155
+ firstTimeMiExpo: z.ZodBoolean;
156
+ username: z.ZodNullable<z.ZodString>;
157
+ password: z.ZodNullable<z.ZodString>;
158
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
159
+ isPhoneVerified: z.ZodBoolean;
160
+ secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
137
161
  fullName: z.ZodString;
138
162
  firstName: z.ZodNullable<z.ZodString>;
139
163
  gender: z.ZodNullable<z.ZodString>;
@@ -151,6 +175,8 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
151
175
  updated_at: z.ZodString;
152
176
  }, z.UnknownKeysParam, z.ZodTypeAny, {
153
177
  id: string;
178
+ username: string | null;
179
+ password: string | null;
154
180
  phoneNumber: string;
155
181
  secondaryPhoneNumber: string | null;
156
182
  fullName: string;
@@ -159,6 +185,8 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
159
185
  created_at: string;
160
186
  updated_at: string;
161
187
  shortId: number;
188
+ firstTimeMiExpo: boolean;
189
+ isPhoneVerified: boolean;
162
190
  firstName: string | null;
163
191
  gender: string | null;
164
192
  birthDate: Date | null;
@@ -171,6 +199,8 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
171
199
  movedToTrashDate: string | null;
172
200
  }, {
173
201
  id: string;
202
+ username: string | null;
203
+ password: string | null;
174
204
  phoneNumber: string;
175
205
  secondaryPhoneNumber: string | null;
176
206
  fullName: string;
@@ -179,6 +209,8 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
179
209
  created_at: string;
180
210
  updated_at: string;
181
211
  shortId: number;
212
+ firstTimeMiExpo: boolean;
213
+ isPhoneVerified: boolean;
182
214
  firstName: string | null;
183
215
  gender: string | null;
184
216
  birthDate: string | null;
@@ -193,6 +225,8 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
193
225
  }, z.UnknownKeysParam, z.ZodTypeAny, {
194
226
  profiles: {
195
227
  id: string;
228
+ username: string | null;
229
+ password: string | null;
196
230
  phoneNumber: string;
197
231
  secondaryPhoneNumber: string | null;
198
232
  fullName: string;
@@ -201,6 +235,8 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
201
235
  created_at: string;
202
236
  updated_at: string;
203
237
  shortId: number;
238
+ firstTimeMiExpo: boolean;
239
+ isPhoneVerified: boolean;
204
240
  firstName: string | null;
205
241
  gender: string | null;
206
242
  birthDate: Date | null;
@@ -215,6 +251,8 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
215
251
  }, {
216
252
  profiles: {
217
253
  id: string;
254
+ username: string | null;
255
+ password: string | null;
218
256
  phoneNumber: string;
219
257
  secondaryPhoneNumber: string | null;
220
258
  fullName: string;
@@ -223,6 +261,8 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
223
261
  created_at: string;
224
262
  updated_at: string;
225
263
  shortId: number;
264
+ firstTimeMiExpo: boolean;
265
+ isPhoneVerified: boolean;
226
266
  firstName: string | null;
227
267
  gender: string | null;
228
268
  birthDate: string | null;
@@ -4,19 +4,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.MassiveDeallocationResponseDto = exports.massiveDeallocationResponseSchema = exports.MassiveDeallocationDto = exports.massiveDeallocationSchema = void 0;
7
- const profile_dto_1 = require("../../profile/dto/profile.dto");
7
+ const dtos_dto_1 = require("../../prisma/dtos.dto");
8
8
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
9
  const tag_dto_1 = require("./tag.dto");
10
10
  const zod_1 = __importDefault(require("zod"));
11
11
  exports.massiveDeallocationSchema = zod_1.default.object({
12
12
  tagIds: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
13
- profileIds: zod_1.default.array(profile_dto_1.profileSchema.shape.id),
13
+ profileIds: zod_1.default.array(dtos_dto_1.profileSchema.shape.id),
14
14
  });
15
15
  class MassiveDeallocationDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationSchema) {
16
16
  }
17
17
  exports.MassiveDeallocationDto = MassiveDeallocationDto;
18
18
  exports.massiveDeallocationResponseSchema = zod_1.default.object({
19
- profiles: zod_1.default.array(profile_dto_1.profileSchema),
19
+ profiles: zod_1.default.array(dtos_dto_1.profileSchema),
20
20
  });
21
21
  class MassiveDeallocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationResponseSchema) {
22
22
  }
@@ -0,0 +1 @@
1
+ export declare const AUTOMATIC_MESSAGE_DEADLINE: Date;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AUTOMATIC_MESSAGE_DEADLINE = void 0;
4
+ exports.AUTOMATIC_MESSAGE_DEADLINE = new Date(2024, 4, 10);
5
+ //# sourceMappingURL=constants.js.map