expo-backend-types 0.4.0-EXPO-212.6 → 0.4.0-EXPO-212.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -160,6 +160,12 @@ declare const _default: {
160
160
  readonly success: "Etiquetas obtenidas";
161
161
  readonly 'not-found': "Grupo de etiquetas no encontrado";
162
162
  };
163
+ readonly 'massive-allocation': {
164
+ readonly success: "Etiquetas asignadas con éxito";
165
+ };
166
+ readonly 'massive-deallocation': {
167
+ readonly success: "Etiquetas desasignadas con éxito";
168
+ };
163
169
  };
164
170
  readonly 'tag-group': {
165
171
  readonly create: {
@@ -162,6 +162,12 @@ exports.default = {
162
162
  success: 'Etiquetas obtenidas',
163
163
  'not-found': 'Grupo de etiquetas no encontrado',
164
164
  },
165
+ 'massive-allocation': {
166
+ success: 'Etiquetas asignadas con éxito',
167
+ },
168
+ 'massive-deallocation': {
169
+ success: 'Etiquetas desasignadas con éxito',
170
+ },
165
171
  },
166
172
  'tag-group': {
167
173
  create: {
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,OAAO,EAAE;gBACP,GAAG,EAAE,6CAA6C;aACnD;YACD,UAAU,EAAE;gBACV,QAAQ,EAAE,4CAA4C;aACvD;SACF;QACD,OA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aAC5C;SACF;QACD,WAAW,EAAE;YACX,MAAM,EAAE;gBACN,OAAO,EAAE,qCAAqC;aAC/C;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,+BAA+B;aACzC;YACD,oBAAoB,EAAE;gBACpB,OAAO,EAAE,qBAAqB;aAC/B;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,gCAAgC;gBACzC,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,kCAAkC;aAChD;SACF;QACD,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,sBAAsB;aACpC;YACD,gBAAgB,EAAE;gBAChB,OAAO,EAAE,uBAAuB;gBAChC,WAAW,EAAE,sBAAsB;aACpC;YACD,cAAc,EAAE;gBACd,OAAO,EAAE,kDAAkD;gBAC3D,WAAW,EAAE,0BAA0B;gBACvC,QAAQ,EAAE,+BAA+B;aAC1C;SACF;KACF;CACO,CAAC"}
@@ -3,66 +3,66 @@ export declare const profileSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  shortId: z.ZodNumber;
5
5
  phoneNumber: z.ZodEffects<z.ZodString, string, string>;
6
- secondaryPhoneNumber: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
6
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
7
7
  fullName: z.ZodString;
8
- firstName: z.ZodString;
9
- gender: z.ZodOptional<z.ZodString>;
10
- birthDate: z.ZodOptional<z.ZodDate>;
11
- profilePictureUrl: z.ZodOptional<z.ZodString>;
12
- instagram: z.ZodOptional<z.ZodString>;
13
- mail: z.ZodOptional<z.ZodString>;
14
- dni: z.ZodOptional<z.ZodString>;
15
- alternativeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16
- birthLongitude: z.ZodOptional<z.ZodNumber>;
17
- birthLatitude: z.ZodOptional<z.ZodNumber>;
18
- residenceLongitude: z.ZodOptional<z.ZodNumber>;
19
- residenceLatitude: z.ZodOptional<z.ZodNumber>;
8
+ firstName: z.ZodNullable<z.ZodString>;
9
+ gender: z.ZodNullable<z.ZodString>;
10
+ birthDate: z.ZodNullable<z.ZodDate>;
11
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
12
+ instagram: z.ZodNullable<z.ZodString>;
13
+ mail: z.ZodNullable<z.ZodString>;
14
+ dni: z.ZodNullable<z.ZodString>;
15
+ alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
16
+ birthLongitude: z.ZodNullable<z.ZodNumber>;
17
+ birthLatitude: z.ZodNullable<z.ZodNumber>;
18
+ residenceLongitude: z.ZodNullable<z.ZodNumber>;
19
+ residenceLatitude: z.ZodNullable<z.ZodNumber>;
20
20
  isInTrash: z.ZodBoolean;
21
- movedToTrashDate: z.ZodOptional<z.ZodDate>;
21
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
22
22
  created_at: z.ZodDate;
23
23
  updated_at: z.ZodDate;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  id: string;
26
26
  phoneNumber: string;
27
+ secondaryPhoneNumber: string | null;
27
28
  fullName: string;
29
+ profilePictureUrl: string | null;
28
30
  created_at: Date;
29
31
  updated_at: Date;
30
32
  shortId: number;
31
- firstName: string;
33
+ firstName: string | null;
34
+ gender: string | null;
35
+ birthDate: Date | null;
36
+ instagram: string | null;
37
+ mail: string | null;
38
+ dni: string | null;
39
+ alternativeNames: string[] | null;
40
+ birthLongitude: number | null;
41
+ birthLatitude: number | null;
42
+ residenceLongitude: number | null;
43
+ residenceLatitude: number | null;
32
44
  isInTrash: boolean;
33
- secondaryPhoneNumber?: string | undefined;
34
- profilePictureUrl?: string | undefined;
35
- gender?: string | undefined;
36
- birthDate?: Date | undefined;
37
- instagram?: string | undefined;
38
- mail?: string | undefined;
39
- dni?: string | undefined;
40
- alternativeNames?: string[] | undefined;
41
- birthLongitude?: number | undefined;
42
- birthLatitude?: number | undefined;
43
- residenceLongitude?: number | undefined;
44
- residenceLatitude?: number | undefined;
45
- movedToTrashDate?: Date | undefined;
45
+ movedToTrashDate: Date | null;
46
46
  }, {
47
47
  id: string;
48
48
  phoneNumber: string;
49
+ secondaryPhoneNumber: string | null;
49
50
  fullName: string;
51
+ profilePictureUrl: string | null;
50
52
  created_at: Date;
51
53
  updated_at: Date;
52
54
  shortId: number;
53
- firstName: string;
55
+ firstName: string | null;
56
+ gender: string | null;
57
+ birthDate: Date | null;
58
+ instagram: string | null;
59
+ mail: string | null;
60
+ dni: string | null;
61
+ alternativeNames: string[] | null;
62
+ birthLongitude: number | null;
63
+ birthLatitude: number | null;
64
+ residenceLongitude: number | null;
65
+ residenceLatitude: number | null;
54
66
  isInTrash: boolean;
55
- secondaryPhoneNumber?: string | undefined;
56
- profilePictureUrl?: string | undefined;
57
- gender?: string | undefined;
58
- birthDate?: Date | undefined;
59
- instagram?: string | undefined;
60
- mail?: string | undefined;
61
- dni?: string | undefined;
62
- alternativeNames?: string[] | undefined;
63
- birthLongitude?: number | undefined;
64
- birthLatitude?: number | undefined;
65
- residenceLongitude?: number | undefined;
66
- residenceLatitude?: number | undefined;
67
- movedToTrashDate?: Date | undefined;
67
+ movedToTrashDate: Date | null;
68
68
  }>;
@@ -22,34 +22,37 @@ exports.profileSchema = zod_1.default.object({
22
22
  }),
23
23
  secondaryPhoneNumber: zod_1.default
24
24
  .string()
25
- .optional()
25
+ .nullable()
26
26
  .refine(validator_1.default.isMobilePhone, {
27
27
  message: (0, translate_1.translate)('model.profile.secondaryPhoneNumber.invalid'),
28
28
  }),
29
29
  fullName: zod_1.default.string().min(1, {
30
30
  message: (0, translate_1.translate)('model.profile.fullName.required'),
31
31
  }),
32
- firstName: zod_1.default.string().min(1, {
32
+ firstName: zod_1.default
33
+ .string()
34
+ .min(1, {
33
35
  message: (0, translate_1.translate)('model.profile.fullName.required'),
34
- }),
35
- gender: zod_1.default.string().optional(),
36
- birthDate: zod_1.default.date().optional(),
36
+ })
37
+ .nullable(),
38
+ gender: zod_1.default.string().nullable(),
39
+ birthDate: zod_1.default.date().nullable(),
37
40
  profilePictureUrl: zod_1.default
38
41
  .string()
39
42
  .url({
40
43
  message: (0, translate_1.translate)('model.profile.profilePictureUrl.invalid'),
41
44
  })
42
- .optional(),
43
- instagram: zod_1.default.string().optional(),
44
- mail: zod_1.default.string().email().optional(),
45
- dni: zod_1.default.string().optional(),
46
- alternativeNames: zod_1.default.array(zod_1.default.string()).optional(),
47
- birthLongitude: zod_1.default.number().min(-180).max(180).optional(),
48
- birthLatitude: zod_1.default.number().min(-90).max(90).optional(),
49
- residenceLongitude: zod_1.default.number().min(-180).max(180).optional(),
50
- residenceLatitude: zod_1.default.number().min(-90).max(90).optional(),
45
+ .nullable(),
46
+ instagram: zod_1.default.string().nullable(),
47
+ mail: zod_1.default.string().email().nullable(),
48
+ dni: zod_1.default.string().nullable(),
49
+ alternativeNames: zod_1.default.array(zod_1.default.string()).nullable(),
50
+ birthLongitude: zod_1.default.number().min(-180).max(180).nullable(),
51
+ birthLatitude: zod_1.default.number().min(-90).max(90).nullable(),
52
+ residenceLongitude: zod_1.default.number().min(-180).max(180).nullable(),
53
+ residenceLatitude: zod_1.default.number().min(-90).max(90).nullable(),
51
54
  isInTrash: zod_1.default.boolean(),
52
- movedToTrashDate: zod_1.default.date().optional(),
55
+ movedToTrashDate: zod_1.default.date().nullable(),
53
56
  created_at: zod_1.default.date(),
54
57
  updated_at: zod_1.default.date(),
55
58
  });
