expo-backend-types 0.22.0-EXPO-251-EB-Whatsapp.2 → 0.22.0-EXPO-288-EB-Imagenes.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/README.md +1 -1
  2. package/dist/src/event/dto/event.dto.js +1 -1
  3. package/dist/src/event/dto/get-all-event.dto.d.ts +160 -160
  4. package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -48
  5. package/dist/src/event/dto/update-event.dto.d.ts +20 -20
  6. package/dist/src/i18n/es.d.ts +18 -43
  7. package/dist/src/i18n/es.js +18 -43
  8. package/dist/src/i18n/es.js.map +1 -1
  9. package/dist/src/image/dto/delete-image.dto.d.ts +18 -0
  10. package/dist/src/image/dto/delete-image.dto.js +12 -0
  11. package/dist/src/image/dto/image.dto.d.ts +24 -0
  12. package/dist/src/image/dto/image.dto.js +18 -0
  13. package/dist/src/image/dto/update-image.dto.d.ts +18 -0
  14. package/dist/src/image/dto/update-image.dto.js +15 -0
  15. package/dist/src/image/exports.d.ts +3 -0
  16. package/dist/src/{csv → image}/exports.js +3 -3
  17. package/dist/src/location/dto/find-all-location.dto.d.ts +16 -16
  18. package/dist/src/message/dto/message.dto.d.ts +2 -2
  19. package/dist/src/message/exports.d.ts +0 -4
  20. package/dist/src/message/exports.js +0 -4
  21. package/dist/src/profile/dto/find-all-profile.dto.d.ts +86 -86
  22. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +124 -124
  23. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +52 -52
  24. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +64 -64
  25. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +84 -84
  26. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +72 -72
  27. package/dist/src/profile/dto/update-profile.dto.d.ts +4 -4
  28. package/dist/types/prisma-schema/default.d.ts +1 -1
  29. package/dist/types/prisma-schema/edge.d.ts +1 -1
  30. package/dist/types/prisma-schema/edge.js +11 -7
  31. package/dist/types/prisma-schema/index-browser.js +7 -4
  32. package/dist/types/prisma-schema/index.d.ts +803 -1034
  33. package/dist/types/prisma-schema/index.js +11 -7
  34. package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  35. package/dist/types/prisma-schema/package.json +14 -1
  36. package/dist/types/prisma-schema/runtime/edge-esm.js +21 -18
  37. package/dist/types/prisma-schema/runtime/edge.js +21 -18
  38. package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
  39. package/dist/types/prisma-schema/runtime/library.d.ts +297 -87
  40. package/dist/types/prisma-schema/runtime/library.js +64 -61
  41. package/dist/types/prisma-schema/runtime/react-native.js +31 -28
  42. package/dist/types/prisma-schema/runtime/wasm.js +22 -19
  43. package/dist/types/prisma-schema/wasm.d.ts +1 -1
  44. package/dist/types/prisma-schema/wasm.js +7 -4
  45. package/dist/types/schema.d.ts +30 -145
  46. package/package.json +5 -7
  47. package/dist/src/csv/dto/csv.dto.d.ts +0 -18
  48. package/dist/src/csv/dto/csv.dto.js +0 -17
  49. package/dist/src/csv/dto/download-all-tables.dto.d.ts +0 -23
  50. package/dist/src/csv/dto/download-all-tables.dto.js +0 -19
  51. package/dist/src/csv/dto/download-profiles.dto.d.ts +0 -18
  52. package/dist/src/csv/dto/download-profiles.dto.js +0 -15
  53. package/dist/src/csv/exports.d.ts +0 -3
  54. package/dist/src/message/dto/create-template.dto.d.ts +0 -93
  55. package/dist/src/message/dto/create-template.dto.js +0 -24
  56. package/dist/src/message/dto/find-template-by-id.dto.d.ts +0 -245
  57. package/dist/src/message/dto/find-template-by-id.dto.js +0 -23
  58. package/dist/src/message/dto/find-templates.dto.d.ts +0 -109
  59. package/dist/src/message/dto/find-templates.dto.js +0 -20
  60. package/dist/src/message/dto/template.dto.d.ts +0 -154
  61. package/dist/src/message/dto/template.dto.js +0 -58
