expo-backend-types 0.32.0-EXPO-308-auth.1 → 0.32.0-EXPO-315-Marcelo-Tinelli.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.
Files changed (113) hide show
  1. package/dist/src/exports.d.ts +2 -3
  2. package/dist/src/exports.js +2 -3
  3. package/dist/src/i18n/es.d.ts +64 -20
  4. package/dist/src/i18n/es.js +64 -20
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  7. package/dist/src/{schema/location.schema.js → location/dto/location.dto.js} +2 -2
  8. package/dist/src/location/exports.d.ts +1 -0
  9. package/dist/src/location/exports.js +1 -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/message/dto/template.dto.d.ts +2 -2
  15. package/dist/src/profile/dto/create-profile.dto.d.ts +14 -48
  16. package/dist/src/profile/dto/create-profile.dto.js +7 -9
  17. package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -30
  18. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  19. package/dist/src/profile/dto/find-all-profile.dto.d.ts +7 -47
  20. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  21. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +11 -75
  22. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  23. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +13 -32
  24. package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -7
  25. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -30
  26. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  27. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +7 -47
  28. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  29. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +7 -47
  30. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  31. package/dist/src/profile/dto/find-trash.dto.d.ts +3 -7
  32. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  33. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +7 -47
  34. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  35. package/dist/src/profile/dto/profile.dto.d.ts +30 -44
  36. package/dist/src/profile/dto/profile.dto.js +63 -6
  37. package/dist/src/profile/dto/update-profile.dto.d.ts +12 -54
  38. package/dist/src/profile/dto/update-profile.dto.js +6 -9
  39. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +4 -2
  40. package/dist/src/shared/dto-modification/zod-without-dates.js +0 -8
  41. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  42. package/dist/src/tag/dto/massive-allocation.dto.d.ts +7 -47
  43. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  44. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +7 -47
  45. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  46. package/dist/src/ticket/dto/create-ticket.dto.d.ts +134 -0
  47. package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
  48. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +75 -0
  49. package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
  50. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +198 -0
  51. package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
  52. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +198 -0
  53. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
  54. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +198 -0
  55. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
  56. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +198 -0
  57. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
  58. package/dist/src/ticket/dto/find-ticket.dto.d.ts +75 -0
  59. package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
  60. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
  61. package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
  62. package/dist/src/ticket/dto/ticket.dto.d.ts +76 -0
  63. package/dist/src/ticket/dto/ticket.dto.js +29 -0
  64. package/dist/src/ticket/dto/update-ticket.dto.d.ts +125 -0
  65. package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
  66. package/dist/src/ticket/exports.d.ts +10 -0
  67. package/dist/src/{otp → ticket}/exports.js +10 -2
  68. package/dist/types/prisma-schema/edge.js +48 -38
  69. package/dist/types/prisma-schema/index-browser.js +33 -18
  70. package/dist/types/prisma-schema/index.d.ts +4312 -5988
  71. package/dist/types/prisma-schema/index.js +48 -38
  72. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  73. package/dist/types/prisma-schema/package.json +2 -8
  74. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  75. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  76. package/dist/types/prisma-schema/runtime/index-browser.d.ts +1 -3
  77. package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
  78. package/dist/types/prisma-schema/runtime/library.d.ts +153 -205
  79. package/dist/types/prisma-schema/runtime/library.js +55 -55
  80. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  81. package/dist/types/prisma-schema/runtime/wasm.js +17 -17
  82. package/dist/types/prisma-schema/schema.prisma +33 -23
  83. package/dist/types/prisma-schema/wasm.js +33 -18
  84. package/dist/types/schema.d.ts +339 -313
  85. package/package.json +41 -32
  86. package/dist/src/image/constants.d.ts +0 -5
  87. package/dist/src/image/constants.js +0 -9
  88. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -337
  89. package/dist/src/mi-expo/dto/get-me.dto.js +0 -16
  90. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -311
  91. package/dist/src/mi-expo/dto/login-with-phone.dto.js +0 -29
  92. package/dist/src/mi-expo/dto/login.dto.d.ts +0 -327
  93. package/dist/src/mi-expo/dto/login.dto.js +0 -31
  94. package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -352
  95. package/dist/src/mi-expo/dto/update-me.dto.js +0 -31
  96. package/dist/src/mi-expo/exports.d.ts +0 -4
  97. package/dist/src/mi-expo/exports.js +0 -21
  98. package/dist/src/otp/constants.d.ts +0 -2
  99. package/dist/src/otp/constants.js +0 -6
  100. package/dist/src/otp/dto/send-otp.dto.d.ts +0 -158
  101. package/dist/src/otp/dto/send-otp.dto.js +0 -35
  102. package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -455
  103. package/dist/src/otp/dto/verify-otp.dto.js +0 -46
  104. package/dist/src/otp/exports.d.ts +0 -2
  105. package/dist/src/prisma/constants.d.ts +0 -1
  106. package/dist/src/prisma/constants.js +0 -5
  107. package/dist/src/schema/exports.d.ts +0 -2
  108. package/dist/src/schema/exports.js +0 -19
  109. package/dist/src/schema/profile.schema.d.ts +0 -74
  110. package/dist/src/schema/profile.schema.js +0 -133
  111. package/dist/src/webhook/constants.d.ts +0 -1
  112. package/dist/src/webhook/constants.js +0 -5
  113. /package/dist/src/{schema/location.schema.d.ts → location/dto/location.dto.d.ts} +0 -0
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CreateProfileResponseDto = exports.createProfileResponseSchema = exports.CreateProfileDto = exports.createProfileSchema = void 0;
7
7
  const comment_dto_1 = require("../../comment/dto/comment.dto");
