@connectedxm/admin 6.23.0 → 6.23.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/index.cjs +183 -0
- package/dist/index.d.cts +90 -3
- package/dist/index.d.ts +90 -3
- package/dist/index.js +172 -0
- package/openapi.json +322 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -489,6 +489,7 @@ var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
|
|
|
489
489
|
var PurchaseStatus = /* @__PURE__ */ ((PurchaseStatus2) => {
|
|
490
490
|
PurchaseStatus2["draft"] = "draft";
|
|
491
491
|
PurchaseStatus2["canceled"] = "canceled";
|
|
492
|
+
PurchaseStatus2["pending"] = "pending";
|
|
492
493
|
PurchaseStatus2["needsInfo"] = "needsInfo";
|
|
493
494
|
PurchaseStatus2["ready"] = "ready";
|
|
494
495
|
return PurchaseStatus2;
|
|
@@ -3548,6 +3549,33 @@ var useGetBookingPlaceTranslation = (placeId = "", locale = "", options = {}) =>
|
|
|
3548
3549
|
);
|
|
3549
3550
|
};
|
|
3550
3551
|
|
|
3552
|
+
// src/queries/bookings/useGetBookingResponses.ts
|
|
3553
|
+
var BOOKING_RESPONSES_QUERY_KEY = (bookingId) => [
|
|
3554
|
+
...BOOKING_QUERY_KEY(bookingId),
|
|
3555
|
+
"RESPONSES"
|
|
3556
|
+
];
|
|
3557
|
+
var SET_BOOKING_RESPONSES_QUERY_DATA = (client, keyParams, response) => {
|
|
3558
|
+
client.setQueryData(BOOKING_RESPONSES_QUERY_KEY(...keyParams), response);
|
|
3559
|
+
};
|
|
3560
|
+
var GetBookingResponses = async ({
|
|
3561
|
+
bookingId,
|
|
3562
|
+
adminApiParams
|
|
3563
|
+
}) => {
|
|
3564
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
3565
|
+
const { data } = await adminApi.get(`/bookings/${bookingId}/responses`);
|
|
3566
|
+
return data;
|
|
3567
|
+
};
|
|
3568
|
+
var useGetBookingResponses = (bookingId = "", options = {}) => {
|
|
3569
|
+
return useConnectedSingleQuery(
|
|
3570
|
+
BOOKING_RESPONSES_QUERY_KEY(bookingId),
|
|
3571
|
+
(params) => GetBookingResponses({ bookingId, ...params }),
|
|
3572
|
+
{
|
|
3573
|
+
...options,
|
|
3574
|
+
enabled: !!bookingId && (options?.enabled ?? true)
|
|
3575
|
+
}
|
|
3576
|
+
);
|
|
3577
|
+
};
|
|
3578
|
+
|
|
3551
3579
|
// src/queries/bookings/useGetBookingSpaceAvailabilities.ts
|
|
3552
3580
|
var BOOKING_SPACE_AVAILABILITIES_QUERY_KEY = (placeId, spaceId) => [...BOOKING_SPACE_QUERY_KEY(placeId, spaceId), "AVAILABILITIES"];
|
|
3553
3581
|
var SET_BOOKING_SPACE_AVAILABILITIES_QUERY_DATA = (client, keyParams, response) => {
|
|
@@ -6677,6 +6705,44 @@ var useGetEventPassTransferLogs = (eventId = "", passId = "", params = {}, optio
|
|
|
6677
6705
|
);
|
|
6678
6706
|
};
|
|
6679
6707
|
|
|
6708
|
+
// src/queries/events/passes/useGetEventPendingPasses.ts
|
|
6709
|
+
var EVENT_PENDING_PASSES_QUERY_KEY = (eventId) => {
|
|
6710
|
+
return [...EVENT_QUERY_KEY(eventId), "PASSES", "PENDING"];
|
|
6711
|
+
};
|
|
6712
|
+
var GetEventPendingPasses = async ({
|
|
6713
|
+
eventId,
|
|
6714
|
+
pageParam,
|
|
6715
|
+
pageSize,
|
|
6716
|
+
orderBy,
|
|
6717
|
+
search,
|
|
6718
|
+
adminApiParams
|
|
6719
|
+
}) => {
|
|
6720
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
6721
|
+
const { data } = await adminApi.get(`/events/${eventId}/passes/pending`, {
|
|
6722
|
+
params: {
|
|
6723
|
+
page: pageParam || void 0,
|
|
6724
|
+
pageSize: pageSize || void 0,
|
|
6725
|
+
orderBy: orderBy || void 0,
|
|
6726
|
+
search: search || void 0
|
|
6727
|
+
}
|
|
6728
|
+
});
|
|
6729
|
+
return data;
|
|
6730
|
+
};
|
|
6731
|
+
var useGetEventPendingPasses = (eventId = "", params = {}, options = {}) => {
|
|
6732
|
+
return useConnectedInfiniteQuery(
|
|
6733
|
+
EVENT_PENDING_PASSES_QUERY_KEY(eventId),
|
|
6734
|
+
(params2) => GetEventPendingPasses({
|
|
6735
|
+
...params2,
|
|
6736
|
+
eventId
|
|
6737
|
+
}),
|
|
6738
|
+
params,
|
|
6739
|
+
{
|
|
6740
|
+
...options,
|
|
6741
|
+
enabled: !!eventId && (options.enabled ?? true)
|
|
6742
|
+
}
|
|
6743
|
+
);
|
|
6744
|
+
};
|
|
6745
|
+
|
|
6680
6746
|
// src/queries/events/attendees/useGetEventPassAttendeePasses.ts
|
|
6681
6747
|
var EVENT_PASS_ATTENDEE_PASSES_QUERY_KEY = (eventId, passId, status) => {
|
|
6682
6748
|
const key = [...EVENT_PASSES_QUERY_KEY(eventId), passId, "ATTENDEE_PASSES"];
|
|
@@ -28304,6 +28370,53 @@ var useUpdateEventPassResponses = (options = {}) => {
|
|
|
28304
28370
|
return useConnectedMutation(UpdateEventPassResponses, options);
|
|
28305
28371
|
};
|
|
28306
28372
|
|
|
28373
|
+
// src/mutations/events/passes/useApproveEventPass.ts
|
|
28374
|
+
var ApproveEventPass = async ({
|
|
28375
|
+
eventId,
|
|
28376
|
+
passId,
|
|
28377
|
+
sendEmail,
|
|
28378
|
+
adminApiParams,
|
|
28379
|
+
queryClient
|
|
28380
|
+
}) => {
|
|
28381
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
28382
|
+
const { data } = await connectedXM.put(
|
|
28383
|
+
`/events/${eventId}/passes/${passId}/approve`,
|
|
28384
|
+
{ sendEmail }
|
|
28385
|
+
);
|
|
28386
|
+
if (queryClient && data.status === "ok") {
|
|
28387
|
+
if (data.data.ticketId) {
|
|
28388
|
+
queryClient.invalidateQueries({
|
|
28389
|
+
queryKey: EVENT_PASS_TYPE_PASSES_QUERY_KEY(eventId, data.data.ticketId)
|
|
28390
|
+
});
|
|
28391
|
+
}
|
|
28392
|
+
if (data.data.attendee) {
|
|
28393
|
+
queryClient.invalidateQueries({
|
|
28394
|
+
queryKey: EVENT_ATTENDEE_QUERY_KEY(
|
|
28395
|
+
eventId,
|
|
28396
|
+
data.data.attendee.accountId
|
|
28397
|
+
)
|
|
28398
|
+
});
|
|
28399
|
+
queryClient.invalidateQueries({
|
|
28400
|
+
queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(
|
|
28401
|
+
eventId,
|
|
28402
|
+
data.data.attendee.accountId
|
|
28403
|
+
)
|
|
28404
|
+
});
|
|
28405
|
+
}
|
|
28406
|
+
queryClient.invalidateQueries({
|
|
28407
|
+
queryKey: EVENT_PASSES_QUERY_KEY(eventId)
|
|
28408
|
+
});
|
|
28409
|
+
queryClient.invalidateQueries({
|
|
28410
|
+
queryKey: EVENT_PENDING_PASSES_QUERY_KEY(eventId)
|
|
28411
|
+
});
|
|
28412
|
+
SET_EVENT_PASS_QUERY_DATA(queryClient, [eventId, passId], data);
|
|
28413
|
+
}
|
|
28414
|
+
return data;
|
|
28415
|
+
};
|
|
28416
|
+
var useApproveEventPass = (options = {}) => {
|
|
28417
|
+
return useConnectedMutation(ApproveEventPass, options);
|
|
28418
|
+
};
|
|
28419
|
+
|
|
28307
28420
|
// src/mutations/events/passes/useCancelEventPass.ts
|
|
28308
28421
|
var CancelEventPass = async ({
|
|
28309
28422
|
eventId,
|
|
@@ -28452,6 +28565,54 @@ var useDeleteEventPass = (options = {}) => {
|
|
|
28452
28565
|
return useConnectedMutation(DeleteEventPass, options);
|
|
28453
28566
|
};
|
|
28454
28567
|
|
|
28568
|
+
// src/mutations/events/passes/useDenyEventPass.ts
|
|
28569
|
+
var DenyEventPass = async ({
|
|
28570
|
+
eventId,
|
|
28571
|
+
passId,
|
|
28572
|
+
sendEmail,
|
|
28573
|
+
refund,
|
|
28574
|
+
adminApiParams,
|
|
28575
|
+
queryClient
|
|
28576
|
+
}) => {
|
|
28577
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
28578
|
+
const { data } = await connectedXM.put(
|
|
28579
|
+
`/events/${eventId}/passes/${passId}/deny`,
|
|
28580
|
+
{ sendEmail, refund }
|
|
28581
|
+
);
|
|
28582
|
+
if (queryClient && data.status === "ok") {
|
|
28583
|
+
if (data.data.ticketId) {
|
|
28584
|
+
queryClient.invalidateQueries({
|
|
28585
|
+
queryKey: EVENT_PASS_TYPE_PASSES_QUERY_KEY(eventId, data.data.ticketId)
|
|
28586
|
+
});
|
|
28587
|
+
}
|
|
28588
|
+
if (data.data.attendee) {
|
|
28589
|
+
queryClient.invalidateQueries({
|
|
28590
|
+
queryKey: EVENT_ATTENDEE_QUERY_KEY(
|
|
28591
|
+
eventId,
|
|
28592
|
+
data.data.attendee.accountId
|
|
28593
|
+
)
|
|
28594
|
+
});
|
|
28595
|
+
queryClient.invalidateQueries({
|
|
28596
|
+
queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(
|
|
28597
|
+
eventId,
|
|
28598
|
+
data.data.attendee.accountId
|
|
28599
|
+
)
|
|
28600
|
+
});
|
|
28601
|
+
}
|
|
28602
|
+
queryClient.invalidateQueries({
|
|
28603
|
+
queryKey: EVENT_PASSES_QUERY_KEY(eventId)
|
|
28604
|
+
});
|
|
28605
|
+
queryClient.invalidateQueries({
|
|
28606
|
+
queryKey: EVENT_PENDING_PASSES_QUERY_KEY(eventId)
|
|
28607
|
+
});
|
|
28608
|
+
SET_EVENT_PASS_QUERY_DATA(queryClient, [eventId, passId], data);
|
|
28609
|
+
}
|
|
28610
|
+
return data;
|
|
28611
|
+
};
|
|
28612
|
+
var useDenyEventPass = (options = {}) => {
|
|
28613
|
+
return useConnectedMutation(DenyEventPass, options);
|
|
28614
|
+
};
|
|
28615
|
+
|
|
28455
28616
|
// src/mutations/events/passes/useIndexEventPasses.ts
|
|
28456
28617
|
var IndexEventPasses = async ({
|
|
28457
28618
|
eventId,
|
|
@@ -39042,6 +39203,7 @@ export {
|
|
|
39042
39203
|
AdminNotificationType,
|
|
39043
39204
|
AdvertisementType,
|
|
39044
39205
|
AppendInfiniteQuery,
|
|
39206
|
+
ApproveEventPass,
|
|
39045
39207
|
ArchiveActivity,
|
|
39046
39208
|
AttachBookingSpaceQuestionSearchList,
|
|
39047
39209
|
AttachEventQuestionSearchList,
|
|
@@ -39060,6 +39222,7 @@ export {
|
|
|
39060
39222
|
BOOKING_PLACE_TRANSLATIONS_QUERY_KEY,
|
|
39061
39223
|
BOOKING_PLACE_TRANSLATION_QUERY_KEY,
|
|
39062
39224
|
BOOKING_QUERY_KEY,
|
|
39225
|
+
BOOKING_RESPONSES_QUERY_KEY,
|
|
39063
39226
|
BOOKING_SPACES_QUERY_KEY,
|
|
39064
39227
|
BOOKING_SPACE_AVAILABILITIES_QUERY_KEY,
|
|
39065
39228
|
BOOKING_SPACE_AVAILABILITY_QUERY_KEY,
|
|
@@ -39398,6 +39561,7 @@ export {
|
|
|
39398
39561
|
DeleteUserImage,
|
|
39399
39562
|
DeleteVideo,
|
|
39400
39563
|
DeleteVideoCaption,
|
|
39564
|
+
DenyEventPass,
|
|
39401
39565
|
DetachBookingSpaceQuestionSearchList,
|
|
39402
39566
|
DetachEventQuestionSearchList,
|
|
39403
39567
|
DetachEventSessionQuestionSearchList,
|
|
@@ -39510,6 +39674,7 @@ export {
|
|
|
39510
39674
|
EVENT_PASS_TYPE_TRANSLATIONS_QUERY_KEY,
|
|
39511
39675
|
EVENT_PASS_TYPE_TRANSLATION_QUERY_KEY,
|
|
39512
39676
|
EVENT_PAYMENTS_QUERY_KEY,
|
|
39677
|
+
EVENT_PENDING_PASSES_QUERY_KEY,
|
|
39513
39678
|
EVENT_QUERY_KEY,
|
|
39514
39679
|
EVENT_QUESTIONS_QUERY_KEY,
|
|
39515
39680
|
EVENT_QUESTION_CHOICES_QUERY_KEY,
|
|
@@ -39715,6 +39880,7 @@ export {
|
|
|
39715
39880
|
GetBookingPlaceTranslation,
|
|
39716
39881
|
GetBookingPlaceTranslations,
|
|
39717
39882
|
GetBookingPlaces,
|
|
39883
|
+
GetBookingResponses,
|
|
39718
39884
|
GetBookingSpace,
|
|
39719
39885
|
GetBookingSpaceAvailabilities,
|
|
39720
39886
|
GetBookingSpaceAvailability,
|
|
@@ -39869,6 +40035,7 @@ export {
|
|
|
39869
40035
|
GetEventPassTypes,
|
|
39870
40036
|
GetEventPasses,
|
|
39871
40037
|
GetEventPayments,
|
|
40038
|
+
GetEventPendingPasses,
|
|
39872
40039
|
GetEventQuestion,
|
|
39873
40040
|
GetEventQuestionChoice,
|
|
39874
40041
|
GetEventQuestionChoiceSubQuestions,
|
|
@@ -40477,6 +40644,7 @@ export {
|
|
|
40477
40644
|
SET_BOOKING_PLACE_TRANSLATIONS_QUERY_DATA,
|
|
40478
40645
|
SET_BOOKING_PLACE_TRANSLATION_QUERY_DATA,
|
|
40479
40646
|
SET_BOOKING_QUERY_DATA,
|
|
40647
|
+
SET_BOOKING_RESPONSES_QUERY_DATA,
|
|
40480
40648
|
SET_BOOKING_SPACES_QUERY_DATA,
|
|
40481
40649
|
SET_BOOKING_SPACE_AVAILABILITIES_QUERY_DATA,
|
|
40482
40650
|
SET_BOOKING_SPACE_AVAILABILITY_QUERY_DATA,
|
|
@@ -41290,6 +41458,7 @@ export {
|
|
|
41290
41458
|
useAddSurveyQuestionChoiceSubQuestion,
|
|
41291
41459
|
useAddSurveySectionQuestion,
|
|
41292
41460
|
useAddSurveySession,
|
|
41461
|
+
useApproveEventPass,
|
|
41293
41462
|
useArchiveActivity,
|
|
41294
41463
|
useAttachBookingSpaceQuestionSearchList,
|
|
41295
41464
|
useAttachEventQuestionSearchList,
|
|
@@ -41578,6 +41747,7 @@ export {
|
|
|
41578
41747
|
useDeleteUserImage,
|
|
41579
41748
|
useDeleteVideo,
|
|
41580
41749
|
useDeleteVideoCaption,
|
|
41750
|
+
useDenyEventPass,
|
|
41581
41751
|
useDetachBookingSpaceQuestionSearchList,
|
|
41582
41752
|
useDetachEventQuestionSearchList,
|
|
41583
41753
|
useDetachEventSessionQuestionSearchList,
|
|
@@ -41645,6 +41815,7 @@ export {
|
|
|
41645
41815
|
useGetBookingPlaceTranslation,
|
|
41646
41816
|
useGetBookingPlaceTranslations,
|
|
41647
41817
|
useGetBookingPlaces,
|
|
41818
|
+
useGetBookingResponses,
|
|
41648
41819
|
useGetBookingSpace,
|
|
41649
41820
|
useGetBookingSpaceAvailabilities,
|
|
41650
41821
|
useGetBookingSpaceAvailability,
|
|
@@ -41798,6 +41969,7 @@ export {
|
|
|
41798
41969
|
useGetEventPassTypes,
|
|
41799
41970
|
useGetEventPasses,
|
|
41800
41971
|
useGetEventPayments,
|
|
41972
|
+
useGetEventPendingPasses,
|
|
41801
41973
|
useGetEventQuestion,
|
|
41802
41974
|
useGetEventQuestionChoice,
|
|
41803
41975
|
useGetEventQuestionChoiceSubQuestions,
|
package/openapi.json
CHANGED
|
@@ -12049,6 +12049,62 @@
|
|
|
12049
12049
|
]
|
|
12050
12050
|
}
|
|
12051
12051
|
},
|
|
12052
|
+
"/bookings/{bookingId}/responses": {
|
|
12053
|
+
"get": {
|
|
12054
|
+
"operationId": "GetBookingResponses",
|
|
12055
|
+
"summary": "Get Booking Responses",
|
|
12056
|
+
"description": "Get Booking Responses endpoint",
|
|
12057
|
+
"parameters": [
|
|
12058
|
+
{
|
|
12059
|
+
"in": "path",
|
|
12060
|
+
"name": "bookingId",
|
|
12061
|
+
"schema": {
|
|
12062
|
+
"type": "string"
|
|
12063
|
+
},
|
|
12064
|
+
"description": "The booking identifier",
|
|
12065
|
+
"required": true
|
|
12066
|
+
}
|
|
12067
|
+
],
|
|
12068
|
+
"responses": {
|
|
12069
|
+
"200": {
|
|
12070
|
+
"description": "Successful response",
|
|
12071
|
+
"content": {
|
|
12072
|
+
"application/json": {
|
|
12073
|
+
"schema": {
|
|
12074
|
+
"type": "object",
|
|
12075
|
+
"properties": {
|
|
12076
|
+
"status": {
|
|
12077
|
+
"type": "string",
|
|
12078
|
+
"enum": [
|
|
12079
|
+
"ok"
|
|
12080
|
+
]
|
|
12081
|
+
},
|
|
12082
|
+
"message": {
|
|
12083
|
+
"type": "string",
|
|
12084
|
+
"example": "Success message."
|
|
12085
|
+
},
|
|
12086
|
+
"data": {
|
|
12087
|
+
"type": "array",
|
|
12088
|
+
"items": {
|
|
12089
|
+
"$ref": "#/components/schemas/BaseBookingQuestionResponse"
|
|
12090
|
+
}
|
|
12091
|
+
}
|
|
12092
|
+
},
|
|
12093
|
+
"required": [
|
|
12094
|
+
"status",
|
|
12095
|
+
"message",
|
|
12096
|
+
"data"
|
|
12097
|
+
]
|
|
12098
|
+
}
|
|
12099
|
+
}
|
|
12100
|
+
}
|
|
12101
|
+
}
|
|
12102
|
+
},
|
|
12103
|
+
"tags": [
|
|
12104
|
+
"Bookings"
|
|
12105
|
+
]
|
|
12106
|
+
}
|
|
12107
|
+
},
|
|
12052
12108
|
"/channels": {
|
|
12053
12109
|
"get": {
|
|
12054
12110
|
"operationId": "GetChannels",
|
|
@@ -33731,6 +33787,107 @@
|
|
|
33731
33787
|
]
|
|
33732
33788
|
}
|
|
33733
33789
|
},
|
|
33790
|
+
"/events/{eventId}/passes/pending": {
|
|
33791
|
+
"get": {
|
|
33792
|
+
"operationId": "GetEventPendingPasses",
|
|
33793
|
+
"summary": "Get Event Pending Passes",
|
|
33794
|
+
"description": "Get Event Pending Passes endpoint",
|
|
33795
|
+
"parameters": [
|
|
33796
|
+
{
|
|
33797
|
+
"in": "path",
|
|
33798
|
+
"name": "eventId",
|
|
33799
|
+
"schema": {
|
|
33800
|
+
"type": "string"
|
|
33801
|
+
},
|
|
33802
|
+
"description": "The event identifier",
|
|
33803
|
+
"required": true
|
|
33804
|
+
},
|
|
33805
|
+
{
|
|
33806
|
+
"in": "query",
|
|
33807
|
+
"name": "page",
|
|
33808
|
+
"schema": {
|
|
33809
|
+
"type": "integer",
|
|
33810
|
+
"minimum": 1,
|
|
33811
|
+
"default": 1
|
|
33812
|
+
},
|
|
33813
|
+
"description": "Page number",
|
|
33814
|
+
"required": false
|
|
33815
|
+
},
|
|
33816
|
+
{
|
|
33817
|
+
"in": "query",
|
|
33818
|
+
"name": "pageSize",
|
|
33819
|
+
"schema": {
|
|
33820
|
+
"type": "integer",
|
|
33821
|
+
"minimum": 1,
|
|
33822
|
+
"maximum": 100,
|
|
33823
|
+
"default": 25
|
|
33824
|
+
},
|
|
33825
|
+
"description": "Number of items per page",
|
|
33826
|
+
"required": false
|
|
33827
|
+
},
|
|
33828
|
+
{
|
|
33829
|
+
"in": "query",
|
|
33830
|
+
"name": "orderBy",
|
|
33831
|
+
"schema": {
|
|
33832
|
+
"type": "string"
|
|
33833
|
+
},
|
|
33834
|
+
"description": "Field to order by",
|
|
33835
|
+
"required": false
|
|
33836
|
+
},
|
|
33837
|
+
{
|
|
33838
|
+
"in": "query",
|
|
33839
|
+
"name": "search",
|
|
33840
|
+
"schema": {
|
|
33841
|
+
"type": "string"
|
|
33842
|
+
},
|
|
33843
|
+
"description": "Search query",
|
|
33844
|
+
"required": false
|
|
33845
|
+
}
|
|
33846
|
+
],
|
|
33847
|
+
"responses": {
|
|
33848
|
+
"200": {
|
|
33849
|
+
"description": "Successful response",
|
|
33850
|
+
"content": {
|
|
33851
|
+
"application/json": {
|
|
33852
|
+
"schema": {
|
|
33853
|
+
"type": "object",
|
|
33854
|
+
"properties": {
|
|
33855
|
+
"status": {
|
|
33856
|
+
"type": "string",
|
|
33857
|
+
"enum": [
|
|
33858
|
+
"ok"
|
|
33859
|
+
]
|
|
33860
|
+
},
|
|
33861
|
+
"message": {
|
|
33862
|
+
"type": "string",
|
|
33863
|
+
"example": "Success message."
|
|
33864
|
+
},
|
|
33865
|
+
"data": {
|
|
33866
|
+
"type": "array",
|
|
33867
|
+
"items": {
|
|
33868
|
+
"$ref": "#/components/schemas/EventPass"
|
|
33869
|
+
}
|
|
33870
|
+
},
|
|
33871
|
+
"count": {
|
|
33872
|
+
"type": "integer",
|
|
33873
|
+
"example": 100
|
|
33874
|
+
}
|
|
33875
|
+
},
|
|
33876
|
+
"required": [
|
|
33877
|
+
"status",
|
|
33878
|
+
"message",
|
|
33879
|
+
"data"
|
|
33880
|
+
]
|
|
33881
|
+
}
|
|
33882
|
+
}
|
|
33883
|
+
}
|
|
33884
|
+
}
|
|
33885
|
+
},
|
|
33886
|
+
"tags": [
|
|
33887
|
+
"Events::Passes"
|
|
33888
|
+
]
|
|
33889
|
+
}
|
|
33890
|
+
},
|
|
33734
33891
|
"/events/{eventId}/passes/ready": {
|
|
33735
33892
|
"post": {
|
|
33736
33893
|
"operationId": "UpdateEventPassesReady",
|
|
@@ -34345,6 +34502,77 @@
|
|
|
34345
34502
|
]
|
|
34346
34503
|
}
|
|
34347
34504
|
},
|
|
34505
|
+
"/events/{eventId}/passes/{passId}/approve": {
|
|
34506
|
+
"put": {
|
|
34507
|
+
"operationId": "ApproveEventPass",
|
|
34508
|
+
"summary": "Approve Event Pass",
|
|
34509
|
+
"description": "Approve Event Pass endpoint",
|
|
34510
|
+
"parameters": [
|
|
34511
|
+
{
|
|
34512
|
+
"in": "path",
|
|
34513
|
+
"name": "eventId",
|
|
34514
|
+
"schema": {
|
|
34515
|
+
"type": "string"
|
|
34516
|
+
},
|
|
34517
|
+
"description": "The event identifier",
|
|
34518
|
+
"required": true
|
|
34519
|
+
},
|
|
34520
|
+
{
|
|
34521
|
+
"in": "path",
|
|
34522
|
+
"name": "passId",
|
|
34523
|
+
"schema": {
|
|
34524
|
+
"type": "string"
|
|
34525
|
+
},
|
|
34526
|
+
"description": "The pass identifier",
|
|
34527
|
+
"required": true
|
|
34528
|
+
},
|
|
34529
|
+
{
|
|
34530
|
+
"in": "query",
|
|
34531
|
+
"name": "sendEmail",
|
|
34532
|
+
"schema": {
|
|
34533
|
+
"type": "boolean"
|
|
34534
|
+
},
|
|
34535
|
+
"description": "Filter by sendEmail",
|
|
34536
|
+
"required": false
|
|
34537
|
+
}
|
|
34538
|
+
],
|
|
34539
|
+
"responses": {
|
|
34540
|
+
"200": {
|
|
34541
|
+
"description": "Successful response",
|
|
34542
|
+
"content": {
|
|
34543
|
+
"application/json": {
|
|
34544
|
+
"schema": {
|
|
34545
|
+
"type": "object",
|
|
34546
|
+
"properties": {
|
|
34547
|
+
"status": {
|
|
34548
|
+
"type": "string",
|
|
34549
|
+
"enum": [
|
|
34550
|
+
"ok"
|
|
34551
|
+
]
|
|
34552
|
+
},
|
|
34553
|
+
"message": {
|
|
34554
|
+
"type": "string",
|
|
34555
|
+
"example": "Success message."
|
|
34556
|
+
},
|
|
34557
|
+
"data": {
|
|
34558
|
+
"$ref": "#/components/schemas/EventPass"
|
|
34559
|
+
}
|
|
34560
|
+
},
|
|
34561
|
+
"required": [
|
|
34562
|
+
"status",
|
|
34563
|
+
"message",
|
|
34564
|
+
"data"
|
|
34565
|
+
]
|
|
34566
|
+
}
|
|
34567
|
+
}
|
|
34568
|
+
}
|
|
34569
|
+
}
|
|
34570
|
+
},
|
|
34571
|
+
"tags": [
|
|
34572
|
+
"Events::Passes"
|
|
34573
|
+
]
|
|
34574
|
+
}
|
|
34575
|
+
},
|
|
34348
34576
|
"/events/{eventId}/passes/{passId}/attendee/passes": {
|
|
34349
34577
|
"get": {
|
|
34350
34578
|
"operationId": "GetEventPassAttendeePasses",
|
|
@@ -34913,6 +35141,86 @@
|
|
|
34913
35141
|
]
|
|
34914
35142
|
}
|
|
34915
35143
|
},
|
|
35144
|
+
"/events/{eventId}/passes/{passId}/deny": {
|
|
35145
|
+
"put": {
|
|
35146
|
+
"operationId": "DenyEventPass",
|
|
35147
|
+
"summary": "Deny Event Pass",
|
|
35148
|
+
"description": "Deny Event Pass endpoint",
|
|
35149
|
+
"parameters": [
|
|
35150
|
+
{
|
|
35151
|
+
"in": "path",
|
|
35152
|
+
"name": "eventId",
|
|
35153
|
+
"schema": {
|
|
35154
|
+
"type": "string"
|
|
35155
|
+
},
|
|
35156
|
+
"description": "The event identifier",
|
|
35157
|
+
"required": true
|
|
35158
|
+
},
|
|
35159
|
+
{
|
|
35160
|
+
"in": "path",
|
|
35161
|
+
"name": "passId",
|
|
35162
|
+
"schema": {
|
|
35163
|
+
"type": "string"
|
|
35164
|
+
},
|
|
35165
|
+
"description": "The pass identifier",
|
|
35166
|
+
"required": true
|
|
35167
|
+
},
|
|
35168
|
+
{
|
|
35169
|
+
"in": "query",
|
|
35170
|
+
"name": "sendEmail",
|
|
35171
|
+
"schema": {
|
|
35172
|
+
"type": "boolean"
|
|
35173
|
+
},
|
|
35174
|
+
"description": "Filter by sendEmail",
|
|
35175
|
+
"required": false
|
|
35176
|
+
},
|
|
35177
|
+
{
|
|
35178
|
+
"in": "query",
|
|
35179
|
+
"name": "refund",
|
|
35180
|
+
"schema": {
|
|
35181
|
+
"type": "boolean"
|
|
35182
|
+
},
|
|
35183
|
+
"description": "Filter by refund",
|
|
35184
|
+
"required": false
|
|
35185
|
+
}
|
|
35186
|
+
],
|
|
35187
|
+
"responses": {
|
|
35188
|
+
"200": {
|
|
35189
|
+
"description": "Successful response",
|
|
35190
|
+
"content": {
|
|
35191
|
+
"application/json": {
|
|
35192
|
+
"schema": {
|
|
35193
|
+
"type": "object",
|
|
35194
|
+
"properties": {
|
|
35195
|
+
"status": {
|
|
35196
|
+
"type": "string",
|
|
35197
|
+
"enum": [
|
|
35198
|
+
"ok"
|
|
35199
|
+
]
|
|
35200
|
+
},
|
|
35201
|
+
"message": {
|
|
35202
|
+
"type": "string",
|
|
35203
|
+
"example": "Success message."
|
|
35204
|
+
},
|
|
35205
|
+
"data": {
|
|
35206
|
+
"$ref": "#/components/schemas/EventPass"
|
|
35207
|
+
}
|
|
35208
|
+
},
|
|
35209
|
+
"required": [
|
|
35210
|
+
"status",
|
|
35211
|
+
"message",
|
|
35212
|
+
"data"
|
|
35213
|
+
]
|
|
35214
|
+
}
|
|
35215
|
+
}
|
|
35216
|
+
}
|
|
35217
|
+
}
|
|
35218
|
+
},
|
|
35219
|
+
"tags": [
|
|
35220
|
+
"Events::Passes"
|
|
35221
|
+
]
|
|
35222
|
+
}
|
|
35223
|
+
},
|
|
34916
35224
|
"/events/{eventId}/passes/{passId}/matches": {
|
|
34917
35225
|
"get": {
|
|
34918
35226
|
"operationId": "GetEventPassMatches",
|
|
@@ -97027,6 +97335,7 @@
|
|
|
97027
97335
|
"enum": [
|
|
97028
97336
|
"draft",
|
|
97029
97337
|
"canceled",
|
|
97338
|
+
"pending",
|
|
97030
97339
|
"needsInfo",
|
|
97031
97340
|
"ready"
|
|
97032
97341
|
]
|
|
@@ -103207,6 +103516,9 @@
|
|
|
103207
103516
|
"requiredPassTypeId": {
|
|
103208
103517
|
"type": "string",
|
|
103209
103518
|
"nullable": true
|
|
103519
|
+
},
|
|
103520
|
+
"requiresApproval": {
|
|
103521
|
+
"type": "boolean"
|
|
103210
103522
|
}
|
|
103211
103523
|
},
|
|
103212
103524
|
"required": [
|
|
@@ -103237,7 +103549,8 @@
|
|
|
103237
103549
|
"taxLocation",
|
|
103238
103550
|
"createdAt",
|
|
103239
103551
|
"updatedAt",
|
|
103240
|
-
"requiredPassTypeId"
|
|
103552
|
+
"requiredPassTypeId",
|
|
103553
|
+
"requiresApproval"
|
|
103241
103554
|
]
|
|
103242
103555
|
},
|
|
103243
103556
|
"EventPassType": {
|
|
@@ -106347,12 +106660,6 @@
|
|
|
106347
106660
|
},
|
|
106348
106661
|
"space": {
|
|
106349
106662
|
"$ref": "#/components/schemas/BaseBookingSpace"
|
|
106350
|
-
},
|
|
106351
|
-
"responses": {
|
|
106352
|
-
"type": "array",
|
|
106353
|
-
"items": {
|
|
106354
|
-
"$ref": "#/components/schemas/BaseBookingQuestionResponse"
|
|
106355
|
-
}
|
|
106356
106663
|
}
|
|
106357
106664
|
},
|
|
106358
106665
|
"required": [
|
|
@@ -106392,7 +106699,7 @@
|
|
|
106392
106699
|
"responses": {
|
|
106393
106700
|
"type": "array",
|
|
106394
106701
|
"items": {
|
|
106395
|
-
"$ref": "#/components/schemas/
|
|
106702
|
+
"$ref": "#/components/schemas/BaseBookingQuestionResponse"
|
|
106396
106703
|
}
|
|
106397
106704
|
}
|
|
106398
106705
|
},
|
|
@@ -116435,6 +116742,9 @@
|
|
|
116435
116742
|
"badgeColor": {
|
|
116436
116743
|
"type": "string",
|
|
116437
116744
|
"nullable": true
|
|
116745
|
+
},
|
|
116746
|
+
"requiresApproval": {
|
|
116747
|
+
"type": "boolean"
|
|
116438
116748
|
}
|
|
116439
116749
|
},
|
|
116440
116750
|
"required": [
|
|
@@ -116605,6 +116915,10 @@
|
|
|
116605
116915
|
"badgeColor": {
|
|
116606
116916
|
"type": "string",
|
|
116607
116917
|
"nullable": true
|
|
116918
|
+
},
|
|
116919
|
+
"requiresApproval": {
|
|
116920
|
+
"type": "boolean",
|
|
116921
|
+
"nullable": true
|
|
116608
116922
|
}
|
|
116609
116923
|
}
|
|
116610
116924
|
},
|