expo-backend-types 0.34.0-EXPO-319-ver-eventos-disponibles.10 → 0.34.0-EXPO-319-ver-eventos-disponibles.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +6 -4
  2. package/dist/src/account/dto/create-account.dto.d.ts +12 -8
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
  4. package/dist/src/account/dto/get-me.dto.d.ts +6 -4
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
  6. package/dist/src/auth/dto/login.dto.d.ts +11 -8
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
  8. package/dist/src/i18n/es.d.ts +8 -0
  9. package/dist/src/i18n/es.js +8 -0
  10. package/dist/src/i18n/es.js.map +1 -1
  11. package/dist/src/mi-expo/dto/emit-ticket.dto.d.ts +281 -0
  12. package/dist/src/mi-expo/dto/emit-ticket.dto.js +23 -0
  13. package/dist/src/mi-expo/dto/get-me.dto.d.ts +16 -0
  14. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +20 -0
  15. package/dist/src/mi-expo/dto/login.dto.d.ts +21 -0
  16. package/dist/src/mi-expo/dto/update-me.dto.d.ts +16 -0
  17. package/dist/src/mi-expo/exports.d.ts +1 -0
  18. package/dist/src/mi-expo/exports.js +1 -0
  19. package/dist/src/otp/dto/verify-otp.dto.d.ts +20 -0
  20. package/dist/src/profile/dto/create-profile.dto.d.ts +24 -0
  21. package/dist/src/profile/dto/delete-profile.dto.d.ts +16 -0
  22. package/dist/src/profile/dto/find-all-profile.dto.d.ts +20 -0
  23. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +36 -0
  24. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +16 -0
  25. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +16 -0
  26. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +20 -0
  27. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +20 -0
  28. package/dist/src/profile/dto/find-trash.dto.d.ts +6 -0
  29. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +20 -0
  30. package/dist/src/profile/dto/profile.dto.d.ts +8 -0
  31. package/dist/src/profile/dto/update-profile.dto.d.ts +16 -0
  32. package/dist/src/schema/profile.schema.d.ts +8 -0
  33. package/dist/src/schema/profile.schema.js +2 -0
  34. package/dist/src/tag/dto/massive-allocation.dto.d.ts +20 -0
  35. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +20 -0
  36. package/dist/src/ticket/dto/create-ticket.dto.d.ts +149 -2
  37. package/dist/src/ticket/dto/create-ticket.dto.js +4 -1
  38. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +24 -0
  39. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +24 -0
  40. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +24 -0
  41. package/dist/types/prisma-schema/edge.js +6 -4
  42. package/dist/types/prisma-schema/index-browser.js +3 -1
  43. package/dist/types/prisma-schema/index.d.ts +66 -2
  44. package/dist/types/prisma-schema/index.js +6 -4
  45. package/dist/types/prisma-schema/package.json +1 -1
  46. package/dist/types/prisma-schema/schema.prisma +3 -0
  47. package/dist/types/prisma-schema/wasm.js +3 -1
  48. package/dist/types/schema.d.ts +143 -5
  49. package/package.json +1 -1
@@ -1215,6 +1215,38 @@ export interface paths {
1215
1215
  patch?: never;
1216
1216
  trace?: never;
1217
1217
  };