@@ -0,0 +1,15 @@
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.UpdateImageResponseDto = exports.updateImageResponseSchema = void 0;
7
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
+ const zod_1 = __importDefault(require("zod"));
9
+ exports.updateImageResponseSchema = zod_1.default.object({
10
+ message: zod_1.default.string(),
11
+ });
12
+ class UpdateImageResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateImageResponseSchema) {
13
+ }
14
+ exports.UpdateImageResponseDto = UpdateImageResponseDto;
15
+ //# sourceMappingURL=update-image.dto.js.map
@@ -0,0 +1,3 @@
1
+ export * from './dto/delete-image.dto';
2
+ export * from './dto/image.dto';
3
+ export * from './dto/update-image.dto';
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dto/csv.dto"), exports);
18
- __exportStar(require("./dto/download-all-tables.dto"), exports);
19
- __exportStar(require("./dto/download-profiles.dto"), exports);
17
+ __exportStar(require("./dto/delete-image.dto"), exports);
18
+ __exportStar(require("./dto/image.dto"), exports);
19
+ __exportStar(require("./dto/update-image.dto"), exports);
20
20
  //# sourceMappingURL=exports.js.map
@@ -15,17 +15,17 @@ export declare const findAllLocationResponseSchema: z.ZodObject<{
15
15
  }>, "strip", z.ZodTypeAny, {
16
16
  latitude: number;
17
17
  longitude: number;
18
- city: string;
19
18
  _count: {
20
19
  birthProfiles: number;
21
20
  };
21
+ city: string;
22
22
  }, {
23
23
  latitude: number;
24
24
  longitude: number;
25
- city: string;
26
25
  _count: {
27
26
  birthProfiles: number;
28
27
  };
28
+ city: string;
29
29
  }>, "many">;
30
30
  residenceLocations: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
31
31
  city: z.ZodString;
@@ -42,51 +42,51 @@ export declare const findAllLocationResponseSchema: z.ZodObject<{
42
42
  }>, "strip", z.ZodTypeAny, {
43
43
  latitude: number;
44
44
  longitude: number;
45
- city: string;
46
45
  _count: {
47
46
  residenceProfiles: number;
48
47
  };
48
+ city: string;
49
49
  }, {
50
50
  latitude: number;
51
51
  longitude: number;
52
- city: string;
53
52
  _count: {
54
53
  residenceProfiles: number;
55
54
  };
55
+ city: string;
56
56
  }>, "many">;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  birthLocations: {
59
59
  latitude: number;
60
60
  longitude: number;
61
- city: string;
62
61
  _count: {
63
62
  birthProfiles: number;
64
63
  };
64
+ city: string;
65
65
  }[];
66
66
  residenceLocations: {
67
67
  latitude: number;
68
68
  longitude: number;
69
- city: string;
70
69
  _count: {
71
70
  residenceProfiles: number;
72
71
  };
72
+ city: string;
73
73
  }[];
74
74
  }, {
75
75
  birthLocations: {
76
76
  latitude: number;
77
77
  longitude: number;
78
- city: string;
79
78
  _count: {
80
79
  birthProfiles: number;
81
80
  };
81
+ city: string;
82
82
  }[];
83
83
  residenceLocations: {
84
84
  latitude: number;
85
85
  longitude: number;
86
- city: string;
87
86
  _count: {
88
87
  residenceProfiles: number;
89
88
  };
89
+ city: string;
90
90
  }[];
91
91
  }>;
92
92
  declare const FindAllLocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -104,17 +104,17 @@ declare const FindAllLocationResponseDto_base: import("@anatine/zod-nestjs").Zod
104
104
  }, z.UnknownKeysParam, z.ZodTypeAny, {
105
105
  latitude: number;
106
106
  longitude: number;
107
- city: string;
108
107
  _count: {
109
108
  birthProfiles: number;
110
109
  };
110
+ city: string;
111
111
  }, {
112
112
  latitude: number;
113
113
  longitude: number;
114
- city: string;
115
114
  _count: {
116
115
  birthProfiles: number;
117
116
  };
117
+ city: string;
118
118
  }>, "many">;