@@ -0,0 +1,260 @@
1
+ import z from 'zod';
2
+ export declare const massiveAllocationSchema: z.ZodObject<{
3
+ tagIds: z.ZodArray<z.ZodString, "many">;
4
+ profileIds: z.ZodArray<z.ZodString, "many">;
5
+ }, "strip", z.ZodTypeAny, {
6
+ tagIds: string[];
7
+ profileIds: string[];
8
+ }, {
9
+ tagIds: string[];
10
+ profileIds: string[];
11
+ }>;
12
+ declare const MassiveAllocationDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
13
+ tagIds: z.ZodArray<z.ZodString, "many">;
14
+ profileIds: z.ZodArray<z.ZodString, "many">;
15
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
16
+ tagIds: string[];
17
+ profileIds: string[];
18
+ }, {
19
+ tagIds: string[];
20
+ profileIds: string[];
21
+ }>>;
22
+ export declare class MassiveAllocationDto extends MassiveAllocationDto_base {
23
+ }
24
+ export declare const massiveAllocationResponseSchema: z.ZodObject<{
25
+ profiles: z.ZodArray<z.ZodObject<{
26
+ id: z.ZodString;
27
+ shortId: z.ZodNumber;
28
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
29
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
30
+ fullName: z.ZodString;
31
+ firstName: z.ZodNullable<z.ZodString>;
32
+ gender: z.ZodNullable<z.ZodString>;
33
+ birthDate: z.ZodNullable<z.ZodDate>;
34
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
35
+ instagram: z.ZodNullable<z.ZodString>;
36
+ mail: z.ZodNullable<z.ZodString>;
37
+ dni: z.ZodNullable<z.ZodString>;
38
+ alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
39
+ birthLongitude: z.ZodNullable<z.ZodNumber>;
40
+ birthLatitude: z.ZodNullable<z.ZodNumber>;
41
+ residenceLongitude: z.ZodNullable<z.ZodNumber>;
42
+ residenceLatitude: z.ZodNullable<z.ZodNumber>;
43
+ isInTrash: z.ZodBoolean;
44
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
45
+ created_at: z.ZodDate;
46
+ updated_at: z.ZodDate;
47
+ }, "strip", z.ZodTypeAny, {
48
+ id: string;
49
+ phoneNumber: string;
50
+ secondaryPhoneNumber: string | null;
51
+ fullName: string;
52
+ profilePictureUrl: string | null;
53
+ created_at: Date;
54
+ updated_at: Date;
55
+ shortId: number;
56
+ firstName: string | null;
57
+ gender: string | null;
58
+ birthDate: Date | null;
59
+ instagram: string | null;
60
+ mail: string | null;
61
+ dni: string | null;
62
+ alternativeNames: string[] | null;
63
+ birthLongitude: number | null;
64
+ birthLatitude: number | null;
65
+ residenceLongitude: number | null;
66
+ residenceLatitude: number | null;
67
+ isInTrash: boolean;
68
+ movedToTrashDate: Date | null;
69
+ }, {
70
+ id: string;
71
+ phoneNumber: string;
72
+ secondaryPhoneNumber: string | null;
73
+ fullName: string;
74
+ profilePictureUrl: string | null;
75
+ created_at: Date;
76
+ updated_at: Date;
77
+ shortId: number;
78
+ firstName: string | null;
79
+ gender: string | null;
80
+ birthDate: Date | null;
81
+ instagram: string | null;
82
+ mail: string | null;
83
+ dni: string | null;
84
+ alternativeNames: string[] | null;
85
+ birthLongitude: number | null;
86
+ birthLatitude: number | null;
87
+ residenceLongitude: number | null;
88
+ residenceLatitude: number | null;
89
+ isInTrash: boolean;
90
+ movedToTrashDate: Date | null;
91
+ }>, "many">;
92
+ }, "strip", z.ZodTypeAny, {
93
+ profiles: {
94
+ id: string;
95
+ phoneNumber: string;
96
+ secondaryPhoneNumber: string | null;
97
+ fullName: string;
98
+ profilePictureUrl: string | null;
99
+ created_at: Date;
100
+ updated_at: Date;
101
+ shortId: number;
102
+ firstName: string | null;
103
+ gender: string | null;
104
+ birthDate: Date | null;
105
+ instagram: string | null;
106
+ mail: string | null;
107
+ dni: string | null;
108
+ alternativeNames: string[] | null;
109
+ birthLongitude: number | null;
110
+ birthLatitude: number | null;
111
+ residenceLongitude: number | null;
112
+ residenceLatitude: number | null;
113
+ isInTrash: boolean;
114
+ movedToTrashDate: Date | null;
115
+ }[];
116
+ }, {
117
+ profiles: {
118
+ id: string;
119
+ phoneNumber: string;
120
+ secondaryPhoneNumber: string | null;
121
+ fullName: string;
122
+ profilePictureUrl: string | null;
123
+ created_at: Date;
124
+ updated_at: Date;
125
+ shortId: number;
126
+ firstName: string | null;
127
+ gender: string | null;
128
+ birthDate: Date | null;
129
+ instagram: string | null;
130
+ mail: string | null;
131
+ dni: string | null;
132
+ alternativeNames: string[] | null;
133
+ birthLongitude: number | null;
134
+ birthLatitude: number | null;
135
+ residenceLongitude: number | null;
136
+ residenceLatitude: number | null;
137
+ isInTrash: boolean;
138
+ movedToTrashDate: Date | null;
139
+ }[];
140
+ }>;
141
+ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
142
+ profiles: z.ZodArray<z.ZodObject<{
143
+ id: z.ZodString;
144
+ shortId: z.ZodNumber;
145
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
146
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
147
+ fullName: z.ZodString;
148
+ firstName: z.ZodNullable<z.ZodString>;
149
+ gender: z.ZodNullable<z.ZodString>;
150
+ birthDate: z.ZodNullable<z.ZodDate>;
151
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
152
+ instagram: z.ZodNullable<z.ZodString>;
153
+ mail: z.ZodNullable<z.ZodString>;
154
+ dni: z.ZodNullable<z.ZodString>;
155
+ alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
156
+ birthLongitude: z.ZodNullable<z.ZodNumber>;
157
+ birthLatitude: z.ZodNullable<z.ZodNumber>;
158
+ residenceLongitude: z.ZodNullable<z.ZodNumber>;
159
+ residenceLatitude: z.ZodNullable<z.ZodNumber>;
160
+ isInTrash: z.ZodBoolean;
161
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
162
+ created_at: z.ZodString;
163
+ updated_at: z.ZodString;
164
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
165
+ id: string;
166
+ phoneNumber: string;
167
+ secondaryPhoneNumber: string | null;
168
+ fullName: string;
169
+ profilePictureUrl: string | null;
170
+ created_at: string;
171
+ updated_at: string;
172
+ shortId: number;
173
+ firstName: string | null;
174
+ gender: string | null;
175
+ birthDate: Date | null;
176
+ instagram: string | null;
177
+ mail: string | null;
178
+ dni: string | null;
179
+ alternativeNames: string[] | null;
180
+ birthLongitude: number | null;
181
+ birthLatitude: number | null;
182
+ residenceLongitude: number | null;
183
+ residenceLatitude: number | null;
184
+ isInTrash: boolean;
185
+ movedToTrashDate: Date | null;
186
+ }, {
187
+ id: string;
188
+ phoneNumber: string;
189
+ secondaryPhoneNumber: string | null;
190
+ fullName: string;
191
+ profilePictureUrl: string | null;
192
+ created_at: string;
193
+ updated_at: string;
194
+ shortId: number;
195
+ firstName: string | null;
196
+ gender: string | null;
197
+ birthDate: Date | null;
198
+ instagram: string | null;
199
+ mail: string | null;
200
+ dni: string | null;
201
+ alternativeNames: string[] | null;
202
+ birthLongitude: number | null;
203
+ birthLatitude: number | null;
204
+ residenceLongitude: number | null;
205
+ residenceLatitude: number | null;
206
+ isInTrash: boolean;
207
+ movedToTrashDate: Date | null;
208
+ }>, "many">;
209
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
210
+ profiles: {
211
+ id: string;
212
+ phoneNumber: string;
213
+ secondaryPhoneNumber: string | null;
214
+ fullName: string;
215
+ profilePictureUrl: string | null;
216
+ created_at: string;
217
+ updated_at: string;
218
+ shortId: number;
219
+ firstName: string | null;
220
+ gender: string | null;
221
+ birthDate: Date | null;
222
+ instagram: string | null;
223
+ mail: string | null;
224
+ dni: string | null;
225
+ alternativeNames: string[] | null;
226
+ birthLongitude: number | null;
227
+ birthLatitude: number | null;
228
+ residenceLongitude: number | null;
229
+ residenceLatitude: number | null;
230
+ isInTrash: boolean;
231
+ movedToTrashDate: Date | null;
232
+ }[];
233
+ }, {
234
+ profiles: {
235
+ id: string;
236
+ phoneNumber: string;
237
+ secondaryPhoneNumber: string | null;
238
+ fullName: string;
239
+ profilePictureUrl: string | null;
240
+ created_at: string;
241
+ updated_at: string;
242
+ shortId: number;
243
+ firstName: string | null;
244
+ gender: string | null;
245
+ birthDate: Date | null;
246
+ instagram: string | null;
247
+ mail: string | null;
248
+ dni: string | null;
249
+ alternativeNames: string[] | null;
250
+ birthLongitude: number | null;
251
+ birthLatitude: number | null;
252
+ residenceLongitude: number | null;
253
+ residenceLatitude: number | null;
254
+ isInTrash: boolean;
255
+ movedToTrashDate: Date | null;
256
+ }[];
257
+ }>>;
258
+ export declare class MassiveAllocationResponseDto extends MassiveAllocationResponseDto_base {
259
+ }
260
+ export {};
@@ -0,0 +1,24 @@
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.MassiveAllocationResponseDto = exports.massiveAllocationResponseSchema = exports.MassiveAllocationDto = exports.massiveAllocationSchema = void 0;
7
+ const profile_dto_1 = require("../../profile/dto/profile.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const tag_dto_1 = require("./tag.dto");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ exports.massiveAllocationSchema = zod_1.default.object({
12
+ tagIds: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
13
+ profileIds: zod_1.default.array(profile_dto_1.profileSchema.shape.id),
14
+ });
15
+ class MassiveAllocationDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveAllocationSchema) {
16
+ }
17
+ exports.MassiveAllocationDto = MassiveAllocationDto;
18
+ exports.massiveAllocationResponseSchema = zod_1.default.object({
19
+ profiles: zod_1.default.array(profile_dto_1.profileSchema),
20
+ });
21
+ class MassiveAllocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveAllocationResponseSchema) {
22
+ }
23
+ exports.MassiveAllocationResponseDto = MassiveAllocationResponseDto;
24
+ //# sourceMappingURL=massive-allocation.dto.js.map