expo-backend-types 0.35.0 → 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.2
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.
- package/dist/src/account/dto/account.dto.d.ts +6 -4
- package/dist/src/account/dto/create-account.dto.d.ts +12 -8
- package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
- package/dist/src/account/dto/get-me.dto.d.ts +6 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
- package/dist/src/auth/dto/login.dto.d.ts +11 -8
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
- package/dist/src/i18n/es.d.ts +5 -0
- package/dist/src/i18n/es.js +5 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +6 -4
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +10 -8
- package/dist/src/mi-expo/dto/login.dto.d.ts +11 -8
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +6 -4
- package/dist/src/otp/dto/verify-otp.dto.d.ts +10 -8
- package/dist/src/profile/dto/create-profile.dto.d.ts +4 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -4
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +16 -12
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +6 -4
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -4
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-trash.dto.d.ts +1 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +10 -8
- package/dist/src/profile/dto/profile.dto.d.ts +3 -2
- package/dist/src/profile/dto/update-profile.dto.d.ts +6 -4
- package/dist/src/schema/profile.schema.d.ts +3 -2
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +10 -8
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +10 -8
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +288 -0
- package/dist/src/ticket/dto/create-many-ticket.dto.js +31 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +14 -12
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +14 -12
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +14 -12
- package/dist/types/prisma-schema/edge.js +4 -3
- package/dist/types/prisma-schema/index-browser.js +1 -0
- package/dist/types/prisma-schema/index.d.ts +1 -0
- package/dist/types/prisma-schema/index.js +4 -3
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -0
- package/dist/types/prisma-schema/wasm.js +1 -0
- package/dist/types/schema.d.ts +110 -22
- package/package.json +1 -1
package/dist/types/schema.d.ts
CHANGED
@@ -975,6 +975,22 @@ export interface paths {
|
|
975
975
|
patch?: never;
|
976
976
|
trace?: never;
|
977
977
|
};
|
978
|
+
"/ticket/create-many": {
|
979
|
+
parameters: {
|
980
|
+
query?: never;
|
981
|
+
header?: never;
|
982
|
+
path?: never;
|
983
|
+
cookie?: never;
|
984
|
+
};
|
985
|
+
get?: never;
|
986
|
+
put?: never;
|
987
|
+
post: operations["TicketController_createMany"];
|
988
|
+
delete?: never;
|
989
|
+
options?: never;
|
990
|
+
head?: never;
|
991
|
+
patch?: never;
|
992
|
+
trace?: never;
|
993
|
+
};
|
978
994
|
"/ticket/all": {
|
979
995
|
parameters: {
|
980
996
|
query?: never;
|
@@ -1259,7 +1275,7 @@ export interface components {
|
|
1259
1275
|
user: {
|
1260
1276
|
id: string;
|
1261
1277
|
username: string;
|
1262
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1278
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
1263
1279
|
isGlobalFilterActive: boolean;
|
1264
1280
|
fcmToken: string[];
|
1265
1281
|
created_at: string;
|
@@ -1371,7 +1387,7 @@ export interface components {
|
|
1371
1387
|
profiles: {
|
1372
1388
|
id: string;
|
1373
1389
|
shortId: number;
|
1374
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1390
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
1375
1391
|
firstTimeMiExpo: boolean;
|
1376
1392
|
username: string | null;
|
1377
1393
|
password: string | null;
|
@@ -1403,7 +1419,7 @@ export interface components {
|
|
1403
1419
|
profiles: {
|
1404
1420
|
id: string;
|
1405
1421
|
shortId: number;
|
1406
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1422
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
1407
1423
|
firstTimeMiExpo: boolean;
|
1408
1424
|
username: string | null;
|
1409
1425
|
password: string | null;
|
@@ -1430,12 +1446,12 @@ export interface components {
|
|
1430
1446
|
CreateAccountDto: {
|
1431
1447
|
username: string;
|
1432
1448
|
password: string;
|
1433
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1449
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
1434
1450
|
};
|
1435
1451
|
CreateAccountResponseDto: {
|
1436
1452
|
id: string;
|
1437
1453
|
username: string;
|
1438
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1454
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
1439
1455
|
isGlobalFilterActive: boolean;
|
1440
1456
|
fcmToken: string[];
|
1441
1457
|
};
|
@@ -1447,7 +1463,7 @@ export interface components {
|
|
1447
1463
|
id: string;
|
1448
1464
|
username: string;
|
1449
1465
|
password: string;
|
1450
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1466
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
1451
1467
|
isGlobalFilterActive: boolean;
|
1452
1468
|
fcmToken: string[];
|
1453
1469
|
created_at: string;
|
@@ -1477,7 +1493,7 @@ export interface components {
|
|
1477
1493
|
GetMeResponseDto: {
|
1478
1494
|
id: string;
|
1479
1495
|
username: string;
|
1480
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1496
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
1481
1497
|
isGlobalFilterActive: boolean;
|
1482
1498
|
fcmToken: string[];
|
1483
1499
|
created_at: string;
|
@@ -2146,7 +2162,7 @@ export interface components {
|
|
2146
2162
|
profiles: {
|
2147
2163
|
id: string;
|
2148
2164
|
shortId: number;
|
2149
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2165
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2150
2166
|
firstTimeMiExpo: boolean;
|
2151
2167
|
username: string | null;
|
2152
2168
|
password: string | null;
|
@@ -2186,7 +2202,7 @@ export interface components {
|
|
2186
2202
|
profiles: {
|
2187
2203
|
id: string;
|
2188
2204
|
shortId: number;
|
2189
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2205
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2190
2206
|
firstTimeMiExpo: boolean;
|
2191
2207
|
username: string | null;
|
2192
2208
|
password: string | null;
|
@@ -2244,7 +2260,7 @@ export interface components {
|
|
2244
2260
|
profiles: {
|
2245
2261
|
id: string;
|
2246
2262
|
shortId: number;
|
2247
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2263
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2248
2264
|
firstTimeMiExpo: boolean;
|
2249
2265
|
username: string | null;
|
2250
2266
|
password: string | null;
|
@@ -2285,7 +2301,7 @@ export interface components {
|
|
2285
2301
|
profiles: {
|
2286
2302
|
id: string;
|
2287
2303
|
shortId: number;
|
2288
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2304
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2289
2305
|
firstTimeMiExpo: boolean;
|
2290
2306
|
username: string | null;
|
2291
2307
|
password: string | null;
|
@@ -2321,7 +2337,7 @@ export interface components {
|
|
2321
2337
|
[key: string]: {
|
2322
2338
|
id: string;
|
2323
2339
|
shortId: number;
|
2324
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2340
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2325
2341
|
firstTimeMiExpo: boolean;
|
2326
2342
|
username: string | null;
|
2327
2343
|
password: string | null;
|
@@ -2359,7 +2375,7 @@ export interface components {
|
|
2359
2375
|
FindByPhoneNumberResponseDto: {
|
2360
2376
|
id: string;
|
2361
2377
|
shortId: number;
|
2362
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2378
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2363
2379
|
firstTimeMiExpo: boolean;
|
2364
2380
|
username: string | null;
|
2365
2381
|
password: string | null;
|
@@ -2449,7 +2465,7 @@ export interface components {
|
|
2449
2465
|
FindByIdProfileResponseDto: {
|
2450
2466
|
id: string;
|
2451
2467
|
shortId: number;
|
2452
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2468
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2453
2469
|
firstTimeMiExpo: boolean;
|
2454
2470
|
username: string | null;
|
2455
2471
|
phoneNumber: string;
|
@@ -2507,7 +2523,7 @@ export interface components {
|
|
2507
2523
|
DeleteProfileResponseDto: {
|
2508
2524
|
id: string;
|
2509
2525
|
shortId: number;
|
2510
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2526
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2511
2527
|
firstTimeMiExpo: boolean;
|
2512
2528
|
username: string | null;
|
2513
2529
|
password: string | null;
|
@@ -2705,6 +2721,39 @@ export interface components {
|
|
2705
2721
|
updated_at: string;
|
2706
2722
|
};
|
2707
2723
|
};
|
2724
|
+
CreateManyTicketDto: {
|
2725
|
+
eventId: string;
|
2726
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2727
|
+
status: "BOOKED" | "PAID" | "FREE";
|
2728
|
+
fullName: string;
|
2729
|
+
mail: string;
|
2730
|
+
profileId?: string;
|
2731
|
+
}[];
|
2732
|
+
CreateManyTicketResponseDto: {
|
2733
|
+
id: string;
|
2734
|
+
eventId: string;
|
2735
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2736
|
+
status: "BOOKED" | "PAID" | "FREE";
|
2737
|
+
fullName: string;
|
2738
|
+
mail: string;
|
2739
|
+
created_at: string;
|
2740
|
+
updated_at: string;
|
2741
|
+
event: {
|
2742
|
+
id: string;
|
2743
|
+
name: string;
|
2744
|
+
date: string;
|
2745
|
+
startingDate: string;
|
2746
|
+
endingDate: string;
|
2747
|
+
location: string;
|
2748
|
+
folderId: string | null;
|
2749
|
+
tagAssistedId: string;
|
2750
|
+
tagConfirmedId: string;
|
2751
|
+
active: boolean;
|
2752
|
+
supraEventId: string | null;
|
2753
|
+
created_at: string;
|
2754
|
+
updated_at: string;
|
2755
|
+
};
|
2756
|
+
}[];
|
2708
2757
|
FindAllTicketsResponseDto: {
|
2709
2758
|
tickets: {
|
2710
2759
|
id: string;
|
@@ -2740,7 +2789,7 @@ export interface components {
|
|
2740
2789
|
profile: {
|
2741
2790
|
id: string;
|
2742
2791
|
shortId: number;
|
2743
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2792
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2744
2793
|
firstTimeMiExpo: boolean;
|
2745
2794
|
username: string | null;
|
2746
2795
|
password: string | null;
|
@@ -2783,7 +2832,7 @@ export interface components {
|
|
2783
2832
|
profile: {
|
2784
2833
|
id: string;
|
2785
2834
|
shortId: number;
|
2786
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2835
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2787
2836
|
firstTimeMiExpo: boolean;
|
2788
2837
|
username: string | null;
|
2789
2838
|
password: string | null;
|
@@ -2826,7 +2875,7 @@ export interface components {
|
|
2826
2875
|
profile: {
|
2827
2876
|
id: string;
|
2828
2877
|
shortId: number;
|
2829
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2878
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2830
2879
|
firstTimeMiExpo: boolean;
|
2831
2880
|
username: string | null;
|
2832
2881
|
password: string | null;
|
@@ -2938,7 +2987,7 @@ export interface components {
|
|
2938
2987
|
profile: {
|
2939
2988
|
id: string;
|
2940
2989
|
shortId: number;
|
2941
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2990
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2942
2991
|
firstTimeMiExpo: boolean;
|
2943
2992
|
username: string | null;
|
2944
2993
|
password: string | null;
|
@@ -2986,7 +3035,7 @@ export interface components {
|
|
2986
3035
|
profile: {
|
2987
3036
|
id: string;
|
2988
3037
|
shortId: number;
|
2989
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
3038
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
2990
3039
|
firstTimeMiExpo: boolean;
|
2991
3040
|
username: string | null;
|
2992
3041
|
phoneNumber: string;
|
@@ -3012,7 +3061,7 @@ export interface components {
|
|
3012
3061
|
GetMiExpoMeResponseDto: {
|
3013
3062
|
id: string;
|
3014
3063
|
shortId: number;
|
3015
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
3064
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
3016
3065
|
firstTimeMiExpo: boolean;
|
3017
3066
|
username: string | null;
|
3018
3067
|
phoneNumber: string;
|
@@ -3099,7 +3148,7 @@ export interface components {
|
|
3099
3148
|
user: {
|
3100
3149
|
id: string;
|
3101
3150
|
shortId: number;
|
3102
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
3151
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
3103
3152
|
firstTimeMiExpo: boolean;
|
3104
3153
|
username: string | null;
|
3105
3154
|
phoneNumber: string;
|
@@ -5092,6 +5141,45 @@ export interface operations {
|
|
5092
5141
|
};
|
5093
5142
|
};
|
5094
5143
|
};
|
5144
|
+
TicketController_createMany: {
|
5145
|
+
parameters: {
|
5146
|
+
query?: never;
|
5147
|
+
header?: never;
|
5148
|
+
path?: never;
|
5149
|
+
cookie?: never;
|
5150
|
+
};
|
5151
|
+
requestBody: {
|
5152
|
+
content: {
|
5153
|
+
"application/json": components["schemas"]["CreateManyTicketDto"];
|
5154
|
+
};
|
5155
|
+
};
|
5156
|
+
responses: {
|
5157
|
+
200: {
|
5158
|
+
headers: {
|
5159
|
+
[name: string]: unknown;
|
5160
|
+
};
|
5161
|
+
content: {
|
5162
|
+
"application/json": components["schemas"]["CreateManyTicketResponseDto"];
|
5163
|
+
};
|
5164
|
+
};
|
5165
|
+
404: {
|
5166
|
+
headers: {
|
5167
|
+
[name: string]: unknown;
|
5168
|
+
};
|
5169
|
+
content: {
|
5170
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5171
|
+
};
|
5172
|
+
};
|
5173
|
+
409: {
|
5174
|
+
headers: {
|
5175
|
+
[name: string]: unknown;
|
5176
|
+
};
|
5177
|
+
content: {
|
5178
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5179
|
+
};
|
5180
|
+
};
|
5181
|
+
};
|
5182
|
+
};
|
5095
5183
|
TicketController_findAll: {
|
5096
5184
|
parameters: {
|
5097
5185
|
query?: never;
|