@connectedxm/admin 2.11.3 → 3.0.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 +1100 -150
- package/dist/index.d.cts +759 -113
- package/dist/index.d.ts +759 -113
- package/dist/index.js +1027 -138
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2240,49 +2240,6 @@ var useGetBooking = (bookingId = "", options = {}) => {
|
|
|
2240
2240
|
);
|
|
2241
2241
|
};
|
|
2242
2242
|
|
|
2243
|
-
// src/queries/bookings/useGetBookingPayments.ts
|
|
2244
|
-
var BOOKING_PAYMENTS_QUERY_KEY = (bookingId) => [
|
|
2245
|
-
...BOOKING_QUERY_KEY(bookingId),
|
|
2246
|
-
"PAYMENTS"
|
|
2247
|
-
];
|
|
2248
|
-
var SET_BOOKING_PAYMENTS_QUERY_DATA = (client, keyParams, response) => {
|
|
2249
|
-
client.setQueryData(BOOKING_PAYMENTS_QUERY_KEY(...keyParams), response);
|
|
2250
|
-
};
|
|
2251
|
-
var GetBookingPayments = async ({
|
|
2252
|
-
bookingId,
|
|
2253
|
-
pageParam,
|
|
2254
|
-
pageSize,
|
|
2255
|
-
orderBy,
|
|
2256
|
-
search,
|
|
2257
|
-
adminApiParams
|
|
2258
|
-
}) => {
|
|
2259
|
-
const adminApi = await GetAdminAPI(adminApiParams);
|
|
2260
|
-
const { data } = await adminApi.get(`/bookings/${bookingId}/payments`, {
|
|
2261
|
-
params: {
|
|
2262
|
-
page: pageParam || void 0,
|
|
2263
|
-
pageSize: pageSize || void 0,
|
|
2264
|
-
orderBy: orderBy || void 0,
|
|
2265
|
-
search: search || void 0
|
|
2266
|
-
}
|
|
2267
|
-
});
|
|
2268
|
-
return data;
|
|
2269
|
-
};
|
|
2270
|
-
var useGetBookingPayments = (bookingId = "", params = {}, options = {}) => {
|
|
2271
|
-
return useConnectedInfiniteQuery(
|
|
2272
|
-
BOOKING_PAYMENTS_QUERY_KEY(bookingId),
|
|
2273
|
-
(params2) => GetBookingPayments({
|
|
2274
|
-
...params2,
|
|
2275
|
-
bookingId
|
|
2276
|
-
}),
|
|
2277
|
-
params,
|
|
2278
|
-
{
|
|
2279
|
-
...options,
|
|
2280
|
-
enabled: !!bookingId && (options.enabled ?? true)
|
|
2281
|
-
},
|
|
2282
|
-
"bookings"
|
|
2283
|
-
);
|
|
2284
|
-
};
|
|
2285
|
-
|
|
2286
2243
|
// src/queries/bookings/useGetBookingPlaces.ts
|
|
2287
2244
|
var BOOKING_PLACES_QUERY_KEY = () => ["BOOKING_PLACES"];
|
|
2288
2245
|
var SET_BOOKING_PLACES_QUERY_DATA = (client, keyParams, response) => {
|
|
@@ -5298,6 +5255,42 @@ var useGetEventPassMatches = (eventId = "", passId = "", sessionId, roundId, opt
|
|
|
5298
5255
|
);
|
|
5299
5256
|
};
|
|
5300
5257
|
|
|
5258
|
+
// src/queries/events/passes/useGetEventPassQuestionFollowups.ts
|
|
5259
|
+
var EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY = (eventId, passId) => [...EVENT_PASS_QUERY_KEY(eventId, passId), "FOLLOWUPS"];
|
|
5260
|
+
var SET_EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_DATA = (client, keyParams, response) => {
|
|
5261
|
+
client.setQueryData(
|
|
5262
|
+
EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY(...keyParams),
|
|
5263
|
+
response
|
|
5264
|
+
);
|
|
5265
|
+
};
|
|
5266
|
+
var GetEventPassQuestionFollowups = async ({
|
|
5267
|
+
eventId,
|
|
5268
|
+
accountId,
|
|
5269
|
+
passId,
|
|
5270
|
+
adminApiParams
|
|
5271
|
+
}) => {
|
|
5272
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
5273
|
+
const { data } = await connectedXM.get(`/events/${eventId}/attendees/${accountId}/passes/${passId}/followups`);
|
|
5274
|
+
return data;
|
|
5275
|
+
};
|
|
5276
|
+
var useGetEventPassQuestionFollowups = (eventId = "", accountId = "", passId = "", params = {}, options = {}) => {
|
|
5277
|
+
return useConnectedInfiniteQuery(
|
|
5278
|
+
EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY(eventId, passId),
|
|
5279
|
+
(params2) => GetEventPassQuestionFollowups({
|
|
5280
|
+
...params2,
|
|
5281
|
+
eventId,
|
|
5282
|
+
accountId,
|
|
5283
|
+
passId
|
|
5284
|
+
}),
|
|
5285
|
+
params,
|
|
5286
|
+
{
|
|
5287
|
+
...options,
|
|
5288
|
+
enabled: !!eventId && !!accountId && !!passId
|
|
5289
|
+
},
|
|
5290
|
+
"events"
|
|
5291
|
+
);
|
|
5292
|
+
};
|
|
5293
|
+
|
|
5301
5294
|
// src/queries/events/passes/useGetEventPassQuestionSections.ts
|
|
5302
5295
|
var EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY = (eventId, passId) => [...EVENT_PASS_QUERY_KEY(eventId, passId), "SECTIONS"];
|
|
5303
5296
|
var SET_EVENT_PASS_QUESTION_SECTIONS_QUERY_DATA = (client, keyParams, response) => {
|
|
@@ -5313,7 +5306,7 @@ var GetEventPassQuestionSections = async ({
|
|
|
5313
5306
|
adminApiParams
|
|
5314
5307
|
}) => {
|
|
5315
5308
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
5316
|
-
const { data } = await connectedXM.get(`/events/${eventId}/attendees/${accountId}/passes/${passId}/
|
|
5309
|
+
const { data } = await connectedXM.get(`/events/${eventId}/attendees/${accountId}/passes/${passId}/sections`);
|
|
5317
5310
|
return data;
|
|
5318
5311
|
};
|
|
5319
5312
|
var useGetEventPassQuestionSections = (eventId = "", accountId = "", passId = "", params = {}, options = {}) => {
|
|
@@ -6271,6 +6264,365 @@ var useGetEventFaqSectionTranslation = (eventId = "", sectionId = "", locale = "
|
|
|
6271
6264
|
);
|
|
6272
6265
|
};
|
|
6273
6266
|
|
|
6267
|
+
// src/queries/events/followups/useGetEventFollowups.ts
|
|
6268
|
+
var EVENT_FOLLOWUPS_QUERY_KEY = (eventId) => [
|
|
6269
|
+
...EVENT_QUERY_KEY(eventId),
|
|
6270
|
+
"FOLLOWUPS"
|
|
6271
|
+
];
|
|
6272
|
+
var SET_EVENT_FOLLOWUPS_QUERY_DATA = (client, keyParams, response) => {
|
|
6273
|
+
client.setQueryData(EVENT_FOLLOWUPS_QUERY_KEY(...keyParams), response);
|
|
6274
|
+
};
|
|
6275
|
+
var GetEventFollowups = async ({
|
|
6276
|
+
eventId,
|
|
6277
|
+
pageParam,
|
|
6278
|
+
pageSize,
|
|
6279
|
+
orderBy,
|
|
6280
|
+
search,
|
|
6281
|
+
adminApiParams
|
|
6282
|
+
}) => {
|
|
6283
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
6284
|
+
const { data } = await adminApi.get(`/events/${eventId}/followups`, {
|
|
6285
|
+
params: {
|
|
6286
|
+
page: pageParam || void 0,
|
|
6287
|
+
pageSize: pageSize || void 0,
|
|
6288
|
+
orderBy: orderBy || void 0,
|
|
6289
|
+
search: search || void 0
|
|
6290
|
+
}
|
|
6291
|
+
});
|
|
6292
|
+
return data;
|
|
6293
|
+
};
|
|
6294
|
+
var useGetEventFollowups = (eventId = "", params = {}, options = {}) => {
|
|
6295
|
+
return useConnectedInfiniteQuery(
|
|
6296
|
+
EVENT_FOLLOWUPS_QUERY_KEY(eventId),
|
|
6297
|
+
(params2) => GetEventFollowups({
|
|
6298
|
+
...params2,
|
|
6299
|
+
eventId
|
|
6300
|
+
}),
|
|
6301
|
+
params,
|
|
6302
|
+
{
|
|
6303
|
+
...options,
|
|
6304
|
+
enabled: !!eventId && (options.enabled ?? true)
|
|
6305
|
+
},
|
|
6306
|
+
"events"
|
|
6307
|
+
);
|
|
6308
|
+
};
|
|
6309
|
+
|
|
6310
|
+
// src/queries/events/followups/useGetEventFollowup.ts
|
|
6311
|
+
var EVENT_FOLLOWUP_QUERY_KEY = (eventId, followupId) => [
|
|
6312
|
+
...EVENT_FOLLOWUPS_QUERY_KEY(eventId),
|
|
6313
|
+
followupId
|
|
6314
|
+
];
|
|
6315
|
+
var SET_EVENT_FOLLOWUP_QUERY_DATA = (client, keyParams, response) => {
|
|
6316
|
+
client.setQueryData(EVENT_FOLLOWUP_QUERY_KEY(...keyParams), response);
|
|
6317
|
+
};
|
|
6318
|
+
var GetEventFollowup = async ({
|
|
6319
|
+
eventId,
|
|
6320
|
+
followupId,
|
|
6321
|
+
adminApiParams
|
|
6322
|
+
}) => {
|
|
6323
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
6324
|
+
const { data } = await adminApi.get(
|
|
6325
|
+
`/events/${eventId}/followups/${followupId}`
|
|
6326
|
+
);
|
|
6327
|
+
return data;
|
|
6328
|
+
};
|
|
6329
|
+
var useGetEventFollowup = (eventId = "", followupId = "", options = {}) => {
|
|
6330
|
+
return useConnectedSingleQuery(
|
|
6331
|
+
EVENT_FOLLOWUP_QUERY_KEY(eventId, followupId),
|
|
6332
|
+
(params) => GetEventFollowup({ eventId, followupId, ...params }),
|
|
6333
|
+
{
|
|
6334
|
+
...options,
|
|
6335
|
+
enabled: !!eventId && !!followupId && (options?.enabled ?? true)
|
|
6336
|
+
},
|
|
6337
|
+
"events"
|
|
6338
|
+
);
|
|
6339
|
+
};
|
|
6340
|
+
|
|
6341
|
+
// src/queries/events/followups/translations/useGetEventFollowupTranslation.ts
|
|
6342
|
+
var EVENT_FOLLOWUP_TRANSLATION_QUERY_KEY = (eventId, followupId, locale) => [...EVENT_FOLLOWUP_QUERY_KEY(eventId, followupId), locale];
|
|
6343
|
+
var SET_EVENT_FOLLOWUP_TRANSLATION_QUERY_DATA = (client, keyParams, response) => {
|
|
6344
|
+
client.setQueryData(
|
|
6345
|
+
EVENT_FOLLOWUP_TRANSLATION_QUERY_KEY(...keyParams),
|
|
6346
|
+
response
|
|
6347
|
+
);
|
|
6348
|
+
};
|
|
6349
|
+
var GetEventFollowupTranslation = async ({
|
|
6350
|
+
eventId,
|
|
6351
|
+
followupId,
|
|
6352
|
+
locale,
|
|
6353
|
+
adminApiParams
|
|
6354
|
+
}) => {
|
|
6355
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
6356
|
+
const { data } = await adminApi.get(
|
|
6357
|
+
`/events/${eventId}/followups/${followupId}/translations/${locale}`
|
|
6358
|
+
);
|
|
6359
|
+
return data;
|
|
6360
|
+
};
|
|
6361
|
+
var useGetEventFollowupTranslation = (eventId = "", followupId = "", locale = "", options = {}) => {
|
|
6362
|
+
return useConnectedSingleQuery(
|
|
6363
|
+
EVENT_FOLLOWUP_TRANSLATION_QUERY_KEY(eventId, followupId, locale),
|
|
6364
|
+
(params) => GetEventFollowupTranslation({
|
|
6365
|
+
...params,
|
|
6366
|
+
eventId,
|
|
6367
|
+
followupId,
|
|
6368
|
+
locale
|
|
6369
|
+
}),
|
|
6370
|
+
{
|
|
6371
|
+
...options,
|
|
6372
|
+
enabled: !!eventId && !!followupId && !!locale && locale !== "en"
|
|
6373
|
+
},
|
|
6374
|
+
"events"
|
|
6375
|
+
);
|
|
6376
|
+
};
|
|
6377
|
+
|
|
6378
|
+
// src/queries/events/followups/translations/useGetEventFollowupTranslations.ts
|
|
6379
|
+
var EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY = (eventId, followupId) => [...EVENT_FOLLOWUP_QUERY_KEY(eventId, followupId), "TRANSLATIONS"];
|
|
6380
|
+
var SET_EVENT_FOLLOWUP_TRANSLATIONS_QUERY_DATA = (client, keyParams, response) => {
|
|
6381
|
+
client.setQueryData(
|
|
6382
|
+
EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY(...keyParams),
|
|
6383
|
+
response
|
|
6384
|
+
);
|
|
6385
|
+
};
|
|
6386
|
+
var GetEventFollowupTranslations = async ({
|
|
6387
|
+
pageParam,
|
|
6388
|
+
pageSize,
|
|
6389
|
+
orderBy,
|
|
6390
|
+
search,
|
|
6391
|
+
eventId,
|
|
6392
|
+
followupId,
|
|
6393
|
+
adminApiParams
|
|
6394
|
+
}) => {
|
|
6395
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
6396
|
+
const { data } = await adminApi.get(
|
|
6397
|
+
`/events/${eventId}/followups/${followupId}/translations`,
|
|
6398
|
+
{
|
|
6399
|
+
params: {
|
|
6400
|
+
page: pageParam || void 0,
|
|
6401
|
+
pageSize: pageSize || void 0,
|
|
6402
|
+
orderBy: orderBy || void 0,
|
|
6403
|
+
search: search || void 0
|
|
6404
|
+
}
|
|
6405
|
+
}
|
|
6406
|
+
);
|
|
6407
|
+
return data;
|
|
6408
|
+
};
|
|
6409
|
+
var useGetEventFollowupTranslations = (eventId = "", followupId = "", params = {}, options = {}) => {
|
|
6410
|
+
return useConnectedInfiniteQuery(
|
|
6411
|
+
EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY(eventId, followupId),
|
|
6412
|
+
(params2) => GetEventFollowupTranslations({
|
|
6413
|
+
...params2,
|
|
6414
|
+
eventId,
|
|
6415
|
+
followupId
|
|
6416
|
+
}),
|
|
6417
|
+
params,
|
|
6418
|
+
{
|
|
6419
|
+
...options,
|
|
6420
|
+
enabled: !!eventId && !!followupId && (options.enabled ?? true)
|
|
6421
|
+
},
|
|
6422
|
+
"events"
|
|
6423
|
+
);
|
|
6424
|
+
};
|
|
6425
|
+
|
|
6426
|
+
// src/queries/events/followups/useGetEventFollowupAddOns.ts
|
|
6427
|
+
var EVENT_FOLLOWUP_ADDONS_QUERY_KEY = (eventId, followupId) => [...EVENT_FOLLOWUP_QUERY_KEY(eventId, followupId), "ADDONS"];
|
|
6428
|
+
var SET_EVENT_FOLLOWUP_ADDONS_QUERY_DATA = (client, keyParams, response) => {
|
|
6429
|
+
client.setQueryData(EVENT_FOLLOWUP_ADDONS_QUERY_KEY(...keyParams), response);
|
|
6430
|
+
};
|
|
6431
|
+
var GetEventFollowupAddOns = async ({
|
|
6432
|
+
eventId,
|
|
6433
|
+
followupId,
|
|
6434
|
+
pageParam,
|
|
6435
|
+
pageSize,
|
|
6436
|
+
orderBy,
|
|
6437
|
+
search,
|
|
6438
|
+
adminApiParams
|
|
6439
|
+
}) => {
|
|
6440
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
6441
|
+
const { data } = await adminApi.get(
|
|
6442
|
+
`/events/${eventId}/followups/${followupId}/addOns`,
|
|
6443
|
+
{
|
|
6444
|
+
params: {
|
|
6445
|
+
page: pageParam || void 0,
|
|
6446
|
+
pageSize: pageSize || void 0,
|
|
6447
|
+
orderBy: orderBy || void 0,
|
|
6448
|
+
search: search || void 0
|
|
6449
|
+
}
|
|
6450
|
+
}
|
|
6451
|
+
);
|
|
6452
|
+
return data;
|
|
6453
|
+
};
|
|
6454
|
+
var useGetEventFollowupAddOns = (eventId = "", followupId = "", params = {}, options = {}) => {
|
|
6455
|
+
return useConnectedInfiniteQuery(
|
|
6456
|
+
EVENT_FOLLOWUP_ADDONS_QUERY_KEY(eventId, followupId),
|
|
6457
|
+
(params2) => GetEventFollowupAddOns({
|
|
6458
|
+
...params2,
|
|
6459
|
+
eventId,
|
|
6460
|
+
followupId
|
|
6461
|
+
}),
|
|
6462
|
+
params,
|
|
6463
|
+
{
|
|
6464
|
+
...options,
|
|
6465
|
+
enabled: !!eventId && !!followupId && (options.enabled ?? true)
|
|
6466
|
+
},
|
|
6467
|
+
"events"
|
|
6468
|
+
);
|
|
6469
|
+
};
|
|
6470
|
+
|
|
6471
|
+
// src/queries/events/followups/useGetEventFollowupPassTypes.ts
|
|
6472
|
+
var EVENT_FOLLOWUP_PASS_TYPES_QUERY_KEY = (eventId, followupId) => [...EVENT_FOLLOWUP_QUERY_KEY(eventId, followupId), "PASS_TYPES"];
|
|
6473
|
+
var SET_EVENT_FOLLOWUP_PASS_TYPES_QUERY_DATA = (client, keyParams, response) => {
|
|
6474
|
+
client.setQueryData(
|
|
6475
|
+
EVENT_FOLLOWUP_PASS_TYPES_QUERY_KEY(...keyParams),
|
|
6476
|
+
response
|
|
6477
|
+
);
|
|
6478
|
+
};
|
|
6479
|
+
var GetEventFollowupPassTypes = async ({
|
|
6480
|
+
eventId,
|
|
6481
|
+
followupId,
|
|
6482
|
+
pageParam,
|
|
6483
|
+
pageSize,
|
|
6484
|
+
orderBy,
|
|
6485
|
+
search,
|
|
6486
|
+
adminApiParams
|
|
6487
|
+
}) => {
|
|
6488
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
6489
|
+
const { data } = await adminApi.get(
|
|
6490
|
+
`/events/${eventId}/followups/${followupId}/passTypes`,
|
|
6491
|
+
{
|
|
6492
|
+
params: {
|
|
6493
|
+
page: pageParam || void 0,
|
|
6494
|
+
pageSize: pageSize || void 0,
|
|
6495
|
+
orderBy: orderBy || void 0,
|
|
6496
|
+
search: search || void 0
|
|
6497
|
+
}
|
|
6498
|
+
}
|
|
6499
|
+
);
|
|
6500
|
+
return data;
|
|
6501
|
+
};
|
|
6502
|
+
var useGetEventFollowupPassTypes = (eventId = "", followupId = "", params = {}, options = {}) => {
|
|
6503
|
+
return useConnectedInfiniteQuery(
|
|
6504
|
+
EVENT_FOLLOWUP_PASS_TYPES_QUERY_KEY(eventId, followupId),
|
|
6505
|
+
(params2) => GetEventFollowupPassTypes({
|
|
6506
|
+
...params2,
|
|
6507
|
+
eventId,
|
|
6508
|
+
followupId
|
|
6509
|
+
}),
|
|
6510
|
+
params,
|
|
6511
|
+
{
|
|
6512
|
+
...options,
|
|
6513
|
+
enabled: !!eventId && !!followupId
|
|
6514
|
+
},
|
|
6515
|
+
"events"
|
|
6516
|
+
);
|
|
6517
|
+
};
|
|
6518
|
+
|
|
6519
|
+
// src/queries/events/followups/useGetEventFollowupQuestions.ts
|
|
6520
|
+
var EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY = (eventId, followupId) => [...EVENT_FOLLOWUP_QUERY_KEY(eventId, followupId), "QUESTIONS"];
|
|
6521
|
+
var SET_EVENT_FOLLOWUP_QUESTIONS_QUERY_DATA = (client, keyParams, response) => {
|
|
6522
|
+
client.setQueryData(
|
|
6523
|
+
[
|
|
6524
|
+
...EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(...keyParams),
|
|
6525
|
+
...GetBaseInfiniteQueryKeys("")
|
|
6526
|
+
],
|
|
6527
|
+
{
|
|
6528
|
+
pages: [response],
|
|
6529
|
+
pageParams: [null]
|
|
6530
|
+
},
|
|
6531
|
+
"events"
|
|
6532
|
+
);
|
|
6533
|
+
};
|
|
6534
|
+
var GetEventFollowupQuestions = async ({
|
|
6535
|
+
eventId,
|
|
6536
|
+
followupId,
|
|
6537
|
+
pageParam,
|
|
6538
|
+
pageSize,
|
|
6539
|
+
orderBy,
|
|
6540
|
+
search,
|
|
6541
|
+
adminApiParams
|
|
6542
|
+
}) => {
|
|
6543
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
6544
|
+
const { data } = await adminApi.get(
|
|
6545
|
+
`/events/${eventId}/followups/${followupId}/questions`,
|
|
6546
|
+
{
|
|
6547
|
+
params: {
|
|
6548
|
+
page: pageParam || void 0,
|
|
6549
|
+
pageSize: pageSize || void 0,
|
|
6550
|
+
orderBy: orderBy || void 0,
|
|
6551
|
+
search: search || void 0
|
|
6552
|
+
}
|
|
6553
|
+
}
|
|
6554
|
+
);
|
|
6555
|
+
return data;
|
|
6556
|
+
};
|
|
6557
|
+
var useGetEventFollowupQuestions = (eventId = "", followupId = "", params = {}, options = {}) => {
|
|
6558
|
+
return useConnectedInfiniteQuery(
|
|
6559
|
+
EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(eventId, followupId),
|
|
6560
|
+
(params2) => GetEventFollowupQuestions({
|
|
6561
|
+
...params2,
|
|
6562
|
+
eventId,
|
|
6563
|
+
followupId
|
|
6564
|
+
}),
|
|
6565
|
+
params,
|
|
6566
|
+
{
|
|
6567
|
+
...options,
|
|
6568
|
+
enabled: !!eventId && !!followupId && (options.enabled ?? true)
|
|
6569
|
+
},
|
|
6570
|
+
"events"
|
|
6571
|
+
);
|
|
6572
|
+
};
|
|
6573
|
+
|
|
6574
|
+
// src/queries/events/followups/useGetEventFollowupTiers.ts
|
|
6575
|
+
var EVENT_FOLLOWUP_TIERS_QUERY_KEY = (allowed, eventId, followupId) => [
|
|
6576
|
+
...EVENT_FOLLOWUP_QUERY_KEY(eventId, followupId),
|
|
6577
|
+
"TIERS",
|
|
6578
|
+
allowed ? "ALLOWED" : "DISALLOWED"
|
|
6579
|
+
];
|
|
6580
|
+
var SET_EVENT_FOLLOWUP_TIERS_QUERY_DATA = (client, keyParams, response) => {
|
|
6581
|
+
client.setQueryData(EVENT_FOLLOWUP_TIERS_QUERY_KEY(...keyParams), response);
|
|
6582
|
+
};
|
|
6583
|
+
var GetEventFollowupTiers = async ({
|
|
6584
|
+
allowed,
|
|
6585
|
+
eventId,
|
|
6586
|
+
followupId,
|
|
6587
|
+
pageParam,
|
|
6588
|
+
pageSize,
|
|
6589
|
+
orderBy,
|
|
6590
|
+
search,
|
|
6591
|
+
adminApiParams
|
|
6592
|
+
}) => {
|
|
6593
|
+
const adminApi = await GetAdminAPI(adminApiParams);
|
|
6594
|
+
const { data } = await adminApi.get(
|
|
6595
|
+
`/events/${eventId}/followups/${followupId}/tiers`,
|
|
6596
|
+
{
|
|
6597
|
+
params: {
|
|
6598
|
+
allowed,
|
|
6599
|
+
page: pageParam || void 0,
|
|
6600
|
+
pageSize: pageSize || void 0,
|
|
6601
|
+
orderBy: orderBy || void 0,
|
|
6602
|
+
search: search || void 0
|
|
6603
|
+
}
|
|
6604
|
+
}
|
|
6605
|
+
);
|
|
6606
|
+
return data;
|
|
6607
|
+
};
|
|
6608
|
+
var useGetEventFollowupTiers = (allowed, eventId = "", followupId = "", params = {}, options = {}) => {
|
|
6609
|
+
return useConnectedInfiniteQuery(
|
|
6610
|
+
EVENT_FOLLOWUP_TIERS_QUERY_KEY(allowed, eventId, followupId),
|
|
6611
|
+
(params2) => GetEventFollowupTiers({
|
|
6612
|
+
...params2,
|
|
6613
|
+
allowed,
|
|
6614
|
+
eventId,
|
|
6615
|
+
followupId
|
|
6616
|
+
}),
|
|
6617
|
+
params,
|
|
6618
|
+
{
|
|
6619
|
+
...options,
|
|
6620
|
+
enabled: typeof allowed === "boolean" && !!eventId && !!followupId && (options.enabled ?? true)
|
|
6621
|
+
},
|
|
6622
|
+
"events"
|
|
6623
|
+
);
|
|
6624
|
+
};
|
|
6625
|
+
|
|
6274
6626
|
// src/queries/events/matches/useGetEventRounds.ts
|
|
6275
6627
|
var EVENT_ROUNDS_QUERY_KEY = (eventId) => [
|
|
6276
6628
|
...EVENT_QUERY_KEY(eventId),
|
|
@@ -12877,6 +13229,19 @@ var PaymentIntegrationType = /* @__PURE__ */ ((PaymentIntegrationType2) => {
|
|
|
12877
13229
|
PaymentIntegrationType2["manual"] = "manual";
|
|
12878
13230
|
return PaymentIntegrationType2;
|
|
12879
13231
|
})(PaymentIntegrationType || {});
|
|
13232
|
+
var PaymentLineItemType = /* @__PURE__ */ ((PaymentLineItemType2) => {
|
|
13233
|
+
PaymentLineItemType2["general"] = "general";
|
|
13234
|
+
PaymentLineItemType2["pass"] = "pass";
|
|
13235
|
+
PaymentLineItemType2["package"] = "package";
|
|
13236
|
+
PaymentLineItemType2["reservation"] = "reservation";
|
|
13237
|
+
PaymentLineItemType2["addOn"] = "addOn";
|
|
13238
|
+
PaymentLineItemType2["access"] = "access";
|
|
13239
|
+
PaymentLineItemType2["invoice"] = "invoice";
|
|
13240
|
+
PaymentLineItemType2["booking"] = "booking";
|
|
13241
|
+
PaymentLineItemType2["coupon"] = "coupon";
|
|
13242
|
+
PaymentLineItemType2["subscription"] = "subscription";
|
|
13243
|
+
return PaymentLineItemType2;
|
|
13244
|
+
})(PaymentLineItemType || {});
|
|
12880
13245
|
var TaxIntegrationType = /* @__PURE__ */ ((TaxIntegrationType2) => {
|
|
12881
13246
|
TaxIntegrationType2["stripe"] = "stripe";
|
|
12882
13247
|
TaxIntegrationType2["taxjar"] = "taxjar";
|
|
@@ -14032,77 +14397,6 @@ var useGetInvoiceLineItem = (invoiceId = "", lineItemId = "", options = {}) => {
|
|
|
14032
14397
|
);
|
|
14033
14398
|
};
|
|
14034
14399
|
|
|
14035
|
-
// src/queries/invoices/useGetInvoicePayments.ts
|
|
14036
|
-
var INVOICE_PAYMENTS_QUERY_KEY = (invoiceId) => [
|
|
14037
|
-
...INVOICE_QUERY_KEY(invoiceId),
|
|
14038
|
-
"PAYMENTS"
|
|
14039
|
-
];
|
|
14040
|
-
var SET_INVOICE_PAYMENTS_QUERY_DATA = (client, keyParams, response) => {
|
|
14041
|
-
client.setQueryData(INVOICE_PAYMENTS_QUERY_KEY(...keyParams), response);
|
|
14042
|
-
};
|
|
14043
|
-
var GetInvoicePayments = async ({
|
|
14044
|
-
invoiceId,
|
|
14045
|
-
pageParam,
|
|
14046
|
-
pageSize,
|
|
14047
|
-
orderBy,
|
|
14048
|
-
search,
|
|
14049
|
-
adminApiParams
|
|
14050
|
-
}) => {
|
|
14051
|
-
const adminApi = await GetAdminAPI(adminApiParams);
|
|
14052
|
-
const { data } = await adminApi.get(`/invoices/${invoiceId}/payments`, {
|
|
14053
|
-
params: {
|
|
14054
|
-
page: pageParam || void 0,
|
|
14055
|
-
pageSize: pageSize || void 0,
|
|
14056
|
-
orderBy: orderBy || void 0,
|
|
14057
|
-
search: search || void 0
|
|
14058
|
-
}
|
|
14059
|
-
});
|
|
14060
|
-
return data;
|
|
14061
|
-
};
|
|
14062
|
-
var useGetInvoicePayments = (invoiceId = "", params = {}, options = {}) => {
|
|
14063
|
-
return useConnectedInfiniteQuery(
|
|
14064
|
-
INVOICE_PAYMENTS_QUERY_KEY(invoiceId),
|
|
14065
|
-
(params2) => GetInvoicePayments({
|
|
14066
|
-
...params2,
|
|
14067
|
-
invoiceId
|
|
14068
|
-
}),
|
|
14069
|
-
params,
|
|
14070
|
-
{
|
|
14071
|
-
...options,
|
|
14072
|
-
enabled: !!invoiceId && (options.enabled ?? true)
|
|
14073
|
-
},
|
|
14074
|
-
"invoices"
|
|
14075
|
-
);
|
|
14076
|
-
};
|
|
14077
|
-
|
|
14078
|
-
// src/queries/invoices/useGetInvoicePayment.ts
|
|
14079
|
-
var INVOICE_PAYMENT_QUERY_KEY = (invoiceId, paymentId) => [...INVOICE_PAYMENTS_QUERY_KEY(invoiceId), paymentId];
|
|
14080
|
-
var SET_INVOICE_PAYMENT_QUERY_DATA = (client, keyParams, response) => {
|
|
14081
|
-
client.setQueryData(INVOICE_PAYMENT_QUERY_KEY(...keyParams), response);
|
|
14082
|
-
};
|
|
14083
|
-
var GetInvoicePayment = async ({
|
|
14084
|
-
invoiceId,
|
|
14085
|
-
paymentId,
|
|
14086
|
-
adminApiParams
|
|
14087
|
-
}) => {
|
|
14088
|
-
const adminApi = await GetAdminAPI(adminApiParams);
|
|
14089
|
-
const { data } = await adminApi.get(
|
|
14090
|
-
`/invoices/${invoiceId}/payments/${paymentId}`
|
|
14091
|
-
);
|
|
14092
|
-
return data;
|
|
14093
|
-
};
|
|
14094
|
-
var useGetInvoicePayment = (invoiceId = "", paymentId = "", options = {}) => {
|
|
14095
|
-
return useConnectedSingleQuery(
|
|
14096
|
-
INVOICE_PAYMENT_QUERY_KEY(invoiceId, paymentId),
|
|
14097
|
-
(params) => GetInvoicePayment({ invoiceId, paymentId, ...params }),
|
|
14098
|
-
{
|
|
14099
|
-
...options,
|
|
14100
|
-
enabled: !!invoiceId && !!paymentId
|
|
14101
|
-
},
|
|
14102
|
-
"invoices"
|
|
14103
|
-
);
|
|
14104
|
-
};
|
|
14105
|
-
|
|
14106
14400
|
// src/queries/levels/useGetLevels.ts
|
|
14107
14401
|
var LEVELS_QUERY_KEY = () => ["LEVELS"];
|
|
14108
14402
|
var SET_LEVELS_QUERY_DATA = (client, keyParams, response) => {
|
|
@@ -23531,6 +23825,467 @@ var useUpdateEventFaqSectionQuestion = (options = {}) => {
|
|
|
23531
23825
|
});
|
|
23532
23826
|
};
|
|
23533
23827
|
|
|
23828
|
+
// src/mutations/event/followups/translations/useCreateEventFollowupTranslation.ts
|
|
23829
|
+
var CreateEventFollowupTranslation = async ({
|
|
23830
|
+
eventId,
|
|
23831
|
+
followupId,
|
|
23832
|
+
locale,
|
|
23833
|
+
autoTranslate,
|
|
23834
|
+
adminApiParams,
|
|
23835
|
+
queryClient
|
|
23836
|
+
}) => {
|
|
23837
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23838
|
+
const { data } = await connectedXM.post(`/events/${eventId}/followups/${followupId}/translations`, {
|
|
23839
|
+
locale,
|
|
23840
|
+
autoTranslate
|
|
23841
|
+
});
|
|
23842
|
+
if (queryClient && data.status === "ok") {
|
|
23843
|
+
queryClient.invalidateQueries({
|
|
23844
|
+
queryKey: EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY(eventId, followupId)
|
|
23845
|
+
});
|
|
23846
|
+
SET_EVENT_FOLLOWUP_TRANSLATION_QUERY_DATA(
|
|
23847
|
+
queryClient,
|
|
23848
|
+
[eventId, followupId, data.data?.locale],
|
|
23849
|
+
data
|
|
23850
|
+
);
|
|
23851
|
+
}
|
|
23852
|
+
return data;
|
|
23853
|
+
};
|
|
23854
|
+
var useCreateEventFollowupTranslation = (options = {}) => {
|
|
23855
|
+
return useConnectedMutation(CreateEventFollowupTranslation, options, {
|
|
23856
|
+
domain: "events",
|
|
23857
|
+
type: "update"
|
|
23858
|
+
});
|
|
23859
|
+
};
|
|
23860
|
+
|
|
23861
|
+
// src/mutations/event/followups/translations/useDeleteEventFollowupTranslation.ts
|
|
23862
|
+
var DeleteEventFollowupTranslation = async ({
|
|
23863
|
+
eventId,
|
|
23864
|
+
followupId,
|
|
23865
|
+
locale,
|
|
23866
|
+
adminApiParams,
|
|
23867
|
+
queryClient
|
|
23868
|
+
}) => {
|
|
23869
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23870
|
+
const { data } = await connectedXM.delete(
|
|
23871
|
+
`/events/${eventId}/followups/${followupId}/translations/${locale}`
|
|
23872
|
+
);
|
|
23873
|
+
if (queryClient && data.status === "ok") {
|
|
23874
|
+
queryClient.invalidateQueries({
|
|
23875
|
+
queryKey: EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY(eventId, followupId)
|
|
23876
|
+
});
|
|
23877
|
+
queryClient.invalidateQueries({
|
|
23878
|
+
queryKey: EVENT_FOLLOWUP_TRANSLATION_QUERY_KEY(eventId, followupId, locale)
|
|
23879
|
+
});
|
|
23880
|
+
}
|
|
23881
|
+
return data;
|
|
23882
|
+
};
|
|
23883
|
+
var useDeleteEventFollowupTranslation = (options = {}) => {
|
|
23884
|
+
return useConnectedMutation(DeleteEventFollowupTranslation, options, {
|
|
23885
|
+
domain: "events",
|
|
23886
|
+
type: "update"
|
|
23887
|
+
});
|
|
23888
|
+
};
|
|
23889
|
+
|
|
23890
|
+
// src/mutations/event/followups/translations/useUpdateEventFollowupTranslation.ts
|
|
23891
|
+
var UpdateEventFollowupTranslation = async ({
|
|
23892
|
+
eventId,
|
|
23893
|
+
followupId,
|
|
23894
|
+
followupTranslation,
|
|
23895
|
+
locale,
|
|
23896
|
+
adminApiParams,
|
|
23897
|
+
queryClient
|
|
23898
|
+
}) => {
|
|
23899
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23900
|
+
const { data } = await connectedXM.put(
|
|
23901
|
+
`/events/${eventId}/followups/${followupId}/translations/${locale}`,
|
|
23902
|
+
followupTranslation
|
|
23903
|
+
);
|
|
23904
|
+
if (queryClient && data.status === "ok") {
|
|
23905
|
+
queryClient.invalidateQueries({
|
|
23906
|
+
queryKey: EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY(eventId, followupId)
|
|
23907
|
+
});
|
|
23908
|
+
SET_EVENT_FOLLOWUP_TRANSLATION_QUERY_DATA(
|
|
23909
|
+
queryClient,
|
|
23910
|
+
[eventId, followupId, data.data?.locale],
|
|
23911
|
+
data
|
|
23912
|
+
);
|
|
23913
|
+
}
|
|
23914
|
+
return data;
|
|
23915
|
+
};
|
|
23916
|
+
var useUpdateEventFollowupTranslation = (options = {}) => {
|
|
23917
|
+
return useConnectedMutation(UpdateEventFollowupTranslation, options, {
|
|
23918
|
+
domain: "events",
|
|
23919
|
+
type: "update"
|
|
23920
|
+
});
|
|
23921
|
+
};
|
|
23922
|
+
|
|
23923
|
+
// src/mutations/event/followups/useAddEventFollowupAddOn.ts
|
|
23924
|
+
var AddEventFollowupAddOn = async ({
|
|
23925
|
+
eventId,
|
|
23926
|
+
followupId,
|
|
23927
|
+
addOnId,
|
|
23928
|
+
adminApiParams,
|
|
23929
|
+
queryClient
|
|
23930
|
+
}) => {
|
|
23931
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23932
|
+
const { data } = await connectedXM.post(
|
|
23933
|
+
`/events/${eventId}/followups/${followupId}/addOns/${addOnId}`
|
|
23934
|
+
);
|
|
23935
|
+
if (queryClient && data.status === "ok") {
|
|
23936
|
+
queryClient.invalidateQueries({
|
|
23937
|
+
queryKey: EVENT_FOLLOWUP_ADDONS_QUERY_KEY(eventId, followupId)
|
|
23938
|
+
});
|
|
23939
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
23940
|
+
}
|
|
23941
|
+
return data;
|
|
23942
|
+
};
|
|
23943
|
+
var useAddEventFollowupAddOn = (options = {}) => {
|
|
23944
|
+
return useConnectedMutation(AddEventFollowupAddOn, options, {
|
|
23945
|
+
domain: "events",
|
|
23946
|
+
type: "update"
|
|
23947
|
+
});
|
|
23948
|
+
};
|
|
23949
|
+
|
|
23950
|
+
// src/mutations/event/followups/useAddEventFollowupPassType.ts
|
|
23951
|
+
var AddEventFollowupPassType = async ({
|
|
23952
|
+
eventId,
|
|
23953
|
+
followupId,
|
|
23954
|
+
passTypeId,
|
|
23955
|
+
adminApiParams,
|
|
23956
|
+
queryClient
|
|
23957
|
+
}) => {
|
|
23958
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23959
|
+
const { data } = await connectedXM.post(`/events/${eventId}/followups/${followupId}/passTypes/${passTypeId}`);
|
|
23960
|
+
if (queryClient && data.status === "ok") {
|
|
23961
|
+
queryClient.invalidateQueries({
|
|
23962
|
+
queryKey: EVENT_FOLLOWUP_PASS_TYPES_QUERY_KEY(eventId, followupId)
|
|
23963
|
+
});
|
|
23964
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
23965
|
+
}
|
|
23966
|
+
return data;
|
|
23967
|
+
};
|
|
23968
|
+
var useAddEventFollowupPassType = (options = {}) => {
|
|
23969
|
+
return useConnectedMutation(AddEventFollowupPassType, options, {
|
|
23970
|
+
domain: "events",
|
|
23971
|
+
type: "update"
|
|
23972
|
+
});
|
|
23973
|
+
};
|
|
23974
|
+
|
|
23975
|
+
// src/mutations/event/followups/useAddEventFollowupQuestion.ts
|
|
23976
|
+
var AddEventFollowupQuestion = async ({
|
|
23977
|
+
eventId,
|
|
23978
|
+
followupId,
|
|
23979
|
+
questionId,
|
|
23980
|
+
adminApiParams,
|
|
23981
|
+
queryClient
|
|
23982
|
+
}) => {
|
|
23983
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23984
|
+
const { data } = await connectedXM.post(`/events/${eventId}/followups/${followupId}/questions/${questionId}`);
|
|
23985
|
+
if (queryClient && data.status === "ok") {
|
|
23986
|
+
queryClient.invalidateQueries({
|
|
23987
|
+
queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(eventId, followupId)
|
|
23988
|
+
});
|
|
23989
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
23990
|
+
}
|
|
23991
|
+
return data;
|
|
23992
|
+
};
|
|
23993
|
+
var useAddEventFollowupQuestion = (options = {}) => {
|
|
23994
|
+
return useConnectedMutation(AddEventFollowupQuestion, options, {
|
|
23995
|
+
domain: "events",
|
|
23996
|
+
type: "update"
|
|
23997
|
+
});
|
|
23998
|
+
};
|
|
23999
|
+
|
|
24000
|
+
// src/mutations/event/followups/useAddEventFollowupTier.ts
|
|
24001
|
+
var AddEventFollowupTier = async ({
|
|
24002
|
+
allowed,
|
|
24003
|
+
eventId,
|
|
24004
|
+
followupId,
|
|
24005
|
+
tierId,
|
|
24006
|
+
adminApiParams,
|
|
24007
|
+
queryClient
|
|
24008
|
+
}) => {
|
|
24009
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24010
|
+
const { data } = await connectedXM.post(
|
|
24011
|
+
`/events/${eventId}/followups/${followupId}/tiers/${tierId}`,
|
|
24012
|
+
{
|
|
24013
|
+
allowed
|
|
24014
|
+
}
|
|
24015
|
+
);
|
|
24016
|
+
if (queryClient && data.status === "ok") {
|
|
24017
|
+
queryClient.invalidateQueries({
|
|
24018
|
+
queryKey: EVENT_FOLLOWUP_TIERS_QUERY_KEY(allowed, eventId, followupId)
|
|
24019
|
+
});
|
|
24020
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24021
|
+
}
|
|
24022
|
+
return data;
|
|
24023
|
+
};
|
|
24024
|
+
var useAddEventFollowupTier = (options = {}) => {
|
|
24025
|
+
return useConnectedMutation(AddEventFollowupTier, options, {
|
|
24026
|
+
domain: "events",
|
|
24027
|
+
type: "update"
|
|
24028
|
+
});
|
|
24029
|
+
};
|
|
24030
|
+
|
|
24031
|
+
// src/mutations/event/followups/useCreateEventFollowup.ts
|
|
24032
|
+
var CreateEventFollowup = async ({
|
|
24033
|
+
eventId,
|
|
24034
|
+
followup,
|
|
24035
|
+
adminApiParams,
|
|
24036
|
+
queryClient
|
|
24037
|
+
}) => {
|
|
24038
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24039
|
+
const { data } = await connectedXM.post(`/events/${eventId}/followups`, followup);
|
|
24040
|
+
if (queryClient && data.status === "ok") {
|
|
24041
|
+
queryClient.invalidateQueries({
|
|
24042
|
+
queryKey: EVENT_FOLLOWUPS_QUERY_KEY(eventId)
|
|
24043
|
+
});
|
|
24044
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(
|
|
24045
|
+
queryClient,
|
|
24046
|
+
[eventId, data.data.id.toString()],
|
|
24047
|
+
data
|
|
24048
|
+
);
|
|
24049
|
+
}
|
|
24050
|
+
return data;
|
|
24051
|
+
};
|
|
24052
|
+
var useCreateEventFollowup = (options = {}) => {
|
|
24053
|
+
return useConnectedMutation(CreateEventFollowup, options, {
|
|
24054
|
+
domain: "events",
|
|
24055
|
+
type: "update"
|
|
24056
|
+
});
|
|
24057
|
+
};
|
|
24058
|
+
|
|
24059
|
+
// src/mutations/event/followups/useDeleteEventFollowup.ts
|
|
24060
|
+
var DeleteEventFollowup = async ({
|
|
24061
|
+
eventId,
|
|
24062
|
+
followupId,
|
|
24063
|
+
adminApiParams,
|
|
24064
|
+
queryClient
|
|
24065
|
+
}) => {
|
|
24066
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24067
|
+
const { data } = await connectedXM.delete(
|
|
24068
|
+
`/events/${eventId}/followups/${followupId}`
|
|
24069
|
+
);
|
|
24070
|
+
if (queryClient && data.status === "ok") {
|
|
24071
|
+
queryClient.invalidateQueries({
|
|
24072
|
+
queryKey: EVENT_FOLLOWUPS_QUERY_KEY(eventId)
|
|
24073
|
+
});
|
|
24074
|
+
queryClient.removeQueries({
|
|
24075
|
+
queryKey: EVENT_FOLLOWUP_QUERY_KEY(eventId, followupId)
|
|
24076
|
+
});
|
|
24077
|
+
}
|
|
24078
|
+
return data;
|
|
24079
|
+
};
|
|
24080
|
+
var useDeleteEventFollowup = (options = {}) => {
|
|
24081
|
+
return useConnectedMutation(DeleteEventFollowup, options, {
|
|
24082
|
+
domain: "events",
|
|
24083
|
+
type: "update"
|
|
24084
|
+
});
|
|
24085
|
+
};
|
|
24086
|
+
|
|
24087
|
+
// src/mutations/event/followups/useRemoveEventFollowupAddOn.ts
|
|
24088
|
+
var RemoveEventFollowupAddOn = async ({
|
|
24089
|
+
eventId,
|
|
24090
|
+
followupId,
|
|
24091
|
+
addOnId,
|
|
24092
|
+
adminApiParams,
|
|
24093
|
+
queryClient
|
|
24094
|
+
}) => {
|
|
24095
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24096
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/followups/${followupId}/addOns/${addOnId}`);
|
|
24097
|
+
if (queryClient && data.status === "ok") {
|
|
24098
|
+
queryClient.invalidateQueries({
|
|
24099
|
+
queryKey: EVENT_FOLLOWUP_ADDONS_QUERY_KEY(eventId, followupId)
|
|
24100
|
+
});
|
|
24101
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24102
|
+
}
|
|
24103
|
+
return data;
|
|
24104
|
+
};
|
|
24105
|
+
var useRemoveEventFollowupAddOn = (options = {}) => {
|
|
24106
|
+
return useConnectedMutation(RemoveEventFollowupAddOn, options, {
|
|
24107
|
+
domain: "events",
|
|
24108
|
+
type: "update"
|
|
24109
|
+
});
|
|
24110
|
+
};
|
|
24111
|
+
|
|
24112
|
+
// src/mutations/event/followups/useRemoveEventFollowupPassType.ts
|
|
24113
|
+
var RemoveEventFollowupPassType = async ({
|
|
24114
|
+
eventId,
|
|
24115
|
+
followupId,
|
|
24116
|
+
passTypeId,
|
|
24117
|
+
adminApiParams,
|
|
24118
|
+
queryClient
|
|
24119
|
+
}) => {
|
|
24120
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24121
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/followups/${followupId}/passTypes/${passTypeId}`);
|
|
24122
|
+
if (queryClient && data.status === "ok") {
|
|
24123
|
+
queryClient.invalidateQueries({
|
|
24124
|
+
queryKey: EVENT_FOLLOWUP_PASS_TYPES_QUERY_KEY(eventId, followupId)
|
|
24125
|
+
});
|
|
24126
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24127
|
+
}
|
|
24128
|
+
return data;
|
|
24129
|
+
};
|
|
24130
|
+
var useRemoveEventFollowupPassType = (options = {}) => {
|
|
24131
|
+
return useConnectedMutation(RemoveEventFollowupPassType, options, {
|
|
24132
|
+
domain: "events",
|
|
24133
|
+
type: "update"
|
|
24134
|
+
});
|
|
24135
|
+
};
|
|
24136
|
+
|
|
24137
|
+
// src/mutations/event/followups/useRemoveEventFollowupQuestion.ts
|
|
24138
|
+
var RemoveEventFollowupQuestion = async ({
|
|
24139
|
+
eventId,
|
|
24140
|
+
followupId,
|
|
24141
|
+
questionId,
|
|
24142
|
+
adminApiParams,
|
|
24143
|
+
queryClient
|
|
24144
|
+
}) => {
|
|
24145
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24146
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/followups/${followupId}/questions/${questionId}`);
|
|
24147
|
+
if (queryClient && data.status === "ok") {
|
|
24148
|
+
queryClient.invalidateQueries({
|
|
24149
|
+
queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(eventId, followupId)
|
|
24150
|
+
});
|
|
24151
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24152
|
+
}
|
|
24153
|
+
return data;
|
|
24154
|
+
};
|
|
24155
|
+
var useRemoveEventFollowupQuestion = (options = {}) => {
|
|
24156
|
+
return useConnectedMutation(RemoveEventFollowupQuestion, options, {
|
|
24157
|
+
domain: "events",
|
|
24158
|
+
type: "update"
|
|
24159
|
+
});
|
|
24160
|
+
};
|
|
24161
|
+
|
|
24162
|
+
// src/mutations/event/followups/useRemoveEventFollowupTier.ts
|
|
24163
|
+
var RemoveEventFollowupTier = async ({
|
|
24164
|
+
allowed,
|
|
24165
|
+
eventId,
|
|
24166
|
+
followupId,
|
|
24167
|
+
tierId,
|
|
24168
|
+
adminApiParams,
|
|
24169
|
+
queryClient
|
|
24170
|
+
}) => {
|
|
24171
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24172
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/followups/${followupId}/tiers/${tierId}`, {
|
|
24173
|
+
params: {
|
|
24174
|
+
allowed
|
|
24175
|
+
}
|
|
24176
|
+
});
|
|
24177
|
+
if (queryClient && data.status === "ok") {
|
|
24178
|
+
queryClient.invalidateQueries({
|
|
24179
|
+
queryKey: EVENT_FOLLOWUP_TIERS_QUERY_KEY(allowed, eventId, followupId)
|
|
24180
|
+
});
|
|
24181
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24182
|
+
}
|
|
24183
|
+
return data;
|
|
24184
|
+
};
|
|
24185
|
+
var useRemoveEventFollowupTier = (options = {}) => {
|
|
24186
|
+
return useConnectedMutation(RemoveEventFollowupTier, options, {
|
|
24187
|
+
domain: "events",
|
|
24188
|
+
type: "update"
|
|
24189
|
+
});
|
|
24190
|
+
};
|
|
24191
|
+
|
|
24192
|
+
// src/mutations/event/followups/useReorderEventFollowupQuestions.ts
|
|
24193
|
+
var ReorderEventFollowupQuestions = async ({
|
|
24194
|
+
eventId,
|
|
24195
|
+
followupId,
|
|
24196
|
+
questionIds,
|
|
24197
|
+
adminApiParams,
|
|
24198
|
+
queryClient
|
|
24199
|
+
}) => {
|
|
24200
|
+
if (!followupId) throw new Error("Followup ID Undefined");
|
|
24201
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24202
|
+
const { data } = await connectedXM.put(`/events/${eventId}/followups/${followupId}/questions/reorder`, {
|
|
24203
|
+
questionIds
|
|
24204
|
+
});
|
|
24205
|
+
if (queryClient && data.status === "ok") {
|
|
24206
|
+
SET_EVENT_FOLLOWUP_QUESTIONS_QUERY_DATA(
|
|
24207
|
+
queryClient,
|
|
24208
|
+
[eventId, followupId],
|
|
24209
|
+
data
|
|
24210
|
+
);
|
|
24211
|
+
}
|
|
24212
|
+
return data;
|
|
24213
|
+
};
|
|
24214
|
+
var useReorderEventFollowupQuestions = (options = {}) => {
|
|
24215
|
+
return useConnectedMutation(ReorderEventFollowupQuestions, options, {
|
|
24216
|
+
domain: "events",
|
|
24217
|
+
type: "update"
|
|
24218
|
+
});
|
|
24219
|
+
};
|
|
24220
|
+
|
|
24221
|
+
// src/mutations/event/followups/useUpdateEventFollowup.ts
|
|
24222
|
+
var UpdateEventFollowup = async ({
|
|
24223
|
+
eventId,
|
|
24224
|
+
followupId,
|
|
24225
|
+
followup,
|
|
24226
|
+
adminApiParams,
|
|
24227
|
+
queryClient
|
|
24228
|
+
}) => {
|
|
24229
|
+
if (!followupId) throw new Error("Followup ID Undefined");
|
|
24230
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24231
|
+
const { data } = await connectedXM.put(`/events/${eventId}/followups/${followupId}`, {
|
|
24232
|
+
...followup,
|
|
24233
|
+
id: void 0,
|
|
24234
|
+
eventId: void 0,
|
|
24235
|
+
questions: void 0,
|
|
24236
|
+
passTypes: void 0,
|
|
24237
|
+
accountTiers: void 0,
|
|
24238
|
+
_count: void 0,
|
|
24239
|
+
createdAt: void 0,
|
|
24240
|
+
updatedAt: void 0
|
|
24241
|
+
});
|
|
24242
|
+
if (queryClient && data.status === "ok") {
|
|
24243
|
+
queryClient.invalidateQueries({
|
|
24244
|
+
queryKey: EVENT_FOLLOWUPS_QUERY_KEY(eventId)
|
|
24245
|
+
});
|
|
24246
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(
|
|
24247
|
+
queryClient,
|
|
24248
|
+
[eventId, followupId || data.data?.id.toString()],
|
|
24249
|
+
data
|
|
24250
|
+
);
|
|
24251
|
+
}
|
|
24252
|
+
return data;
|
|
24253
|
+
};
|
|
24254
|
+
var useUpdateEventFollowup = (options = {}) => {
|
|
24255
|
+
return useConnectedMutation(UpdateEventFollowup, options, {
|
|
24256
|
+
domain: "events",
|
|
24257
|
+
type: "update"
|
|
24258
|
+
});
|
|
24259
|
+
};
|
|
24260
|
+
|
|
24261
|
+
// src/mutations/event/followups/useUpdateEventFollowupQuestion.ts
|
|
24262
|
+
var UpdateEventFollowupQuestion = async ({
|
|
24263
|
+
eventId,
|
|
24264
|
+
followupId,
|
|
24265
|
+
questionId,
|
|
24266
|
+
sortOrder,
|
|
24267
|
+
adminApiParams,
|
|
24268
|
+
queryClient
|
|
24269
|
+
}) => {
|
|
24270
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24271
|
+
const { data } = await connectedXM.put(`/events/${eventId}/followups/${followupId}/questions/${questionId}`, {
|
|
24272
|
+
sortOrder
|
|
24273
|
+
});
|
|
24274
|
+
if (queryClient && data.status === "ok") {
|
|
24275
|
+
queryClient.invalidateQueries({
|
|
24276
|
+
queryKey: EVENT_FOLLOWUPS_QUERY_KEY(eventId)
|
|
24277
|
+
});
|
|
24278
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24279
|
+
}
|
|
24280
|
+
return data;
|
|
24281
|
+
};
|
|
24282
|
+
var useUpdateEventFollowupQuestion = (options = {}) => {
|
|
24283
|
+
return useConnectedMutation(UpdateEventFollowupQuestion, options, {
|
|
24284
|
+
domain: "events",
|
|
24285
|
+
type: "update"
|
|
24286
|
+
});
|
|
24287
|
+
};
|
|
24288
|
+
|
|
23534
24289
|
// src/mutations/event/matches/useAddEventMatchPass.ts
|
|
23535
24290
|
var AddEventMatchPass = async ({
|
|
23536
24291
|
eventId,
|
|
@@ -25368,6 +26123,9 @@ var UpdateEventPassResponse = async ({
|
|
|
25368
26123
|
queryClient.invalidateQueries({
|
|
25369
26124
|
queryKey: EVENT_PASS_RESPONSES_QUERY_KEY(eventId, passId)
|
|
25370
26125
|
});
|
|
26126
|
+
queryClient.invalidateQueries({
|
|
26127
|
+
queryKey: EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY(eventId, passId)
|
|
26128
|
+
});
|
|
25371
26129
|
SET_EVENT_PASS_RESPONSE_QUERY_DATA(
|
|
25372
26130
|
queryClient,
|
|
25373
26131
|
[eventId, passId, questionId],
|
|
@@ -25414,6 +26172,69 @@ var useUpdateEventPassResponses = (options = {}) => {
|
|
|
25414
26172
|
});
|
|
25415
26173
|
};
|
|
25416
26174
|
|
|
26175
|
+
// src/mutations/event/passes/useUpdateEventPassFollowupResponses.ts
|
|
26176
|
+
var UpdateEventPassFollowupResponses = async ({
|
|
26177
|
+
eventId,
|
|
26178
|
+
accountId,
|
|
26179
|
+
passId,
|
|
26180
|
+
questions,
|
|
26181
|
+
adminApiParams,
|
|
26182
|
+
queryClient
|
|
26183
|
+
}) => {
|
|
26184
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
26185
|
+
const { data } = await connectedXM.put(
|
|
26186
|
+
`/events/${eventId}/attendees/${accountId}/passes/${passId}/followups`,
|
|
26187
|
+
{ questions }
|
|
26188
|
+
);
|
|
26189
|
+
if (queryClient && data.status === "ok") {
|
|
26190
|
+
queryClient.invalidateQueries({
|
|
26191
|
+
queryKey: EVENT_PASS_RESPONSES_QUERY_KEY(eventId, passId)
|
|
26192
|
+
});
|
|
26193
|
+
queryClient.invalidateQueries({
|
|
26194
|
+
queryKey: EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY(eventId, passId)
|
|
26195
|
+
});
|
|
26196
|
+
}
|
|
26197
|
+
return data;
|
|
26198
|
+
};
|
|
26199
|
+
var useUpdateEventPassFollowupResponses = (options = {}) => {
|
|
26200
|
+
return useConnectedMutation(UpdateEventPassFollowupResponses, options, {
|
|
26201
|
+
domain: "events",
|
|
26202
|
+
type: "update"
|
|
26203
|
+
});
|
|
26204
|
+
};
|
|
26205
|
+
|
|
26206
|
+
// src/mutations/event/passes/useUpdateEventPassSingleFollowupResponses.ts
|
|
26207
|
+
var UpdateEventPassSingleFollowupResponses = async ({
|
|
26208
|
+
eventId,
|
|
26209
|
+
accountId,
|
|
26210
|
+
passId,
|
|
26211
|
+
followupId,
|
|
26212
|
+
questions,
|
|
26213
|
+
adminApiParams,
|
|
26214
|
+
queryClient
|
|
26215
|
+
}) => {
|
|
26216
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
26217
|
+
const { data } = await connectedXM.put(
|
|
26218
|
+
`/events/${eventId}/attendees/${accountId}/passes/${passId}/followups/${followupId}`,
|
|
26219
|
+
{ questions }
|
|
26220
|
+
);
|
|
26221
|
+
if (queryClient && data.status === "ok") {
|
|
26222
|
+
queryClient.invalidateQueries({
|
|
26223
|
+
queryKey: EVENT_PASS_RESPONSES_QUERY_KEY(eventId, passId)
|
|
26224
|
+
});
|
|
26225
|
+
queryClient.invalidateQueries({
|
|
26226
|
+
queryKey: EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY(eventId, passId)
|
|
26227
|
+
});
|
|
26228
|
+
}
|
|
26229
|
+
return data;
|
|
26230
|
+
};
|
|
26231
|
+
var useUpdateEventPassSingleFollowupResponses = (options = {}) => {
|
|
26232
|
+
return useConnectedMutation(UpdateEventPassSingleFollowupResponses, options, {
|
|
26233
|
+
domain: "events",
|
|
26234
|
+
type: "update"
|
|
26235
|
+
});
|
|
26236
|
+
};
|
|
26237
|
+
|
|
25417
26238
|
// src/mutations/event/passes/useUpdateEventSessionAccess.ts
|
|
25418
26239
|
var UpdateEventSessionAccess = async ({
|
|
25419
26240
|
eventId,
|
|
@@ -25770,6 +26591,14 @@ var CreateEventQuestion = async ({
|
|
|
25770
26591
|
)
|
|
25771
26592
|
});
|
|
25772
26593
|
}
|
|
26594
|
+
if (question.followupId) {
|
|
26595
|
+
queryClient.invalidateQueries({
|
|
26596
|
+
queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(
|
|
26597
|
+
eventId,
|
|
26598
|
+
question.followupId.toString()
|
|
26599
|
+
)
|
|
26600
|
+
});
|
|
26601
|
+
}
|
|
25773
26602
|
if (question.questionId) {
|
|
25774
26603
|
queryClient.invalidateQueries({
|
|
25775
26604
|
queryKey: EVENT_QUESTION_CHOICES_QUERY_KEY(
|
|
@@ -25846,6 +26675,7 @@ var DeleteEventQuestion = async ({
|
|
|
25846
26675
|
eventId,
|
|
25847
26676
|
questionId,
|
|
25848
26677
|
sectionId,
|
|
26678
|
+
followupId,
|
|
25849
26679
|
adminApiParams,
|
|
25850
26680
|
queryClient
|
|
25851
26681
|
}) => {
|
|
@@ -25860,6 +26690,11 @@ var DeleteEventQuestion = async ({
|
|
|
25860
26690
|
queryClient.removeQueries({
|
|
25861
26691
|
queryKey: EVENT_QUESTION_QUERY_KEY(eventId, questionId)
|
|
25862
26692
|
});
|
|
26693
|
+
if (followupId) {
|
|
26694
|
+
queryClient.invalidateQueries({
|
|
26695
|
+
queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(eventId, followupId)
|
|
26696
|
+
});
|
|
26697
|
+
}
|
|
25863
26698
|
if (sectionId) {
|
|
25864
26699
|
queryClient.invalidateQueries({
|
|
25865
26700
|
queryKey: EVENT_SECTION_QUESTIONS_QUERY_KEY(eventId, sectionId)
|
|
@@ -32983,16 +33818,14 @@ var useDeleteOrganizationWebhook = (options = {}) => {
|
|
|
32983
33818
|
var RefundOrganizationPayment = async ({
|
|
32984
33819
|
paymentId,
|
|
32985
33820
|
eventId,
|
|
32986
|
-
|
|
33821
|
+
lineItems,
|
|
32987
33822
|
adminApiParams,
|
|
32988
33823
|
queryClient
|
|
32989
33824
|
}) => {
|
|
32990
33825
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
32991
33826
|
const { data } = await connectedXM.post(
|
|
32992
33827
|
`/payments/${paymentId}/refund`,
|
|
32993
|
-
|
|
32994
|
-
amount
|
|
32995
|
-
}
|
|
33828
|
+
lineItems
|
|
32996
33829
|
);
|
|
32997
33830
|
if (queryClient && data.status === "ok") {
|
|
32998
33831
|
queryClient.invalidateQueries({
|
|
@@ -33001,19 +33834,14 @@ var RefundOrganizationPayment = async ({
|
|
|
33001
33834
|
queryClient.invalidateQueries({
|
|
33002
33835
|
queryKey: PAYMENTS_QUERY_KEY()
|
|
33003
33836
|
});
|
|
33004
|
-
if (eventId && data.data?.
|
|
33837
|
+
if (eventId && data.data?.registration?.id) {
|
|
33005
33838
|
queryClient.invalidateQueries({
|
|
33006
33839
|
queryKey: EVENT_ATTENDEE_PAYMENTS_QUERY_KEY(
|
|
33007
33840
|
eventId,
|
|
33008
|
-
data.data.
|
|
33841
|
+
data.data.registration.id
|
|
33009
33842
|
)
|
|
33010
33843
|
});
|
|
33011
33844
|
}
|
|
33012
|
-
if (data.data?.bookingId) {
|
|
33013
|
-
queryClient.invalidateQueries({
|
|
33014
|
-
queryKey: BOOKING_PAYMENTS_QUERY_KEY(data.data.bookingId)
|
|
33015
|
-
});
|
|
33016
|
-
}
|
|
33017
33845
|
}
|
|
33018
33846
|
return data;
|
|
33019
33847
|
};
|
|
@@ -36201,6 +37029,10 @@ export {
|
|
|
36201
37029
|
AddEventAddOnTier,
|
|
36202
37030
|
AddEventBenefit,
|
|
36203
37031
|
AddEventCoHost,
|
|
37032
|
+
AddEventFollowupAddOn,
|
|
37033
|
+
AddEventFollowupPassType,
|
|
37034
|
+
AddEventFollowupQuestion,
|
|
37035
|
+
AddEventFollowupTier,
|
|
36204
37036
|
AddEventMatchPass,
|
|
36205
37037
|
AddEventMediaItemPassType,
|
|
36206
37038
|
AddEventPageImage,
|
|
@@ -36248,7 +37080,6 @@ export {
|
|
|
36248
37080
|
BENEFIT_QUERY_KEY,
|
|
36249
37081
|
BENEFIT_TRANSLATIONS_QUERY_KEY,
|
|
36250
37082
|
BENEFIT_TRANSLATION_QUERY_KEY,
|
|
36251
|
-
BOOKING_PAYMENTS_QUERY_KEY,
|
|
36252
37083
|
BOOKING_PLACES_QUERY_KEY,
|
|
36253
37084
|
BOOKING_PLACE_BOOKINGS_QUERY_KEY,
|
|
36254
37085
|
BOOKING_PLACE_QUERY_KEY,
|
|
@@ -36345,6 +37176,8 @@ export {
|
|
|
36345
37176
|
CreateEventFaqSectionQuestion,
|
|
36346
37177
|
CreateEventFaqSectionQuestionTranslation,
|
|
36347
37178
|
CreateEventFaqSectionTranslation,
|
|
37179
|
+
CreateEventFollowup,
|
|
37180
|
+
CreateEventFollowupTranslation,
|
|
36348
37181
|
CreateEventMatch,
|
|
36349
37182
|
CreateEventMediaItem,
|
|
36350
37183
|
CreateEventPackage,
|
|
@@ -36487,6 +37320,8 @@ export {
|
|
|
36487
37320
|
DeleteEventFaqSectionQuestion,
|
|
36488
37321
|
DeleteEventFaqSectionQuestionTranslation,
|
|
36489
37322
|
DeleteEventFaqSectionTranslation,
|
|
37323
|
+
DeleteEventFollowup,
|
|
37324
|
+
DeleteEventFollowupTranslation,
|
|
36490
37325
|
DeleteEventMatch,
|
|
36491
37326
|
DeleteEventMediaItem,
|
|
36492
37327
|
DeleteEventPackage,
|
|
@@ -36632,6 +37467,14 @@ export {
|
|
|
36632
37467
|
EVENT_FAQ_SECTION_QUESTION_TRANSLATION_QUERY_KEY,
|
|
36633
37468
|
EVENT_FAQ_SECTION_TRANSLATIONS_QUERY_KEY,
|
|
36634
37469
|
EVENT_FAQ_SECTION_TRANSLATION_QUERY_KEY,
|
|
37470
|
+
EVENT_FOLLOWUPS_QUERY_KEY,
|
|
37471
|
+
EVENT_FOLLOWUP_ADDONS_QUERY_KEY,
|
|
37472
|
+
EVENT_FOLLOWUP_PASS_TYPES_QUERY_KEY,
|
|
37473
|
+
EVENT_FOLLOWUP_QUERY_KEY,
|
|
37474
|
+
EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY,
|
|
37475
|
+
EVENT_FOLLOWUP_TIERS_QUERY_KEY,
|
|
37476
|
+
EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY,
|
|
37477
|
+
EVENT_FOLLOWUP_TRANSLATION_QUERY_KEY,
|
|
36635
37478
|
EVENT_MEDIA_ITEMS_QUERY_KEY,
|
|
36636
37479
|
EVENT_MEDIA_ITEM_PASS_TYPES_QUERY_KEY,
|
|
36637
37480
|
EVENT_MEDIA_ITEM_QUERY_KEY,
|
|
@@ -36653,6 +37496,7 @@ export {
|
|
|
36653
37496
|
EVENT_PASS_ATTENDEE_PASSES_QUERY_KEY,
|
|
36654
37497
|
EVENT_PASS_MATCHES_QUERY_KEY,
|
|
36655
37498
|
EVENT_PASS_QUERY_KEY,
|
|
37499
|
+
EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY,
|
|
36656
37500
|
EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY,
|
|
36657
37501
|
EVENT_PASS_RESPONSES_QUERY_KEY,
|
|
36658
37502
|
EVENT_PASS_RESPONSE_CHANGES_QUERY_KEY,
|
|
@@ -36870,7 +37714,6 @@ export {
|
|
|
36870
37714
|
GetBenefitTranslations,
|
|
36871
37715
|
GetBenefits,
|
|
36872
37716
|
GetBooking,
|
|
36873
|
-
GetBookingPayments,
|
|
36874
37717
|
GetBookingPlace,
|
|
36875
37718
|
GetBookingPlaceBookings,
|
|
36876
37719
|
GetBookingPlaceTranslation,
|
|
@@ -36957,6 +37800,14 @@ export {
|
|
|
36957
37800
|
GetEventFaqSectionTranslation,
|
|
36958
37801
|
GetEventFaqSectionTranslations,
|
|
36959
37802
|
GetEventFaqSections,
|
|
37803
|
+
GetEventFollowup,
|
|
37804
|
+
GetEventFollowupAddOns,
|
|
37805
|
+
GetEventFollowupPassTypes,
|
|
37806
|
+
GetEventFollowupQuestions,
|
|
37807
|
+
GetEventFollowupTiers,
|
|
37808
|
+
GetEventFollowupTranslation,
|
|
37809
|
+
GetEventFollowupTranslations,
|
|
37810
|
+
GetEventFollowups,
|
|
36960
37811
|
GetEventMediaItem,
|
|
36961
37812
|
GetEventMediaItemPassTypes,
|
|
36962
37813
|
GetEventMediaItems,
|
|
@@ -36977,6 +37828,7 @@ export {
|
|
|
36977
37828
|
GetEventPassAddOns,
|
|
36978
37829
|
GetEventPassAttendeePasses,
|
|
36979
37830
|
GetEventPassMatches,
|
|
37831
|
+
GetEventPassQuestionFollowups,
|
|
36980
37832
|
GetEventPassQuestionSections,
|
|
36981
37833
|
GetEventPassResponse,
|
|
36982
37834
|
GetEventPassResponseChanges,
|
|
@@ -37144,8 +37996,6 @@ export {
|
|
|
37144
37996
|
GetInvoice,
|
|
37145
37997
|
GetInvoiceLineItem,
|
|
37146
37998
|
GetInvoiceLineItems,
|
|
37147
|
-
GetInvoicePayment,
|
|
37148
|
-
GetInvoicePayments,
|
|
37149
37999
|
GetInvoices,
|
|
37150
38000
|
GetLevel,
|
|
37151
38001
|
GetLevelAccounts,
|
|
@@ -37282,8 +38132,6 @@ export {
|
|
|
37282
38132
|
INVOICES_QUERY_KEY,
|
|
37283
38133
|
INVOICE_LINE_ITEMS_QUERY_KEY,
|
|
37284
38134
|
INVOICE_LINE_ITEM_QUERY_KEY,
|
|
37285
|
-
INVOICE_PAYMENTS_QUERY_KEY,
|
|
37286
|
-
INVOICE_PAYMENT_QUERY_KEY,
|
|
37287
38135
|
INVOICE_QUERY_KEY,
|
|
37288
38136
|
ImageType,
|
|
37289
38137
|
ImpersonateAccount,
|
|
@@ -37343,6 +38191,7 @@ export {
|
|
|
37343
38191
|
PassTypeAccessLevel,
|
|
37344
38192
|
PassTypeVisibility,
|
|
37345
38193
|
PaymentIntegrationType,
|
|
38194
|
+
PaymentLineItemType,
|
|
37346
38195
|
PaymentType,
|
|
37347
38196
|
PurchaseStatus,
|
|
37348
38197
|
PushDeviceAppType,
|
|
@@ -37366,6 +38215,10 @@ export {
|
|
|
37366
38215
|
RemoveEventAddOnTier,
|
|
37367
38216
|
RemoveEventBenefit,
|
|
37368
38217
|
RemoveEventCoHost,
|
|
38218
|
+
RemoveEventFollowupAddOn,
|
|
38219
|
+
RemoveEventFollowupPassType,
|
|
38220
|
+
RemoveEventFollowupQuestion,
|
|
38221
|
+
RemoveEventFollowupTier,
|
|
37369
38222
|
RemoveEventMatchPass,
|
|
37370
38223
|
RemoveEventMediaItemPassType,
|
|
37371
38224
|
RemoveEventPageImage,
|
|
@@ -37406,6 +38259,7 @@ export {
|
|
|
37406
38259
|
RemoveSurveySectionQuestion,
|
|
37407
38260
|
RemoveTierAccounts,
|
|
37408
38261
|
ReorderEventFaqSectionQuestions,
|
|
38262
|
+
ReorderEventFollowupQuestions,
|
|
37409
38263
|
ReorderEventQuestionChoiceSubQuestions,
|
|
37410
38264
|
ReorderEventQuestionChoices,
|
|
37411
38265
|
ReorderEventSectionQuestions,
|
|
@@ -37479,7 +38333,6 @@ export {
|
|
|
37479
38333
|
SET_BENEFIT_QUERY_DATA,
|
|
37480
38334
|
SET_BENEFIT_TRANSLATIONS_QUERY_DATA,
|
|
37481
38335
|
SET_BENEFIT_TRANSLATION_QUERY_DATA,
|
|
37482
|
-
SET_BOOKING_PAYMENTS_QUERY_DATA,
|
|
37483
38336
|
SET_BOOKING_PLACES_QUERY_DATA,
|
|
37484
38337
|
SET_BOOKING_PLACE_BOOKINGS_QUERY_DATA,
|
|
37485
38338
|
SET_BOOKING_PLACE_QUERY_DATA,
|
|
@@ -37564,6 +38417,14 @@ export {
|
|
|
37564
38417
|
SET_EVENT_FAQ_SECTION_QUESTION_TRANSLATION_QUERY_DATA,
|
|
37565
38418
|
SET_EVENT_FAQ_SECTION_TRANSLATIONS_QUERY_DATA,
|
|
37566
38419
|
SET_EVENT_FAQ_SECTION_TRANSLATION_QUERY_DATA,
|
|
38420
|
+
SET_EVENT_FOLLOWUPS_QUERY_DATA,
|
|
38421
|
+
SET_EVENT_FOLLOWUP_ADDONS_QUERY_DATA,
|
|
38422
|
+
SET_EVENT_FOLLOWUP_PASS_TYPES_QUERY_DATA,
|
|
38423
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA,
|
|
38424
|
+
SET_EVENT_FOLLOWUP_QUESTIONS_QUERY_DATA,
|
|
38425
|
+
SET_EVENT_FOLLOWUP_TIERS_QUERY_DATA,
|
|
38426
|
+
SET_EVENT_FOLLOWUP_TRANSLATIONS_QUERY_DATA,
|
|
38427
|
+
SET_EVENT_FOLLOWUP_TRANSLATION_QUERY_DATA,
|
|
37567
38428
|
SET_EVENT_MEDIA_ITEMS_QUERY_DATA,
|
|
37568
38429
|
SET_EVENT_MEDIA_ITEM_PASS_TYPES_QUERY_DATA,
|
|
37569
38430
|
SET_EVENT_MEDIA_ITEM_QUERY_DATA,
|
|
@@ -37584,6 +38445,7 @@ export {
|
|
|
37584
38445
|
SET_EVENT_PASS_ATTENDEE_PASSES_QUERY_DATA,
|
|
37585
38446
|
SET_EVENT_PASS_MATCHES_QUERY_DATA,
|
|
37586
38447
|
SET_EVENT_PASS_QUERY_DATA,
|
|
38448
|
+
SET_EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_DATA,
|
|
37587
38449
|
SET_EVENT_PASS_QUESTION_SECTIONS_QUERY_DATA,
|
|
37588
38450
|
SET_EVENT_PASS_RESPONSES_QUERY_DATA,
|
|
37589
38451
|
SET_EVENT_PASS_RESPONSE_CHANGES_QUERY_DATA,
|
|
@@ -37747,8 +38609,6 @@ export {
|
|
|
37747
38609
|
SET_INVOICES_QUERY_DATA,
|
|
37748
38610
|
SET_INVOICE_LINE_ITEMS_QUERY_DATA,
|
|
37749
38611
|
SET_INVOICE_LINE_ITEM_QUERY_DATA,
|
|
37750
|
-
SET_INVOICE_PAYMENTS_QUERY_DATA,
|
|
37751
|
-
SET_INVOICE_PAYMENT_QUERY_DATA,
|
|
37752
38612
|
SET_INVOICE_QUERY_DATA,
|
|
37753
38613
|
SET_LEVELS_QUERY_DATA,
|
|
37754
38614
|
SET_LEVEL_ACCOUNTS_QUERY_DATA,
|
|
@@ -37993,6 +38853,9 @@ export {
|
|
|
37993
38853
|
UpdateEventFaqSectionQuestion,
|
|
37994
38854
|
UpdateEventFaqSectionQuestionTranslation,
|
|
37995
38855
|
UpdateEventFaqSectionTranslation,
|
|
38856
|
+
UpdateEventFollowup,
|
|
38857
|
+
UpdateEventFollowupQuestion,
|
|
38858
|
+
UpdateEventFollowupTranslation,
|
|
37996
38859
|
UpdateEventMatch,
|
|
37997
38860
|
UpdateEventMediaItem,
|
|
37998
38861
|
UpdateEventPackage,
|
|
@@ -38001,8 +38864,10 @@ export {
|
|
|
38001
38864
|
UpdateEventPage,
|
|
38002
38865
|
UpdateEventPageTranslation,
|
|
38003
38866
|
UpdateEventPass,
|
|
38867
|
+
UpdateEventPassFollowupResponses,
|
|
38004
38868
|
UpdateEventPassResponse,
|
|
38005
38869
|
UpdateEventPassResponses,
|
|
38870
|
+
UpdateEventPassSingleFollowupResponses,
|
|
38006
38871
|
UpdateEventPassType,
|
|
38007
38872
|
UpdateEventPassTypePriceSchedule,
|
|
38008
38873
|
UpdateEventPassTypeRefundSchedule,
|
|
@@ -38133,6 +38998,10 @@ export {
|
|
|
38133
38998
|
useAddEventAddOnTier,
|
|
38134
38999
|
useAddEventBenefit,
|
|
38135
39000
|
useAddEventCoHost,
|
|
39001
|
+
useAddEventFollowupAddOn,
|
|
39002
|
+
useAddEventFollowupPassType,
|
|
39003
|
+
useAddEventFollowupQuestion,
|
|
39004
|
+
useAddEventFollowupTier,
|
|
38136
39005
|
useAddEventMatchPass,
|
|
38137
39006
|
useAddEventMediaItemPassType,
|
|
38138
39007
|
useAddEventPageImage,
|
|
@@ -38225,6 +39094,8 @@ export {
|
|
|
38225
39094
|
useCreateEventFaqSectionQuestion,
|
|
38226
39095
|
useCreateEventFaqSectionQuestionTranslation,
|
|
38227
39096
|
useCreateEventFaqSectionTranslation,
|
|
39097
|
+
useCreateEventFollowup,
|
|
39098
|
+
useCreateEventFollowupTranslation,
|
|
38228
39099
|
useCreateEventMatch,
|
|
38229
39100
|
useCreateEventMediaItem,
|
|
38230
39101
|
useCreateEventPackage,
|
|
@@ -38359,6 +39230,8 @@ export {
|
|
|
38359
39230
|
useDeleteEventFaqSectionQuestion,
|
|
38360
39231
|
useDeleteEventFaqSectionQuestionTranslation,
|
|
38361
39232
|
useDeleteEventFaqSectionTranslation,
|
|
39233
|
+
useDeleteEventFollowup,
|
|
39234
|
+
useDeleteEventFollowupTranslation,
|
|
38362
39235
|
useDeleteEventMatch,
|
|
38363
39236
|
useDeleteEventMediaItem,
|
|
38364
39237
|
useDeleteEventPackage,
|
|
@@ -38520,7 +39393,6 @@ export {
|
|
|
38520
39393
|
useGetBenefitTranslations,
|
|
38521
39394
|
useGetBenefits,
|
|
38522
39395
|
useGetBooking,
|
|
38523
|
-
useGetBookingPayments,
|
|
38524
39396
|
useGetBookingPlace,
|
|
38525
39397
|
useGetBookingPlaceBookings,
|
|
38526
39398
|
useGetBookingPlaceTranslation,
|
|
@@ -38606,6 +39478,14 @@ export {
|
|
|
38606
39478
|
useGetEventFaqSectionTranslation,
|
|
38607
39479
|
useGetEventFaqSectionTranslations,
|
|
38608
39480
|
useGetEventFaqSections,
|
|
39481
|
+
useGetEventFollowup,
|
|
39482
|
+
useGetEventFollowupAddOns,
|
|
39483
|
+
useGetEventFollowupPassTypes,
|
|
39484
|
+
useGetEventFollowupQuestions,
|
|
39485
|
+
useGetEventFollowupTiers,
|
|
39486
|
+
useGetEventFollowupTranslation,
|
|
39487
|
+
useGetEventFollowupTranslations,
|
|
39488
|
+
useGetEventFollowups,
|
|
38609
39489
|
useGetEventMediaItem,
|
|
38610
39490
|
useGetEventMediaItemPassTypes,
|
|
38611
39491
|
useGetEventMediaItems,
|
|
@@ -38626,6 +39506,7 @@ export {
|
|
|
38626
39506
|
useGetEventPassAddOns,
|
|
38627
39507
|
useGetEventPassAttendeePasses,
|
|
38628
39508
|
useGetEventPassMatches,
|
|
39509
|
+
useGetEventPassQuestionFollowups,
|
|
38629
39510
|
useGetEventPassQuestionSections,
|
|
38630
39511
|
useGetEventPassResponse,
|
|
38631
39512
|
useGetEventPassResponseChanges,
|
|
@@ -38792,8 +39673,6 @@ export {
|
|
|
38792
39673
|
useGetInvoice,
|
|
38793
39674
|
useGetInvoiceLineItem,
|
|
38794
39675
|
useGetInvoiceLineItems,
|
|
38795
|
-
useGetInvoicePayment,
|
|
38796
|
-
useGetInvoicePayments,
|
|
38797
39676
|
useGetInvoices,
|
|
38798
39677
|
useGetLevel,
|
|
38799
39678
|
useGetLevelAccounts,
|
|
@@ -38925,6 +39804,10 @@ export {
|
|
|
38925
39804
|
useRemoveEventAddOnTier,
|
|
38926
39805
|
useRemoveEventBenefit,
|
|
38927
39806
|
useRemoveEventCoHost,
|
|
39807
|
+
useRemoveEventFollowupAddOn,
|
|
39808
|
+
useRemoveEventFollowupPassType,
|
|
39809
|
+
useRemoveEventFollowupQuestion,
|
|
39810
|
+
useRemoveEventFollowupTier,
|
|
38928
39811
|
useRemoveEventMatchPass,
|
|
38929
39812
|
useRemoveEventMediaItemPassType,
|
|
38930
39813
|
useRemoveEventPageImage,
|
|
@@ -38965,6 +39848,7 @@ export {
|
|
|
38965
39848
|
useRemoveSurveySectionQuestion,
|
|
38966
39849
|
useRemoveTierAccounts,
|
|
38967
39850
|
useReorderEventFaqSectionQuestions,
|
|
39851
|
+
useReorderEventFollowupQuestions,
|
|
38968
39852
|
useReorderEventQuestionChoiceSubQuestions,
|
|
38969
39853
|
useReorderEventQuestionChoices,
|
|
38970
39854
|
useReorderEventSectionQuestions,
|
|
@@ -39033,6 +39917,9 @@ export {
|
|
|
39033
39917
|
useUpdateEventFaqSectionQuestion,
|
|
39034
39918
|
useUpdateEventFaqSectionQuestionTranslation,
|
|
39035
39919
|
useUpdateEventFaqSectionTranslation,
|
|
39920
|
+
useUpdateEventFollowup,
|
|
39921
|
+
useUpdateEventFollowupQuestion,
|
|
39922
|
+
useUpdateEventFollowupTranslation,
|
|
39036
39923
|
useUpdateEventMatch,
|
|
39037
39924
|
useUpdateEventMediaItem,
|
|
39038
39925
|
useUpdateEventPackage,
|
|
@@ -39041,8 +39928,10 @@ export {
|
|
|
39041
39928
|
useUpdateEventPage,
|
|
39042
39929
|
useUpdateEventPageTranslation,
|
|
39043
39930
|
useUpdateEventPass,
|
|
39931
|
+
useUpdateEventPassFollowupResponses,
|
|
39044
39932
|
useUpdateEventPassResponse,
|
|
39045
39933
|
useUpdateEventPassResponses,
|
|
39934
|
+
useUpdateEventPassSingleFollowupResponses,
|
|
39046
39935
|
useUpdateEventPassType,
|
|
39047
39936
|
useUpdateEventPassTypePriceSchedule,
|
|
39048
39937
|
useUpdateEventPassTypeRefundSchedule,
|