@connectedxm/admin 6.9.0 → 6.9.3
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 +32 -3
- package/dist/index.d.cts +30 -4
- package/dist/index.d.ts +30 -4
- package/dist/index.js +30 -3
- package/openapi.json +143 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17600,7 +17600,7 @@ var SERIES_REGISTRATION_PASSES_QUERY_KEY = (seriesId, registrationId) => [...SER
|
|
|
17600
17600
|
var GetSeriesRegistrationPasses = async ({
|
|
17601
17601
|
seriesId,
|
|
17602
17602
|
registrationId,
|
|
17603
|
-
|
|
17603
|
+
pageParam,
|
|
17604
17604
|
pageSize,
|
|
17605
17605
|
orderBy,
|
|
17606
17606
|
search,
|
|
@@ -17611,7 +17611,7 @@ var GetSeriesRegistrationPasses = async ({
|
|
|
17611
17611
|
`/series/${seriesId}/registrations/${registrationId}/passes`,
|
|
17612
17612
|
{
|
|
17613
17613
|
params: {
|
|
17614
|
-
|
|
17614
|
+
page: pageParam || void 0,
|
|
17615
17615
|
pageSize: pageSize || void 0,
|
|
17616
17616
|
orderBy: orderBy || void 0,
|
|
17617
17617
|
search: search || void 0
|
|
@@ -17621,7 +17621,7 @@ var GetSeriesRegistrationPasses = async ({
|
|
|
17621
17621
|
return data;
|
|
17622
17622
|
};
|
|
17623
17623
|
var useGetSeriesRegistrationPasses = (seriesId = "", registrationId = "", params = {}, options = {}) => {
|
|
17624
|
-
return
|
|
17624
|
+
return useConnectedInfiniteQuery(
|
|
17625
17625
|
SERIES_REGISTRATION_PASSES_QUERY_KEY(seriesId, registrationId),
|
|
17626
17626
|
(params2) => GetSeriesRegistrationPasses({
|
|
17627
17627
|
...params2,
|
|
@@ -29843,6 +29843,31 @@ var useAddEventSessionTrack = (options = {}) => {
|
|
|
29843
29843
|
return useConnectedMutation(AddEventSessionTrack, options);
|
|
29844
29844
|
};
|
|
29845
29845
|
|
|
29846
|
+
// src/mutations/events/sessions/useCloneEventSession.ts
|
|
29847
|
+
var CloneEventSession = async ({
|
|
29848
|
+
eventId,
|
|
29849
|
+
sessionId,
|
|
29850
|
+
options = {},
|
|
29851
|
+
adminApiParams,
|
|
29852
|
+
queryClient
|
|
29853
|
+
}) => {
|
|
29854
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
29855
|
+
const { data } = await connectedXM.post(
|
|
29856
|
+
`/events/${eventId}/sessions/${sessionId}/clone`,
|
|
29857
|
+
options
|
|
29858
|
+
);
|
|
29859
|
+
if (queryClient && data.status === "ok") {
|
|
29860
|
+
queryClient.invalidateQueries({
|
|
29861
|
+
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
29862
|
+
});
|
|
29863
|
+
SET_EVENT_SESSION_QUERY_DATA(queryClient, [eventId, data.data.id], data);
|
|
29864
|
+
}
|
|
29865
|
+
return data;
|
|
29866
|
+
};
|
|
29867
|
+
var useCloneEventSession = (options = {}) => {
|
|
29868
|
+
return useConnectedMutation(CloneEventSession, options);
|
|
29869
|
+
};
|
|
29870
|
+
|
|
29846
29871
|
// src/mutations/events/sessions/useCreateEventSession.ts
|
|
29847
29872
|
var CreateEventSession = async ({
|
|
29848
29873
|
eventId,
|
|
@@ -36878,6 +36903,7 @@ export {
|
|
|
36878
36903
|
ChannelFormat,
|
|
36879
36904
|
CheckinEventPass,
|
|
36880
36905
|
CloneEvent,
|
|
36906
|
+
CloneEventSession,
|
|
36881
36907
|
CloseStreamSession,
|
|
36882
36908
|
ConfirmLogin,
|
|
36883
36909
|
ConnectedXMProvider,
|
|
@@ -38959,6 +38985,7 @@ export {
|
|
|
38959
38985
|
useCancelGroupInvitation,
|
|
38960
38986
|
useCheckinEventPass,
|
|
38961
38987
|
useCloneEvent,
|
|
38988
|
+
useCloneEventSession,
|
|
38962
38989
|
useCloseStreamSession,
|
|
38963
38990
|
useConfirmLogin,
|
|
38964
38991
|
useConnectedCursorQuery,
|
package/openapi.json
CHANGED
|
@@ -35317,6 +35317,78 @@
|
|
|
35317
35317
|
]
|
|
35318
35318
|
}
|
|
35319
35319
|
},
|
|
35320
|
+
"/events/{eventId}/sessions/{sessionId}/clone": {
|
|
35321
|
+
"post": {
|
|
35322
|
+
"operationId": "CloneEventSession",
|
|
35323
|
+
"summary": "Clone Event Session",
|
|
35324
|
+
"description": "Clone Event Session endpoint",
|
|
35325
|
+
"parameters": [
|
|
35326
|
+
{
|
|
35327
|
+
"in": "path",
|
|
35328
|
+
"name": "eventId",
|
|
35329
|
+
"schema": {
|
|
35330
|
+
"type": "string"
|
|
35331
|
+
},
|
|
35332
|
+
"description": "The event identifier",
|
|
35333
|
+
"required": true
|
|
35334
|
+
},
|
|
35335
|
+
{
|
|
35336
|
+
"in": "path",
|
|
35337
|
+
"name": "sessionId",
|
|
35338
|
+
"schema": {
|
|
35339
|
+
"type": "string"
|
|
35340
|
+
},
|
|
35341
|
+
"description": "The session identifier",
|
|
35342
|
+
"required": true
|
|
35343
|
+
}
|
|
35344
|
+
],
|
|
35345
|
+
"requestBody": {
|
|
35346
|
+
"required": true,
|
|
35347
|
+
"content": {
|
|
35348
|
+
"application/json": {
|
|
35349
|
+
"schema": {
|
|
35350
|
+
"$ref": "#/components/schemas/EventSessionCloneOptions"
|
|
35351
|
+
}
|
|
35352
|
+
}
|
|
35353
|
+
}
|
|
35354
|
+
},
|
|
35355
|
+
"responses": {
|
|
35356
|
+
"200": {
|
|
35357
|
+
"description": "Successful response",
|
|
35358
|
+
"content": {
|
|
35359
|
+
"application/json": {
|
|
35360
|
+
"schema": {
|
|
35361
|
+
"type": "object",
|
|
35362
|
+
"properties": {
|
|
35363
|
+
"status": {
|
|
35364
|
+
"type": "string",
|
|
35365
|
+
"enum": [
|
|
35366
|
+
"ok"
|
|
35367
|
+
]
|
|
35368
|
+
},
|
|
35369
|
+
"message": {
|
|
35370
|
+
"type": "string",
|
|
35371
|
+
"example": "Success message."
|
|
35372
|
+
},
|
|
35373
|
+
"data": {
|
|
35374
|
+
"$ref": "#/components/schemas/EventSession"
|
|
35375
|
+
}
|
|
35376
|
+
},
|
|
35377
|
+
"required": [
|
|
35378
|
+
"status",
|
|
35379
|
+
"message",
|
|
35380
|
+
"data"
|
|
35381
|
+
]
|
|
35382
|
+
}
|
|
35383
|
+
}
|
|
35384
|
+
}
|
|
35385
|
+
}
|
|
35386
|
+
},
|
|
35387
|
+
"tags": [
|
|
35388
|
+
"Events::Sessions"
|
|
35389
|
+
]
|
|
35390
|
+
}
|
|
35391
|
+
},
|
|
35320
35392
|
"/events/{eventId}/sessions/{sessionId}/passTypes": {
|
|
35321
35393
|
"get": {
|
|
35322
35394
|
"operationId": "GetEventSessionPassTypes",
|
|
@@ -62325,6 +62397,47 @@
|
|
|
62325
62397
|
},
|
|
62326
62398
|
"description": "The registration identifier",
|
|
62327
62399
|
"required": true
|
|
62400
|
+
},
|
|
62401
|
+
{
|
|
62402
|
+
"in": "query",
|
|
62403
|
+
"name": "page",
|
|
62404
|
+
"schema": {
|
|
62405
|
+
"type": "integer",
|
|
62406
|
+
"minimum": 1,
|
|
62407
|
+
"default": 1
|
|
62408
|
+
},
|
|
62409
|
+
"description": "Page number",
|
|
62410
|
+
"required": false
|
|
62411
|
+
},
|
|
62412
|
+
{
|
|
62413
|
+
"in": "query",
|
|
62414
|
+
"name": "pageSize",
|
|
62415
|
+
"schema": {
|
|
62416
|
+
"type": "integer",
|
|
62417
|
+
"minimum": 1,
|
|
62418
|
+
"maximum": 100,
|
|
62419
|
+
"default": 25
|
|
62420
|
+
},
|
|
62421
|
+
"description": "Number of items per page",
|
|
62422
|
+
"required": false
|
|
62423
|
+
},
|
|
62424
|
+
{
|
|
62425
|
+
"in": "query",
|
|
62426
|
+
"name": "orderBy",
|
|
62427
|
+
"schema": {
|
|
62428
|
+
"type": "string"
|
|
62429
|
+
},
|
|
62430
|
+
"description": "Field to order by",
|
|
62431
|
+
"required": false
|
|
62432
|
+
},
|
|
62433
|
+
{
|
|
62434
|
+
"in": "query",
|
|
62435
|
+
"name": "search",
|
|
62436
|
+
"schema": {
|
|
62437
|
+
"type": "string"
|
|
62438
|
+
},
|
|
62439
|
+
"description": "Search query",
|
|
62440
|
+
"required": false
|
|
62328
62441
|
}
|
|
62329
62442
|
],
|
|
62330
62443
|
"responses": {
|
|
@@ -62347,6 +62460,10 @@
|
|
|
62347
62460
|
},
|
|
62348
62461
|
"data": {
|
|
62349
62462
|
"type": "object"
|
|
62463
|
+
},
|
|
62464
|
+
"count": {
|
|
62465
|
+
"type": "integer",
|
|
62466
|
+
"example": 100
|
|
62350
62467
|
}
|
|
62351
62468
|
},
|
|
62352
62469
|
"required": [
|
|
@@ -78703,6 +78820,10 @@
|
|
|
78703
78820
|
],
|
|
78704
78821
|
"nullable": true
|
|
78705
78822
|
},
|
|
78823
|
+
"seriesRegistrationId": {
|
|
78824
|
+
"type": "string",
|
|
78825
|
+
"nullable": true
|
|
78826
|
+
},
|
|
78706
78827
|
"createdAt": {
|
|
78707
78828
|
"type": "string"
|
|
78708
78829
|
},
|
|
@@ -78730,6 +78851,7 @@
|
|
|
78730
78851
|
"coupon",
|
|
78731
78852
|
"packageId",
|
|
78732
78853
|
"package",
|
|
78854
|
+
"seriesRegistrationId",
|
|
78733
78855
|
"createdAt",
|
|
78734
78856
|
"updatedAt"
|
|
78735
78857
|
]
|
|
@@ -78773,6 +78895,14 @@
|
|
|
78773
78895
|
}
|
|
78774
78896
|
],
|
|
78775
78897
|
"nullable": true
|
|
78898
|
+
},
|
|
78899
|
+
"seriesRegistration": {
|
|
78900
|
+
"allOf": [
|
|
78901
|
+
{
|
|
78902
|
+
"$ref": "#/components/schemas/BaseSeriesRegistration"
|
|
78903
|
+
}
|
|
78904
|
+
],
|
|
78905
|
+
"nullable": true
|
|
78776
78906
|
}
|
|
78777
78907
|
},
|
|
78778
78908
|
"required": [
|
|
@@ -78781,7 +78911,8 @@
|
|
|
78781
78911
|
"attendee",
|
|
78782
78912
|
"lineItem",
|
|
78783
78913
|
"payerId",
|
|
78784
|
-
"payer"
|
|
78914
|
+
"payer",
|
|
78915
|
+
"seriesRegistration"
|
|
78785
78916
|
]
|
|
78786
78917
|
}
|
|
78787
78918
|
]
|
|
@@ -93316,6 +93447,17 @@
|
|
|
93316
93447
|
}
|
|
93317
93448
|
}
|
|
93318
93449
|
},
|
|
93450
|
+
"EventSessionCloneOptions": {
|
|
93451
|
+
"type": "object",
|
|
93452
|
+
"properties": {
|
|
93453
|
+
"name": {
|
|
93454
|
+
"type": "string"
|
|
93455
|
+
},
|
|
93456
|
+
"startTime": {
|
|
93457
|
+
"type": "string"
|
|
93458
|
+
}
|
|
93459
|
+
}
|
|
93460
|
+
},
|
|
93319
93461
|
"EventSessionUpdateInputs": {
|
|
93320
93462
|
"type": "object",
|
|
93321
93463
|
"properties": {
|