119
119
  residenceLocations: z.ZodArray<z.ZodObject<{
120
120
  city: z.ZodString;
@@ -130,51 +130,51 @@ declare const FindAllLocationResponseDto_base: import("@anatine/zod-nestjs").Zod
130
130
  }, z.UnknownKeysParam, z.ZodTypeAny, {
131
131
  latitude: number;
132
132
  longitude: number;
133
- city: string;
134
133
  _count: {
135
134
  residenceProfiles: number;
136
135
  };
136
+ city: string;
137
137
  }, {
138
138
  latitude: number;
139
139
  longitude: number;
140
- city: string;
141
140
  _count: {
142
141
  residenceProfiles: number;
143
142
  };
143
+ city: string;
144
144
  }>, "many">;
145
145
  }, z.UnknownKeysParam, z.ZodTypeAny, {
146
146
  birthLocations: {
147
147
  latitude: number;
148
148
  longitude: number;
149
- city: string;
150
149
  _count: {
151
150
  birthProfiles: number;
152
151
  };
152
+ city: string;
153
153
  }[];
154
154
  residenceLocations: {
155
155
  latitude: number;
156
156
  longitude: number;
157
- city: string;
158
157
  _count: {
159
158
  residenceProfiles: number;
160
159
  };
160
+ city: string;
161
161
  }[];
162
162
  }, {
163
163
  birthLocations: {
164
164
  latitude: number;
165
165
  longitude: number;
166
- city: string;
167
166
  _count: {
168
167
  birthProfiles: number;
169
168
  };
169
+ city: string;
170
170
  }[];
171
171
  residenceLocations: {
172
172
  latitude: number;
173
173
  longitude: number;
174
- city: string;
175
174
  _count: {
176
175
  residenceProfiles: number;
177
176
  };
177
+ city: string;
178
178
  }[];
179
179
  }>>;
180
180
  export declare class FindAllLocationResponseDto extends FindAllLocationResponseDto_base {
@@ -145,8 +145,8 @@ export declare const messageSchema: z.ZodObject<{
145
145
  id: string;
146
146
  created_at: Date;
147
147
  updated_at: Date;
148
- wamId: string;
149
148
  state: "SENT" | "RECEIVED" | "SEEN";
149
+ wamId: string;
150
150
  }, {
151
151
  message: {
152
152
  id: string;
@@ -168,6 +168,6 @@ export declare const messageSchema: z.ZodObject<{
168
168
  id: string;
169
169
  created_at: Date;
170
170
  updated_at: Date;
171
- wamId: string;
172
171
  state: "SENT" | "RECEIVED" | "SEEN";
172
+ wamId: string;
173
173
  }>;
@@ -1,5 +1 @@
1
- export * from './dto/create-template.dto';
2
- export * from './dto/find-template-by-id.dto';
3
- export * from './dto/find-templates.dto';
4
1
  export * from './dto/message.dto';
5
- export * from './dto/template.dto';
@@ -14,9 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dto/create-template.dto"), exports);
18
- __exportStar(require("./dto/find-template-by-id.dto"), exports);
19
- __exportStar(require("./dto/find-templates.dto"), exports);
20
17
  __exportStar(require("./dto/message.dto"), exports);
21
- __exportStar(require("./dto/template.dto"), exports);
22
18
  //# sourceMappingURL=exports.js.map
@@ -80,17 +80,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
80
80
  mail: string | null;
81
81
  created_at: Date;
82
82
  updated_at: Date;
83
- shortId: number;
84
- firstName: string | null;
85
- gender: string | null;
86
- birthDate: Date | null;
87
- instagram: string | null;
88
- dni: string | null;
89
- alternativeNames: string[];
90
- birthLocationId: string | null;
91
- residenceLocationId: string | null;
92
- isInTrash: boolean;
93
- movedToTrashDate: Date | null;
94
83
  tags: {
95
84
  id: string;
96
85
  name: string;
@@ -103,19 +92,10 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
103
92
  isExclusive: boolean;
104
93
  };
105
94
  }[];
106
- }, {
107
- id: string;
108
- phoneNumber: string;
109
- secondaryPhoneNumber: string | null;
110
- fullName: string;
111
- profilePictureUrl: string | null;
112
- mail: string | null;
113
- created_at: Date;
114
- updated_at: Date;
115
95
  shortId: number;
116
96
  firstName: string | null;
117
97
  gender: string | null;
118
- birthDate: string | null;
98
+ birthDate: Date | null;
119
99
  instagram: string | null;
120
100
  dni: string | null;
121
101
  alternativeNames: string[];
@@ -123,6 +103,15 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
123
103
  residenceLocationId: string | null;
124
104
  isInTrash: boolean;
125
105
  movedToTrashDate: Date | null;
106
+ }, {
107
+ id: string;
108
+ phoneNumber: string;
109
+ secondaryPhoneNumber: string | null;
110
+ fullName: string;
111
+ profilePictureUrl: string | null;
112
+ mail: string | null;
113
+ created_at: Date;
114
+ updated_at: Date;
126
115
  tags: {
127
116
  id: string;
128
117
  name: string;
@@ -135,6 +124,17 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
135
124
  isExclusive: boolean;
136
125
  };
137
126
  }[];
127
+ shortId: number;
128
+ firstName: string | null;
129
+ gender: string | null;
130
+ birthDate: string | null;
131
+ instagram: string | null;
132
+ dni: string | null;
133
+ alternativeNames: string[];
134
+ birthLocationId: string | null;
135
+ residenceLocationId: string | null;
136
+ isInTrash: boolean;
137
+ movedToTrashDate: Date | null;
138
138
  }>, "many">;
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  profiles: {
@@ -146,17 +146,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
146
146
  mail: string | null;
147
147
  created_at: Date;
148
148
  updated_at: Date;
149
- shortId: number;
150
- firstName: string | null;
151
- gender: string | null;
152
- birthDate: Date | null;
153
- instagram: string | null;
154
- dni: string | null;
155
- alternativeNames: string[];
156
- birthLocationId: string | null;
157
- residenceLocationId: string | null;
158
- isInTrash: boolean;
159
- movedToTrashDate: Date | null;
160
149
  tags: {
161
150
  id: string;
162
151
  name: string;
@@ -169,6 +158,17 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
169
158
  isExclusive: boolean;
170
159
  };
171
160
  }[];
