@connectedxm/admin 3.0.0 → 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.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}/questions`);
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";
@@ -23429,6 +23825,467 @@ var useUpdateEventFaqSectionQuestion = (options = {}) => {
23429
23825
  });
23430
23826
  };
23431
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
+
23432
24289
  // src/mutations/event/matches/useAddEventMatchPass.ts
23433
24290
  var AddEventMatchPass = async ({
23434
24291
  eventId,
@@ -25266,6 +26123,9 @@ var UpdateEventPassResponse = async ({
25266
26123
  queryClient.invalidateQueries({
25267
26124
  queryKey: EVENT_PASS_RESPONSES_QUERY_KEY(eventId, passId)
25268
26125
  });
26126
+ queryClient.invalidateQueries({
26127
+ queryKey: EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY(eventId, passId)
26128
+ });
25269
26129
  SET_EVENT_PASS_RESPONSE_QUERY_DATA(
25270
26130
  queryClient,
25271
26131
  [eventId, passId, questionId],
@@ -25312,6 +26172,69 @@ var useUpdateEventPassResponses = (options = {}) => {
25312
26172
  });
25313
26173
  };
25314
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
+
25315
26238
  // src/mutations/event/passes/useUpdateEventSessionAccess.ts
25316
26239
  var UpdateEventSessionAccess = async ({
25317
26240
  eventId,
@@ -25668,6 +26591,14 @@ var CreateEventQuestion = async ({
25668
26591
  )
25669
26592
  });
25670
26593
  }
26594
+ if (question.followupId) {
26595
+ queryClient.invalidateQueries({
26596
+ queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(
26597
+ eventId,
26598
+ question.followupId.toString()
26599
+ )
26600
+ });
26601
+ }
25671
26602
  if (question.questionId) {
25672
26603
  queryClient.invalidateQueries({
25673
26604
  queryKey: EVENT_QUESTION_CHOICES_QUERY_KEY(
@@ -25744,6 +26675,7 @@ var DeleteEventQuestion = async ({
25744
26675
  eventId,
25745
26676
  questionId,
25746
26677
  sectionId,
26678
+ followupId,
25747
26679
  adminApiParams,
25748
26680
  queryClient
25749
26681
  }) => {
@@ -25758,6 +26690,11 @@ var DeleteEventQuestion = async ({
25758
26690
  queryClient.removeQueries({
25759
26691
  queryKey: EVENT_QUESTION_QUERY_KEY(eventId, questionId)
25760
26692
  });
26693
+ if (followupId) {
26694
+ queryClient.invalidateQueries({
26695
+ queryKey: EVENT_FOLLOWUP_QUESTIONS_QUERY_KEY(eventId, followupId)
26696
+ });
26697
+ }
25761
26698
  if (sectionId) {
25762
26699
  queryClient.invalidateQueries({
25763
26700
  queryKey: EVENT_SECTION_QUESTIONS_QUERY_KEY(eventId, sectionId)
@@ -36092,6 +37029,10 @@ export {
36092
37029
  AddEventAddOnTier,
36093
37030
  AddEventBenefit,
36094
37031
  AddEventCoHost,
37032
+ AddEventFollowupAddOn,
37033
+ AddEventFollowupPassType,
37034
+ AddEventFollowupQuestion,
37035
+ AddEventFollowupTier,
36095
37036
  AddEventMatchPass,
36096
37037
  AddEventMediaItemPassType,
36097
37038
  AddEventPageImage,
@@ -36235,6 +37176,8 @@ export {
36235
37176
  CreateEventFaqSectionQuestion,
36236
37177
  CreateEventFaqSectionQuestionTranslation,
36237
37178
  CreateEventFaqSectionTranslation,
37179
+ CreateEventFollowup,
37180
+ CreateEventFollowupTranslation,
36238
37181
  CreateEventMatch,
36239
37182
  CreateEventMediaItem,
36240
37183
  CreateEventPackage,
@@ -36377,6 +37320,8 @@ export {
36377
37320
  DeleteEventFaqSectionQuestion,
36378
37321
  DeleteEventFaqSectionQuestionTranslation,
36379
37322
  DeleteEventFaqSectionTranslation,
37323
+ DeleteEventFollowup,
37324
+ DeleteEventFollowupTranslation,
36380
37325
  DeleteEventMatch,
36381
37326
  DeleteEventMediaItem,
36382
37327
  DeleteEventPackage,
@@ -36522,6 +37467,14 @@ export {
36522
37467
  EVENT_FAQ_SECTION_QUESTION_TRANSLATION_QUERY_KEY,
36523
37468
  EVENT_FAQ_SECTION_TRANSLATIONS_QUERY_KEY,
36524
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,
36525
37478
  EVENT_MEDIA_ITEMS_QUERY_KEY,
36526
37479
  EVENT_MEDIA_ITEM_PASS_TYPES_QUERY_KEY,
36527
37480
  EVENT_MEDIA_ITEM_QUERY_KEY,
@@ -36543,6 +37496,7 @@ export {
36543
37496
  EVENT_PASS_ATTENDEE_PASSES_QUERY_KEY,
36544
37497
  EVENT_PASS_MATCHES_QUERY_KEY,
36545
37498
  EVENT_PASS_QUERY_KEY,
37499
+ EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_KEY,
36546
37500
  EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY,
36547
37501
  EVENT_PASS_RESPONSES_QUERY_KEY,
36548
37502
  EVENT_PASS_RESPONSE_CHANGES_QUERY_KEY,
@@ -36846,6 +37800,14 @@ export {
36846
37800
  GetEventFaqSectionTranslation,
36847
37801
  GetEventFaqSectionTranslations,
36848
37802
  GetEventFaqSections,
37803
+ GetEventFollowup,
37804
+ GetEventFollowupAddOns,
37805
+ GetEventFollowupPassTypes,
37806
+ GetEventFollowupQuestions,
37807
+ GetEventFollowupTiers,
37808
+ GetEventFollowupTranslation,
37809
+ GetEventFollowupTranslations,
37810
+ GetEventFollowups,
36849
37811
  GetEventMediaItem,
36850
37812
  GetEventMediaItemPassTypes,
36851
37813
  GetEventMediaItems,
@@ -36866,6 +37828,7 @@ export {
36866
37828
  GetEventPassAddOns,
36867
37829
  GetEventPassAttendeePasses,
36868
37830
  GetEventPassMatches,
37831
+ GetEventPassQuestionFollowups,
36869
37832
  GetEventPassQuestionSections,
36870
37833
  GetEventPassResponse,
36871
37834
  GetEventPassResponseChanges,
@@ -37252,6 +38215,10 @@ export {
37252
38215
  RemoveEventAddOnTier,
37253
38216
  RemoveEventBenefit,
37254
38217
  RemoveEventCoHost,
38218
+ RemoveEventFollowupAddOn,
38219
+ RemoveEventFollowupPassType,
38220
+ RemoveEventFollowupQuestion,
38221
+ RemoveEventFollowupTier,
37255
38222
  RemoveEventMatchPass,
37256
38223
  RemoveEventMediaItemPassType,
37257
38224
  RemoveEventPageImage,
@@ -37292,6 +38259,7 @@ export {
37292
38259
  RemoveSurveySectionQuestion,
37293
38260
  RemoveTierAccounts,
37294
38261
  ReorderEventFaqSectionQuestions,
38262
+ ReorderEventFollowupQuestions,
37295
38263
  ReorderEventQuestionChoiceSubQuestions,
37296
38264
  ReorderEventQuestionChoices,
37297
38265
  ReorderEventSectionQuestions,
@@ -37449,6 +38417,14 @@ export {
37449
38417
  SET_EVENT_FAQ_SECTION_QUESTION_TRANSLATION_QUERY_DATA,
37450
38418
  SET_EVENT_FAQ_SECTION_TRANSLATIONS_QUERY_DATA,
37451
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,
37452
38428
  SET_EVENT_MEDIA_ITEMS_QUERY_DATA,
37453
38429
  SET_EVENT_MEDIA_ITEM_PASS_TYPES_QUERY_DATA,
37454
38430
  SET_EVENT_MEDIA_ITEM_QUERY_DATA,
@@ -37469,6 +38445,7 @@ export {
37469
38445
  SET_EVENT_PASS_ATTENDEE_PASSES_QUERY_DATA,
37470
38446
  SET_EVENT_PASS_MATCHES_QUERY_DATA,
37471
38447
  SET_EVENT_PASS_QUERY_DATA,
38448
+ SET_EVENT_PASS_QUESTION_FOLLOWUPS_QUERY_DATA,
37472
38449
  SET_EVENT_PASS_QUESTION_SECTIONS_QUERY_DATA,
37473
38450
  SET_EVENT_PASS_RESPONSES_QUERY_DATA,
37474
38451
  SET_EVENT_PASS_RESPONSE_CHANGES_QUERY_DATA,
@@ -37876,6 +38853,9 @@ export {
37876
38853
  UpdateEventFaqSectionQuestion,
37877
38854
  UpdateEventFaqSectionQuestionTranslation,
37878
38855
  UpdateEventFaqSectionTranslation,
38856
+ UpdateEventFollowup,
38857
+ UpdateEventFollowupQuestion,
38858
+ UpdateEventFollowupTranslation,
37879
38859
  UpdateEventMatch,
37880
38860
  UpdateEventMediaItem,
37881
38861
  UpdateEventPackage,
@@ -37884,8 +38864,10 @@ export {
37884
38864
  UpdateEventPage,
37885
38865
  UpdateEventPageTranslation,
37886
38866
  UpdateEventPass,
38867
+ UpdateEventPassFollowupResponses,
37887
38868
  UpdateEventPassResponse,
37888
38869
  UpdateEventPassResponses,
38870
+ UpdateEventPassSingleFollowupResponses,
37889
38871
  UpdateEventPassType,
37890
38872
  UpdateEventPassTypePriceSchedule,
37891
38873
  UpdateEventPassTypeRefundSchedule,
@@ -38016,6 +38998,10 @@ export {
38016
38998
  useAddEventAddOnTier,
38017
38999
  useAddEventBenefit,
38018
39000
  useAddEventCoHost,
39001
+ useAddEventFollowupAddOn,
39002
+ useAddEventFollowupPassType,
39003
+ useAddEventFollowupQuestion,
39004
+ useAddEventFollowupTier,
38019
39005
  useAddEventMatchPass,
38020
39006
  useAddEventMediaItemPassType,
38021
39007
  useAddEventPageImage,
@@ -38108,6 +39094,8 @@ export {
38108
39094
  useCreateEventFaqSectionQuestion,
38109
39095
  useCreateEventFaqSectionQuestionTranslation,
38110
39096
  useCreateEventFaqSectionTranslation,
39097
+ useCreateEventFollowup,
39098
+ useCreateEventFollowupTranslation,
38111
39099
  useCreateEventMatch,
38112
39100
  useCreateEventMediaItem,
38113
39101
  useCreateEventPackage,
@@ -38242,6 +39230,8 @@ export {
38242
39230
  useDeleteEventFaqSectionQuestion,
38243
39231
  useDeleteEventFaqSectionQuestionTranslation,
38244
39232
  useDeleteEventFaqSectionTranslation,
39233
+ useDeleteEventFollowup,
39234
+ useDeleteEventFollowupTranslation,
38245
39235
  useDeleteEventMatch,
38246
39236
  useDeleteEventMediaItem,
38247
39237
  useDeleteEventPackage,
@@ -38488,6 +39478,14 @@ export {
38488
39478
  useGetEventFaqSectionTranslation,
38489
39479
  useGetEventFaqSectionTranslations,
38490
39480
  useGetEventFaqSections,
39481
+ useGetEventFollowup,
39482
+ useGetEventFollowupAddOns,
39483
+ useGetEventFollowupPassTypes,
39484
+ useGetEventFollowupQuestions,
39485
+ useGetEventFollowupTiers,
39486
+ useGetEventFollowupTranslation,
39487
+ useGetEventFollowupTranslations,
39488
+ useGetEventFollowups,
38491
39489
  useGetEventMediaItem,
38492
39490
  useGetEventMediaItemPassTypes,
38493
39491
  useGetEventMediaItems,
@@ -38508,6 +39506,7 @@ export {
38508
39506
  useGetEventPassAddOns,
38509
39507
  useGetEventPassAttendeePasses,
38510
39508
  useGetEventPassMatches,
39509
+ useGetEventPassQuestionFollowups,
38511
39510
  useGetEventPassQuestionSections,
38512
39511
  useGetEventPassResponse,
38513
39512
  useGetEventPassResponseChanges,
@@ -38805,6 +39804,10 @@ export {
38805
39804
  useRemoveEventAddOnTier,
38806
39805
  useRemoveEventBenefit,
38807
39806
  useRemoveEventCoHost,
39807
+ useRemoveEventFollowupAddOn,
39808
+ useRemoveEventFollowupPassType,
39809
+ useRemoveEventFollowupQuestion,
39810
+ useRemoveEventFollowupTier,
38808
39811
  useRemoveEventMatchPass,
38809
39812
  useRemoveEventMediaItemPassType,
38810
39813
  useRemoveEventPageImage,
@@ -38845,6 +39848,7 @@ export {
38845
39848
  useRemoveSurveySectionQuestion,
38846
39849
  useRemoveTierAccounts,
38847
39850
  useReorderEventFaqSectionQuestions,
39851
+ useReorderEventFollowupQuestions,
38848
39852
  useReorderEventQuestionChoiceSubQuestions,
38849
39853
  useReorderEventQuestionChoices,
38850
39854
  useReorderEventSectionQuestions,
@@ -38913,6 +39917,9 @@ export {
38913
39917
  useUpdateEventFaqSectionQuestion,
38914
39918
  useUpdateEventFaqSectionQuestionTranslation,
38915
39919
  useUpdateEventFaqSectionTranslation,
39920
+ useUpdateEventFollowup,
39921
+ useUpdateEventFollowupQuestion,
39922
+ useUpdateEventFollowupTranslation,
38916
39923
  useUpdateEventMatch,
38917
39924
  useUpdateEventMediaItem,
38918
39925
  useUpdateEventPackage,
@@ -38921,8 +39928,10 @@ export {
38921
39928
  useUpdateEventPage,
38922
39929
  useUpdateEventPageTranslation,
38923
39930
  useUpdateEventPass,
39931
+ useUpdateEventPassFollowupResponses,
38924
39932
  useUpdateEventPassResponse,
38925
39933
  useUpdateEventPassResponses,
39934
+ useUpdateEventPassSingleFollowupResponses,
38926
39935
  useUpdateEventPassType,
38927
39936
  useUpdateEventPassTypePriceSchedule,
38928
39937
  useUpdateEventPassTypeRefundSchedule,