expo-backend-types 0.12.0 → 0.14.0-EXPO-249-EB-Modelo.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -511,54 +511,6 @@ export interface paths {
511
511
  patch?: never;
512
512
  trace?: never;
513
513
  };
514
- "/event/create": {
515
- parameters: {
516
- query?: never;
517
- header?: never;
518
- path?: never;
519
- cookie?: never;
520
- };
521
- get?: never;
522
- put?: never;
523
- post: operations["EventController_create"];
524
- delete?: never;
525
- options?: never;
526
- head?: never;
527
- patch?: never;
528
- trace?: never;
529
- };
530
- "/event/all": {
531
- parameters: {
532
- query?: never;
533
- header?: never;
534
- path?: never;
535
- cookie?: never;
536
- };
537
- get: operations["EventController_findAll"];
538
- put?: never;
539
- post?: never;
540
- delete?: never;
541
- options?: never;
542
- head?: never;
543
- patch?: never;
544
- trace?: never;
545
- };
546
- "/event/{id}": {
547
- parameters: {
548
- query?: never;
549
- header?: never;
550
- path?: never;
551
- cookie?: never;
552
- };
553
- get: operations["EventController_findById"];
554
- put?: never;
555
- post?: never;
556
- delete: operations["EventController_remove"];
557
- options?: never;
558
- head?: never;
559
- patch: operations["EventController_update"];
560
- trace?: never;
561
- };
562
514
  "/profile/all": {
563
515
  parameters: {
564
516
  query?: never;
@@ -1180,7 +1132,7 @@ export interface components {
1180
1132
  updated_at: string;
1181
1133
  };
1182
1134
  GetAllEventFolderResponseDto: {
1183
- folders: {
1135
+ eventFolders: {
1184
1136
  id: string;
1185
1137
  name: string;
1186
1138
  color: string;
@@ -1237,165 +1189,6 @@ export interface components {
1237
1189
  created_at: string;
1238
1190
  updated_at: string;
1239
1191
  };
1240
- CreateEventDto: {
1241
- name: string;
1242
- date: string;
1243
- location: string;
1244
- folderId: null;
1245
- subEvents?: {
1246
- name: string;
1247
- date: string;
1248
- location: string;
1249
- }[];
1250
- };
1251
- CreateEventResponseDto: {
1252
- id: string;
1253
- name: string;
1254
- date: string;
1255
- location: string;
1256
- folderId: null;
1257
- tagAssistedId: string;
1258
- tagConfirmedId: string;
1259
- supraEventId: null;
1260
- created_at: string;
1261
- updated_at: string;
1262
- };
1263
- GetAllEventsResponseDto: {
1264
- folders: {
1265
- id: string;
1266
- name: string;
1267
- color: string;
1268
- created_at: string;
1269
- updated_at: string;
1270
- events: {
1271
- id: string;
1272
- name: string;
1273
- date: string;
1274
- location: string;
1275
- folderId: null;
1276
- tagAssistedId: string;
1277
- tagConfirmedId: string;
1278
- supraEventId: null;
1279
- created_at: string;
1280
- updated_at: string;
1281
- supraEvent: null;
1282
- subEvents: {
1283
- id: string;
1284
- name: string;
1285
- date: string;
1286
- location: string;
1287
- folderId: null;
1288
- tagAssistedId: string;
1289
- tagConfirmedId: string;
1290
- supraEventId: null;
1291
- created_at: string;
1292
- updated_at: string;
1293
- }[];
1294
- }[];
1295
- }[];
1296
- withoutFolder: {
1297
- id: string;
1298
- name: string;
1299
- date: string;
1300
- location: string;
1301
- folderId: null;
1302
- tagAssistedId: string;
1303
- tagConfirmedId: string;
1304
- supraEventId: null;
1305
- created_at: string;
1306
- updated_at: string;
1307
- supraEvent: null;
1308
- subEvents: {
1309
- id: string;
1310
- name: string;
1311
- date: string;
1312
- location: string;
1313
- folderId: null;
1314
- tagAssistedId: string;
1315
- tagConfirmedId: string;
1316
- supraEventId: null;
1317
- created_at: string;
1318
- updated_at: string;
1319
- }[];
1320
- }[];
1321
- };
1322
- GetByIdEventResponseDto: {
1323
- id: string;
1324
- name: string;
1325
- date: string;
1326
- location: string;
1327
- folderId: null;
1328
- tagAssistedId: string;
1329
- tagConfirmedId: string;
1330
- supraEventId: null;
1331
- created_at: string;
1332
- updated_at: string;
1333
- subEvents: {
1334
- id: string;
1335
- name: string;
1336
- date: string;
1337
- location: string;
1338
- folderId: null;
1339
- tagAssistedId: string;
1340
- tagConfirmedId: string;
1341
- supraEventId: null;
1342
- created_at: string;
1343
- updated_at: string;
1344
- }[];
1345
- supraEvent: null;
1346
- };
1347
- UpdateEventDto: {
1348
- name: string;
1349
- folderId: null;
1350
- date: string;
1351
- location: string;
1352
- subEvents: {
1353
- name: string;
1354
- location: string;
1355
- date: string;
1356
- id: string | "";
1357
- }[];
1358
- };
1359
- UpdateEventResponseDto: {
1360
- id: string;
1361
- name: string;
1362
- date: string;
1363
- location: string;
1364
- folderId: null;
1365
- tagAssistedId: string;
1366
- tagConfirmedId: string;
1367
- supraEventId: null;
1368
- created_at: string;
1369
- updated_at: string;
1370
- tagAssisted: {
1371
- id: string;
1372
- name: string;
1373
- groupId: string;
1374
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1375
- created_at: string;
1376
- updated_at: string;
1377
- group: {
1378
- id: string;
1379
- name: string;
1380
- color: string;
1381
- isExclusive: boolean;
1382
- created_at: string;
1383
- updated_at: string;
1384
- };
1385
- };
1386
- };
1387
- DeleteEventResponseDto: {
1388
- id: string;
1389
- name: string;
1390
- date: string;
1391
- location: string;
1392
- folderId: null;
1393
- tagAssistedId: string;
1394
- tagConfirmedId: string;
1395
- supraEventId: null;
1396
- created_at: string;
1397
- updated_at: string;
1398
- };
1399
1192
  FindAllProfileResponseDto: {
1400
1193
  profiles: {
1401
1194
  id: string;
@@ -1724,18 +1517,18 @@ export interface components {
1724
1517
  updated_at: string;
1725
1518
  };
1726
1519
  UpdateProfileDto: {
1727
- alternativeNames: string[];
1728
- birthDate: null;
1729
- dni: null;
1730
- fullName: string;
1731
- gender: null;
1732
- instagram: null;
1733
- mail: null;
1734
- phoneNumber: string;
1735
- profilePictureUrl: null;
1736
- secondaryPhoneNumber: null;
1737
- isInTrash: boolean;
1738
- movedToTrashDate: null;
1520
+ alternativeNames?: string[];
1521
+ birthDate?: null;
1522
+ dni?: null;
1523
+ fullName?: string;
1524
+ gender?: null;
1525
+ instagram?: null;
1526
+ mail?: null;
1527
+ phoneNumber?: string;
1528
+ profilePictureUrl?: null;
1529
+ secondaryPhoneNumber?: null;
1530
+ isInTrash?: boolean;
1531
+ movedToTrashDate?: null;
1739
1532
  residence?: {
1740
1533
  city: string;
1741
1534
  country: string;
@@ -2720,155 +2513,6 @@ export interface operations {
2720
2513
  };
2721
2514
  };
2722
2515
  };
2723
- EventController_create: {
2724
- parameters: {
2725
- query?: never;
2726
- header?: never;
2727
- path?: never;
2728
- cookie?: never;
2729
- };
2730
- requestBody: {
2731
- content: {
2732
- "application/json": components["schemas"]["CreateEventDto"];
2733
- };
2734
- };
2735
- responses: {
2736
- 201: {
2737
- headers: {
2738
- [name: string]: unknown;
2739
- };
2740
- content: {
2741
- "application/json": components["schemas"]["CreateEventResponseDto"];
2742
- };
2743
- };
2744
- 409: {
2745
- headers: {
2746
- [name: string]: unknown;
2747
- };
2748
- content: {
2749
- "application/json": components["schemas"]["ErrorDto"];
2750
- };
2751
- };
2752
- };
2753
- };
2754
- EventController_findAll: {
2755
- parameters: {
2756
- query?: never;
2757
- header?: never;
2758
- path?: never;
2759
- cookie?: never;
2760
- };
2761
- requestBody?: never;
2762
- responses: {
2763
- 200: {
2764
- headers: {
2765
- [name: string]: unknown;
2766
- };
2767
- content: {
2768
- "application/json": components["schemas"]["GetAllEventsResponseDto"];
2769
- };
2770
- };
2771
- 404: {
2772
- headers: {
2773
- [name: string]: unknown;
2774
- };
2775
- content: {
2776
- "application/json": components["schemas"]["ErrorDto"];
2777
- };
2778
- };
2779
- };
2780
- };
2781
- EventController_findById: {
2782
- parameters: {
2783
- query?: never;
2784
- header?: never;
2785
- path: {
2786
- id: string;
2787
- };
2788
- cookie?: never;
2789
- };
2790
- requestBody?: never;
2791
- responses: {
2792
- 200: {
2793
- headers: {
2794
- [name: string]: unknown;
2795
- };
2796
- content: {
2797
- "application/json": components["schemas"]["GetByIdEventResponseDto"];
2798
- };
2799
- };
2800
- 404: {
2801
- headers: {
2802
- [name: string]: unknown;
2803
- };
2804
- content: {
2805
- "application/json": components["schemas"]["ErrorDto"];
2806
- };
2807
- };
2808
- };
2809
- };
2810
- EventController_remove: {
2811
- parameters: {
2812
- query?: never;
2813
- header?: never;
2814
- path: {
2815
- id: string;
2816
- };
2817
- cookie?: never;
2818
- };
2819
- requestBody?: never;
2820
- responses: {
2821
- 404: {
2822
- headers: {
2823
- [name: string]: unknown;
2824
- };
2825
- content: {
2826
- "application/json": components["schemas"]["ErrorDto"];
2827
- };
2828
- };
2829
- 410: {
2830
- headers: {
2831
- [name: string]: unknown;
2832
- };
2833
- content: {
2834
- "application/json": components["schemas"]["DeleteEventResponseDto"];
2835
- };
2836
- };
2837
- };
2838
- };
2839
- EventController_update: {
2840
- parameters: {
2841
- query?: never;
2842
- header?: never;
2843
- path: {
2844
- id: string;
2845
- };
2846
- cookie?: never;
2847
- };
2848
- requestBody: {
2849
- content: {
2850
- "application/json": components["schemas"]["UpdateEventDto"];
2851
- };
2852
- };
2853
- responses: {
2854
- 200: {
2855
- headers: {
2856
- [name: string]: unknown;
2857
- };
2858
- content: {
2859
- "application/json": components["schemas"]["UpdateEventResponseDto"];
2860
- };
2861
- };
2862
- 404: {
2863
- headers: {
2864
- [name: string]: unknown;
2865
- };
2866
- content: {
2867
- "application/json": components["schemas"]["ErrorDto"];
2868
- };
2869
- };
2870
- };
2871
- };
2872
2516
  ProfileController_findAll: {
2873
2517
  parameters: {
2874
2518
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.12.0",
3
+ "version": "0.14.0-EXPO-249-EB-Modelo.1",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -1,166 +0,0 @@
1
- import z from 'zod';
2
- export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
3
- id: z.ZodString;
4
- name: z.ZodString;
5
- date: z.ZodDate;
6
- location: z.ZodString;
7
- folderId: z.ZodNullable<z.ZodString>;
8
- tagAssistedId: z.ZodString;
9
- tagConfirmedId: z.ZodString;
10
- supraEventId: z.ZodNullable<z.ZodString>;
11
- created_at: z.ZodDate;
12
- updated_at: z.ZodDate;
13
- }, "location" | "name" | "date" | "folderId">, {
14
- subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
15
- id: z.ZodString;
16
- name: z.ZodString;
17
- date: z.ZodDate;
18
- location: z.ZodString;
19
- folderId: z.ZodNullable<z.ZodString>;
20
- tagAssistedId: z.ZodString;
21
- tagConfirmedId: z.ZodString;
22
- supraEventId: z.ZodNullable<z.ZodString>;
23
- created_at: z.ZodDate;
24
- updated_at: z.ZodDate;
25
- }, "location" | "name" | "date">, "strip", z.ZodTypeAny, {
26
- location: string;
27
- name: string;
28
- date: Date;
29
- }, {
30
- location: string;
31
- name: string;
32
- date: Date;
33
- }>, "many">>;
34
- }>, "strip", z.ZodTypeAny, {
35
- location: string;
36
- name: string;
37
- date: Date;
38
- folderId: string | null;
39
- subEvents?: {
40
- location: string;
41
- name: string;
42
- date: Date;
43
- }[] | undefined;
44
- }, {
45
- location: string;
46
- name: string;
47
- date: Date;
48
- folderId: string | null;
49
- subEvents?: {
50
- location: string;
51
- name: string;
52
- date: Date;
53
- }[] | undefined;
54
- }>;
55
- declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
56
- location: z.ZodString;
57
- name: z.ZodString;
58
- date: z.ZodString;
59
- folderId: z.ZodNullable<z.ZodString>;
60
- subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
61
- location: z.ZodString;
62
- name: z.ZodString;
63
- date: z.ZodString;
64
- }, z.UnknownKeysParam, z.ZodTypeAny, {
65
- location: string;
66
- name: string;
67
- date: string;
68
- }, {
69
- location: string;
70
- name: string;
71
- date: string;
72
- }>, "many">>;
73
- }, z.UnknownKeysParam, z.ZodTypeAny, {
74
- location: string;
75
- name: string;
76
- date: string;
77
- folderId: string | null;
78
- subEvents?: {
79
- location: string;
80
- name: string;
81
- date: string;
82
- }[] | undefined;
83
- }, {
84
- location: string;
85
- name: string;
86
- date: string;
87
- folderId: string | null;
88
- subEvents?: {
89
- location: string;
90
- name: string;
91
- date: string;
92
- }[] | undefined;
93
- }>>;
94
- export declare class CreateEventDto extends CreateEventDto_base {
95
- }
96
- export declare const createEventResponseSchema: z.ZodObject<{
97
- id: z.ZodString;
98
- name: z.ZodString;
99
- date: z.ZodDate;
100
- location: z.ZodString;
101
- folderId: z.ZodNullable<z.ZodString>;
102
- tagAssistedId: z.ZodString;
103
- tagConfirmedId: z.ZodString;
104
- supraEventId: z.ZodNullable<z.ZodString>;
105
- created_at: z.ZodDate;
106
- updated_at: z.ZodDate;
107
- }, "strip", z.ZodTypeAny, {
108
- location: string;
109
- id: string;
110
- name: string;
111
- date: Date;
112
- created_at: Date;
113
- updated_at: Date;
114
- folderId: string | null;
115
- tagAssistedId: string;
116
- tagConfirmedId: string;
117
- supraEventId: string | null;
118
- }, {
119
- location: string;
120
- id: string;
121
- name: string;
122
- date: Date;
123
- created_at: Date;
124
- updated_at: Date;
125
- folderId: string | null;
126
- tagAssistedId: string;
127
- tagConfirmedId: string;
128
- supraEventId: string | null;
129
- }>;
130
- declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
131
- id: z.ZodString;
132
- name: z.ZodString;
133
- date: z.ZodString;
134
- location: z.ZodString;
135
- folderId: z.ZodNullable<z.ZodString>;
136
- tagAssistedId: z.ZodString;
137
- tagConfirmedId: z.ZodString;
138
- supraEventId: z.ZodNullable<z.ZodString>;
139
- created_at: z.ZodString;
140
- updated_at: z.ZodString;
141
- }, z.UnknownKeysParam, z.ZodTypeAny, {
142
- location: string;
143
- id: string;
144
- name: string;
145
- date: string;
146
- created_at: string;
147
- updated_at: string;
148
- folderId: string | null;
149
- tagAssistedId: string;
150
- tagConfirmedId: string;
151
- supraEventId: string | null;
152
- }, {
153
- location: string;
154
- id: string;
155
- name: string;
156
- date: string;
157
- created_at: string;
158
- updated_at: string;
159
- folderId: string | null;
160
- tagAssistedId: string;
161
- tagConfirmedId: string;
162
- supraEventId: string | null;
163
- }>>;
164
- export declare class CreateEventResponseDto extends CreateEventResponseDto_base {
165
- }
166
- export {};
@@ -1,33 +0,0 @@
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.CreateEventResponseDto = exports.createEventResponseSchema = exports.CreateEventDto = exports.createEventSchema = 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
- const event_dto_1 = require("./event.dto");
10
- exports.createEventSchema = event_dto_1.eventSchema
11
- .pick({
12
- name: true,
13
- date: true,
14
- location: true,
15
- folderId: true,
16
- })
17
- .merge(zod_1.default.object({
18
- subEvents: zod_1.default
19
- .array(event_dto_1.eventSchema.pick({
20
- name: true,
21
- date: true,
22
- location: true,
23
- }))
24
- .optional(),
25
- }));
26
- class CreateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventSchema) {
27
- }
28
- exports.CreateEventDto = CreateEventDto;
29
- exports.createEventResponseSchema = event_dto_1.eventSchema;
30
- class CreateEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventResponseSchema) {
31
- }
32
- exports.CreateEventResponseDto = CreateEventResponseDto;
33
- //# sourceMappingURL=create-event.dto.js.map
@@ -1,71 +0,0 @@
1
- export declare const deleteEventResponseSchema: import("zod").ZodObject<{
2
- id: import("zod").ZodString;
3
- name: import("zod").ZodString;
4
- date: import("zod").ZodDate;
5
- location: import("zod").ZodString;
6
- folderId: import("zod").ZodNullable<import("zod").ZodString>;
7
- tagAssistedId: import("zod").ZodString;
8
- tagConfirmedId: import("zod").ZodString;
9
- supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
10
- created_at: import("zod").ZodDate;
11
- updated_at: import("zod").ZodDate;
12
- }, "strip", import("zod").ZodTypeAny, {
13
- location: string;
14
- id: string;
15
- name: string;
16
- date: Date;
17
- created_at: Date;
18
- updated_at: Date;
19
- folderId: string | null;
20
- tagAssistedId: string;
21
- tagConfirmedId: string;
22
- supraEventId: string | null;
23
- }, {
24
- location: string;
25
- id: string;
26
- name: string;
27
- date: Date;
28
- created_at: Date;
29
- updated_at: Date;
30
- folderId: string | null;
31
- tagAssistedId: string;
32
- tagConfirmedId: string;
33
- supraEventId: string | null;
34
- }>;
35
- declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
36
- id: import("zod").ZodString;
37
- name: import("zod").ZodString;
38
- date: import("zod").ZodString;
39
- location: import("zod").ZodString;
40
- folderId: import("zod").ZodNullable<import("zod").ZodString>;
41
- tagAssistedId: import("zod").ZodString;
42
- tagConfirmedId: import("zod").ZodString;
43
- supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
44
- created_at: import("zod").ZodString;
45
- updated_at: import("zod").ZodString;
46
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
47
- location: string;
48
- id: string;
49
- name: string;
50
- date: string;
51
- created_at: string;
52
- updated_at: string;
53
- folderId: string | null;
54
- tagAssistedId: string;
55
- tagConfirmedId: string;
56
- supraEventId: string | null;
57
- }, {
58
- location: string;
59
- id: string;
60
- name: string;
61
- date: string;
62
- created_at: string;
63
- updated_at: string;
64
- folderId: string | null;
65
- tagAssistedId: string;
66
- tagConfirmedId: string;
67
- supraEventId: string | null;
68
- }>>;
69
- export declare class DeleteEventResponseDto extends DeleteEventResponseDto_base {
70
- }
71
- export {};
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteEventResponseDto = exports.deleteEventResponseSchema = void 0;
4
- const event_dto_1 = require("./event.dto");
5
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- exports.deleteEventResponseSchema = event_dto_1.eventSchema;
7
- class DeleteEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteEventResponseSchema) {
8
- }
9
- exports.DeleteEventResponseDto = DeleteEventResponseDto;
10
- //# sourceMappingURL=delete-event.dto.js.map