161
+ shortId: number;
162
+ firstName: string | null;
163
+ gender: string | null;
164
+ birthDate: Date | null;
165
+ instagram: string | null;
166
+ dni: string | null;
167
+ alternativeNames: string[];
168
+ birthLocationId: string | null;
169
+ residenceLocationId: string | null;
170
+ isInTrash: boolean;
171
+ movedToTrashDate: Date | null;
172
172
  }[];
173
173
  }, {
174
174
  profiles: {
@@ -180,17 +180,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
180
180
  mail: string | null;
181
181
  created_at: Date;
182
182
  updated_at: Date;
183
- shortId: number;
184
- firstName: string | null;
185
- gender: string | null;
186
- birthDate: string | null;
187
- instagram: string | null;
188
- dni: string | null;
189
- alternativeNames: string[];
190
- birthLocationId: string | null;
191
- residenceLocationId: string | null;
192
- isInTrash: boolean;
193
- movedToTrashDate: Date | null;
194
183
  tags: {
195
184
  id: string;
196
185
  name: string;
@@ -203,6 +192,17 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
203
192
  isExclusive: boolean;
204
193
  };
205
194
  }[];
195
+ shortId: number;
196
+ firstName: string | null;
197
+ gender: string | null;
198
+ birthDate: string | null;
199
+ instagram: string | null;
200
+ dni: string | null;
201
+ alternativeNames: string[];
202
+ birthLocationId: string | null;
203
+ residenceLocationId: string | null;
204
+ isInTrash: boolean;
205
+ movedToTrashDate: Date | null;
206
206
  }[];
207
207
  }>;
208
208
  declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -280,17 +280,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
280
280
  mail: string | null;
281
281
  created_at: string;
282
282
  updated_at: string;
283
- shortId: number;
284
- firstName: string | null;
285
- gender: string | null;
286
- birthDate: Date | null;
287
- instagram: string | null;
288
- dni: string | null;
289
- alternativeNames: string[];
290
- birthLocationId: string | null;
291
- residenceLocationId: string | null;
292
- isInTrash: boolean;
293
- movedToTrashDate: string | null;
294
283
  tags: {
295
284
  id: string;
296
285
  name: string;
@@ -303,19 +292,10 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
303
292
  isExclusive: boolean;
304
293
  };
