@connectedxm/admin 3.0.0 → 3.0.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 +1083 -1
- package/dist/index.d.cts +682 -8
- package/dist/index.d.ts +682 -8
- package/dist/index.js +1011 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5255,6 +5255,42 @@ var useGetEventPassMatches = (eventId = "", passId = "", sessionId, roundId, opt
|
|
|
5255
5255
|
);
|
|
5256
5256
|
};
|
|
5257
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
|
+
|
|
5258
5294
|
// src/queries/events/passes/useGetEventPassQuestionSections.ts
|
|
5259
5295
|
var EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY = (eventId, passId) => [...EVENT_PASS_QUERY_KEY(eventId, passId), "SECTIONS"];
|
|
5260
5296
|
var SET_EVENT_PASS_QUESTION_SECTIONS_QUERY_DATA = (client, keyParams, response) => {
|
|
@@ -5270,7 +5306,7 @@ var GetEventPassQuestionSections = async ({
|
|
|
5270
5306
|
adminApiParams
|
|
5271
5307
|
}) => {
|
|
5272
5308
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
5273
|
-
const { data } = await connectedXM.get(`/events/${eventId}/attendees/${accountId}/passes/${passId}/
|
|
5309
|
+
const { data } = await connectedXM.get(`/events/${eventId}/attendees/${accountId}/passes/${passId}/sections`);
|
|
5274
5310
|
return data;
|
|
5275
5311
|
};
|
|
5276
5312
|
var useGetEventPassQuestionSections = (eventId = "", accountId = "", passId = "", params = {}, options = {}) => {
|
|
@@ -6228,6 +6264,365 @@ var useGetEventFaqSectionTranslation = (eventId = "", sectionId = "", locale = "
|
|
|
6228
6264
|
);
|
|
6229
6265
|
};
|
|
6230
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
|
+
|
|
6231
6626
|
// src/queries/events/matches/useGetEventRounds.ts
|
|
6232
6627
|
var EVENT_ROUNDS_QUERY_KEY = (eventId) => [
|
|
6233
6628
|
...EVENT_QUERY_KEY(eventId),
|
|
@@ -12835,6 +13230,7 @@ var PaymentIntegrationType = /* @__PURE__ */ ((PaymentIntegrationType2) => {
|
|
|
12835
13230
|
return PaymentIntegrationType2;
|
|
12836
13231
|
})(PaymentIntegrationType || {});
|
|
12837
13232
|
var PaymentLineItemType = /* @__PURE__ */ ((PaymentLineItemType2) => {
|
|
13233
|
+
PaymentLineItemType2["general"] = "general";
|
|
12838
13234
|
PaymentLineItemType2["pass"] = "pass";
|
|
12839
13235
|
PaymentLineItemType2["package"] = "package";
|
|
12840
13236
|
PaymentLineItemType2["reservation"] = "reservation";
|
|
@@ -12844,6 +13240,7 @@ var PaymentLineItemType = /* @__PURE__ */ ((PaymentLineItemType2) => {
|
|
|
12844
13240
|
PaymentLineItemType2["booking"] = "booking";
|
|
12845
13241
|
PaymentLineItemType2["coupon"] = "coupon";
|
|
12846
13242
|
PaymentLineItemType2["subscription"] = "subscription";
|
|
13243
|
+
PaymentLineItemType2["refund"] = "refund";
|
|
12847
13244
|
return PaymentLineItemType2;
|
|
12848
13245
|
})(PaymentLineItemType || {});
|
|
12849
13246
|
var TaxIntegrationType = /* @__PURE__ */ ((TaxIntegrationType2) => {
|
|
@@ -23429,6 +23826,467 @@ var useUpdateEventFaqSectionQuestion = (options = {}) => {
|
|
|
23429
23826
|
});
|
|
23430
23827
|
};
|
|
23431
23828
|
|
|
23829
|
+
// src/mutations/event/followups/translations/useCreateEventFollowupTranslation.ts
|
|
23830
|
+
var CreateEventFollowupTranslation = async ({
|
|
23831
|
+
eventId,
|
|
23832
|
+
followupId,
|
|
23833
|
+
locale,
|
|
23834
|
+
autoTranslate,
|
|
23835
|
+
adminApiParams,
|
|
23836
|
+
queryClient
|
|
23837
|
+
}) => {
|
|
23838
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23839
|
+
const { data } = await connectedXM.post(`/events/${eventId}/followups/${followupId}/translations`, {
|
|
23840
|
+
locale,
|
|
23841
|
+
autoTranslate
|
|
23842
|
+
});
|
|
23843
|
+
if (queryClient && data.status === "ok") {
|
|
23844
|
+
queryClient.invalidateQueries({
|
|
23845
|
+
queryKey: EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY(eventId, followupId)
|
|
23846
|
+
});
|
|
23847
|
+
SET_EVENT_FOLLOWUP_TRANSLATION_QUERY_DATA(
|
|
23848
|
+
queryClient,
|
|
23849
|
+
[eventId, followupId, data.data?.locale],
|
|
23850
|
+
data
|
|
23851
|
+
);
|
|
23852
|
+
}
|
|
23853
|
+
return data;
|
|
23854
|
+
};
|
|
23855
|
+
var useCreateEventFollowupTranslation = (options = {}) => {
|
|
23856
|
+
return useConnectedMutation(CreateEventFollowupTranslation, options, {
|
|
23857
|
+
domain: "events",
|
|
23858
|
+
type: "update"
|
|
23859
|
+
});
|
|
23860
|
+
};
|
|
23861
|
+
|
|
23862
|
+
// src/mutations/event/followups/translations/useDeleteEventFollowupTranslation.ts
|
|
23863
|
+
var DeleteEventFollowupTranslation = async ({
|
|
23864
|
+
eventId,
|
|
23865
|
+
followupId,
|
|
23866
|
+
locale,
|
|
23867
|
+
adminApiParams,
|
|
23868
|
+
queryClient
|
|
23869
|
+
}) => {
|
|
23870
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23871
|
+
const { data } = await connectedXM.delete(
|
|
23872
|
+
`/events/${eventId}/followups/${followupId}/translations/${locale}`
|
|
23873
|
+
);
|
|
23874
|
+
if (queryClient && data.status === "ok") {
|
|
23875
|
+
queryClient.invalidateQueries({
|
|
23876
|
+
queryKey: EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY(eventId, followupId)
|
|
23877
|
+
});
|
|
23878
|
+
queryClient.invalidateQueries({
|
|
23879
|
+
queryKey: EVENT_FOLLOWUP_TRANSLATION_QUERY_KEY(eventId, followupId, locale)
|
|
23880
|
+
});
|
|
23881
|
+
}
|
|
23882
|
+
return data;
|
|
23883
|
+
};
|
|
23884
|
+
var useDeleteEventFollowupTranslation = (options = {}) => {
|
|
23885
|
+
return useConnectedMutation(DeleteEventFollowupTranslation, options, {
|
|
23886
|
+
domain: "events",
|
|
23887
|
+
type: "update"
|
|
23888
|
+
});
|
|
23889
|
+
};
|
|
23890
|
+
|
|
23891
|
+
// src/mutations/event/followups/translations/useUpdateEventFollowupTranslation.ts
|
|
23892
|
+
var UpdateEventFollowupTranslation = async ({
|
|
23893
|
+
eventId,
|
|
23894
|
+
followupId,
|
|
23895
|
+
followupTranslation,
|
|
23896
|
+
locale,
|
|
23897
|
+
adminApiParams,
|
|
23898
|
+
queryClient
|
|
23899
|
+
}) => {
|
|
23900
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23901
|
+
const { data } = await connectedXM.put(
|
|
23902
|
+
`/events/${eventId}/followups/${followupId}/translations/${locale}`,
|
|
23903
|
+
followupTranslation
|
|
23904
|
+
);
|
|
23905
|
+
if (queryClient && data.status === "ok") {
|
|
23906
|
+
queryClient.invalidateQueries({
|
|
23907
|
+
queryKey: EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY(eventId, followupId)
|
|
23908
|
+
});
|
|
23909
|
+
SET_EVENT_FOLLOWUP_TRANSLATION_QUERY_DATA(
|
|
23910
|
+
queryClient,
|
|
23911
|
+
[eventId, followupId, data.data?.locale],
|
|
23912
|
+
data
|
|
23913
|
+
);
|
|
23914
|
+
}
|
|
23915
|
+
return data;
|
|
23916
|
+
};
|
|
23917
|
+
var useUpdateEventFollowupTranslation = (options = {}) => {
|
|
23918
|
+
return useConnectedMutation(UpdateEventFollowupTranslation, options, {
|
|
23919
|
+
domain: "events",
|
|
23920
|
+
type: "update"
|
|
23921
|
+
});
|
|
23922
|
+
};
|
|
23923
|
+
|
|
23924
|
+
// src/mutations/event/followups/useAddEventFollowupAddOn.ts
|
|
23925
|
+
var AddEventFollowupAddOn = async ({
|
|
23926
|
+
eventId,
|
|
23927
|
+
followupId,
|
|
23928
|
+
addOnId,
|
|
23929
|
+
adminApiParams,
|
|
23930
|
+
queryClient
|
|
23931
|
+
}) => {
|
|
23932
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23933
|
+
const { data } = await connectedXM.post(
|
|
23934
|
+
`/events/${eventId}/followups/${followupId}/addOns/${addOnId}`
|
|
23935
|
+
);
|
|
23936
|
+
if (queryClient && data.status === "ok") {
|
|
23937
|
+
queryClient.invalidateQueries({
|
|
23938
|
+
queryKey: EVENT_FOLLOWUP_ADDONS_QUERY_KEY(eventId, followupId)
|
|
23939
|
+
});
|
|
23940
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
23941
|
+
}
|
|
23942
|
+
return data;
|
|
23943
|
+
};
|
|
23944
|
+
var useAddEventFollowupAddOn = (options = {}) => {
|
|
23945
|
+
return useConnectedMutation(AddEventFollowupAddOn, options, {
|
|
23946
|
+
domain: "events",
|
|
23947
|
+
type: "update"
|
|
23948
|
+
});
|
|
23949
|
+
};
|
|
23950
|
+
|
|
23951
|
+
// src/mutations/event/followups/useAddEventFollowupPassType.ts
|
|
23952
|
+
var AddEventFollowupPassType = async ({
|
|
23953
|
+
eventId,
|
|
23954
|
+
followupId,
|
|
23955
|
+
passTypeId,
|
|
23956
|
+
adminApiParams,
|
|
23957
|
+
queryClient
|
|
23958
|
+
}) => {
|
|
23959
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23960
|
+
const { data } = await connectedXM.post(`/events/${eventId}/followups/${followupId}/passTypes/${passTypeId}`);
|
|
23961
|
+
if (queryClient && data.status === "ok") {
|
|
23962
|
+
queryClient.invalidateQueries({
|
|
23963
|
+
queryKey: EVENT_FOLLOWUP_PASS_TYPES_QUERY_KEY(eventId, followupId)
|
|
23964
|
+
});
|
|
23965
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
23966
|
+
}
|
|
23967
|
+
return data;
|
|
23968
|
+
};
|
|
23969
|
+
var useAddEventFollowupPassType = (options = {}) => {
|
|
23970
|
+
return useConnectedMutation(AddEventFollowupPassType, options, {
|
|
23971
|
+
domain: "events",
|
|
23972
|
+
type: "update"
|
|
23973
|
+
});
|
|
23974
|
+
};
|
|
23975
|
+
|
|
23976
|
+
// src/mutations/event/followups/useAddEventFollowupQuestion.ts
|
|
23977
|
+
var AddEventFollowupQuestion = async ({
|
|
23978
|
+
eventId,
|
|
23979
|
+
followupId,
|
|
23980
|
+
questionId,
|
|
23981
|
+
adminApiParams,
|
|
23982
|
+
queryClient
|
|
23983
|
+
}) => {
|
|
23984
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23985
|
+
const { data } = await connectedXM.post(`/events/${eventId}/followups/${followupId}/questions/${questionId}`);
|
|
23986
|
+
if (queryClient && data.status === "ok") {
|
|
23987
|
+
queryClient.invalidateQueries({
|
|
23988
|
+
queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(eventId, followupId)
|
|
23989
|
+
});
|
|
23990
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
23991
|
+
}
|
|
23992
|
+
return data;
|
|
23993
|
+
};
|
|
23994
|
+
var useAddEventFollowupQuestion = (options = {}) => {
|
|
23995
|
+
return useConnectedMutation(AddEventFollowupQuestion, options, {
|
|
23996
|
+
domain: "events",
|
|
23997
|
+
type: "update"
|
|
23998
|
+
});
|
|
23999
|
+
};
|
|
24000
|
+
|
|
24001
|
+
// src/mutations/event/followups/useAddEventFollowupTier.ts
|
|
24002
|
+
var AddEventFollowupTier = async ({
|
|
24003
|
+
allowed,
|
|
24004
|
+
eventId,
|
|
24005
|
+
followupId,
|
|
24006
|
+
tierId,
|
|
24007
|
+
adminApiParams,
|
|
24008
|
+
queryClient
|
|
24009
|
+
}) => {
|
|
24010
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24011
|
+
const { data } = await connectedXM.post(
|
|
24012
|
+
`/events/${eventId}/followups/${followupId}/tiers/${tierId}`,
|
|
24013
|
+
{
|
|
24014
|
+
allowed
|
|
24015
|
+
}
|
|
24016
|
+
);
|
|
24017
|
+
if (queryClient && data.status === "ok") {
|
|
24018
|
+
queryClient.invalidateQueries({
|
|
24019
|
+
queryKey: EVENT_FOLLOWUP_TIERS_QUERY_KEY(allowed, eventId, followupId)
|
|
24020
|
+
});
|
|
24021
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24022
|
+
}
|
|
24023
|
+
return data;
|
|
24024
|
+
};
|
|
24025
|
+
var useAddEventFollowupTier = (options = {}) => {
|
|
24026
|
+
return useConnectedMutation(AddEventFollowupTier, options, {
|
|
24027
|
+
domain: "events",
|
|
24028
|
+
type: "update"
|
|
24029
|
+
});
|
|
24030
|
+
};
|
|
24031
|
+
|
|
24032
|
+
// src/mutations/event/followups/useCreateEventFollowup.ts
|
|
24033
|
+
var CreateEventFollowup = async ({
|
|
24034
|
+
eventId,
|
|
24035
|
+
followup,
|
|
24036
|
+
adminApiParams,
|
|
24037
|
+
queryClient
|
|
24038
|
+
}) => {
|
|
24039
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24040
|
+
const { data } = await connectedXM.post(`/events/${eventId}/followups`, followup);
|
|
24041
|
+
if (queryClient && data.status === "ok") {
|
|
24042
|
+
queryClient.invalidateQueries({
|
|
24043
|
+
queryKey: EVENT_FOLLOWUPS_QUERY_KEY(eventId)
|
|
24044
|
+
});
|
|
24045
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(
|
|
24046
|
+
queryClient,
|
|
24047
|
+
[eventId, data.data.id.toString()],
|
|
24048
|
+
data
|
|
24049
|
+
);
|
|
24050
|
+
}
|
|
24051
|
+
return data;
|
|
24052
|
+
};
|
|
24053
|
+
var useCreateEventFollowup = (options = {}) => {
|
|
24054
|
+
return useConnectedMutation(CreateEventFollowup, options, {
|
|
24055
|
+
domain: "events",
|
|
24056
|
+
type: "update"
|
|
24057
|
+
});
|
|
24058
|
+
};
|
|
24059
|
+
|
|
24060
|
+
// src/mutations/event/followups/useDeleteEventFollowup.ts
|
|
24061
|
+
var DeleteEventFollowup = async ({
|
|
24062
|
+
eventId,
|
|
24063
|
+
followupId,
|
|
24064
|
+
adminApiParams,
|
|
24065
|
+
queryClient
|
|
24066
|
+
}) => {
|
|
24067
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24068
|
+
const { data } = await connectedXM.delete(
|
|
24069
|
+
`/events/${eventId}/followups/${followupId}`
|
|
24070
|
+
);
|
|
24071
|
+
if (queryClient && data.status === "ok") {
|
|
24072
|
+
queryClient.invalidateQueries({
|
|
24073
|
+
queryKey: EVENT_FOLLOWUPS_QUERY_KEY(eventId)
|
|
24074
|
+
});
|
|
24075
|
+
queryClient.removeQueries({
|
|
24076
|
+
queryKey: EVENT_FOLLOWUP_QUERY_KEY(eventId, followupId)
|
|
24077
|
+
});
|
|
24078
|
+
}
|
|
24079
|
+
return data;
|
|
24080
|
+
};
|
|
24081
|
+
var useDeleteEventFollowup = (options = {}) => {
|
|
24082
|
+
return useConnectedMutation(DeleteEventFollowup, options, {
|
|
24083
|
+
domain: "events",
|
|
24084
|
+
type: "update"
|
|
24085
|
+
});
|
|
24086
|
+
};
|
|
24087
|
+
|
|
24088
|
+
// src/mutations/event/followups/useRemoveEventFollowupAddOn.ts
|
|
24089
|
+
var RemoveEventFollowupAddOn = async ({
|
|
24090
|
+
eventId,
|
|
24091
|
+
followupId,
|
|
24092
|
+
addOnId,
|
|
24093
|
+
adminApiParams,
|
|
24094
|
+
queryClient
|
|
24095
|
+
}) => {
|
|
24096
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24097
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/followups/${followupId}/addOns/${addOnId}`);
|
|
24098
|
+
if (queryClient && data.status === "ok") {
|
|
24099
|
+
queryClient.invalidateQueries({
|
|
24100
|
+
queryKey: EVENT_FOLLOWUP_ADDONS_QUERY_KEY(eventId, followupId)
|
|
24101
|
+
});
|
|
24102
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24103
|
+
}
|
|
24104
|
+
return data;
|
|
24105
|
+
};
|
|
24106
|
+
var useRemoveEventFollowupAddOn = (options = {}) => {
|
|
24107
|
+
return useConnectedMutation(RemoveEventFollowupAddOn, options, {
|
|
24108
|
+
domain: "events",
|
|
24109
|
+
type: "update"
|
|
24110
|
+
});
|
|
24111
|
+
};
|
|
24112
|
+
|
|
24113
|
+
// src/mutations/event/followups/useRemoveEventFollowupPassType.ts
|
|
24114
|
+
var RemoveEventFollowupPassType = async ({
|
|
24115
|
+
eventId,
|
|
24116
|
+
followupId,
|
|
24117
|
+
passTypeId,
|
|
24118
|
+
adminApiParams,
|
|
24119
|
+
queryClient
|
|
24120
|
+
}) => {
|
|
24121
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24122
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/followups/${followupId}/passTypes/${passTypeId}`);
|
|
24123
|
+
if (queryClient && data.status === "ok") {
|
|
24124
|
+
queryClient.invalidateQueries({
|
|
24125
|
+
queryKey: EVENT_FOLLOWUP_PASS_TYPES_QUERY_KEY(eventId, followupId)
|
|
24126
|
+
});
|
|
24127
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24128
|
+
}
|
|
24129
|
+
return data;
|
|
24130
|
+
};
|
|
24131
|
+
var useRemoveEventFollowupPassType = (options = {}) => {
|
|
24132
|
+
return useConnectedMutation(RemoveEventFollowupPassType, options, {
|
|
24133
|
+
domain: "events",
|
|
24134
|
+
type: "update"
|
|
24135
|
+
});
|
|
24136
|
+
};
|
|
24137
|
+
|
|
24138
|
+
// src/mutations/event/followups/useRemoveEventFollowupQuestion.ts
|
|
24139
|
+
var RemoveEventFollowupQuestion = async ({
|
|
24140
|
+
eventId,
|
|
24141
|
+
followupId,
|
|
24142
|
+
questionId,
|
|
24143
|
+
adminApiParams,
|
|
24144
|
+
queryClient
|
|
24145
|
+
}) => {
|
|
24146
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24147
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/followups/${followupId}/questions/${questionId}`);
|
|
24148
|
+
if (queryClient && data.status === "ok") {
|
|
24149
|
+
queryClient.invalidateQueries({
|
|
24150
|
+
queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(eventId, followupId)
|
|
24151
|
+
});
|
|
24152
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24153
|
+
}
|
|
24154
|
+
return data;
|
|
24155
|
+
};
|
|
24156
|
+
var useRemoveEventFollowupQuestion = (options = {}) => {
|
|
24157
|
+
return useConnectedMutation(RemoveEventFollowupQuestion, options, {
|
|
24158
|
+
domain: "events",
|
|
24159
|
+
type: "update"
|
|
24160
|
+
});
|
|
24161
|
+
};
|
|
24162
|
+
|
|
24163
|
+
// src/mutations/event/followups/useRemoveEventFollowupTier.ts
|
|
24164
|
+
var RemoveEventFollowupTier = async ({
|
|
24165
|
+
allowed,
|
|
24166
|
+
eventId,
|
|
24167
|
+
followupId,
|
|
24168
|
+
tierId,
|
|
24169
|
+
adminApiParams,
|
|
24170
|
+
queryClient
|
|
24171
|
+
}) => {
|
|
24172
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24173
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/followups/${followupId}/tiers/${tierId}`, {
|
|
24174
|
+
params: {
|
|
24175
|
+
allowed
|
|
24176
|
+
}
|
|
24177
|
+
});
|
|
24178
|
+
if (queryClient && data.status === "ok") {
|
|
24179
|
+
queryClient.invalidateQueries({
|
|
24180
|
+
queryKey: EVENT_FOLLOWUP_TIERS_QUERY_KEY(allowed, eventId, followupId)
|
|
24181
|
+
});
|
|
24182
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24183
|
+
}
|
|
24184
|
+
return data;
|
|
24185
|
+
};
|
|
24186
|
+
var useRemoveEventFollowupTier = (options = {}) => {
|
|
24187
|
+
return useConnectedMutation(RemoveEventFollowupTier, options, {
|
|
24188
|
+
domain: "events",
|
|
24189
|
+
type: "update"
|
|
24190
|
+
});
|
|
24191
|
+
};
|
|
24192
|
+
|
|
24193
|
+
// src/mutations/event/followups/useReorderEventFollowupQuestions.ts
|
|
24194
|
+
var ReorderEventFollowupQuestions = async ({
|
|
24195
|
+
eventId,
|
|
24196
|
+
followupId,
|
|
24197
|
+
questionIds,
|
|
24198
|
+
adminApiParams,
|
|
24199
|
+
queryClient
|
|
24200
|
+
}) => {
|
|
24201
|
+
if (!followupId) throw new Error("Followup ID Undefined");
|
|
24202
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24203
|
+
const { data } = await connectedXM.put(`/events/${eventId}/followups/${followupId}/questions/reorder`, {
|
|
24204
|
+
questionIds
|
|
24205
|
+
});
|
|
24206
|
+
if (queryClient && data.status === "ok") {
|
|
24207
|
+
SET_EVENT_FOLLOWUP_QUESTIONS_QUERY_DATA(
|
|
24208
|
+
queryClient,
|
|
24209
|
+
[eventId, followupId],
|
|
24210
|
+
data
|
|
24211
|
+
);
|
|
24212
|
+
}
|
|
24213
|
+
return data;
|
|
24214
|
+
};
|
|
24215
|
+
var useReorderEventFollowupQuestions = (options = {}) => {
|
|
24216
|
+
return useConnectedMutation(ReorderEventFollowupQuestions, options, {
|
|
24217
|
+
domain: "events",
|
|
24218
|
+
type: "update"
|
|
24219
|
+
});
|
|
24220
|
+
};
|
|
24221
|
+
|
|
24222
|
+
// src/mutations/event/followups/useUpdateEventFollowup.ts
|
|
24223
|
+
var UpdateEventFollowup = async ({
|
|
24224
|
+
eventId,
|
|
24225
|
+
followupId,
|
|
24226
|
+
followup,
|
|
24227
|
+
adminApiParams,
|
|
24228
|
+
queryClient
|
|
24229
|
+
}) => {
|
|
24230
|
+
if (!followupId) throw new Error("Followup ID Undefined");
|
|
24231
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24232
|
+
const { data } = await connectedXM.put(`/events/${eventId}/followups/${followupId}`, {
|
|
24233
|
+
...followup,
|
|
24234
|
+
id: void 0,
|
|
24235
|
+
eventId: void 0,
|
|
24236
|
+
questions: void 0,
|
|
24237
|
+
passTypes: void 0,
|
|
24238
|
+
accountTiers: void 0,
|
|
24239
|
+
_count: void 0,
|
|
24240
|
+
createdAt: void 0,
|
|
24241
|
+
updatedAt: void 0
|
|
24242
|
+
});
|
|
24243
|
+
if (queryClient && data.status === "ok") {
|
|
24244
|
+
queryClient.invalidateQueries({
|
|
24245
|
+
queryKey: EVENT_FOLLOWUPS_QUERY_KEY(eventId)
|
|
24246
|
+
});
|
|
24247
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(
|
|
24248
|
+
queryClient,
|
|
24249
|
+
[eventId, followupId || data.data?.id.toString()],
|
|
24250
|
+
data
|
|
24251
|
+
);
|
|
24252
|
+
}
|
|
24253
|
+
return data;
|
|
24254
|
+
};
|
|
24255
|
+
var useUpdateEventFollowup = (options = {}) => {
|
|
24256
|
+
return useConnectedMutation(UpdateEventFollowup, options, {
|
|
24257
|
+
domain: "events",
|
|
24258
|
+
type: "update"
|
|
24259
|
+
});
|
|
24260
|
+
};
|
|
24261
|
+
|
|
24262
|
+
// src/mutations/event/followups/useUpdateEventFollowupQuestion.ts
|
|
24263
|
+
var UpdateEventFollowupQuestion = async ({
|
|
24264
|
+
eventId,
|
|
24265
|
+
followupId,
|
|
24266
|
+
questionId,
|
|
24267
|
+
sortOrder,
|
|
24268
|
+
adminApiParams,
|
|
24269
|
+
queryClient
|
|
24270
|
+
}) => {
|
|
24271
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
24272
|
+
const { data } = await connectedXM.put(`/events/${eventId}/followups/${followupId}/questions/${questionId}`, {
|
|
24273
|
+
sortOrder
|
|
24274
|
+
});
|
|
24275
|
+
if (queryClient && data.status === "ok") {
|
|
24276
|
+
queryClient.invalidateQueries({
|
|
24277
|
+
queryKey: EVENT_FOLLOWUPS_QUERY_KEY(eventId)
|
|
24278
|
+
});
|
|
24279
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA(queryClient, [eventId, followupId], data);
|
|
24280
|
+
}
|
|
24281
|
+
return data;
|
|
24282
|
+
};
|
|
24283
|
+
var useUpdateEventFollowupQuestion = (options = {}) => {
|
|
24284
|
+
return useConnectedMutation(UpdateEventFollowupQuestion, options, {
|
|
24285
|
+
domain: "events",
|
|
24286
|
+
type: "update"
|
|
24287
|
+
});
|
|
24288
|
+
};
|
|
24289
|
+
|
|
23432
24290
|
// src/mutations/event/matches/useAddEventMatchPass.ts
|
|
23433
24291
|
var AddEventMatchPass = async ({
|
|
23434
24292
|
eventId,
|
|
@@ -25266,6 +26124,9 @@ var UpdateEventPassResponse = async ({
|
|
|
25266
26124
|
queryClient.invalidateQueries({
|
|
25267
26125
|
queryKey: EVENT_PASS_RESPONSES_QUERY_KEY(eventId, passId)
|
|
25268
26126
|
});
|
|
26127
|
+
queryClient.invalidateQueries({
|
|
26128
|
+
queryKey: EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY(eventId, passId)
|
|
26129
|
+
});
|
|
25269
26130
|
SET_EVENT_PASS_RESPONSE_QUERY_DATA(
|
|
25270
26131
|
queryClient,
|
|
25271
26132
|
[eventId, passId, questionId],
|
|
@@ -25312,6 +26173,69 @@ var useUpdateEventPassResponses = (options = {}) => {
|
|
|
25312
26173
|
});
|
|
25313
26174
|
};
|
|
25314
26175
|
|
|
26176
|
+
// src/mutations/event/passes/useUpdateEventPassFollowupResponses.ts
|
|
26177
|
+
var UpdateEventPassFollowupResponses = async ({
|
|
26178
|
+
eventId,
|
|
26179
|
+
accountId,
|
|
26180
|
+
passId,
|
|
26181
|
+
questions,
|
|
26182
|
+
adminApiParams,
|
|
26183
|
+
queryClient
|
|
26184
|
+
}) => {
|
|
26185
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
26186
|
+
const { data } = await connectedXM.put(
|
|
26187
|
+
`/events/${eventId}/attendees/${accountId}/passes/${passId}/followups`,
|
|
26188
|
+
{ questions }
|
|
26189
|
+
);
|
|
26190
|
+
if (queryClient && data.status === "ok") {
|
|
26191
|
+
queryClient.invalidateQueries({
|
|
26192
|
+
queryKey: EVENT_PASS_RESPONSES_QUERY_KEY(eventId, passId)
|
|
26193
|
+
});
|
|
26194
|
+
queryClient.invalidateQueries({
|
|
26195
|
+
queryKey: EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY(eventId, passId)
|
|
26196
|
+
});
|
|
26197
|
+
}
|
|
26198
|
+
return data;
|
|
26199
|
+
};
|
|
26200
|
+
var useUpdateEventPassFollowupResponses = (options = {}) => {
|
|
26201
|
+
return useConnectedMutation(UpdateEventPassFollowupResponses, options, {
|
|
26202
|
+
domain: "events",
|
|
26203
|
+
type: "update"
|
|
26204
|
+
});
|
|
26205
|
+
};
|
|
26206
|
+
|
|
26207
|
+
// src/mutations/event/passes/useUpdateEventPassSingleFollowupResponses.ts
|
|
26208
|
+
var UpdateEventPassSingleFollowupResponses = async ({
|
|
26209
|
+
eventId,
|
|
26210
|
+
accountId,
|
|
26211
|
+
passId,
|
|
26212
|
+
followupId,
|
|
26213
|
+
questions,
|
|
26214
|
+
adminApiParams,
|
|
26215
|
+
queryClient
|
|
26216
|
+
}) => {
|
|
26217
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
26218
|
+
const { data } = await connectedXM.put(
|
|
26219
|
+
`/events/${eventId}/attendees/${accountId}/passes/${passId}/followups/${followupId}`,
|
|
26220
|
+
{ questions }
|
|
26221
|
+
);
|
|
26222
|
+
if (queryClient && data.status === "ok") {
|
|
26223
|
+
queryClient.invalidateQueries({
|
|
26224
|
+
queryKey: EVENT_PASS_RESPONSES_QUERY_KEY(eventId, passId)
|
|
26225
|
+
});
|
|
26226
|
+
queryClient.invalidateQueries({
|
|
26227
|
+
queryKey: EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY(eventId, passId)
|
|
26228
|
+
});
|
|
26229
|
+
}
|
|
26230
|
+
return data;
|
|
26231
|
+
};
|
|
26232
|
+
var useUpdateEventPassSingleFollowupResponses = (options = {}) => {
|
|
26233
|
+
return useConnectedMutation(UpdateEventPassSingleFollowupResponses, options, {
|
|
26234
|
+
domain: "events",
|
|
26235
|
+
type: "update"
|
|
26236
|
+
});
|
|
26237
|
+
};
|
|
26238
|
+
|
|
25315
26239
|
// src/mutations/event/passes/useUpdateEventSessionAccess.ts
|
|
25316
26240
|
var UpdateEventSessionAccess = async ({
|
|
25317
26241
|
eventId,
|
|
@@ -25668,6 +26592,14 @@ var CreateEventQuestion = async ({
|
|
|
25668
26592
|
)
|
|
25669
26593
|
});
|
|
25670
26594
|
}
|
|
26595
|
+
if (question.followupId) {
|
|
26596
|
+
queryClient.invalidateQueries({
|
|
26597
|
+
queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(
|
|
26598
|
+
eventId,
|
|
26599
|
+
question.followupId.toString()
|
|
26600
|
+
)
|
|
26601
|
+
});
|
|
26602
|
+
}
|
|
25671
26603
|
if (question.questionId) {
|
|
25672
26604
|
queryClient.invalidateQueries({
|
|
25673
26605
|
queryKey: EVENT_QUESTION_CHOICES_QUERY_KEY(
|
|
@@ -25744,6 +26676,7 @@ var DeleteEventQuestion = async ({
|
|
|
25744
26676
|
eventId,
|
|
25745
26677
|
questionId,
|
|
25746
26678
|
sectionId,
|
|
26679
|
+
followupId,
|
|
25747
26680
|
adminApiParams,
|
|
25748
26681
|
queryClient
|
|
25749
26682
|
}) => {
|
|
@@ -25758,6 +26691,11 @@ var DeleteEventQuestion = async ({
|
|
|
25758
26691
|
queryClient.removeQueries({
|
|
25759
26692
|
queryKey: EVENT_QUESTION_QUERY_KEY(eventId, questionId)
|
|
25760
26693
|
});
|
|
26694
|
+
if (followupId) {
|
|
26695
|
+
queryClient.invalidateQueries({
|
|
26696
|
+
queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(eventId, followupId)
|
|
26697
|
+
});
|
|
26698
|
+
}
|
|
25761
26699
|
if (sectionId) {
|
|
25762
26700
|
queryClient.invalidateQueries({
|
|
25763
26701
|
queryKey: EVENT_SECTION_QUESTIONS_QUERY_KEY(eventId, sectionId)
|
|
@@ -36092,6 +37030,10 @@ export {
|
|
|
36092
37030
|
AddEventAddOnTier,
|
|
36093
37031
|
AddEventBenefit,
|
|
36094
37032
|
AddEventCoHost,
|
|
37033
|
+
AddEventFollowupAddOn,
|
|
37034
|
+
AddEventFollowupPassType,
|
|
37035
|
+
AddEventFollowupQuestion,
|
|
37036
|
+
AddEventFollowupTier,
|
|
36095
37037
|
AddEventMatchPass,
|
|
36096
37038
|
AddEventMediaItemPassType,
|
|
36097
37039
|
AddEventPageImage,
|
|
@@ -36235,6 +37177,8 @@ export {
|
|
|
36235
37177
|
CreateEventFaqSectionQuestion,
|
|
36236
37178
|
CreateEventFaqSectionQuestionTranslation,
|
|
36237
37179
|
CreateEventFaqSectionTranslation,
|
|
37180
|
+
CreateEventFollowup,
|
|
37181
|
+
CreateEventFollowupTranslation,
|
|
36238
37182
|
CreateEventMatch,
|
|
36239
37183
|
CreateEventMediaItem,
|
|
36240
37184
|
CreateEventPackage,
|
|
@@ -36377,6 +37321,8 @@ export {
|
|
|
36377
37321
|
DeleteEventFaqSectionQuestion,
|
|
36378
37322
|
DeleteEventFaqSectionQuestionTranslation,
|
|
36379
37323
|
DeleteEventFaqSectionTranslation,
|
|
37324
|
+
DeleteEventFollowup,
|
|
37325
|
+
DeleteEventFollowupTranslation,
|
|
36380
37326
|
DeleteEventMatch,
|
|
36381
37327
|
DeleteEventMediaItem,
|
|
36382
37328
|
DeleteEventPackage,
|
|
@@ -36522,6 +37468,14 @@ export {
|
|
|
36522
37468
|
EVENT_FAQ_SECTION_QUESTION_TRANSLATION_QUERY_KEY,
|
|
36523
37469
|
EVENT_FAQ_SECTION_TRANSLATIONS_QUERY_KEY,
|
|
36524
37470
|
EVENT_FAQ_SECTION_TRANSLATION_QUERY_KEY,
|
|
37471
|
+
EVENT_FOLLOWUPS_QUERY_KEY,
|
|
37472
|
+
EVENT_FOLLOWUP_ADDONS_QUERY_KEY,
|
|
37473
|
+
EVENT_FOLLOWUP_PASS_TYPES_QUERY_KEY,
|
|
37474
|
+
EVENT_FOLLOWUP_QUERY_KEY,
|
|
37475
|
+
EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY,
|
|
37476
|
+
EVENT_FOLLOWUP_TIERS_QUERY_KEY,
|
|
37477
|
+
EVENT_FOLLOWUP_TRANSLATIONS_QUERY_KEY,
|
|
37478
|
+
EVENT_FOLLOWUP_TRANSLATION_QUERY_KEY,
|
|
36525
37479
|
EVENT_MEDIA_ITEMS_QUERY_KEY,
|
|
36526
37480
|
EVENT_MEDIA_ITEM_PASS_TYPES_QUERY_KEY,
|
|
36527
37481
|
EVENT_MEDIA_ITEM_QUERY_KEY,
|
|
@@ -36543,6 +37497,7 @@ export {
|
|
|
36543
37497
|
EVENT_PASS_ATTENDEE_PASSES_QUERY_KEY,
|
|
36544
37498
|
EVENT_PASS_MATCHES_QUERY_KEY,
|
|
36545
37499
|
EVENT_PASS_QUERY_KEY,
|
|
37500
|
+
EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY,
|
|
36546
37501
|
EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY,
|
|
36547
37502
|
EVENT_PASS_RESPONSES_QUERY_KEY,
|
|
36548
37503
|
EVENT_PASS_RESPONSE_CHANGES_QUERY_KEY,
|
|
@@ -36846,6 +37801,14 @@ export {
|
|
|
36846
37801
|
GetEventFaqSectionTranslation,
|
|
36847
37802
|
GetEventFaqSectionTranslations,
|
|
36848
37803
|
GetEventFaqSections,
|
|
37804
|
+
GetEventFollowup,
|
|
37805
|
+
GetEventFollowupAddOns,
|
|
37806
|
+
GetEventFollowupPassTypes,
|
|
37807
|
+
GetEventFollowupQuestions,
|
|
37808
|
+
GetEventFollowupTiers,
|
|
37809
|
+
GetEventFollowupTranslation,
|
|
37810
|
+
GetEventFollowupTranslations,
|
|
37811
|
+
GetEventFollowups,
|
|
36849
37812
|
GetEventMediaItem,
|
|
36850
37813
|
GetEventMediaItemPassTypes,
|
|
36851
37814
|
GetEventMediaItems,
|
|
@@ -36866,6 +37829,7 @@ export {
|
|
|
36866
37829
|
GetEventPassAddOns,
|
|
36867
37830
|
GetEventPassAttendeePasses,
|
|
36868
37831
|
GetEventPassMatches,
|
|
37832
|
+
GetEventPassQuestionFollowups,
|
|
36869
37833
|
GetEventPassQuestionSections,
|
|
36870
37834
|
GetEventPassResponse,
|
|
36871
37835
|
GetEventPassResponseChanges,
|
|
@@ -37252,6 +38216,10 @@ export {
|
|
|
37252
38216
|
RemoveEventAddOnTier,
|
|
37253
38217
|
RemoveEventBenefit,
|
|
37254
38218
|
RemoveEventCoHost,
|
|
38219
|
+
RemoveEventFollowupAddOn,
|
|
38220
|
+
RemoveEventFollowupPassType,
|
|
38221
|
+
RemoveEventFollowupQuestion,
|
|
38222
|
+
RemoveEventFollowupTier,
|
|
37255
38223
|
RemoveEventMatchPass,
|
|
37256
38224
|
RemoveEventMediaItemPassType,
|
|
37257
38225
|
RemoveEventPageImage,
|
|
@@ -37292,6 +38260,7 @@ export {
|
|
|
37292
38260
|
RemoveSurveySectionQuestion,
|
|
37293
38261
|
RemoveTierAccounts,
|
|
37294
38262
|
ReorderEventFaqSectionQuestions,
|
|
38263
|
+
ReorderEventFollowupQuestions,
|
|
37295
38264
|
ReorderEventQuestionChoiceSubQuestions,
|
|
37296
38265
|
ReorderEventQuestionChoices,
|
|
37297
38266
|
ReorderEventSectionQuestions,
|
|
@@ -37449,6 +38418,14 @@ export {
|
|
|
37449
38418
|
SET_EVENT_FAQ_SECTION_QUESTION_TRANSLATION_QUERY_DATA,
|
|
37450
38419
|
SET_EVENT_FAQ_SECTION_TRANSLATIONS_QUERY_DATA,
|
|
37451
38420
|
SET_EVENT_FAQ_SECTION_TRANSLATION_QUERY_DATA,
|
|
38421
|
+
SET_EVENT_FOLLOWUPS_QUERY_DATA,
|
|
38422
|
+
SET_EVENT_FOLLOWUP_ADDONS_QUERY_DATA,
|
|
38423
|
+
SET_EVENT_FOLLOWUP_PASS_TYPES_QUERY_DATA,
|
|
38424
|
+
SET_EVENT_FOLLOWUP_QUERY_DATA,
|
|
38425
|
+
SET_EVENT_FOLLOWUP_QUESTIONS_QUERY_DATA,
|
|
38426
|
+
SET_EVENT_FOLLOWUP_TIERS_QUERY_DATA,
|
|
38427
|
+
SET_EVENT_FOLLOWUP_TRANSLATIONS_QUERY_DATA,
|
|
38428
|
+
SET_EVENT_FOLLOWUP_TRANSLATION_QUERY_DATA,
|
|
37452
38429
|
SET_EVENT_MEDIA_ITEMS_QUERY_DATA,
|
|
37453
38430
|
SET_EVENT_MEDIA_ITEM_PASS_TYPES_QUERY_DATA,
|
|
37454
38431
|
SET_EVENT_MEDIA_ITEM_QUERY_DATA,
|
|
@@ -37469,6 +38446,7 @@ export {
|
|
|
37469
38446
|
SET_EVENT_PASS_ATTENDEE_PASSES_QUERY_DATA,
|
|
37470
38447
|
SET_EVENT_PASS_MATCHES_QUERY_DATA,
|
|
37471
38448
|
SET_EVENT_PASS_QUERY_DATA,
|
|
38449
|
+
SET_EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_DATA,
|
|
37472
38450
|
SET_EVENT_PASS_QUESTION_SECTIONS_QUERY_DATA,
|
|
37473
38451
|
SET_EVENT_PASS_RESPONSES_QUERY_DATA,
|
|
37474
38452
|
SET_EVENT_PASS_RESPONSE_CHANGES_QUERY_DATA,
|
|
@@ -37876,6 +38854,9 @@ export {
|
|
|
37876
38854
|
UpdateEventFaqSectionQuestion,
|
|
37877
38855
|
UpdateEventFaqSectionQuestionTranslation,
|
|
37878
38856
|
UpdateEventFaqSectionTranslation,
|
|
38857
|
+
UpdateEventFollowup,
|
|
38858
|
+
UpdateEventFollowupQuestion,
|
|
38859
|
+
UpdateEventFollowupTranslation,
|
|
37879
38860
|
UpdateEventMatch,
|
|
37880
38861
|
UpdateEventMediaItem,
|
|
37881
38862
|
UpdateEventPackage,
|
|
@@ -37884,8 +38865,10 @@ export {
|
|
|
37884
38865
|
UpdateEventPage,
|
|
37885
38866
|
UpdateEventPageTranslation,
|
|
37886
38867
|
UpdateEventPass,
|
|
38868
|
+
UpdateEventPassFollowupResponses,
|
|
37887
38869
|
UpdateEventPassResponse,
|
|
37888
38870
|
UpdateEventPassResponses,
|
|
38871
|
+
UpdateEventPassSingleFollowupResponses,
|
|
37889
38872
|
UpdateEventPassType,
|
|
37890
38873
|
UpdateEventPassTypePriceSchedule,
|
|
37891
38874
|
UpdateEventPassTypeRefundSchedule,
|
|
@@ -38016,6 +38999,10 @@ export {
|
|
|
38016
38999
|
useAddEventAddOnTier,
|
|
38017
39000
|
useAddEventBenefit,
|
|
38018
39001
|
useAddEventCoHost,
|
|
39002
|
+
useAddEventFollowupAddOn,
|
|
39003
|
+
useAddEventFollowupPassType,
|
|
39004
|
+
useAddEventFollowupQuestion,
|
|
39005
|
+
useAddEventFollowupTier,
|
|
38019
39006
|
useAddEventMatchPass,
|
|
38020
39007
|
useAddEventMediaItemPassType,
|
|
38021
39008
|
useAddEventPageImage,
|
|
@@ -38108,6 +39095,8 @@ export {
|
|
|
38108
39095
|
useCreateEventFaqSectionQuestion,
|
|
38109
39096
|
useCreateEventFaqSectionQuestionTranslation,
|
|
38110
39097
|
useCreateEventFaqSectionTranslation,
|
|
39098
|
+
useCreateEventFollowup,
|
|
39099
|
+
useCreateEventFollowupTranslation,
|
|
38111
39100
|
useCreateEventMatch,
|
|
38112
39101
|
useCreateEventMediaItem,
|
|
38113
39102
|
useCreateEventPackage,
|
|
@@ -38242,6 +39231,8 @@ export {
|
|
|
38242
39231
|
useDeleteEventFaqSectionQuestion,
|
|
38243
39232
|
useDeleteEventFaqSectionQuestionTranslation,
|
|
38244
39233
|
useDeleteEventFaqSectionTranslation,
|
|
39234
|
+
useDeleteEventFollowup,
|
|
39235
|
+
useDeleteEventFollowupTranslation,
|
|
38245
39236
|
useDeleteEventMatch,
|
|
38246
39237
|
useDeleteEventMediaItem,
|
|
38247
39238
|
useDeleteEventPackage,
|
|
@@ -38488,6 +39479,14 @@ export {
|
|
|
38488
39479
|
useGetEventFaqSectionTranslation,
|
|
38489
39480
|
useGetEventFaqSectionTranslations,
|
|
38490
39481
|
useGetEventFaqSections,
|
|
39482
|
+
useGetEventFollowup,
|
|
39483
|
+
useGetEventFollowupAddOns,
|
|
39484
|
+
useGetEventFollowupPassTypes,
|
|
39485
|
+
useGetEventFollowupQuestions,
|
|
39486
|
+
useGetEventFollowupTiers,
|
|
39487
|
+
useGetEventFollowupTranslation,
|
|
39488
|
+
useGetEventFollowupTranslations,
|
|
39489
|
+
useGetEventFollowups,
|
|
38491
39490
|
useGetEventMediaItem,
|
|
38492
39491
|
useGetEventMediaItemPassTypes,
|
|
38493
39492
|
useGetEventMediaItems,
|
|
@@ -38508,6 +39507,7 @@ export {
|
|
|
38508
39507
|
useGetEventPassAddOns,
|
|
38509
39508
|
useGetEventPassAttendeePasses,
|
|
38510
39509
|
useGetEventPassMatches,
|
|
39510
|
+
useGetEventPassQuestionFollowups,
|
|
38511
39511
|
useGetEventPassQuestionSections,
|
|
38512
39512
|
useGetEventPassResponse,
|
|
38513
39513
|
useGetEventPassResponseChanges,
|
|
@@ -38805,6 +39805,10 @@ export {
|
|
|
38805
39805
|
useRemoveEventAddOnTier,
|
|
38806
39806
|
useRemoveEventBenefit,
|
|
38807
39807
|
useRemoveEventCoHost,
|
|
39808
|
+
useRemoveEventFollowupAddOn,
|
|
39809
|
+
useRemoveEventFollowupPassType,
|
|
39810
|
+
useRemoveEventFollowupQuestion,
|
|
39811
|
+
useRemoveEventFollowupTier,
|
|
38808
39812
|
useRemoveEventMatchPass,
|
|
38809
39813
|
useRemoveEventMediaItemPassType,
|
|
38810
39814
|
useRemoveEventPageImage,
|
|
@@ -38845,6 +39849,7 @@ export {
|
|
|
38845
39849
|
useRemoveSurveySectionQuestion,
|
|
38846
39850
|
useRemoveTierAccounts,
|
|
38847
39851
|
useReorderEventFaqSectionQuestions,
|
|
39852
|
+
useReorderEventFollowupQuestions,
|
|
38848
39853
|
useReorderEventQuestionChoiceSubQuestions,
|
|
38849
39854
|
useReorderEventQuestionChoices,
|
|
38850
39855
|
useReorderEventSectionQuestions,
|
|
@@ -38913,6 +39918,9 @@ export {
|
|
|
38913
39918
|
useUpdateEventFaqSectionQuestion,
|
|
38914
39919
|
useUpdateEventFaqSectionQuestionTranslation,
|
|
38915
39920
|
useUpdateEventFaqSectionTranslation,
|
|
39921
|
+
useUpdateEventFollowup,
|
|
39922
|
+
useUpdateEventFollowupQuestion,
|
|
39923
|
+
useUpdateEventFollowupTranslation,
|
|
38916
39924
|
useUpdateEventMatch,
|
|
38917
39925
|
useUpdateEventMediaItem,
|
|
38918
39926
|
useUpdateEventPackage,
|
|
@@ -38921,8 +39929,10 @@ export {
|
|
|
38921
39929
|
useUpdateEventPage,
|
|
38922
39930
|
useUpdateEventPageTranslation,
|
|
38923
39931
|
useUpdateEventPass,
|
|
39932
|
+
useUpdateEventPassFollowupResponses,
|
|
38924
39933
|
useUpdateEventPassResponse,
|
|
38925
39934
|
useUpdateEventPassResponses,
|
|
39935
|
+
useUpdateEventPassSingleFollowupResponses,
|
|
38926
39936
|
useUpdateEventPassType,
|
|
38927
39937
|
useUpdateEventPassTypePriceSchedule,
|
|
38928
39938
|
useUpdateEventPassTypeRefundSchedule,
|