8
- const location_schema_1 = require("../../schema/location.schema");
9
- const profile_schema_1 = require("../../schema/profile.schema");
8
+ const location_dto_1 = require("../../location/dto/location.dto");
9
+ const profile_dto_1 = require("./profile.dto");
10
10
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
11
11
  const tag_dto_1 = require("../../tag/dto/tag.dto");
12
12
  const zod_1 = __importDefault(require("zod"));
13
13
  exports.createProfileSchema = zod_1.default.object({
14
- profile: profile_schema_1.profileSchema
14
+ profile: profile_dto_1.profileSchema
15
15
  .pick({
16
16
  alternativeNames: true,
17
17
  birthDate: true,
@@ -23,8 +23,6 @@ exports.createProfileSchema = zod_1.default.object({
23
23
  phoneNumber: true,
24
24
  profilePictureUrl: true,
25
25
  secondaryPhoneNumber: true,
26
- username: true,
27
- password: true,
28
26
  })
29
27
  .merge(zod_1.default.object({
30
28
  comments: zod_1.default
@@ -33,7 +31,7 @@ exports.createProfileSchema = zod_1.default.object({
33
31
  isSolvable: true,
34
32
  }))
35
33
  .optional(),
36
- residence: location_schema_1.locationSchema
34
+ residence: location_dto_1.locationSchema
37
35
  .pick({
38
36
  city: true,
39
37
  country: true,
@@ -42,7 +40,7 @@ exports.createProfileSchema = zod_1.default.object({
42
40
  state: true,
43
41
  })
44
42
  .optional(),
45
- birth: location_schema_1.locationSchema
43
+ birth: location_dto_1.locationSchema
46
44
  .pick({
47
45
  city: true,
48
46
  country: true,
@@ -59,7 +57,7 @@ class CreateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWit
59
57
  }
60
58
  exports.CreateProfileDto = CreateProfileDto;
61
59
  const similarProfileSchema = zod_1.default.object({
62
- profile: profile_schema_1.profileSchema.pick({
60
+ profile: profile_dto_1.profileSchema.pick({
63
61
  fullName: true,
64
62
  phoneNumber: true,
65
63
  id: true,
@@ -71,7 +69,7 @@ const similarityProfileSchema = zod_1.default.object({
71
69
  similarProfiles: zod_1.default.array(similarProfileSchema),
72
70
  });
73
71
  const createdProfileSchema = zod_1.default.object({
74
- id: profile_schema_1.profileSchema.shape.id,
72
+ id: profile_dto_1.profileSchema.shape.id,
75
73
  });
76
74
  const createProfileResponseSchemaBase = zod_1.default.discriminatedUnion('type', [
77
75
  similarityProfileSchema.extend({
@@ -1,12 +1,8 @@
1
1
  export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
2
2
  id: import("zod").ZodString;
3
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").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
4
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
5
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
10
6
  fullName: import("zod").ZodString;
11
7
  firstName: import("zod").ZodNullable<import("zod").ZodString>;
12
8
  gender: import("zod").ZodNullable<import("zod").ZodString>;
@@ -24,8 +20,6 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
24
20
  updated_at: import("zod").ZodDate;
25
21
  }, "strip", import("zod").ZodTypeAny, {
26
22
  id: string;
27
- username: string | null;
28
- password: string | null;
29
23
  phoneNumber: string;
30
24
  secondaryPhoneNumber: string | null;
31
25
  fullName: string;
@@ -34,8 +28,6 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
34
28
  created_at: Date;
35
29
  updated_at: Date;
36
30
  shortId: number;
37
- firstTimeMiExpo: boolean;
38
- isPhoneVerified: boolean;
39
31
  firstName: string | null;
40
32
  gender: string | null;
41
33
  birthDate: Date | null;
@@ -48,8 +40,6 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
48
40
  movedToTrashDate: Date | null;
49
41
  }, {
50
42
  id: string;
51
- username: string | null;
52
- password: string | null;
53
43
  phoneNumber: string;
54
44
  secondaryPhoneNumber: string | null;
55
45
  fullName: string;
@@ -58,8 +48,6 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
58
48
  created_at: Date;
59
49
  updated_at: Date;
60
50
  shortId: number;
61
- firstTimeMiExpo: boolean;
62
- isPhoneVerified: boolean;
63
51
  firstName: string | null;
64
52
  gender: string | null;
65
53
  birthDate: string | null;
@@ -74,16 +62,12 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
74
62
  declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
75
63
  id: import("zod").ZodString;
76
64
  shortId: import("zod").ZodNumber;
77
- firstTimeMiExpo: import("zod").ZodBoolean;
78
- username: import("zod").ZodNullable<import("zod").ZodString>;
79
- password: import("zod").ZodNullable<import("zod").ZodString>;
80
- phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
81
- isPhoneVerified: import("zod").ZodBoolean;
82
- secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
65
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
66
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
83
67
  fullName: import("zod").ZodString;
84
68
  firstName: import("zod").ZodNullable<import("zod").ZodString>;
85
69
  gender: import("zod").ZodNullable<import("zod").ZodString>;
86
- birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
70
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
87
71
  profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
88
72
  instagram: import("zod").ZodNullable<import("zod").ZodString>;
89
73
  mail: import("zod").ZodNullable<import("zod").ZodString>;
@@ -97,8 +81,6 @@ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
97
81
  updated_at: import("zod").ZodString;
98
82
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
99
83
  id: string;
100
- username: string | null;
101
- password: string | null;
102
84
  phoneNumber: string;
103
85
  secondaryPhoneNumber: string | null;
104
86
  fullName: string;
@@ -107,11 +89,9 @@ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
107
89
  created_at: string;
108
90
  updated_at: string;
109
91
  shortId: number;
110
- firstTimeMiExpo: boolean;
111
- isPhoneVerified: boolean;
112
92
  firstName: string | null;
113
93
  gender: string | null;
114
- birthDate: string | null;
94
+ birthDate: Date | null;
115
95
  instagram: string | null;
116
96
  dni: string | null;
117
97
  alternativeNames: string[];
@@ -121,8 +101,6 @@ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
121
101
  movedToTrashDate: string | null;
122
102
  }, {
123
103
  id: string;
124
- username: string | null;
125
- password: string | null;
126
104
  phoneNumber: string;
127
105
  secondaryPhoneNumber: string | null;
128
106
  fullName: string;
@@ -131,8 +109,6 @@ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
131
109
  created_at: string;
132
110
  updated_at: string;
133
111
  shortId: number;
134
- firstTimeMiExpo: boolean;
135
- isPhoneVerified: boolean;
136
112
  firstName: string | null;
137
113
  gender: string | null;
138
114
  birthDate: string | null;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteProfileResponseDto = exports.deleteProfileResponseSchema = void 0;
4
- const profile_schema_1 = require("../../schema/profile.schema");
4
+ const profile_dto_1 = require("./profile.dto");
5
5
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- exports.deleteProfileResponseSchema = profile_schema_1.profileSchema;
6
+ exports.deleteProfileResponseSchema = profile_dto_1.profileSchema;
7
7
  class DeleteProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteProfileResponseSchema) {
8
8
  }
9
9
  exports.DeleteProfileResponseDto = DeleteProfileResponseDto;
@@ -3,12 +3,8 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
3
3
  profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  shortId: z.ZodNumber;
6
- firstTimeMiExpo: z.ZodBoolean;
7
- username: z.ZodNullable<z.ZodString>;
8
- password: z.ZodNullable<z.ZodString>;
9
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
- isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
6
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
7
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
12
8
  fullName: z.ZodString;
13
9
  firstName: z.ZodNullable<z.ZodString>;
14
10
  gender: z.ZodNullable<z.ZodString>;
@@ -77,8 +73,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
77
73
  }>, "many">;
78
74
  }>, "strip", z.ZodTypeAny, {
79
75
  id: string;
80
- username: string | null;
81
- password: string | null;
82
76
  phoneNumber: string;
83
77
  secondaryPhoneNumber: string | null;
84
78
  fullName: string;
@@ -87,8 +81,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
87
81
  created_at: Date;
88
82
  updated_at: Date;
89
83
  shortId: number;
90
- firstTimeMiExpo: boolean;
91
- isPhoneVerified: boolean;
92
84
  firstName: string | null;
93
85
  gender: string | null;
94
86
  birthDate: Date | null;
@@ -113,8 +105,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
113
105
  }[];
114
106
  }, {
115
107
  id: string;
116
- username: string | null;
117
- password: string | null;
118
108
  phoneNumber: string;
119
109
  secondaryPhoneNumber: string | null;
120
110
  fullName: string;
@@ -123,8 +113,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
123
113
  created_at: Date;
124
114
  updated_at: Date;
125
115
  shortId: number;
126
- firstTimeMiExpo: boolean;
127
- isPhoneVerified: boolean;
128
116
  firstName: string | null;
129
117
  gender: string | null;
130
118
  birthDate: string | null;
@@ -151,8 +139,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
151
139
  }, "strip", z.ZodTypeAny, {
152
140
  profiles: {
153
141
  id: string;
154
- username: string | null;
155
- password: string | null;
156
142
  phoneNumber: string;
157
143
  secondaryPhoneNumber: string | null;
158
144
  fullName: string;
@@ -161,8 +147,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
161
147
  created_at: Date;
162
148
  updated_at: Date;
163
149
  shortId: number;
164
- firstTimeMiExpo: boolean;
165
- isPhoneVerified: boolean;
166
150
  firstName: string | null;
167
151
  gender: string | null;
168
152
  birthDate: Date | null;
@@ -189,8 +173,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
189
173
  }, {
190
174
  profiles: {
191
175
  id: string;
192
- username: string | null;
193
- password: string | null;
194
176
  phoneNumber: string;
195
177
  secondaryPhoneNumber: string | null;
196
178
  fullName: string;
@@ -199,8 +181,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
199
181
  created_at: Date;
200
182
  updated_at: Date;
201
183
  shortId: number;
202
- firstTimeMiExpo: boolean;
203
- isPhoneVerified: boolean;
204
184
  firstName: string | null;
205
185
  gender: string | null;
206
186
  birthDate: string | null;
@@ -229,16 +209,12 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
229
209
  profiles: z.ZodArray<z.ZodObject<{
230
210
  id: z.ZodString;
231
211
  shortId: z.ZodNumber;
232
- firstTimeMiExpo: z.ZodBoolean;
233
- username: z.ZodNullable<z.ZodString>;
234
- password: z.ZodNullable<z.ZodString>;
235
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
236
- isPhoneVerified: z.ZodBoolean;
237
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
212
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
213
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
238
214
  fullName: z.ZodString;
239
215
  firstName: z.ZodNullable<z.ZodString>;
240
216
  gender: z.ZodNullable<z.ZodString>;
241
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
217
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
242
218
  profilePictureUrl: z.ZodNullable<z.ZodString>;
243
219
  instagram: z.ZodNullable<z.ZodString>;
244
220
  mail: z.ZodNullable<z.ZodString>;
@@ -297,8 +273,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
297
273
  }>, "many">;
298
274
  }, z.UnknownKeysParam, z.ZodTypeAny, {
299
275
  id: string;
300
- username: string | null;
301
- password: string | null;
302
276
  phoneNumber: string;
303
277
  secondaryPhoneNumber: string | null;
304
278
  fullName: string;
@@ -307,11 +281,9 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
307
281
  created_at: string;
308
282
  updated_at: string;
309
283
  shortId: number;
310
- firstTimeMiExpo: boolean;
311
- isPhoneVerified: boolean;
312
284
  firstName: string | null;
313
285
  gender: string | null;
314
- birthDate: string | null;
286
+ birthDate: Date | null;
315
287
  instagram: string | null;
316
288
  dni: string | null;
317
289
  alternativeNames: string[];
@@ -333,8 +305,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
333
305
  }[];
334
306
  }, {
335
307
  id: string;
336
- username: string | null;
337
- password: string | null;
338
308
  phoneNumber: string;
339
309
  secondaryPhoneNumber: string | null;
340
310
  fullName: string;
@@ -343,8 +313,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
343
313
  created_at: string;
344
314
  updated_at: string;
345
315
  shortId: number;
346
- firstTimeMiExpo: boolean;
347
- isPhoneVerified: boolean;
348
316
  firstName: string | null;
349
317
  gender: string | null;
350
318
  birthDate: string | null;
@@ -371,8 +339,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
371
339
  }, z.UnknownKeysParam, z.ZodTypeAny, {
372
340
  profiles: {
373
341
  id: string;
374
- username: string | null;
375
- password: string | null;
376
342
  phoneNumber: string;
377
343
  secondaryPhoneNumber: string | null;
378
344
  fullName: string;
@@ -381,11 +347,9 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
381
347
  created_at: string;
382
348
  updated_at: string;
383
349
  shortId: number;
384
- firstTimeMiExpo: boolean;
385
- isPhoneVerified: boolean;
386
350
  firstName: string | null;
387
351
  gender: string | null;
388
- birthDate: string | null;
352
+ birthDate: Date | null;
389
353
  instagram: string | null;
390
354
  dni: string | null;
391
355
  alternativeNames: string[];
@@ -409,8 +373,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
409
373
  }, {
410
374
  profiles: {
411
375
  id: string;
412
- username: string | null;
413
- password: string | null;
414
376
  phoneNumber: string;
415
377
  secondaryPhoneNumber: string | null;
416
378
  fullName: string;
@@ -419,8 +381,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
419
381
  created_at: string;
420
382
  updated_at: string;
421
383
  shortId: number;
422
- firstTimeMiExpo: boolean;
423
- isPhoneVerified: boolean;
424
384
  firstName: string | null;
425
385
  gender: string | null;
426
386
  birthDate: string | null;
@@ -4,13 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.FindAllProfileResponseDto = exports.findAllProfileResponseSchema = void 0;
7
- const profile_schema_1 = require("../../schema/profile.schema");
7
+ const profile_dto_1 = require("./profile.dto");
8
8
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
9
  const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
10
10
  const tag_dto_1 = require("../../tag/dto/tag.dto");
11
11
  const zod_1 = __importDefault(require("zod"));
12
12
  exports.findAllProfileResponseSchema = zod_1.default.object({
13
- profiles: zod_1.default.array(profile_schema_1.profileSchema.merge(zod_1.default.object({
13
+ profiles: zod_1.default.array(profile_dto_1.profileSchema.merge(zod_1.default.object({
14
14
  tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
15
15
  group: tag_group_dto_1.tagGroupSchema.pick({
16
16
  color: true,
@@ -3,12 +3,8 @@ export declare const findByDateRangeSchema: z.ZodObject<{
3
3
  profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  shortId: z.ZodNumber;
6
- firstTimeMiExpo: z.ZodBoolean;
7
- username: z.ZodNullable<z.ZodString>;
8
- password: z.ZodNullable<z.ZodString>;
9
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
- isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
6
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
7
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
12
8
  fullName: z.ZodString;
13
9
  firstName: z.ZodNullable<z.ZodString>;
14
10
  gender: z.ZodNullable<z.ZodString>;
@@ -73,8 +69,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
73
69
  }>, "many">;
74
70
  }>, "strip", z.ZodTypeAny, {
75
71
  id: string;
76
- username: string | null;
77
- password: string | null;
78
72
  phoneNumber: string;
79
73
  secondaryPhoneNumber: string | null;
80
74
  fullName: string;
@@ -83,8 +77,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
83
77
  created_at: Date;
84
78
  updated_at: Date;
85
79
  shortId: number;
86
- firstTimeMiExpo: boolean;
87
- isPhoneVerified: boolean;
88
80
  firstName: string | null;
89
81
  gender: string | null;
90
82
  birthDate: Date | null;
@@ -108,8 +100,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
108
100
  }[];
109
101
  }, {
110
102
  id: string;
111
- username: string | null;
112
- password: string | null;
113
103
  phoneNumber: string;
114
104
  secondaryPhoneNumber: string | null;
115
105
  fullName: string;
@@ -118,8 +108,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
118
108
  created_at: Date;
119
109
  updated_at: Date;
120
110
  shortId: number;
121
- firstTimeMiExpo: boolean;
122
- isPhoneVerified: boolean;
123
111
  firstName: string | null;
124
112
  gender: string | null;
125
113
  birthDate: string | null;
@@ -145,8 +133,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
145
133
  }, "strip", z.ZodTypeAny, {
146
134
  profiles: {
147
135
  id: string;
148
- username: string | null;
149
- password: string | null;
150
136
  phoneNumber: string;
151
137
  secondaryPhoneNumber: string | null;
152
138
  fullName: string;
@@ -155,8 +141,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
155
141
  created_at: Date;
156
142
  updated_at: Date;
157
143
  shortId: number;
158
- firstTimeMiExpo: boolean;
159
- isPhoneVerified: boolean;
160
144
  firstName: string | null;
161
145
  gender: string | null;
162
146
  birthDate: Date | null;
@@ -182,8 +166,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
182
166
  }, {
183
167
  profiles: {
184
168
  id: string;
185
- username: string | null;
186
- password: string | null;
187
169
  phoneNumber: string;
188
170
  secondaryPhoneNumber: string | null;
189
171
  fullName: string;
@@ -192,8 +174,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
192
174
  created_at: Date;
193
175
  updated_at: Date;
194
176
  shortId: number;
195
- firstTimeMiExpo: boolean;
196
- isPhoneVerified: boolean;
197
177
  firstName: string | null;
198
178
  gender: string | null;
199
179
  birthDate: string | null;
@@ -221,16 +201,12 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
221
201
  profiles: z.ZodArray<z.ZodObject<{
222
202
  id: z.ZodString;
223
203
  shortId: z.ZodNumber;
224
- firstTimeMiExpo: z.ZodBoolean;
225
- username: z.ZodNullable<z.ZodString>;
226
- password: z.ZodNullable<z.ZodString>;
227
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
228
- isPhoneVerified: z.ZodBoolean;
229
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
204
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
205
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
230
206
  fullName: z.ZodString;
231
207
  firstName: z.ZodNullable<z.ZodString>;
232
208
  gender: z.ZodNullable<z.ZodString>;
233
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
209
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
234
210
  profilePictureUrl: z.ZodNullable<z.ZodString>;
235
211
  instagram: z.ZodNullable<z.ZodString>;
236
212
  mail: z.ZodNullable<z.ZodString>;
@@ -284,8 +260,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
284
260
  }>, "many">;
285
261
  }, z.UnknownKeysParam, z.ZodTypeAny, {
286
262
  id: string;
287
- username: string | null;
288
- password: string | null;
289
263
  phoneNumber: string;
290
264
  secondaryPhoneNumber: string | null;
291
265
  fullName: string;
@@ -294,11 +268,9 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
294
268
  created_at: string;
295
269
  updated_at: string;
296
270
  shortId: number;
297
- firstTimeMiExpo: boolean;
298
- isPhoneVerified: boolean;
299
271
  firstName: string | null;
300
272
  gender: string | null;
301
- birthDate: string | null;
273
+ birthDate: Date | null;
302
274
  instagram: string | null;
303
275
  dni: string | null;
304
276
  alternativeNames: string[];
@@ -319,8 +291,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
319
291
  }[];
320
292
  }, {
321
293
  id: string;
322
- username: string | null;
323
- password: string | null;
324
294
  phoneNumber: string;
325
295
  secondaryPhoneNumber: string | null;
326
296
  fullName: string;
@@ -329,8 +299,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
329
299
  created_at: string;
330
300
  updated_at: string;
331
301
  shortId: number;
332
- firstTimeMiExpo: boolean;
333
- isPhoneVerified: boolean;
334
302
  firstName: string | null;
335
303
  gender: string | null;
336
304
  birthDate: string | null;
@@ -356,8 +324,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
356
324
  }, z.UnknownKeysParam, z.ZodTypeAny, {
357
325
  profiles: {
358
326
  id: string;
359
- username: string | null;
360
- password: string | null;
361
327
  phoneNumber: string;
362
328
  secondaryPhoneNumber: string | null;
363
329
  fullName: string;
@@ -366,11 +332,9 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
366
332
  created_at: string;
367
333
  updated_at: string;
368
334
  shortId: number;
369
- firstTimeMiExpo: boolean;
370
- isPhoneVerified: boolean;
371
335
  firstName: string | null;
372
336
  gender: string | null;
373
- birthDate: string | null;
337
+ birthDate: Date | null;
374
338
  instagram: string | null;
375
339
  dni: string | null;
376
340
  alternativeNames: string[];
@@ -393,8 +357,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
393
357
  }, {
394
358
  profiles: {
395
359
  id: string;
396
- username: string | null;
397
- password: string | null;
398
360
  phoneNumber: string;
399
361
  secondaryPhoneNumber: string | null;
400
362
  fullName: string;
@@ -403,8 +365,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
403
365
  created_at: string;
404
366
  updated_at: string;
405
367
  shortId: number;
406
- firstTimeMiExpo: boolean;
407
- isPhoneVerified: boolean;
408
368
  firstName: string | null;
409
369
  gender: string | null;
410
370
  birthDate: string | null;
@@ -433,12 +393,8 @@ export declare class FindByDateRangeDto extends FindByDateRangeDto_base {
433
393
  export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
434
394
  id: z.ZodString;
435
395
  shortId: z.ZodNumber;
436
- firstTimeMiExpo: z.ZodBoolean;
437
- username: z.ZodNullable<z.ZodString>;
438
- password: z.ZodNullable<z.ZodString>;
439
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
440
- isPhoneVerified: z.ZodBoolean;
441
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
396
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
397
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
442
398
  fullName: z.ZodString;
443
399
  firstName: z.ZodNullable<z.ZodString>;
444
400
  gender: z.ZodNullable<z.ZodString>;
@@ -503,8 +459,6 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
503
459
  }>, "many">;
504
460
  }>, "strip", z.ZodTypeAny, {
505
461
  id: string;
506
- username: string | null;
507
- password: string | null;
508
462
  phoneNumber: string;
509
463
  secondaryPhoneNumber: string | null;
510
464
  fullName: string;
@@ -513,8 +467,6 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
513
467
  created_at: Date;
514
468
  updated_at: Date;
515
469
  shortId: number;
516
- firstTimeMiExpo: boolean;
517
- isPhoneVerified: boolean;
518
470
  firstName: string | null;
519
471
  gender: string | null;
520
472
  birthDate: Date | null;
@@ -538,8 +490,6 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
538
490
  }[];
539
491
  }, {
540
492
  id: string;
541
- username: string | null;
542
- password: string | null;
543
493
  phoneNumber: string;
544
494
  secondaryPhoneNumber: string | null;
545
495
  fullName: string;
@@ -548,8 +498,6 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
548
498
  created_at: Date;
549
499
  updated_at: Date;
550
500
  shortId: number;
551
- firstTimeMiExpo: boolean;
552
- isPhoneVerified: boolean;
553
501
  firstName: string | null;
554
502
  gender: string | null;
555
503
  birthDate: string | null;
@@ -575,12 +523,8 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
575
523
  declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
576
524
  id: z.ZodString;
577
525
  shortId: z.ZodNumber;
578
- firstTimeMiExpo: z.ZodBoolean;
579
- username: z.ZodNullable<z.ZodString>;
580
- password: z.ZodNullable<z.ZodString>;
581
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
582
- isPhoneVerified: z.ZodBoolean;
583
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
526
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
527
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
584
528
  fullName: z.ZodString;
585
529
  firstName: z.ZodNullable<z.ZodString>;
586
530
  gender: z.ZodNullable<z.ZodString>;
@@ -645,8 +589,6 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
645
589
  }>, "many">;
646
590
  }>, "strip", z.ZodTypeAny, {
647
591
  id: string;
648
- username: string | null;
649
- password: string | null;
650
592
  phoneNumber: string;
651
593
  secondaryPhoneNumber: string | null;
652
594
  fullName: string;
@@ -655,8 +597,6 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
655
597
  created_at: Date;
656
598
  updated_at: Date;
657
599
  shortId: number;
658
- firstTimeMiExpo: boolean;
659
- isPhoneVerified: boolean;
660
600
  firstName: string | null;
661
601
  gender: string | null;
662
602
  birthDate: Date | null;
@@ -680,8 +620,6 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
680
620
  }[];
681
621
  }, {
682
622
  id: string;
683
- username: string | null;
684
- password: string | null;
685
623
  phoneNumber: string;
686
624
  secondaryPhoneNumber: string | null;
687
625
  fullName: string;
@@ -690,8 +628,6 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
690
628
  created_at: Date;
691
629
  updated_at: Date;
692
630
  shortId: number;
693
- firstTimeMiExpo: boolean;
694
- isPhoneVerified: boolean;
695
631
  firstName: string | null;
696
632
  gender: string | null;
697
633
  birthDate: string | null;