@sellout/models 0.0.151 → 0.0.152
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/graphql/fragments/season.fragment.d.ts +23 -0
- package/.dist/graphql/fragments/season.fragment.js +315 -0
- package/.dist/graphql/fragments/season.fragment.js.map +1 -0
- package/.dist/graphql/mutations/createEvent.mutation.js +1 -0
- package/.dist/graphql/mutations/createEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/createFee.mutation.js +1 -0
- package/.dist/graphql/mutations/createFee.mutation.js.map +1 -1
- package/.dist/graphql/mutations/createSeason.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createSeason.mutation.js +72 -0
- package/.dist/graphql/mutations/createSeason.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createSeasonOrder.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createSeasonOrder.mutation.js +65 -0
- package/.dist/graphql/mutations/createSeasonOrder.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createSeasonOrderPaymentIntent.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createSeasonOrderPaymentIntent.mutation.js +18 -0
- package/.dist/graphql/mutations/createSeasonOrderPaymentIntent.mutation.js.map +1 -0
- package/.dist/graphql/mutations/publishEvent.mutation.js +6 -5
- package/.dist/graphql/mutations/publishEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/publishSeason.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/publishSeason.mutation.js +72 -0
- package/.dist/graphql/mutations/publishSeason.mutation.js.map +1 -0
- package/.dist/graphql/mutations/updateEvent.mutation.js +2 -1
- package/.dist/graphql/mutations/updateEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/updateOrganization.mutation.js +1 -0
- package/.dist/graphql/mutations/updateOrganization.mutation.js.map +1 -1
- package/.dist/graphql/mutations/updateSeason.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/updateSeason.mutation.js +71 -0
- package/.dist/graphql/mutations/updateSeason.mutation.js.map +1 -0
- package/.dist/graphql/queries/event.query.js +2 -0
- package/.dist/graphql/queries/event.query.js.map +1 -1
- package/.dist/graphql/queries/events.query.js +1 -0
- package/.dist/graphql/queries/events.query.js.map +1 -1
- package/.dist/graphql/queries/profile.query.js +1 -0
- package/.dist/graphql/queries/profile.query.js.map +1 -1
- package/.dist/graphql/queries/publicEvent.query.js +1 -0
- package/.dist/graphql/queries/publicEvent.query.js.map +1 -1
- package/.dist/graphql/queries/season.query.d.ts +2 -0
- package/.dist/graphql/queries/season.query.js +76 -0
- package/.dist/graphql/queries/season.query.js.map +1 -0
- package/.dist/graphql/queries/seasons.query.d.ts +2 -0
- package/.dist/graphql/queries/seasons.query.js +72 -0
- package/.dist/graphql/queries/seasons.query.js.map +1 -0
- package/.dist/interfaces/IAnalytics.d.ts +1 -0
- package/.dist/interfaces/IAnalytics.js.map +1 -1
- package/.dist/interfaces/ICreateOrderParams.d.ts +4 -1
- package/.dist/interfaces/IEvent.d.ts +1 -0
- package/.dist/interfaces/IFee.d.ts +1 -0
- package/.dist/interfaces/IOrder.d.ts +3 -1
- package/.dist/interfaces/IOrder.js.map +1 -1
- package/.dist/interfaces/IOrderQuery.d.ts +2 -0
- package/.dist/interfaces/IOrganization.d.ts +1 -0
- package/.dist/interfaces/ISeason.d.ts +76 -0
- package/.dist/interfaces/ISeason.js +34 -0
- package/.dist/interfaces/ISeason.js.map +1 -0
- package/.dist/interfaces/ISeasonCustomField.d.ts +13 -0
- package/.dist/interfaces/ISeasonCustomField.js +3 -0
- package/.dist/interfaces/ISeasonCustomField.js.map +1 -0
- package/.dist/interfaces/ISeasonQuery.d.ts +23 -0
- package/.dist/interfaces/ISeasonQuery.js +15 -0
- package/.dist/interfaces/ISeasonQuery.js.map +1 -0
- package/.dist/interfaces/ISeasonUpgrade.d.ts +16 -0
- package/.dist/interfaces/ISeasonUpgrade.js +3 -0
- package/.dist/interfaces/ISeasonUpgrade.js.map +1 -0
- package/.dist/schemas/Event.d.ts +4 -0
- package/.dist/schemas/Event.js +4 -0
- package/.dist/schemas/Event.js.map +1 -1
- package/.dist/schemas/Fee.d.ts +5 -0
- package/.dist/schemas/Fee.js +4 -0
- package/.dist/schemas/Fee.js.map +1 -1
- package/.dist/schemas/Order.d.ts +8 -0
- package/.dist/schemas/Order.js +8 -1
- package/.dist/schemas/Order.js.map +1 -1
- package/.dist/schemas/Organization.d.ts +5 -0
- package/.dist/schemas/Organization.js +5 -0
- package/.dist/schemas/Organization.js.map +1 -1
- package/.dist/schemas/Season.d.ts +679 -0
- package/.dist/schemas/Season.js +502 -0
- package/.dist/schemas/Season.js.map +1 -0
- package/.dist/sellout-proto.js +36603 -26718
- package/.dist/utils/EventUtil.js +32 -15
- package/.dist/utils/EventUtil.js.map +1 -1
- package/.dist/utils/FeeUtil.d.ts +1 -1
- package/.dist/utils/FeeUtil.js +19 -11
- package/.dist/utils/FeeUtil.js.map +1 -1
- package/.dist/utils/SeasonUtil.d.ts +66 -0
- package/.dist/utils/SeasonUtil.js +340 -0
- package/.dist/utils/SeasonUtil.js.map +1 -0
- package/package.json +3 -3
- package/src/graphql/fragments/season.fragment.ts +336 -0
- package/src/graphql/mutations/createEvent.mutation.ts +1 -0
- package/src/graphql/mutations/createFee.mutation.ts +2 -1
- package/src/graphql/mutations/createSeason.mutation.ts +68 -0
- package/src/graphql/mutations/createSeasonOrder.mutation.ts +61 -0
- package/src/graphql/mutations/createSeasonOrderPaymentIntent.mutation.ts +14 -0
- package/src/graphql/mutations/publishEvent.mutation.ts +6 -5
- package/src/graphql/mutations/publishSeason.mutation.ts +68 -0
- package/src/graphql/mutations/updateEvent.mutation.ts +4 -3
- package/src/graphql/mutations/updateOrganization.mutation.ts +3 -2
- package/src/graphql/mutations/updateSeason.mutation.ts +67 -0
- package/src/graphql/queries/event.query.ts +2 -0
- package/src/graphql/queries/events.query.ts +1 -0
- package/src/graphql/queries/profile.query.ts +1 -0
- package/src/graphql/queries/publicEvent.query.ts +1 -0
- package/src/graphql/queries/season.query.ts +72 -0
- package/src/graphql/queries/seasons.query.ts +68 -0
- package/src/interfaces/IAnalytics.ts +1 -0
- package/src/interfaces/ICreateOrderParams.ts +10 -7
- package/src/interfaces/IEvent.ts +1 -0
- package/src/interfaces/IFee.ts +12 -11
- package/src/interfaces/IOrder.ts +4 -2
- package/src/interfaces/IOrderQuery.ts +2 -0
- package/src/interfaces/IOrganization.ts +1 -0
- package/src/interfaces/ISeason.ts +87 -0
- package/src/interfaces/ISeasonCustomField.ts +14 -0
- package/src/interfaces/ISeasonQuery.ts +25 -0
- package/src/interfaces/ISeasonUpgrade.ts +16 -0
- package/src/proto/broadcast.proto +29 -0
- package/src/proto/email.proto +39 -0
- package/src/proto/event.proto +4 -0
- package/src/proto/fee.proto +2 -0
- package/src/proto/order.proto +59 -0
- package/src/proto/organization.proto +1 -0
- package/src/proto/season.proto +172 -0
- package/src/proto/seating.proto +16 -0
- package/src/proto/user.proto +1 -0
- package/src/schemas/Event.ts +4 -0
- package/src/schemas/Fee.ts +4 -0
- package/src/schemas/Order.ts +8 -1
- package/src/schemas/Organization.ts +5 -0
- package/src/schemas/Season.ts +507 -0
- package/src/utils/EventUtil.ts +47 -27
- package/src/utils/FeeUtil.ts +25 -17
- package/src/utils/SeasonUtil.ts +353 -0
package/src/proto/order.proto
CHANGED
|
@@ -35,6 +35,7 @@ message Order {
|
|
|
35
35
|
repeated Payment payments = 24;
|
|
36
36
|
ProcessingFees processingFee = 25;
|
|
37
37
|
float tax = 26;
|
|
38
|
+
string seasonId = 27;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
message ProcessingFees {
|
|
@@ -130,6 +131,25 @@ message CreateOrderParams {
|
|
|
130
131
|
string paymentIntentId = 10;
|
|
131
132
|
string holdToken = 11;
|
|
132
133
|
string ipAddress = 12;
|
|
134
|
+
bool hidden = 13;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
message CreateSeasonOrderParams {
|
|
139
|
+
string userId = 0;
|
|
140
|
+
string orgId = 1;
|
|
141
|
+
string seasonId = 2;
|
|
142
|
+
repeated CreateOrderTicketParams tickets = 3;
|
|
143
|
+
repeated CreateOrderUpgradeParams upgrades = 4;
|
|
144
|
+
string type = 5;
|
|
145
|
+
string channel = 6;
|
|
146
|
+
string promotionCode = 7;
|
|
147
|
+
repeated OrderCustomField customFields = 8;
|
|
148
|
+
string paymentMethodType = 9;
|
|
149
|
+
string paymentIntentId = 10;
|
|
150
|
+
string holdToken = 11;
|
|
151
|
+
string ipAddress = 12;
|
|
152
|
+
// repeated string eventIds = 13;
|
|
133
153
|
}
|
|
134
154
|
|
|
135
155
|
message CreateOrderTicketParams {
|
|
@@ -165,6 +185,20 @@ message CreateOrderResponse {
|
|
|
165
185
|
Order order = 3;
|
|
166
186
|
}
|
|
167
187
|
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
message CreateSeasonOrderRequest {
|
|
191
|
+
string spanContext = 0;
|
|
192
|
+
string requestorId = 1;
|
|
193
|
+
CreateSeasonOrderParams params = 2;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
message CreateSeasonOrderResponse {
|
|
197
|
+
StatusCode status = 1;
|
|
198
|
+
repeated Error errors = 2;
|
|
199
|
+
Order order = 3;
|
|
200
|
+
}
|
|
201
|
+
|
|
168
202
|
/****************************************************************************************
|
|
169
203
|
Create Order Payment Intent
|
|
170
204
|
****************************************************************************************/
|
|
@@ -188,6 +222,26 @@ message CreateOrderPaymentIntentRequest {
|
|
|
188
222
|
CreateOrderPaymentIntentParams params = 2;
|
|
189
223
|
}
|
|
190
224
|
|
|
225
|
+
|
|
226
|
+
message CreateSeasonOrderPaymentIntentRequest {
|
|
227
|
+
string spanContext = 0;
|
|
228
|
+
string requestorId = 1;
|
|
229
|
+
CreateSeasonOrderPaymentIntentParams params = 2;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
message CreateSeasonOrderPaymentIntentParams {
|
|
233
|
+
string userId = 0;
|
|
234
|
+
string orgId = 1;
|
|
235
|
+
string seasonId = 2;
|
|
236
|
+
repeated CreateOrderTicketParams tickets = 3;
|
|
237
|
+
repeated CreateOrderUpgradeParams upgrades = 4;
|
|
238
|
+
string promotionCode = 5;
|
|
239
|
+
string paymentMethodType = 6;
|
|
240
|
+
string paymentMethodId = 7;
|
|
241
|
+
string stalePaymentIntentId = 8;
|
|
242
|
+
string channel = 9;
|
|
243
|
+
}
|
|
244
|
+
|
|
191
245
|
message CreateOrderPaymentIntentResponse {
|
|
192
246
|
StatusCode status = 1;
|
|
193
247
|
repeated Error errors = 2;
|
|
@@ -325,6 +379,7 @@ message OrderQuery {
|
|
|
325
379
|
int32 startDate = 8;
|
|
326
380
|
int32 endDate = 9;
|
|
327
381
|
bool any = 10;
|
|
382
|
+
repeated string seasonIds = 11;
|
|
328
383
|
}
|
|
329
384
|
|
|
330
385
|
message QueryOrdersRequest {
|
|
@@ -375,6 +430,7 @@ message OrderAnalyticsQuery {
|
|
|
375
430
|
int32 endDate = 5;
|
|
376
431
|
string interval = 6;
|
|
377
432
|
repeated string types = 7;
|
|
433
|
+
string seasonId = 8;
|
|
378
434
|
}
|
|
379
435
|
|
|
380
436
|
message QueryOrderAnalyticsRequest {
|
|
@@ -429,9 +485,12 @@ message GetPromoUsedResponse {
|
|
|
429
485
|
service OrderService {
|
|
430
486
|
// Create
|
|
431
487
|
rpc createOrder(CreateOrderRequest) returns (CreateOrderResponse) {}
|
|
488
|
+
rpc createSeasonOrder(CreateSeasonOrderRequest) returns (CreateOrderResponse) {}
|
|
432
489
|
rpc createOrderPaymentIntent(CreateOrderPaymentIntentRequest) returns (CreateOrderPaymentIntentResponse) {}
|
|
490
|
+
rpc createSeasonOrderPaymentIntent(CreateSeasonOrderPaymentIntentRequest) returns (CreateOrderPaymentIntentResponse) {}
|
|
433
491
|
// QR Code
|
|
434
492
|
rpc sendOrderQRCodeEmail(SendOrderQRCodeEmailRequest) returns (SendOrderQRCodeEmailResponse) {}
|
|
493
|
+
rpc sendSeasonOrderReceiptEmail(SendOrderQRCodeEmailRequest) returns (SendOrderQRCodeEmailResponse) {}
|
|
435
494
|
rpc sendOrderReceiptEmail(SendOrderReceiptEmailRequest) returns (SendOrderReceiptEmailResponse) {}
|
|
436
495
|
rpc sendOrderRefundEmail(SendOrderRefundEmailRequest) returns (SendOrderRefundEmailResponse) {}
|
|
437
496
|
rpc resendOrderRefundEmail(SendOrderRefundEmailRequest) returns (SendOrderRefundEmailResponse) {}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
import "error.proto";
|
|
3
|
+
import "common.proto";
|
|
4
|
+
import "organization.proto";
|
|
5
|
+
import "venue.proto";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
message CreateSeasonRequest {
|
|
9
|
+
string spanContext = 0;
|
|
10
|
+
string orgId = 1;
|
|
11
|
+
Season season = 2;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message CreateSeasonResponse {
|
|
15
|
+
StatusCode status = 0;
|
|
16
|
+
repeated Error errors = 1;
|
|
17
|
+
Season season = 2;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message UpdateSeasonRequest {
|
|
21
|
+
string spanContext = 0;
|
|
22
|
+
string orgId = 1;
|
|
23
|
+
Season season = 2;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message UpdateSeasonResponse {
|
|
27
|
+
StatusCode status = 0;
|
|
28
|
+
repeated Error errors = 1;
|
|
29
|
+
Season season = 2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
// Find Event By Id
|
|
34
|
+
message FindSeasonByIdRequest {
|
|
35
|
+
string spanContext = 0;
|
|
36
|
+
string seasonId = 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message FindSeasonByIdResponse {
|
|
40
|
+
StatusCode status = 0;
|
|
41
|
+
repeated Error errors = 1;
|
|
42
|
+
Season season = 2;
|
|
43
|
+
}
|
|
44
|
+
message Season {
|
|
45
|
+
string _id = 1;
|
|
46
|
+
string orgId = 2;
|
|
47
|
+
string type = 3;
|
|
48
|
+
string name = 4;
|
|
49
|
+
string subtitle = 5;
|
|
50
|
+
string description = 6;
|
|
51
|
+
string posterImageUrl = 7;
|
|
52
|
+
string venueId = 8;
|
|
53
|
+
int32 createdAt = 9;
|
|
54
|
+
bool publishable = 10;
|
|
55
|
+
string seatingChartKey = 11;
|
|
56
|
+
string age = 12;
|
|
57
|
+
bool active = 13;
|
|
58
|
+
string userAgreement = 14;
|
|
59
|
+
string processAs = 15;
|
|
60
|
+
string sendQRCode = 16;
|
|
61
|
+
Address location = 17;
|
|
62
|
+
SeasonSchedule schedule = 18;
|
|
63
|
+
repeated Performance performances = 19;
|
|
64
|
+
repeated TicketType ticketTypes = 20;
|
|
65
|
+
repeated TicketHold holds = 21;
|
|
66
|
+
repeated EventUpgrade upgrades = 22;
|
|
67
|
+
repeated EventPromotion promotions = 23;
|
|
68
|
+
repeated EventCustomFields customFields = 24;
|
|
69
|
+
TicketExchange exchange = 25;
|
|
70
|
+
Metrics metrics = 26;
|
|
71
|
+
bool published = 27;
|
|
72
|
+
bool salesBeginImmediately = 28;
|
|
73
|
+
bool cancel = 29;
|
|
74
|
+
bool taxDeduction = 30;
|
|
75
|
+
int32 numberOfEvent = 31;
|
|
76
|
+
repeated string eventIds= 32;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message SeasonSchedule {
|
|
80
|
+
int32 announceAt = 0;
|
|
81
|
+
int32 ticketsAt = 1;
|
|
82
|
+
int32 ticketsEndAt = 2;
|
|
83
|
+
int32 startsAt = 3;
|
|
84
|
+
int32 endsAt = 4;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
message PublishSeasonRequest {
|
|
91
|
+
string spanContext = 0;
|
|
92
|
+
string orgId = 1;
|
|
93
|
+
string seasonId = 2;
|
|
94
|
+
bool published = 3;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
message PublishSeasonResponse {
|
|
98
|
+
StatusCode status = 0;
|
|
99
|
+
repeated Error errors = 1;
|
|
100
|
+
Season season = 2;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message QuerySeasonsRequest {
|
|
104
|
+
string spanContext = 0;
|
|
105
|
+
string orgId = 1;
|
|
106
|
+
SeasonQuery query = 2;
|
|
107
|
+
Pagination pagination = 3;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
message QuerySeasonsResponse {
|
|
111
|
+
StatusCode status = 0;
|
|
112
|
+
repeated Error errors = 1;
|
|
113
|
+
repeated Season seasons = 2;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/****************************************************************************************
|
|
117
|
+
Find Event
|
|
118
|
+
****************************************************************************************/
|
|
119
|
+
|
|
120
|
+
message SeasonQuery {
|
|
121
|
+
string name = 0;
|
|
122
|
+
repeated string seasonIds = 1;
|
|
123
|
+
repeated string venueIds = 2;
|
|
124
|
+
repeated string artistIds = 3;
|
|
125
|
+
repeated string userIds = 4;
|
|
126
|
+
int32 startDate = 5;
|
|
127
|
+
int32 endDate = 6;
|
|
128
|
+
string sortBy = 7;
|
|
129
|
+
int32 orderBy = 8;
|
|
130
|
+
bool published = 9;
|
|
131
|
+
bool any = 10;
|
|
132
|
+
bool cancel = 11;
|
|
133
|
+
repeated string eventIds = 12;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
message SeasonTicketsRequest {
|
|
137
|
+
string spanContext = 0;
|
|
138
|
+
string seasonId = 1;
|
|
139
|
+
string promoCode = 2;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
message SeasonTickets {
|
|
143
|
+
string promoType = 0;
|
|
144
|
+
int32 remainingQty = 2;
|
|
145
|
+
bool active = 3;
|
|
146
|
+
int32 startsAt = 4;
|
|
147
|
+
int32 endsAt = 5;
|
|
148
|
+
repeated TicketType seasonTickets = 1;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
message SeasonTicketsResponse {
|
|
152
|
+
StatusCode status = 0;
|
|
153
|
+
repeated Error errors = 1;
|
|
154
|
+
repeated SeasonTickets tickets = 2;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
service SeasonService {
|
|
159
|
+
// Create
|
|
160
|
+
rpc createSeason(CreateSeasonRequest) returns (CreateSeasonResponse) {}
|
|
161
|
+
// Update
|
|
162
|
+
rpc updateSeason(UpdateSeasonRequest) returns (UpdateSeasonResponse) {}
|
|
163
|
+
// Publish
|
|
164
|
+
rpc publishSeason(PublishSeasonRequest) returns (PublishSeasonResponse) {}
|
|
165
|
+
// Get Season
|
|
166
|
+
rpc findSeasonById(FindSeasonByIdRequest) returns (FindSeasonByIdResponse) {}
|
|
167
|
+
// Query
|
|
168
|
+
rpc querySeasons(QuerySeasonsRequest) returns (QuerySeasonsResponse) {}
|
|
169
|
+
// Tickets
|
|
170
|
+
rpc seasonTickets(SeasonTicketsRequest) returns (SeasonTicketsResponse) {}
|
|
171
|
+
|
|
172
|
+
}
|
package/src/proto/seating.proto
CHANGED
|
@@ -45,6 +45,21 @@ message BookSeatsResponse {
|
|
|
45
45
|
repeated Error errors = 1;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
|
|
49
|
+
message BookSeasonSeatsRequest {
|
|
50
|
+
string spanContext = 0;
|
|
51
|
+
string orgId = 1;
|
|
52
|
+
string seasonId = 2;
|
|
53
|
+
string holdToken = 3;
|
|
54
|
+
repeated string seats = 4;
|
|
55
|
+
// repeated string eventIds = 5;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message BookSeasonSeatsResponse {
|
|
59
|
+
StatusCode status = 0;
|
|
60
|
+
repeated Error errors = 1;
|
|
61
|
+
}
|
|
62
|
+
|
|
48
63
|
message ReleaseSeatsRequest {
|
|
49
64
|
string spanContext = 0;
|
|
50
65
|
string orgId = 1;
|
|
@@ -72,6 +87,7 @@ service SeatingService {
|
|
|
72
87
|
// Seating
|
|
73
88
|
rpc createSeating(CreateSeatingRequest) returns (CreateSeatingResponse) {}
|
|
74
89
|
rpc bookSeats(BookSeatsRequest) returns (BookSeatsResponse) {}
|
|
90
|
+
rpc bookSeasonSeats(BookSeasonSeatsRequest) returns (BookSeasonSeatsResponse) {}
|
|
75
91
|
rpc releaseSeats(ReleaseSeatsRequest) returns (ReleaseSeatsResponse) {}
|
|
76
92
|
rpc findOrganizationSeating(FindOrganizationSeatingRequest) returns (FindOrganizationSeatingResponse) {}
|
|
77
93
|
}
|
package/src/proto/user.proto
CHANGED
package/src/schemas/Event.ts
CHANGED
package/src/schemas/Fee.ts
CHANGED
package/src/schemas/Order.ts
CHANGED
|
@@ -243,7 +243,7 @@ export default {
|
|
|
243
243
|
},
|
|
244
244
|
eventId: {
|
|
245
245
|
type: String,
|
|
246
|
-
required:
|
|
246
|
+
required: false,
|
|
247
247
|
},
|
|
248
248
|
eventName: {
|
|
249
249
|
type: String,
|
|
@@ -328,4 +328,11 @@ export default {
|
|
|
328
328
|
address: Address,
|
|
329
329
|
customFields: [OrderCustomField],
|
|
330
330
|
payments: [Payment],
|
|
331
|
+
seasonId:{
|
|
332
|
+
type: String,
|
|
333
|
+
required: false,
|
|
334
|
+
},hidden:{
|
|
335
|
+
type: Boolean,
|
|
336
|
+
required: false,
|
|
337
|
+
}
|
|
331
338
|
};
|