expo-backend-types 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.10 → 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.11
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/exports.d.ts
CHANGED
package/dist/src/exports.js
CHANGED
@@ -30,5 +30,6 @@ __exportStar(require("./schema/exports"), exports);
|
|
30
30
|
__exportStar(require("./shared/dto-modification/zod-without-dates"), exports);
|
31
31
|
__exportStar(require("./tag-group/exports"), exports);
|
32
32
|
__exportStar(require("./tag/exports"), exports);
|
33
|
+
__exportStar(require("./ticket-group/exports"), exports);
|
33
34
|
__exportStar(require("./ticket/exports"), exports);
|
34
35
|
//# sourceMappingURL=exports.js.map
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto/create-ticket-group.dto"), exports);
|
18
|
+
__exportStar(require("./dto/delete-ticket-group.dto"), exports);
|
19
|
+
__exportStar(require("./dto/find-tickets-by-event.dto"), exports);
|
20
|
+
__exportStar(require("./dto/update-ticket-group.dto"), exports);
|
21
|
+
//# sourceMappingURL=exports.js.map
|
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;
|
@@ -2957,6 +3021,62 @@ export interface components {
|
|
2957
3021
|
created_at: string;
|
2958
3022
|
updated_at: string;
|
2959
3023
|
};
|
3024
|
+
CreateTicketGroupDto: {
|
3025
|
+
eventId: string;
|
3026
|
+
amountTickets: number;
|
3027
|
+
status: "BOOKED" | "PAID" | "FREE";
|
3028
|
+
};
|
3029
|
+
CreateTicketGroupResponseDto: {
|
3030
|
+
id: string;
|
3031
|
+
amountTickets: number;
|
3032
|
+
status: "BOOKED" | "PAID" | "FREE";
|
3033
|
+
eventId: string;
|
3034
|
+
created_at: string;
|
3035
|
+
updated_at: string;
|
3036
|
+
tickets: {
|
3037
|
+
id: string;
|
3038
|
+
eventId: string;
|
3039
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
3040
|
+
fullName: string;
|
3041
|
+
mail: string;
|
3042
|
+
created_at: string;
|
3043
|
+
updated_at: string;
|
3044
|
+
}[];
|
3045
|
+
event: {
|
3046
|
+
id: string;
|
3047
|
+
name: string;
|
3048
|
+
date: string;
|
3049
|
+
startingDate: string;
|
3050
|
+
endingDate: string;
|
3051
|
+
location: string;
|
3052
|
+
folderId: string | null;
|
3053
|
+
tagAssistedId: string;
|
3054
|
+
tagConfirmedId: string;
|
3055
|
+
active: boolean;
|
3056
|
+
supraEventId: string | null;
|
3057
|
+
created_at: string;
|
3058
|
+
updated_at: string;
|
3059
|
+
};
|
3060
|
+
};
|
3061
|
+
UpdateTicketGroupDto: {
|
3062
|
+
status?: "BOOKED" | "PAID" | "FREE";
|
3063
|
+
};
|
3064
|
+
UpdateTicketGroupResponseDto: {
|
3065
|
+
id: string;
|
3066
|
+
amountTickets: number;
|
3067
|
+
status: "BOOKED" | "PAID" | "FREE";
|
3068
|
+
eventId: string;
|
3069
|
+
created_at: string;
|
3070
|
+
updated_at: string;
|
3071
|
+
};
|
3072
|
+
DeleteTicketGroupResponseDto: {
|
3073
|
+
id: string;
|
3074
|
+
amountTickets: number;
|
3075
|
+
status: "BOOKED" | "PAID" | "FREE";
|
3076
|
+
eventId: string;
|
3077
|
+
created_at: string;
|
3078
|
+
updated_at: string;
|
3079
|
+
};
|
2960
3080
|
SendOtpDto: {
|
2961
3081
|
phoneNumber: string;
|
2962
3082
|
};
|
@@ -5437,6 +5557,134 @@ export interface operations {
|
|
5437
5557
|
};
|
5438
5558
|
};
|
5439
5559
|
};
|
5560
|
+
TicketGroupController_create: {
|
5561
|
+
parameters: {
|
5562
|
+
query?: never;
|
5563
|
+
header?: never;
|
5564
|
+
path?: never;
|
5565
|
+
cookie?: never;
|
5566
|
+
};
|
5567
|
+
requestBody: {
|
5568
|
+
content: {
|
5569
|
+
"application/json": components["schemas"]["CreateTicketGroupDto"];
|
5570
|
+
};
|
5571
|
+
};
|
5572
|
+
responses: {
|
5573
|
+
200: {
|
5574
|
+
headers: {
|
5575
|
+
[name: string]: unknown;
|
5576
|
+
};
|
5577
|
+
content: {
|
5578
|
+
"application/json": components["schemas"]["CreateTicketGroupResponseDto"];
|
5579
|
+
};
|
5580
|
+
};
|
5581
|
+
404: {
|
5582
|
+
headers: {
|
5583
|
+
[name: string]: unknown;
|
5584
|
+
};
|
5585
|
+
content: {
|
5586
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5587
|
+
};
|
5588
|
+
};
|
5589
|
+
409: {
|
5590
|
+
headers: {
|
5591
|
+
[name: string]: unknown;
|
5592
|
+
};
|
5593
|
+
content: {
|
5594
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5595
|
+
};
|
5596
|
+
};
|
5597
|
+
};
|
5598
|
+
};
|
5599
|
+
TicketGroupController_findTicketsByEvent: {
|
5600
|
+
parameters: {
|
5601
|
+
query?: never;
|
5602
|
+
header?: never;
|
5603
|
+
path: {
|
5604
|
+
id: string;
|
5605
|
+
};
|
5606
|
+
cookie?: never;
|
5607
|
+
};
|
5608
|
+
requestBody?: never;
|
5609
|
+
responses: {
|
5610
|
+
200: {
|
5611
|
+
headers: {
|
5612
|
+
[name: string]: unknown;
|
5613
|
+
};
|
5614
|
+
content?: never;
|
5615
|
+
};
|
5616
|
+
404: {
|
5617
|
+
headers: {
|
5618
|
+
[name: string]: unknown;
|
5619
|
+
};
|
5620
|
+
content: {
|
5621
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5622
|
+
};
|
5623
|
+
};
|
5624
|
+
};
|
5625
|
+
};
|
5626
|
+
TicketGroupController_update: {
|
5627
|
+
parameters: {
|
5628
|
+
query?: never;
|
5629
|
+
header?: never;
|
5630
|
+
path: {
|
5631
|
+
id: string;
|
5632
|
+
};
|
5633
|
+
cookie?: never;
|
5634
|
+
};
|
5635
|
+
requestBody: {
|
5636
|
+
content: {
|
5637
|
+
"application/json": components["schemas"]["UpdateTicketGroupDto"];
|
5638
|
+
};
|
5639
|
+
};
|
5640
|
+
responses: {
|
5641
|
+
200: {
|
5642
|
+
headers: {
|
5643
|
+
[name: string]: unknown;
|
5644
|
+
};
|
5645
|
+
content: {
|
5646
|
+
"application/json": components["schemas"]["UpdateTicketGroupResponseDto"];
|
5647
|
+
};
|
5648
|
+
};
|
5649
|
+
404: {
|
5650
|
+
headers: {
|
5651
|
+
[name: string]: unknown;
|
5652
|
+
};
|
5653
|
+
content: {
|
5654
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5655
|
+
};
|
5656
|
+
};
|
5657
|
+
};
|
5658
|
+
};
|
5659
|
+
TicketGroupController_delete: {
|
5660
|
+
parameters: {
|
5661
|
+
query?: never;
|
5662
|
+
header?: never;
|
5663
|
+
path: {
|
5664
|
+
id: string;
|
5665
|
+
};
|
5666
|
+
cookie?: never;
|
5667
|
+
};
|
5668
|
+
requestBody?: never;
|
5669
|
+
responses: {
|
5670
|
+
200: {
|
5671
|
+
headers: {
|
5672
|
+
[name: string]: unknown;
|
5673
|
+
};
|
5674
|
+
content: {
|
5675
|
+
"application/json": components["schemas"]["DeleteTicketGroupResponseDto"];
|
5676
|
+
};
|
5677
|
+
};
|
5678
|
+
404: {
|
5679
|
+
headers: {
|
5680
|
+
[name: string]: unknown;
|
5681
|
+
};
|
5682
|
+
content: {
|
5683
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5684
|
+
};
|
5685
|
+
};
|
5686
|
+
};
|
5687
|
+
};
|
5440
5688
|
WebhookController_verify: {
|
5441
5689
|
parameters: {
|
5442
5690
|
query: {
|
package/package.json
CHANGED