expo-backend-types 0.9.0-EXPO-249-EB-Modelo.2 → 0.9.0-EXPO-249-EB-Modelo.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -293,6 +293,10 @@ declare const _default: {
293
293
  readonly 'find-all': {
294
294
  readonly success: "Perfiles obtenidos";
295
295
  };
296
+ readonly 'find-by-id': {
297
+ readonly 'not-found': "Perfil no encontrado";
298
+ readonly success: "Perfil obtenido";
299
+ };
296
300
  };
297
301
  };
298
302
  };
@@ -295,6 +295,10 @@ exports.default = {
295
295
  'find-all': {
296
296
  success: 'Perfiles obtenidos',
297
297
  },
298
+ 'find-by-id': {
299
+ 'not-found': 'Perfil no encontrado',
300
+ success: 'Perfil obtenido',
301
+ },
298
302
  },
299
303
  },
300
304
  };
@@ -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,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,QAAQ,EAAE,oBAAoB;gBAC9B,IAAI,EAAE,wBAAwB;aAC/B;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,m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;gBAClD,WAAW,EAAE,iCAAiC;aAC/C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,uCAAuC;gBAChD,WAAW,EAAE,iCAAiC;aAC/C;SACF;QACD,OAAO,EAAE;YACP,UAAU,EAAE;gBACV,OAAO,EAAE,oBAAoB;aAC9B;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,sBAAsB;gBACnC,OAAO,EAAE,iBAAiB;aAC3B;SACF;KACF;CACO,CAAC"}
@@ -0,0 +1,475 @@
1
+ import z from 'zod';
2
+ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
3
+ id: z.ZodString;
4
+ shortId: z.ZodNumber;
5
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
6
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
7
+ fullName: z.ZodString;
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
+ birthLocationId: z.ZodNullable<z.ZodString>;
17
+ residenceLocationId: z.ZodNullable<z.ZodString>;
18
+ isInTrash: z.ZodBoolean;
19
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
20
+ created_at: z.ZodDate;
21
+ updated_at: z.ZodDate;
22
+ }, {
23
+ residenceLocation: z.ZodNullable<z.ZodObject<{
24
+ id: z.ZodString;
25
+ latitude: z.ZodNumber;
26
+ longitude: z.ZodNumber;
27
+ country: z.ZodString;
28
+ state: z.ZodString;
29
+ city: z.ZodString;
30
+ created_at: z.ZodDate;
31
+ updated_at: z.ZodDate;
32
+ }, "strip", z.ZodTypeAny, {
33
+ id: string;
34
+ latitude: number;
35
+ longitude: number;
36
+ created_at: Date;
37
+ updated_at: Date;
38
+ state: string;
39
+ country: string;
40
+ city: string;
41
+ }, {
42
+ id: string;
43
+ latitude: number;
44
+ longitude: number;
45
+ created_at: Date;
46
+ updated_at: Date;
47
+ state: string;
48
+ country: string;
49
+ city: string;
50
+ }>>;
51
+ birthLocation: z.ZodNullable<z.ZodObject<{
52
+ id: z.ZodString;
53
+ latitude: z.ZodNumber;
54
+ longitude: z.ZodNumber;
55
+ country: z.ZodString;
56
+ state: z.ZodString;
57
+ city: z.ZodString;
58
+ created_at: z.ZodDate;
59
+ updated_at: z.ZodDate;
60
+ }, "strip", z.ZodTypeAny, {
61
+ id: string;
62
+ latitude: number;
63
+ longitude: number;
64
+ created_at: Date;
65
+ updated_at: Date;
66
+ state: string;
67
+ country: string;
68
+ city: string;
69
+ }, {
70
+ id: string;
71
+ latitude: number;
72
+ longitude: number;
73
+ created_at: Date;
74
+ updated_at: Date;
75
+ state: string;
76
+ country: string;
77
+ city: string;
78
+ }>>;
79
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
80
+ id: z.ZodString;
81
+ name: z.ZodString;
82
+ groupId: z.ZodString;
83
+ type: z.ZodNativeEnum<{
84
+ PROFILE: "PROFILE";
85
+ EVENT: "EVENT";
86
+ PARTICIPANT: "PARTICIPANT";
87
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
88
+ }>;
89
+ created_at: z.ZodDate;
90
+ updated_at: z.ZodDate;
91
+ }, {
92
+ group: z.ZodObject<Pick<{
93
+ id: z.ZodString;
94
+ name: z.ZodString;
95
+ color: z.ZodString;
96
+ isExclusive: z.ZodBoolean;
97
+ created_at: z.ZodDate;
98
+ updated_at: z.ZodDate;
99
+ }, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
100
+ id: string;
101
+ color: string;
102
+ isExclusive: boolean;
103
+ }, {
104
+ id: string;
105
+ color: string;
106
+ isExclusive: boolean;
107
+ }>;
108
+ }>, "strip", z.ZodTypeAny, {
109
+ id: string;
110
+ name: string;
111
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
112
+ created_at: Date;
113
+ updated_at: Date;
114
+ groupId: string;
115
+ group: {
116
+ id: string;
117
+ color: string;
118
+ isExclusive: boolean;
119
+ };
120
+ }, {
121
+ id: string;
122
+ name: string;
123
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
124
+ created_at: Date;
125
+ updated_at: Date;
126
+ groupId: string;
127
+ group: {
128
+ id: string;
129
+ color: string;
130
+ isExclusive: boolean;
131
+ };
132
+ }>, "many">;
133
+ }>, "strip", z.ZodTypeAny, {
134
+ id: string;
135
+ phoneNumber: string;
136
+ secondaryPhoneNumber: string | null;
137
+ fullName: string;
138
+ profilePictureUrl: string | null;
139
+ created_at: Date;
140
+ updated_at: Date;
141
+ tags: {
142
+ id: string;
143
+ name: string;
144
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
145
+ created_at: Date;
146
+ updated_at: Date;
147
+ groupId: string;
148
+ group: {
149
+ id: string;
150
+ color: string;
151
+ isExclusive: boolean;
152
+ };
153
+ }[];
154
+ shortId: number;
155
+ firstName: string | null;
156
+ gender: string | null;
157
+ birthDate: Date | null;
158
+ instagram: string | null;
159
+ mail: string | null;
160
+ dni: string | null;
161
+ alternativeNames: string[] | null;
162
+ birthLocationId: string | null;
163
+ residenceLocationId: string | null;
164
+ isInTrash: boolean;
165
+ movedToTrashDate: Date | null;
166
+ birthLocation: {
167
+ id: string;
168
+ latitude: number;
169
+ longitude: number;
170
+ created_at: Date;
171
+ updated_at: Date;
172
+ state: string;
173
+ country: string;
174
+ city: string;
175
+ } | null;
176
+ residenceLocation: {
177
+ id: string;
178
+ latitude: number;
179
+ longitude: number;
180
+ created_at: Date;
181
+ updated_at: Date;
182
+ state: string;
183
+ country: string;
184
+ city: string;
185
+ } | null;
186
+ }, {
187
+ id: string;
188
+ phoneNumber: string;
189
+ secondaryPhoneNumber: string | null;
190
+ fullName: string;
191
+ profilePictureUrl: string | null;
192
+ created_at: Date;
193
+ updated_at: Date;
194
+ tags: {
195
+ id: string;
196
+ name: string;
197
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
198
+ created_at: Date;
199
+ updated_at: Date;
200
+ groupId: string;
201
+ group: {
202
+ id: string;
203
+ color: string;
204
+ isExclusive: boolean;
205
+ };
206
+ }[];
207
+ shortId: number;
208
+ firstName: string | null;
209
+ gender: string | null;
210
+ birthDate: Date | null;
211
+ instagram: string | null;
212
+ mail: string | null;
213
+ dni: string | null;
214
+ alternativeNames: string[] | null;
215
+ birthLocationId: string | null;
216
+ residenceLocationId: string | null;
217
+ isInTrash: boolean;
218
+ movedToTrashDate: Date | null;
219
+ birthLocation: {
220
+ id: string;
221
+ latitude: number;
222
+ longitude: number;
223
+ created_at: Date;
224
+ updated_at: Date;
225
+ state: string;
226
+ country: string;
227
+ city: string;
228
+ } | null;
229
+ residenceLocation: {
230
+ id: string;
231
+ latitude: number;
232
+ longitude: number;
233
+ created_at: Date;
234
+ updated_at: Date;
235
+ state: string;
236
+ country: string;
237
+ city: string;
238
+ } | null;
239
+ }>;
240
+ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
241
+ id: z.ZodString;
242
+ shortId: z.ZodNumber;
243
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
244
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
245
+ fullName: z.ZodString;
246
+ firstName: z.ZodNullable<z.ZodString>;
247
+ gender: z.ZodNullable<z.ZodString>;
248
+ birthDate: z.ZodNullable<z.ZodString>;
249
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
250
+ instagram: z.ZodNullable<z.ZodString>;
251
+ mail: z.ZodNullable<z.ZodString>;
252
+ dni: z.ZodNullable<z.ZodString>;
253
+ alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
254
+ birthLocationId: z.ZodNullable<z.ZodString>;
255
+ residenceLocationId: z.ZodNullable<z.ZodString>;
256
+ isInTrash: z.ZodBoolean;
257
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
258
+ created_at: z.ZodString;
259
+ updated_at: z.ZodString;
260
+ residenceLocation: z.ZodNullable<z.ZodObject<{
261
+ id: z.ZodString;
262
+ latitude: z.ZodNumber;
263
+ longitude: z.ZodNumber;
264
+ country: z.ZodString;
265
+ state: z.ZodString;
266
+ city: z.ZodString;
267
+ created_at: z.ZodString;
268
+ updated_at: z.ZodString;
269
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
270
+ id: string;
271
+ latitude: number;
272
+ longitude: number;
273
+ created_at: string;
274
+ updated_at: string;
275
+ state: string;
276
+ country: string;
277
+ city: string;
278
+ }, {
279
+ id: string;
280
+ latitude: number;
281
+ longitude: number;
282
+ created_at: string;
283
+ updated_at: string;
284
+ state: string;
285
+ country: string;
286
+ city: string;
287
+ }>>;
288
+ birthLocation: z.ZodNullable<z.ZodObject<{
289
+ id: z.ZodString;
290
+ latitude: z.ZodNumber;
291
+ longitude: z.ZodNumber;
292
+ country: z.ZodString;
293
+ state: z.ZodString;
294
+ city: z.ZodString;
295
+ created_at: z.ZodString;
296
+ updated_at: z.ZodString;
297
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
298
+ id: string;
299
+ latitude: number;
300
+ longitude: number;
301
+ created_at: string;
302
+ updated_at: string;
303
+ state: string;
304
+ country: string;
305
+ city: string;
306
+ }, {
307
+ id: string;
308
+ latitude: number;
309
+ longitude: number;
310
+ created_at: string;
311
+ updated_at: string;
312
+ state: string;
313
+ country: string;
314
+ city: string;
315
+ }>>;
316
+ tags: z.ZodArray<z.ZodObject<{
317
+ id: z.ZodString;
318
+ name: z.ZodString;
319
+ groupId: z.ZodString;
320
+ type: z.ZodNativeEnum<{
321
+ PROFILE: "PROFILE";
322
+ EVENT: "EVENT";
323
+ PARTICIPANT: "PARTICIPANT";
324
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
325
+ }>;
326
+ created_at: z.ZodString;
327
+ updated_at: z.ZodString;
328
+ group: z.ZodObject<{
329
+ id: z.ZodString;
330
+ color: z.ZodString;
331
+ isExclusive: z.ZodBoolean;
332
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
333
+ id: string;
334
+ color: string;
335
+ isExclusive: boolean;
336
+ }, {
337
+ id: string;
338
+ color: string;
339
+ isExclusive: boolean;
340
+ }>;
341
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
342
+ id: string;
343
+ name: string;
344
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
345
+ created_at: string;
346
+ updated_at: string;
347
+ groupId: string;
348
+ group: {
349
+ id: string;
350
+ color: string;
351
+ isExclusive: boolean;
352
+ };
353
+ }, {
354
+ id: string;
355
+ name: string;
356
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
357
+ created_at: string;
358
+ updated_at: string;
359
+ groupId: string;
360
+ group: {
361
+ id: string;
362
+ color: string;
363
+ isExclusive: boolean;
364
+ };
365
+ }>, "many">;
366
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
367
+ id: string;
368
+ phoneNumber: string;
369
+ secondaryPhoneNumber: string | null;
370
+ fullName: string;
371
+ profilePictureUrl: string | null;
372
+ created_at: string;
373
+ updated_at: string;
374
+ tags: {
375
+ id: string;
376
+ name: string;
377
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
378
+ created_at: string;
379
+ updated_at: string;
380
+ groupId: string;
381
+ group: {
382
+ id: string;
383
+ color: string;
384
+ isExclusive: boolean;
385
+ };
386
+ }[];
387
+ shortId: number;
388
+ firstName: string | null;
389
+ gender: string | null;
390
+ birthDate: string | null;
391
+ instagram: string | null;
392
+ mail: string | null;
393
+ dni: string | null;
394
+ alternativeNames: string[] | null;
395
+ birthLocationId: string | null;
396
+ residenceLocationId: string | null;
397
+ isInTrash: boolean;
398
+ movedToTrashDate: string | null;
399
+ birthLocation: {
400
+ id: string;
401
+ latitude: number;
402
+ longitude: number;
403
+ created_at: string;
404
+ updated_at: string;
405
+ state: string;
406
+ country: string;
407
+ city: string;
408
+ } | null;
409
+ residenceLocation: {
410
+ id: string;
411
+ latitude: number;
412
+ longitude: number;
413
+ created_at: string;
414
+ updated_at: string;
415
+ state: string;
416
+ country: string;
417
+ city: string;
418
+ } | null;
419
+ }, {
420
+ id: string;
421
+ phoneNumber: string;
422
+ secondaryPhoneNumber: string | null;
423
+ fullName: string;
424
+ profilePictureUrl: string | null;
425
+ created_at: string;
426
+ updated_at: string;
427
+ tags: {
428
+ id: string;
429
+ name: string;
430
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
431
+ created_at: string;
432
+ updated_at: string;
433
+ groupId: string;
434
+ group: {
435
+ id: string;
436
+ color: string;
437
+ isExclusive: boolean;
438
+ };
439
+ }[];
440
+ shortId: number;
441
+ firstName: string | null;
442
+ gender: string | null;
443
+ birthDate: string | null;
444
+ instagram: string | null;
445
+ mail: string | null;
446
+ dni: string | null;
447
+ alternativeNames: string[] | null;
448
+ birthLocationId: string | null;
449
+ residenceLocationId: string | null;
450
+ isInTrash: boolean;
451
+ movedToTrashDate: string | null;
452
+ birthLocation: {
453
+ id: string;
454
+ latitude: number;
455
+ longitude: number;
456
+ created_at: string;
457
+ updated_at: string;
458
+ state: string;
459
+ country: string;
460
+ city: string;
461
+ } | null;
462
+ residenceLocation: {
463
+ id: string;
464
+ latitude: number;
465
+ longitude: number;
466
+ created_at: string;
467
+ updated_at: string;
468
+ state: string;
469
+ country: string;
470
+ city: string;
471
+ } | null;
472
+ }>>;
473
+ export declare class FindByIdProfileResponseDto extends FindByIdProfileResponseDto_base {
474
+ }
475
+ export {};
@@ -0,0 +1,27 @@
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.FindByIdProfileResponseDto = exports.findByIdProfileResponseSchema = void 0;
7
+ const location_dto_1 = require("../../location/dto/location.dto");
8
+ const profile_dto_1 = require("./profile.dto");
9
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
+ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
11
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
12
+ const zod_1 = __importDefault(require("zod"));
13
+ exports.findByIdProfileResponseSchema = profile_dto_1.profileSchema.extend({
14
+ residenceLocation: location_dto_1.locationSchema.nullable(),
15
+ birthLocation: location_dto_1.locationSchema.nullable(),
16
+ tags: zod_1.default.array(tag_dto_1.tagSchema.extend({
17
+ group: tag_group_dto_1.tagGroupSchema.pick({
18
+ id: true,
19
+ color: true,
20
+ isExclusive: true,
21
+ }),
22
+ })),
23
+ });
24
+ class FindByIdProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByIdProfileResponseSchema) {
25
+ }
26
+ exports.FindByIdProfileResponseDto = FindByIdProfileResponseDto;
27
+ //# sourceMappingURL=find-by-id-profile.dto.js.map
@@ -527,6 +527,22 @@ export interface paths {
527
527
  patch?: never;
528
528
  trace?: never;
529
529
  };
