expo-backend-types 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.10 → 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.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.
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +10 -0
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +27 -1
- package/dist/src/ticket/dto/create-many-ticket.dto.js +1 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +13 -1
- package/dist/src/ticket/dto/create-ticket.dto.js +1 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +6 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +10 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +10 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +10 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +10 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +10 -0
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +6 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +6 -0
- package/dist/src/ticket/dto/ticket.dto.js +2 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +12 -0
- package/dist/src/ticket/dto/update-ticket.dto.js +1 -0
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +10 -0
- package/dist/src/ticket-group/exports.d.ts +5 -0
- package/dist/src/ticket-group/exports.js +22 -0
- package/dist/types/prisma-schema/edge.js +3 -3
- package/dist/types/prisma-schema/index.d.ts +40 -61
- package/dist/types/prisma-schema/index.js +3 -3
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +2 -2
- package/dist/types/schema.d.ts +263 -0
- package/package.json +1 -1
package/dist/types/schema.d.ts
CHANGED
@@ -1135,6 +1135,70 @@ export interface paths {
|
|
1135
1135
|
patch?: never;
|
1136
1136
|
trace?: never;
|
1137
1137
|
};
|
1138
|
+
"/ticket-group/create": {
|
1139
|
+
parameters: {
|
1140
|
+
query?: never;
|
1141
|
+
header?: never;
|
1142
|
+
path?: never;
|
1143
|
+
cookie?: never;
|
1144
|
+
};
|
1145
|
+
get?: never;
|
1146
|
+
put?: never;
|
1147
|
+
post: operations["TicketGroupController_create"];
|
1148
|
+
delete?: never;
|
1149
|
+
options?: never;
|
1150
|
+
head?: never;
|
1151
|
+
patch?: never;
|
1152
|
+
trace?: never;
|
1153
|
+
};
|
1154
|
+
"/ticket-group/find-tickets-by-event/{id}": {
|
1155
|
+
parameters: {
|
1156
|
+
query?: never;
|
1157
|
+
header?: never;
|
1158
|
+
path?: never;
|
1159
|
+
cookie?: never;
|
1160
|
+
};
|
1161
|
+
get: operations["TicketGroupController_findTicketsByEvent"];
|
1162
|
+
put?: never;
|
1163
|
+
post?: never;
|
1164
|
+
delete?: never;
|
1165
|
+
options?: never;
|
1166
|
+
head?: never;
|
1167
|
+
patch?: never;
|
1168
|
+
trace?: never;
|
1169
|
+
};
|
1170
|
+
"/ticket-group/update/{id}": {
|
1171
|
+
parameters: {
|
1172
|
+
query?: never;
|
1173
|
+
header?: never;
|
1174
|
+
path?: never;
|
1175
|
+
cookie?: never;
|
1176
|
+
};
|
1177
|
+
get?: never;
|
1178
|
+
put?: never;
|
1179
|
+
post?: never;
|
1180
|
+
delete?: never;
|
1181
|
+
options?: never;
|
1182
|
+
head?: never;
|
1183
|
+
patch: operations["TicketGroupController_update"];
|
1184
|
+
trace?: never;
|
1185
|
+
};
|
1186
|
+
"/ticket-group/delete/{id}": {
|
1187
|
+
parameters: {
|
1188
|
+
query?: never;
|
1189
|
+
header?: never;
|
1190
|
+
path?: never;
|
1191
|
+
cookie?: never;
|
1192
|
+
};
|
1193
|
+
get?: never;
|
1194
|
+
put?: never;
|
1195
|
+
post?: never;
|
1196
|
+
delete: operations["TicketGroupController_delete"];
|
1197
|
+
options?: never;
|
1198
|
+
head?: never;
|
1199
|
+
patch?: never;
|
1200
|
+
trace?: never;
|
1201
|
+
};
|
1138
1202
|
"/webhook": {
|
1139
1203
|
parameters: {
|
1140
1204
|
query?: never;
|
@@ -2079,6 +2143,7 @@ export interface components {
|
|
2079
2143
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2080
2144
|
fullName: string;
|
2081
2145
|
mail: string;
|
2146
|
+
ticketGroupId: string;
|
2082
2147
|
created_at: string;
|
2083
2148
|
updated_at: string;
|
2084
2149
|
}[];
|
@@ -2692,6 +2757,7 @@ export interface components {
|
|
2692
2757
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2693
2758
|
fullName: string;
|
2694
2759
|
mail: string;
|
2760
|
+
ticketGroupId: string;
|
2695
2761
|
profileId?: string;
|
2696
2762
|
};
|
2697
2763
|
CreateTicketResponseDto: {
|
@@ -2700,6 +2766,7 @@ export interface components {
|
|
2700
2766
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2701
2767
|
fullName: string;
|
2702
2768
|
mail: string;
|
2769
|
+
ticketGroupId: string;
|
2703
2770
|
created_at: string;
|
2704
2771
|
updated_at: string;
|
2705
2772
|
event: {
|
@@ -2724,6 +2791,7 @@ export interface components {
|
|
2724
2791
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2725
2792
|
fullName: string;
|
2726
2793
|
mail: string;
|
2794
|
+
ticketGroupId: string;
|
2727
2795
|
profileId?: string;
|
2728
2796
|
}[];
|
2729
2797
|
};
|
@@ -2734,6 +2802,7 @@ export interface components {
|
|
2734
2802
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2735
2803
|
fullName: string;
|
2736
2804
|
mail: string;
|
2805
|
+
ticketGroupId: string;
|
2737
2806
|
created_at: string;
|
2738
2807
|
updated_at: string;
|
2739
2808
|
event: {
|
@@ -2764,6 +2833,7 @@ export interface components {
|
|
2764
2833
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2765
2834
|
fullName: string;
|
2766
2835
|
mail: string;
|
2836
|
+
ticketGroupId: string;
|
2767
2837
|
created_at: string;
|
2768
2838
|
updated_at: string;
|
2769
2839
|
event: {
|
@@ -2780,6 +2850,7 @@ export interface components {
|
|
2780
2850
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2781
2851
|
fullName: string;
|
2782
2852
|
mail: string;
|
2853
|
+
ticketGroupId: string;
|
2783
2854
|
created_at: string;
|
2784
2855
|
updated_at: string;
|
2785
2856
|
event: {
|
@@ -2822,6 +2893,7 @@ export interface components {
|
|
2822
2893
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2823
2894
|
fullName: string;
|
2824
2895
|
mail: string;
|
2896
|
+
ticketGroupId: string;
|
2825
2897
|
created_at: string;
|
2826
2898
|
updated_at: string;
|
2827
2899
|
event: {
|
@@ -2864,6 +2936,7 @@ export interface components {
|
|
2864
2936
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2865
2937
|
fullName: string;
|
2866
2938
|
mail: string;
|
2939
|
+
ticketGroupId: string;
|
2867
2940
|
created_at: string;
|
2868
2941
|
updated_at: string;
|
2869
2942
|
event: {
|
@@ -2906,6 +2979,7 @@ export interface components {
|
|
2906
2979
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2907
2980
|
fullName: string;
|
2908
2981
|
mail: string;
|
2982
|
+
ticketGroupId: string;
|
2909
2983
|
created_at: string;
|
2910
2984
|
updated_at: string;
|
2911
2985
|
event: {
|
@@ -2929,6 +3003,7 @@ export interface components {
|
|
2929
3003
|
type?: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2930
3004
|
fullName?: string;
|
2931
3005
|
mail?: string;
|
3006
|
+
ticketGroupId?: string;
|
2932
3007
|
};
|
2933
3008
|
UpdateTicketResponseDto: {
|
2934
3009
|
id: string;
|
@@ -2936,6 +3011,7 @@ export interface components {
|
|
2936
3011
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2937
3012
|
fullName: string;
|
2938
3013
|
mail: string;
|
3014
|
+
ticketGroupId: string;
|
2939
3015
|
created_at: string;
|
2940
3016
|
updated_at: string;
|
2941
3017
|
};
|
@@ -2945,6 +3021,7 @@ export interface components {
|
|
2945
3021
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2946
3022
|
fullName: string;
|
2947
3023
|
mail: string;
|
3024
|
+
ticketGroupId: string;
|
2948
3025
|
created_at: string;
|
2949
3026
|
updated_at: string;
|
2950
3027
|
};
|
@@ -2954,6 +3031,64 @@ export interface components {
|
|
2954
3031
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2955
3032
|
fullName: string;
|
2956
3033
|
mail: string;
|
3034
|
+
ticketGroupId: string;
|
3035
|
+
created_at: string;
|
3036
|
+
updated_at: string;
|
3037
|
+
};
|
3038
|
+
CreateTicketGroupDto: {
|
3039
|
+
eventId: string;
|
3040
|
+
amountTickets: number;
|
3041
|
+
status: "BOOKED" | "PAID" | "FREE";
|
3042
|
+
};
|
3043
|
+
CreateTicketGroupResponseDto: {
|
3044
|
+
id: string;
|
3045
|
+
amountTickets: number;
|
3046
|
+
status: "BOOKED" | "PAID" | "FREE";
|
3047
|
+
eventId: string;
|
3048
|
+
created_at: string;
|
3049
|
+
updated_at: string;
|
3050
|
+
tickets: {
|
3051
|
+
id: string;
|
3052
|
+
eventId: string;
|
3053
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
3054
|
+
fullName: string;
|
3055
|
+
mail: string;
|
3056
|
+
ticketGroupId: string;
|
3057
|
+
created_at: string;
|
3058
|
+
updated_at: string;
|
3059
|
+
}[];
|
3060
|
+
event: {
|
3061
|
+
id: string;
|
3062
|
+
name: string;
|
3063
|
+
date: string;
|
3064
|
+
startingDate: string;
|
3065
|
+
endingDate: string;
|
3066
|
+
location: string;
|
3067
|
+
folderId: string | null;
|
3068
|
+
tagAssistedId: string;
|
3069
|
+
tagConfirmedId: string;
|
3070
|
+
active: boolean;
|
3071
|
+
supraEventId: string | null;
|
3072
|
+
created_at: string;
|
3073
|
+
updated_at: string;
|
3074
|
+
};
|
3075
|
+
};
|
3076
|
+
UpdateTicketGroupDto: {
|
3077
|
+
status?: "BOOKED" | "PAID" | "FREE";
|
3078
|
+
};
|
3079
|
+
UpdateTicketGroupResponseDto: {
|
3080
|
+
id: string;
|
3081
|
+
amountTickets: number;
|
3082
|
+
status: "BOOKED" | "PAID" | "FREE";
|
3083
|
+
eventId: string;
|
3084
|
+
created_at: string;
|
3085
|
+
updated_at: string;
|
3086
|
+
};
|
3087
|
+
DeleteTicketGroupResponseDto: {
|
3088
|
+
id: string;
|
3089
|
+
amountTickets: number;
|
3090
|
+
status: "BOOKED" | "PAID" | "FREE";
|
3091
|
+
eventId: string;
|
2957
3092
|
created_at: string;
|
2958
3093
|
updated_at: string;
|
2959
3094
|
};
|
@@ -5437,6 +5572,134 @@ export interface operations {
|
|
5437
5572
|
};
|
5438
5573
|
};
|
5439
5574
|
};
|
5575
|
+
TicketGroupController_create: {
|
5576
|
+
parameters: {
|
5577
|
+
query?: never;
|
5578
|
+
header?: never;
|
5579
|
+
path?: never;
|
5580
|
+
cookie?: never;
|
5581
|
+
};
|
5582
|
+
requestBody: {
|
5583
|
+
content: {
|
5584
|
+
"application/json": components["schemas"]["CreateTicketGroupDto"];
|
5585
|
+
};
|
5586
|
+
};
|
5587
|
+
responses: {
|
5588
|
+
200: {
|
5589
|
+
headers: {
|
5590
|
+
[name: string]: unknown;
|
5591
|
+
};
|
5592
|
+
content: {
|
5593
|
+
"application/json": components["schemas"]["CreateTicketGroupResponseDto"];
|
5594
|
+
};
|
5595
|
+
};
|
5596
|
+
404: {
|
5597
|
+
headers: {
|
5598
|
+
[name: string]: unknown;
|
5599
|
+
};
|
5600
|
+
content: {
|
5601
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5602
|
+
};
|
5603
|
+
};
|
5604
|
+
409: {
|
5605
|
+
headers: {
|
5606
|
+
[name: string]: unknown;
|
5607
|
+
};
|
5608
|
+
content: {
|
5609
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5610
|
+
};
|
5611
|
+
};
|
5612
|
+
};
|
5613
|
+
};
|
5614
|
+
TicketGroupController_findTicketsByEvent: {
|
5615
|
+
parameters: {
|
5616
|
+
query?: never;
|
5617
|
+
header?: never;
|
5618
|
+
path: {
|
5619
|
+
id: string;
|
5620
|
+
};
|
5621
|
+
cookie?: never;
|
5622
|
+
};
|
5623
|
+
requestBody?: never;
|
5624
|
+
responses: {
|
5625
|
+
200: {
|
5626
|
+
headers: {
|
5627
|
+
[name: string]: unknown;
|
5628
|
+
};
|
5629
|
+
content?: never;
|
5630
|
+
};
|
5631
|
+
404: {
|
5632
|
+
headers: {
|
5633
|
+
[name: string]: unknown;
|
5634
|
+
};
|
5635
|
+
content: {
|
5636
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5637
|
+
};
|
5638
|
+
};
|
5639
|
+
};
|
5640
|
+
};
|
5641
|
+
TicketGroupController_update: {
|
5642
|
+
parameters: {
|
5643
|
+
query?: never;
|
5644
|
+
header?: never;
|
5645
|
+
path: {
|
5646
|
+
id: string;
|
5647
|
+
};
|
5648
|
+
cookie?: never;
|
5649
|
+
};
|
5650
|
+
requestBody: {
|
5651
|
+
content: {
|
5652
|
+
"application/json": components["schemas"]["UpdateTicketGroupDto"];
|
5653
|
+
};
|
5654
|
+
};
|
5655
|
+
responses: {
|
5656
|
+
200: {
|
5657
|
+
headers: {
|
5658
|
+
[name: string]: unknown;
|
5659
|
+
};
|
5660
|
+
content: {
|
5661
|
+
"application/json": components["schemas"]["UpdateTicketGroupResponseDto"];
|
5662
|
+
};
|
5663
|
+
};
|
5664
|
+
404: {
|
5665
|
+
headers: {
|
5666
|
+
[name: string]: unknown;
|
5667
|
+
};
|
5668
|
+
content: {
|
5669
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5670
|
+
};
|
5671
|
+
};
|
5672
|
+
};
|
5673
|
+
};
|
5674
|
+
TicketGroupController_delete: {
|
5675
|
+
parameters: {
|
5676
|
+
query?: never;
|
5677
|
+
header?: never;
|
5678
|
+
path: {
|
5679
|
+
id: string;
|
5680
|
+
};
|
5681
|
+
cookie?: never;
|
5682
|
+
};
|
5683
|
+
requestBody?: never;
|
5684
|
+
responses: {
|
5685
|
+
200: {
|
5686
|
+
headers: {
|
5687
|
+
[name: string]: unknown;
|
5688
|
+
};
|
5689
|
+
content: {
|
5690
|
+
"application/json": components["schemas"]["DeleteTicketGroupResponseDto"];
|
5691
|
+
};
|
5692
|
+
};
|
5693
|
+
404: {
|
5694
|
+
headers: {
|
5695
|
+
[name: string]: unknown;
|
5696
|
+
};
|
5697
|
+
content: {
|
5698
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5699
|
+
};
|
5700
|
+
};
|
5701
|
+
};
|
5702
|
+
};
|
5440
5703
|
WebhookController_verify: {
|
5441
5704
|
parameters: {
|
5442
5705
|
query: {
|
package/package.json
CHANGED