1218
+ "/mi-expo/tickets": {
1219
+ parameters: {
1220
+ query?: never;
1221
+ header?: never;
1222
+ path?: never;
1223
+ cookie?: never;
1224
+ };
1225
+ get: operations["MiExpoController_tickets"];
1226
+ put?: never;
1227
+ post?: never;
1228
+ delete?: never;
1229
+ options?: never;
1230
+ head?: never;
1231
+ patch?: never;
1232
+ trace?: never;
1233
+ };
1234
+ "/mi-expo/emit-ticket": {
1235
+ parameters: {
1236
+ query?: never;
1237
+ header?: never;
1238
+ path?: never;
1239
+ cookie?: never;
1240
+ };
1241
+ get?: never;
1242
+ put?: never;
1243
+ post: operations["MiExpoController_emitTicket"];
1244
+ delete?: never;
1245
+ options?: never;
1246
+ head?: never;
1247
+ patch?: never;
1248
+ trace?: never;
1249
+ };
1218
1250
  "/mi-expo/login": {
1219
1251
  parameters: {
1220
1252
  query?: never;
@@ -1243,7 +1275,7 @@ export interface components {
1243
1275
  user: {
1244
1276
  id: string;
1245
1277
  username: string;
1246
- role: "USER" | "ADMIN" | "FORM";
1278
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
1247
1279
  isGlobalFilterActive: boolean;
1248
1280
  fcmToken: string[];
1249
1281
  created_at: string;
@@ -1355,6 +1387,7 @@ export interface components {
1355
1387
  profiles: {
1356
1388
  id: string;
1357
1389
  shortId: number;
1390
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
1358
1391
  firstTimeMiExpo: boolean;
1359
1392
  username: string | null;
1360
1393
  password: string | null;
@@ -1386,6 +1419,7 @@ export interface components {
1386
1419
  profiles: {
1387
1420
  id: string;
1388
1421
  shortId: number;
1422
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
1389
1423
  firstTimeMiExpo: boolean;
1390
1424
  username: string | null;
1391
1425
  password: string | null;
@@ -1412,12 +1446,12 @@ export interface components {
1412
1446
  CreateAccountDto: {
1413
1447
  username: string;
1414
1448
  password: string;
1415
- role: "USER" | "ADMIN" | "FORM";
1449
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
1416
1450
  };
1417
1451
  CreateAccountResponseDto: {
1418
1452
  id: string;
1419
1453
  username: string;
1420
- role: "USER" | "ADMIN" | "FORM";
1454
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
1421
1455
  isGlobalFilterActive: boolean;
1422
1456
  fcmToken: string[];
1423
1457
  };
@@ -1429,7 +1463,7 @@ export interface components {
1429
1463
  id: string;
1430
1464
  username: string;
1431
1465
  password: string;
1432
- role: "USER" | "ADMIN" | "FORM";
1466
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
1433
1467
  isGlobalFilterActive: boolean;
1434
1468
  fcmToken: string[];
1435
1469
  created_at: string;
@@ -1459,7 +1493,7 @@ export interface components {
1459
1493
  GetMeResponseDto: {
1460
1494
  id: string;
1461
1495
  username: string;
1462
- role: "USER" | "ADMIN" | "FORM";
1496
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
1463
1497
  isGlobalFilterActive: boolean;
1464
1498
  fcmToken: string[];
1465
1499
  created_at: string;
@@ -2128,6 +2162,7 @@ export interface components {
2128
2162
  profiles: {
2129
2163
  id: string;
2130
2164
  shortId: number;
2165
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2131
2166
  firstTimeMiExpo: boolean;
2132
2167
  username: string | null;
2133
2168
  password: string | null;
@@ -2167,6 +2202,7 @@ export interface components {
2167
2202
  profiles: {
2168
2203
  id: string;
2169
2204
  shortId: number;
2205
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2170
2206
  firstTimeMiExpo: boolean;
2171
2207
  username: string | null;
2172
2208
  password: string | null;
@@ -2224,6 +2260,7 @@ export interface components {
2224
2260
  profiles: {
2225
2261
  id: string;
2226
2262
  shortId: number;
2263
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2227
2264
  firstTimeMiExpo: boolean;
2228
2265
  username: string | null;
2229
2266
  password: string | null;
@@ -2264,6 +2301,7 @@ export interface components {
2264
2301
  profiles: {
2265
2302
  id: string;
2266
2303
  shortId: number;
2304
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2267
2305
  firstTimeMiExpo: boolean;
2268
2306
  username: string | null;
2269
2307
  password: string | null;
@@ -2299,6 +2337,7 @@ export interface components {
2299
2337
  [key: string]: {
2300
2338
  id: string;
2301
2339
  shortId: number;
2340
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2302
2341
  firstTimeMiExpo: boolean;
2303
2342
  username: string | null;
2304
2343
  password: string | null;
@@ -2336,6 +2375,7 @@ export interface components {
2336
2375
  FindByPhoneNumberResponseDto: {
2337
2376
  id: string;
2338
2377
  shortId: number;
2378
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2339
2379
  firstTimeMiExpo: boolean;
2340
2380
  username: string | null;
2341
2381
  password: string | null;
@@ -2425,6 +2465,7 @@ export interface components {
2425
2465
  FindByIdProfileResponseDto: {
2426
2466
  id: string;
2427
2467
  shortId: number;
2468
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2428
2469
  firstTimeMiExpo: boolean;
2429
2470
  username: string | null;
2430
2471
  phoneNumber: string;
@@ -2482,6 +2523,7 @@ export interface components {
2482
2523
  DeleteProfileResponseDto: {
2483
2524
  id: string;
2484
2525
  shortId: number;
2526
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2485
2527
  firstTimeMiExpo: boolean;
2486
2528
  username: string | null;
2487
2529
  password: string | null;
@@ -2663,6 +2705,21 @@ export interface components {
2663
2705
  mail: string;
2664
2706
  created_at: string;
2665
2707
  updated_at: string;
2708
+ event: {
2709
+ id: string;
2710
+ name: string;
2711
+ date: string;
2712
+ startingDate: string;
2713
+ endingDate: string;
2714
+ location: string;
2715
+ folderId: string | null;
2716
+ tagAssistedId: string;
2717
+ tagConfirmedId: string;
2718
+ active: boolean;
2719
+ supraEventId: string | null;
2720
+ created_at: string;
2721
+ updated_at: string;
2722
+ };
2666
2723
  };
2667
2724
  FindAllTicketsResponseDto: {
2668
2725
  tickets: {
@@ -2699,6 +2756,7 @@ export interface components {
2699
2756
  profile: {
2700
2757
  id: string;
2701
2758
  shortId: number;
2759
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2702
2760
  firstTimeMiExpo: boolean;
2703
2761
  username: string | null;
2704
2762
  password: string | null;
@@ -2741,6 +2799,7 @@ export interface components {
2741
2799
  profile: {
2742
2800
  id: string;
2743
2801
  shortId: number;
2802
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2744
2803
  firstTimeMiExpo: boolean;
2745
2804
  username: string | null;
2746
2805
  password: string | null;
@@ -2783,6 +2842,7 @@ export interface components {
2783
2842
  profile: {
2784
2843
  id: string;
2785
2844
  shortId: number;
2845
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2786
2846
  firstTimeMiExpo: boolean;
2787
2847
  username: string | null;
2788
2848
  password: string | null;
@@ -2894,6 +2954,7 @@ export interface components {
2894
2954
  profile: {
2895
2955
  id: string;
2896
2956
  shortId: number;
2957
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2897
2958
  firstTimeMiExpo: boolean;
2898
2959
  username: string | null;
2899
2960
  password: string | null;
@@ -2941,6 +3002,7 @@ export interface components {
2941
3002
  profile: {
2942
3003
  id: string;
2943
3004
  shortId: number;
3005
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2944
3006
  firstTimeMiExpo: boolean;
2945
3007
  username: string | null;
2946
3008
  phoneNumber: string;
@@ -2966,6 +3028,7 @@ export interface components {
2966
3028
  GetMiExpoMeResponseDto: {
2967
3029
  id: string;
2968
3030
  shortId: number;
3031
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
2969
3032
  firstTimeMiExpo: boolean;
2970
3033
  username: string | null;
2971
3034
  phoneNumber: string;
@@ -3044,6 +3107,38 @@ export interface components {
3044
3107
  active: boolean;
3045
3108
  }[];
3046
3109
  };
3110
+ EmitTicketDto: {
3111
+ mail: string;
3112
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
3113
+ fullName: string;
3114
+ eventId: string;
3115
+ status: "BOOKED" | "PAID" | "FREE";
3116
+ };
3117
+ EmitTicketResponseDto: {
3118
+ id: string;
3119
+ eventId: string;
3120
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
3121
+ status: "BOOKED" | "PAID" | "FREE";
3122
+ fullName: string;
3123
+ mail: string;
3124
+ created_at: string;
3125
+ updated_at: string;
3126
+ event: {
3127
+ id: string;
3128
+ name: string;
3129
+ date: string;
3130
+ startingDate: string;
3131
+ endingDate: string;
3132
+ location: string;
3133
+ folderId: string | null;
3134
+ tagAssistedId: string;
3135
+ tagConfirmedId: string;
3136
+ active: boolean;
3137
+ supraEventId: string | null;
3138
+ created_at: string;
3139
+ updated_at: string;
3140
+ };
3141
+ };
3047
3142
  LoginMiExpoDto: {
3048
3143
  username: string;
3049
3144
  password: string;
@@ -3052,6 +3147,7 @@ export interface components {
3052
3147
  user: {
3053
3148
  id: string;
3054
3149
  shortId: number;
3150
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
3055
3151
  firstTimeMiExpo: boolean;
3056
3152
  username: string | null;
3057
3153
  phoneNumber: string;
@@ -5523,6 +5619,48 @@ export interface operations {
5523
5619
  };
5524
5620
  };
5525
5621
  };
5622
+ MiExpoController_tickets: {
5623
+ parameters: {
5624
+ query?: never;
5625
+ header?: never;
5626
+ path?: never;
5627
+ cookie?: never;
5628
+ };
5629
+ requestBody?: never;
5630
+ responses: {
5631
+ 200: {
5632
+ headers: {
5633
+ [name: string]: unknown;
5634
+ };
5635
+ content: {
5636
+ "application/json": components["schemas"]["FindByProfileIdTicketResponseDto"];
5637
+ };
5638
+ };
5639
+ };
5640
+ };
5641
+ MiExpoController_emitTicket: {
5642
+ parameters: {
5643
+ query?: never;
5644
+ header?: never;
5645
+ path?: never;
5646
+ cookie?: never;
5647
+ };
5648
+ requestBody: {
5649
+ content: {
5650
+ "application/json": components["schemas"]["EmitTicketDto"];
5651
+ };
5652
+ };
5653
+ responses: {
5654
+ 201: {
5655
+ headers: {
5656
+ [name: string]: unknown;
5657
+ };
5658
+ content: {
5659
+ "application/json": components["schemas"]["EmitTicketResponseDto"];
5660
+ };
5661
+ };
5662
+ };
5663
+ };
5526
5664
  MiExpoController_loginUsernamePassword: {
5527
5665
  parameters: {
5528
5666
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.34.0-EXPO-319-ver-eventos-disponibles.10",
3
+ "version": "0.34.0-EXPO-319-ver-eventos-disponibles.12",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,