530
+ "/profile/{id}": {
531
+ parameters: {
532
+ query?: never;
533
+ header?: never;
534
+ path?: never;
535
+ cookie?: never;
536
+ };
537
+ get: operations["ProfileController_findById"];
538
+ put?: never;
539
+ post?: never;
540
+ delete?: never;
541
+ options?: never;
542
+ head?: never;
543
+ patch?: never;
544
+ trace?: never;
545
+ };
530
546
  }
531
547
  export type webhooks = Record<string, never>;
532
548
  export interface components {
@@ -1096,6 +1112,60 @@ export interface components {
1096
1112
  }[];
1097
1113
  }[];
1098
1114
  };
1115
+ FindByIdProfileResponseDto: {
1116
+ id: string;
1117
+ shortId: number;
1118
+ phoneNumber: string;
1119
+ secondaryPhoneNumber: string | null;
1120
+ fullName: string;
1121
+ firstName: string | null;
1122
+ gender: string | null;
1123
+ birthDate: string | null;
1124
+ profilePictureUrl: string | null;
1125
+ instagram: string | null;
1126
+ mail: string | null;
1127
+ dni: string | null;
1128
+ alternativeNames: string[] | null;
1129
+ birthLocationId: string | null;
1130
+ residenceLocationId: string | null;
1131
+ isInTrash: boolean;
1132
+ movedToTrashDate: string | null;
1133
+ created_at: string;
1134
+ updated_at: string;
1135
+ residenceLocation: {
1136
+ id?: string;
1137
+ latitude?: number;
1138
+ longitude?: number;
1139
+ country?: string;
1140
+ state?: string;
1141
+ city?: string;
1142
+ created_at?: string;
1143
+ updated_at?: string;
1144
+ } | null;
1145
+ birthLocation: {
1146
+ id?: string;
1147
+ latitude?: number;
1148
+ longitude?: number;
1149
+ country?: string;
1150
+ state?: string;
1151
+ city?: string;
1152
+ created_at?: string;
1153
+ updated_at?: string;
1154
+ } | null;
1155
+ tags: {
1156
+ id: string;
1157
+ name: string;
1158
+ groupId: string;
1159
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1160
+ created_at: string;
1161
+ updated_at: string;
1162
+ group: {
1163
+ id: string;
1164
+ color: string;
1165
+ isExclusive: boolean;
1166
+ };
1167
+ }[];
1168
+ };
1099
1169
  };
1100
1170
  responses: never;
1101
1171
  parameters: never;
@@ -2083,4 +2153,33 @@ export interface operations {
2083
2153
  };
2084
2154
  };
2085
2155
  };
2156
+ ProfileController_findById: {
2157
+ parameters: {
2158
+ query?: never;
2159
+ header?: never;
2160
+ path: {
2161
+ id: string;
2162
+ };
2163
+ cookie?: never;
2164
+ };
2165
+ requestBody?: never;
2166
+ responses: {
2167
+ 200: {
2168
+ headers: {
2169
+ [name: string]: unknown;
2170
+ };
2171
+ content: {
2172
+ "application/json": components["schemas"]["FindByIdProfileResponseDto"];
2173
+ };
2174
+ };
2175
+ 404: {
2176
+ headers: {
2177
+ [name: string]: unknown;
2178
+ };
2179
+ content: {
2180
+ "application/json": components["schemas"]["ErrorDto"];
2181
+ };
2182
+ };
2183
+ };
2184
+ };
2086
2185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.9.0-EXPO-249-EB-Modelo.2",
3
+ "version": "0.9.0-EXPO-249-EB-Modelo.3",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,