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

Sign up to get free protection for your applications and to get access to all the features.
@@ -511,6 +511,54 @@ 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
+ };
514
562
  "/profile/all": {
515
563
  parameters: {
516
564
  query?: never;
@@ -1132,7 +1180,7 @@ export interface components {
1132
1180
  updated_at: string;
1133
1181
  };
1134
1182
  GetAllEventFolderResponseDto: {
1135
- eventFolders: {
1183
+ folders: {
1136
1184
  id: string;
1137
1185
  name: string;
1138
1186
  color: string;
@@ -1189,6 +1237,165 @@ export interface components {
1189
1237
  created_at: string;
1190
1238
  updated_at: string;
1191
1239
  };
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
+ };
1192
1399
  FindAllProfileResponseDto: {
1193
1400
  profiles: {
1194
1401
  id: string;
@@ -2513,6 +2720,155 @@ export interface operations {
2513
2720
  };
2514
2721
  };
2515
2722
  };
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
+ };
2516
2872
  ProfileController_findAll: {
2517
2873
  parameters: {
2518
2874
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.11.0-EXPO-249-EB-Modelo.1",
3
+ "version": "0.12.0",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,