expo-backend-types 0.10.0 → 0.11.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;
@@ -1116,7 +1164,7 @@ export interface components {
1116
1164
  updated_at: string;
1117
1165
  };
1118
1166
  GetAllEventFolderResponseDto: {
1119
- eventFolders: {
1167
+ folders: {
1120
1168
  id: string;
1121
1169
  name: string;
1122
1170
  color: string;
@@ -1173,6 +1221,165 @@ export interface components {
1173
1221
  created_at: string;
1174
1222
  updated_at: string;
1175
1223
  };
1224
+ CreateEventDto: {
1225
+ name: string;
1226
+ date: string;
1227
+ location: string;
1228
+ folderId: null;
1229
+ subEvents?: {
1230
+ name: string;
1231
+ date: string;
1232
+ location: string;
1233
+ }[];
1234
+ };
1235
+ CreateEventResponseDto: {
1236
+ id: string;
1237
+ name: string;
1238
+ date: string;
1239
+ location: string;
1240
+ folderId: null;
1241
+ tagAssistedId: string;
1242
+ tagConfirmedId: string;
1243
+ supraEventId: null;
1244
+ created_at: string;
1245
+ updated_at: string;
1246
+ };
1247
+ GetAllEventsResponseDto: {
1248
+ folders: {
1249
+ id: string;
1250
+ name: string;
1251
+ color: string;
1252
+ created_at: string;
1253
+ updated_at: string;
1254
+ events: {
1255
+ id: string;
1256
+ name: string;
1257
+ date: string;
1258
+ location: string;
1259
+ folderId: null;
1260
+ tagAssistedId: string;
1261
+ tagConfirmedId: string;
1262
+ supraEventId: null;
1263
+ created_at: string;
1264
+ updated_at: string;
1265
+ supraEvent: null;
1266
+ subEvents: {
1267
+ id: string;
1268
+ name: string;
1269
+ date: string;
1270
+ location: string;
1271
+ folderId: null;
1272
+ tagAssistedId: string;
1273
+ tagConfirmedId: string;
1274
+ supraEventId: null;
1275
+ created_at: string;
1276
+ updated_at: string;
1277
+ }[];
1278
+ }[];
1279
+ }[];
1280
+ withoutFolder: {
1281
+ id: string;
1282
+ name: string;
1283
+ date: string;
1284
+ location: string;
1285
+ folderId: null;
1286
+ tagAssistedId: string;
1287
+ tagConfirmedId: string;
1288
+ supraEventId: null;
1289
+ created_at: string;
1290
+ updated_at: string;
1291
+ supraEvent: null;
1292
+ subEvents: {
1293
+ id: string;
1294
+ name: string;
1295
+ date: string;
1296
+ location: string;
1297
+ folderId: null;
1298
+ tagAssistedId: string;
1299
+ tagConfirmedId: string;
1300
+ supraEventId: null;
1301
+ created_at: string;
1302
+ updated_at: string;
1303
+ }[];
1304
+ }[];
1305
+ };
1306
+ GetByIdEventResponseDto: {
1307
+ id: string;
1308
+ name: string;
1309
+ date: string;
1310
+ location: string;
1311
+ folderId: null;
1312
+ tagAssistedId: string;
1313
+ tagConfirmedId: string;
1314
+ supraEventId: null;
1315
+ created_at: string;
1316
+ updated_at: string;
1317
+ subEvents: {
1318
+ id: string;
1319
+ name: string;
1320
+ date: string;
1321
+ location: string;
1322
+ folderId: null;
1323
+ tagAssistedId: string;
1324
+ tagConfirmedId: string;
1325
+ supraEventId: null;
1326
+ created_at: string;
1327
+ updated_at: string;
1328
+ }[];
1329
+ supraEvent: null;
1330
+ };
1331
+ UpdateEventDto: {
1332
+ name: string;
1333
+ folderId: null;
1334
+ date: string;
1335
+ location: string;
1336
+ subEvents: {
1337
+ name: string;
1338
+ location: string;
1339
+ date: string;
1340
+ id: string | "";
1341
+ }[];
1342
+ };
1343
+ UpdateEventResponseDto: {
1344
+ id: string;
1345
+ name: string;
1346
+ date: string;
1347
+ location: string;
1348
+ folderId: null;
1349
+ tagAssistedId: string;
1350
+ tagConfirmedId: string;
1351
+ supraEventId: null;
1352
+ created_at: string;
1353
+ updated_at: string;
1354
+ tagAssisted: {
1355
+ id: string;
1356
+ name: string;
1357
+ groupId: string;
1358
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1359
+ created_at: string;
1360
+ updated_at: string;
1361
+ group: {
1362
+ id: string;
1363
+ name: string;
1364
+ color: string;
1365
+ isExclusive: boolean;
1366
+ created_at: string;
1367
+ updated_at: string;
1368
+ };
1369
+ };
1370
+ };
1371
+ DeleteEventResponseDto: {
1372
+ id: string;
1373
+ name: string;
1374
+ date: string;
1375
+ location: string;
1376
+ folderId: null;
1377
+ tagAssistedId: string;
1378
+ tagConfirmedId: string;
1379
+ supraEventId: null;
1380
+ created_at: string;
1381
+ updated_at: string;
1382
+ };
1176
1383
  FindAllProfileResponseDto: {
1177
1384
  profiles: {
1178
1385
  id: string;
@@ -2444,6 +2651,155 @@ export interface operations {
2444
2651
  };
2445
2652
  };
2446
2653
  };
2654
+ EventController_create: {
2655
+ parameters: {
2656
+ query?: never;
2657
+ header?: never;
2658
+ path?: never;
2659
+ cookie?: never;
2660
+ };
2661
+ requestBody: {
2662
+ content: {
2663
+ "application/json": components["schemas"]["CreateEventDto"];
2664
+ };
2665
+ };
2666
+ responses: {
2667
+ 201: {
2668
+ headers: {
2669
+ [name: string]: unknown;
2670
+ };
2671
+ content: {
2672
+ "application/json": components["schemas"]["CreateEventResponseDto"];
2673
+ };
2674
+ };
2675
+ 409: {
2676
+ headers: {
2677
+ [name: string]: unknown;
2678
+ };
2679
+ content: {
2680
+ "application/json": components["schemas"]["ErrorDto"];
2681
+ };
2682
+ };
2683
+ };
2684
+ };
2685
+ EventController_findAll: {
2686
+ parameters: {
2687
+ query?: never;
2688
+ header?: never;
2689
+ path?: never;
2690
+ cookie?: never;
2691
+ };
2692
+ requestBody?: never;
2693
+ responses: {
2694
+ 200: {
2695
+ headers: {
2696
+ [name: string]: unknown;
2697
+ };
2698
+ content: {
2699
+ "application/json": components["schemas"]["GetAllEventsResponseDto"];
2700
+ };
2701
+ };
2702
+ 404: {
2703
+ headers: {
2704
+ [name: string]: unknown;
2705
+ };
2706
+ content: {
2707
+ "application/json": components["schemas"]["ErrorDto"];
2708
+ };
2709
+ };
2710
+ };
2711
+ };
2712
+ EventController_findById: {
2713
+ parameters: {
2714
+ query?: never;
2715
+ header?: never;
2716
+ path: {
2717
+ id: string;
2718
+ };
2719
+ cookie?: never;
2720
+ };
2721
+ requestBody?: never;
2722
+ responses: {
2723
+ 200: {
2724
+ headers: {
2725
+ [name: string]: unknown;
2726
+ };
2727
+ content: {
2728
+ "application/json": components["schemas"]["GetByIdEventResponseDto"];
2729
+ };
2730
+ };
2731
+ 404: {
2732
+ headers: {
2733
+ [name: string]: unknown;
2734
+ };
2735
+ content: {
2736
+ "application/json": components["schemas"]["ErrorDto"];
2737
+ };
2738
+ };
2739
+ };
2740
+ };
2741
+ EventController_remove: {
2742
+ parameters: {
2743
+ query?: never;
2744
+ header?: never;
2745
+ path: {
2746
+ id: string;
2747
+ };
2748
+ cookie?: never;
2749
+ };
2750
+ requestBody?: never;
2751
+ responses: {
2752
+ 404: {
2753
+ headers: {
2754
+ [name: string]: unknown;
2755
+ };
2756
+ content: {
2757
+ "application/json": components["schemas"]["ErrorDto"];
2758
+ };
2759
+ };
2760
+ 410: {
2761
+ headers: {
2762
+ [name: string]: unknown;
2763
+ };
2764
+ content: {
2765
+ "application/json": components["schemas"]["DeleteEventResponseDto"];
2766
+ };
2767
+ };
2768
+ };
2769
+ };
2770
+ EventController_update: {
2771
+ parameters: {
2772
+ query?: never;
2773
+ header?: never;
2774
+ path: {
2775
+ id: string;
2776
+ };
2777
+ cookie?: never;
2778
+ };
2779
+ requestBody: {
2780
+ content: {
2781
+ "application/json": components["schemas"]["UpdateEventDto"];
2782
+ };
2783
+ };
2784
+ responses: {
2785
+ 200: {
2786
+ headers: {
2787
+ [name: string]: unknown;
2788
+ };
2789
+ content: {
2790
+ "application/json": components["schemas"]["UpdateEventResponseDto"];
2791
+ };
2792
+ };
2793
+ 404: {
2794
+ headers: {
2795
+ [name: string]: unknown;
2796
+ };
2797
+ content: {
2798
+ "application/json": components["schemas"]["ErrorDto"];
2799
+ };
2800
+ };
2801
+ };
2802
+ };
2447
2803
  ProfileController_findAll: {
2448
2804
  parameters: {
2449
2805
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,