305
294
  }[];
306
- }, {
307
- id: string;
308
- phoneNumber: string;
309
- secondaryPhoneNumber: string | null;
310
- fullName: string;
311
- profilePictureUrl: string | null;
312
- mail: string | null;
313
- created_at: string;
314
- updated_at: string;
315
295
  shortId: number;
316
296
  firstName: string | null;
317
297
  gender: string | null;
318
- birthDate: string | null;
298
+ birthDate: Date | null;
319
299
  instagram: string | null;
320
300
  dni: string | null;
321
301
  alternativeNames: string[];
@@ -323,6 +303,15 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
323
303
  residenceLocationId: string | null;
324
304
  isInTrash: boolean;
325
305
  movedToTrashDate: string | null;
306
+ }, {
307
+ id: string;
308
+ phoneNumber: string;
309
+ secondaryPhoneNumber: string | null;
310
+ fullName: string;
311
+ profilePictureUrl: string | null;
312
+ mail: string | null;
313
+ created_at: string;
314
+ updated_at: string;
326
315
  tags: {
327
316
  id: string;
328
317
  name: string;
@@ -335,6 +324,17 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
335
324
  isExclusive: boolean;
336
325
  };
337
326
  }[];
327
+ shortId: number;
328
+ firstName: string | null;
329
+ gender: string | null;
330
+ birthDate: string | null;
331
+ instagram: string | null;
332
+ dni: string | null;
333
+ alternativeNames: string[];
334
+ birthLocationId: string | null;
335
+ residenceLocationId: string | null;
336
+ isInTrash: boolean;
337
+ movedToTrashDate: string | null;
338
338
  }>, "many">;
339
339
  }, z.UnknownKeysParam, z.ZodTypeAny, {
340
340
  profiles: {
@@ -346,17 +346,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
346
346
  mail: string | null;
347
347
  created_at: string;
348
348
  updated_at: string;
349
- shortId: number;
350
- firstName: string | null;
351
- gender: string | null;
352
- birthDate: Date | null;
353
- instagram: string | null;
354
- dni: string | null;
355
- alternativeNames: string[];
356
- birthLocationId: string | null;
357
- residenceLocationId: string | null;
358
- isInTrash: boolean;
359
- movedToTrashDate: string | null;
360
349
  tags: {
361
350
  id: string;
362
351
  name: string;
@@ -369,6 +358,17 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
369
358
  isExclusive: boolean;
370
359
  };
371
360
  }[];
361
+ shortId: number;
362
+ firstName: string | null;
363
+ gender: string | null;
364
+ birthDate: Date | null;
365
+ instagram: string | null;
366
+ dni: string | null;
367
+ alternativeNames: string[];
368
+ birthLocationId: string | null;
369
+ residenceLocationId: string | null;
370
+ isInTrash: boolean;
371
+ movedToTrashDate: string | null;
372
372
  }[];
373
373
  }, {
374
374
  profiles: {
@@ -380,17 +380,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
380
380
  mail: string | null;
381
381
  created_at: string;
382
382
  updated_at: string;
383
- shortId: number;
384
- firstName: string | null;
385
- gender: string | null;
386
- birthDate: string | null;
387
- instagram: string | null;
388
- dni: string | null;
389
- alternativeNames: string[];
390
- birthLocationId: string | null;
391
- residenceLocationId: string | null;
392
- isInTrash: boolean;
393
- movedToTrashDate: string | null;
394
383
  tags: {
395
384
  id: string;
396
385
  name: string;
@@ -403,6 +392,17 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
403
392
  isExclusive: boolean;
404
393
  };
405
394
  }[];
395
+ shortId: number;
396
+ firstName: string | null;
397
+ gender: string | null;
398
+ birthDate: string | null;
399
+ instagram: string | null;
400
+ dni: string | null;
401
+ alternativeNames: string[];
402
+ birthLocationId: string | null;
403
+ residenceLocationId: string | null;
404
+ isInTrash: boolean;
405
+ movedToTrashDate: string | null;
406
406
  }[];
407
407
  }>>;
408
408
  export declare class FindAllProfileResponseDto extends FindAllProfileResponseDto_base {