@connectedxm/admin 1.2.4 → 1.3.1

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
@@ -243,6 +243,7 @@ __export(src_exports, {
243
243
  CreateSubscriptionProductPrice: () => CreateSubscriptionProductPrice,
244
244
  CreateSupportTicket: () => CreateSupportTicket,
245
245
  CreateSupportTicketNote: () => CreateSupportTicketNote,
246
+ CreateTaxIntegration: () => CreateTaxIntegration,
246
247
  CreateThread: () => CreateThread,
247
248
  CreateTier: () => CreateTier,
248
249
  Currency: () => Currency,
@@ -334,6 +335,7 @@ __export(src_exports, {
334
335
  DeleteSubscriptionProductPrice: () => DeleteSubscriptionProductPrice,
335
336
  DeleteSupportTicket: () => DeleteSupportTicket,
336
337
  DeleteSupportTicketNote: () => DeleteSupportTicketNote,
338
+ DeleteTaxIntegration: () => DeleteTaxIntegration,
337
339
  DeleteThread: () => DeleteThread,
338
340
  DeleteTier: () => DeleteTier,
339
341
  DeleteUserImage: () => DeleteUserImage,
@@ -386,10 +388,10 @@ __export(src_exports, {
386
388
  EVENT_PASS_ADD_ONS_QUERY_KEY: () => EVENT_PASS_ADD_ONS_QUERY_KEY,
387
389
  EVENT_PASS_ATTENDEE_PASSES_QUERY_KEY: () => EVENT_PASS_ATTENDEE_PASSES_QUERY_KEY,
388
390
  EVENT_PASS_QUERY_KEY: () => EVENT_PASS_QUERY_KEY,
391
+ EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY: () => EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY,
389
392
  EVENT_PASS_RESPONSES_QUERY_KEY: () => EVENT_PASS_RESPONSES_QUERY_KEY,
390
393
  EVENT_PASS_RESPONSE_CHANGES_QUERY_KEY: () => EVENT_PASS_RESPONSE_CHANGES_QUERY_KEY,
391
394
  EVENT_PASS_RESPONSE_QUERY_KEY: () => EVENT_PASS_RESPONSE_QUERY_KEY,
392
- EVENT_PASS_SECTIONS_QUERY_KEY: () => EVENT_PASS_SECTIONS_QUERY_KEY,
393
395
  EVENT_PASS_TRANSFER_LOGS_QUERY_KEY: () => EVENT_PASS_TRANSFER_LOGS_QUERY_KEY,
394
396
  EVENT_PASS_TYPES_QUERY_KEY: () => EVENT_PASS_TYPES_QUERY_KEY,
395
397
  EVENT_PASS_TYPE_ADD_ONS_QUERY_KEY: () => EVENT_PASS_TYPE_ADD_ONS_QUERY_KEY,
@@ -616,10 +618,10 @@ __export(src_exports, {
616
618
  GetEventPass: () => GetEventPass,
617
619
  GetEventPassAddOns: () => GetEventPassAddOns,
618
620
  GetEventPassAttendeePasses: () => GetEventPassAttendeePasses,
621
+ GetEventPassQuestionSections: () => GetEventPassQuestionSections,
619
622
  GetEventPassResponse: () => GetEventPassResponse,
620
623
  GetEventPassResponseChanges: () => GetEventPassResponseChanges,
621
624
  GetEventPassResponses: () => GetEventPassResponses,
622
- GetEventPassSections: () => GetEventPassSections,
623
625
  GetEventPassTransferLogs: () => GetEventPassTransferLogs,
624
626
  GetEventPassType: () => GetEventPassType,
625
627
  GetEventPassTypeAddOns: () => GetEventPassTypeAddOns,
@@ -796,6 +798,8 @@ __export(src_exports, {
796
798
  GetSubscriptions: () => GetSubscriptions,
797
799
  GetSupportTicket: () => GetSupportTicket,
798
800
  GetSupportTickets: () => GetSupportTickets,
801
+ GetTaxIntegration: () => GetTaxIntegration,
802
+ GetTaxIntegrations: () => GetTaxIntegrations,
799
803
  GetThread: () => GetThread,
800
804
  GetThreadMember: () => GetThreadMember,
801
805
  GetThreadMembers: () => GetThreadMembers,
@@ -1063,10 +1067,10 @@ __export(src_exports, {
1063
1067
  SET_EVENT_PASS_ADD_ONS_QUERY_DATA: () => SET_EVENT_PASS_ADD_ONS_QUERY_DATA,
1064
1068
  SET_EVENT_PASS_ATTENDEE_PASSES_QUERY_DATA: () => SET_EVENT_PASS_ATTENDEE_PASSES_QUERY_DATA,
1065
1069
  SET_EVENT_PASS_QUERY_DATA: () => SET_EVENT_PASS_QUERY_DATA,
1070
+ SET_EVENT_PASS_QUESTION_SECTIONS_QUERY_DATA: () => SET_EVENT_PASS_QUESTION_SECTIONS_QUERY_DATA,
1066
1071
  SET_EVENT_PASS_RESPONSES_QUERY_DATA: () => SET_EVENT_PASS_RESPONSES_QUERY_DATA,
1067
1072
  SET_EVENT_PASS_RESPONSE_CHANGES_QUERY_DATA: () => SET_EVENT_PASS_RESPONSE_CHANGES_QUERY_DATA,
1068
1073
  SET_EVENT_PASS_RESPONSE_QUERY_DATA: () => SET_EVENT_PASS_RESPONSE_QUERY_DATA,
1069
- SET_EVENT_PASS_SECTIONS_QUERY_DATA: () => SET_EVENT_PASS_SECTIONS_QUERY_DATA,
1070
1074
  SET_EVENT_PASS_TRANSFER_LOGS_QUERY_DATA: () => SET_EVENT_PASS_TRANSFER_LOGS_QUERY_DATA,
1071
1075
  SET_EVENT_PASS_TYPES_QUERY_DATA: () => SET_EVENT_PASS_TYPES_QUERY_DATA,
1072
1076
  SET_EVENT_PASS_TYPE_ADD_ONS_QUERY_DATA: () => SET_EVENT_PASS_TYPE_ADD_ONS_QUERY_DATA,
@@ -1241,6 +1245,8 @@ __export(src_exports, {
1241
1245
  SET_SUBSCRIPTION_QUERY_DATA: () => SET_SUBSCRIPTION_QUERY_DATA,
1242
1246
  SET_SUPPORT_TICKETS_QUERY_DATA: () => SET_SUPPORT_TICKETS_QUERY_DATA,
1243
1247
  SET_SUPPORT_TICKET_QUERY_DATA: () => SET_SUPPORT_TICKET_QUERY_DATA,
1248
+ SET_TAX_INTEGRATIONS_QUERY_DATA: () => SET_TAX_INTEGRATIONS_QUERY_DATA,
1249
+ SET_TAX_INTEGRATION_QUERY_DATA: () => SET_TAX_INTEGRATION_QUERY_DATA,
1244
1250
  SET_THREADS_QUERY_DATA: () => SET_THREADS_QUERY_DATA,
1245
1251
  SET_THREAD_MESSAGES_QUERY_DATA: () => SET_THREAD_MESSAGES_QUERY_DATA,
1246
1252
  SET_THREAD_MESSAGE_QUERY_DATA: () => SET_THREAD_MESSAGE_QUERY_DATA,
@@ -1279,6 +1285,8 @@ __export(src_exports, {
1279
1285
  SupportTicketState: () => SupportTicketState,
1280
1286
  SupportTicketType: () => SupportTicketType,
1281
1287
  SwitchImage: () => SwitchImage,
1288
+ TAX_INTEGRATIONS_QUERY_KEY: () => TAX_INTEGRATIONS_QUERY_KEY,
1289
+ TAX_INTEGRATION_QUERY_KEY: () => TAX_INTEGRATION_QUERY_KEY,
1282
1290
  THREADS_QUERY_KEY: () => THREADS_QUERY_KEY,
1283
1291
  THREAD_MEMBERS_QUERY_KEY: () => THREAD_MEMBERS_QUERY_KEY,
1284
1292
  THREAD_MEMBER_QUERY_KEY: () => THREAD_MEMBER_QUERY_KEY,
@@ -1294,11 +1302,13 @@ __export(src_exports, {
1294
1302
  TIER_IMPORT_QUERY_KEY: () => TIER_IMPORT_QUERY_KEY,
1295
1303
  TIER_QUERY_KEY: () => TIER_QUERY_KEY,
1296
1304
  TIER_SUBSCRIBERS_QUERY_KEY: () => TIER_SUBSCRIBERS_QUERY_KEY,
1305
+ TaxIntegrationType: () => TaxIntegrationType,
1297
1306
  ThreadAccessLevel: () => ThreadAccessLevel,
1298
1307
  ThreadInvitationStatus: () => ThreadInvitationStatus,
1299
1308
  ThreadMemberRole: () => ThreadMemberRole,
1300
1309
  ThreadMessageType: () => ThreadMessageType,
1301
1310
  ToggleOrganizationPaymentIntegration: () => ToggleOrganizationPaymentIntegration,
1311
+ ToggleTaxIntegration: () => ToggleTaxIntegration,
1302
1312
  TransferEventPass: () => TransferEventPass,
1303
1313
  TransformPrice: () => TransformPrice,
1304
1314
  UNAPPROVED_EVENTS_QUERY_KEY: () => UNAPPROVED_EVENTS_QUERY_KEY,
@@ -1552,6 +1562,7 @@ __export(src_exports, {
1552
1562
  useCreateSubscriptionProductPrice: () => useCreateSubscriptionProductPrice,
1553
1563
  useCreateSupportTicket: () => useCreateSupportTicket,
1554
1564
  useCreateSupportTicketNote: () => useCreateSupportTicketNote,
1565
+ useCreateTaxIntegration: () => useCreateTaxIntegration,
1555
1566
  useCreateThread: () => useCreateThread,
1556
1567
  useCreateTier: () => useCreateTier,
1557
1568
  useDeleteAccount: () => useDeleteAccount,
@@ -1640,6 +1651,7 @@ __export(src_exports, {
1640
1651
  useDeleteSubscriptionProductPrice: () => useDeleteSubscriptionProductPrice,
1641
1652
  useDeleteSupportTicket: () => useDeleteSupportTicket,
1642
1653
  useDeleteSupportTicketNote: () => useDeleteSupportTicketNote,
1654
+ useDeleteTaxIntegration: () => useDeleteTaxIntegration,
1643
1655
  useDeleteThread: () => useDeleteThread,
1644
1656
  useDeleteTier: () => useDeleteTier,
1645
1657
  useDeleteUserImage: () => useDeleteUserImage,
@@ -1759,10 +1771,10 @@ __export(src_exports, {
1759
1771
  useGetEventPass: () => useGetEventPass,
1760
1772
  useGetEventPassAddOns: () => useGetEventPassAddOns,
1761
1773
  useGetEventPassAttendeePasses: () => useGetEventPassAttendeePasses,
1774
+ useGetEventPassQuestionSections: () => useGetEventPassQuestionSections,
1762
1775
  useGetEventPassResponse: () => useGetEventPassResponse,
1763
1776
  useGetEventPassResponseChanges: () => useGetEventPassResponseChanges,
1764
1777
  useGetEventPassResponses: () => useGetEventPassResponses,
1765
- useGetEventPassSections: () => useGetEventPassSections,
1766
1778
  useGetEventPassTransferLogs: () => useGetEventPassTransferLogs,
1767
1779
  useGetEventPassType: () => useGetEventPassType,
1768
1780
  useGetEventPassTypeAddOns: () => useGetEventPassTypeAddOns,
@@ -1938,6 +1950,8 @@ __export(src_exports, {
1938
1950
  useGetSubscriptions: () => useGetSubscriptions,
1939
1951
  useGetSupportTicket: () => useGetSupportTicket,
1940
1952
  useGetSupportTickets: () => useGetSupportTickets,
1953
+ useGetTaxIntegration: () => useGetTaxIntegration,
1954
+ useGetTaxIntegrations: () => useGetTaxIntegrations,
1941
1955
  useGetThread: () => useGetThread,
1942
1956
  useGetThreadMember: () => useGetThreadMember,
1943
1957
  useGetThreadMembers: () => useGetThreadMembers,
@@ -2020,6 +2034,7 @@ __export(src_exports, {
2020
2034
  useSelfLeaveOrganization: () => useSelfLeaveOrganization,
2021
2035
  useSwitchImage: () => useSwitchImage,
2022
2036
  useToggleOrganizationPaymentIntegration: () => useToggleOrganizationPaymentIntegration,
2037
+ useToggleTaxIntegration: () => useToggleTaxIntegration,
2023
2038
  useTransferEventPass: () => useTransferEventPass,
2024
2039
  useUpdateAccount: () => useUpdateAccount,
2025
2040
  useUpdateAccountAddress: () => useUpdateAccountAddress,
@@ -5676,36 +5691,36 @@ var useGetEventAttendees = (eventId, status, params = {}, options = {}) => {
5676
5691
  };
5677
5692
 
5678
5693
  // src/queries/events/attendees/useGetEventAttendee.ts
5679
- var EVENT_ATTENDEE_QUERY_KEY = (eventId, attendeeId) => [...EVENT_ATTENDEES_QUERY_KEY(eventId), attendeeId];
5694
+ var EVENT_ATTENDEE_QUERY_KEY = (eventId, accountId) => [...EVENT_ATTENDEES_QUERY_KEY(eventId), accountId];
5680
5695
  var SET_EVENT_ATTENDEE_QUERY_DATA = (client, keyParams, response) => {
5681
5696
  client.setQueryData(EVENT_ATTENDEE_QUERY_KEY(...keyParams), response);
5682
5697
  };
5683
5698
  var GetEventAttendee = async ({
5684
5699
  eventId,
5685
- attendeeId,
5700
+ accountId,
5686
5701
  adminApiParams
5687
5702
  }) => {
5688
5703
  const adminApi = await GetAdminAPI(adminApiParams);
5689
5704
  const { data } = await adminApi.get(
5690
- `/events/${eventId}/attendees/${attendeeId}`
5705
+ `/events/${eventId}/attendees/${accountId}`
5691
5706
  );
5692
5707
  return data;
5693
5708
  };
5694
- var useGetEventAttendee = (eventId, attendeeId = "", options = {}) => {
5709
+ var useGetEventAttendee = (eventId, accountId = "", options = {}) => {
5695
5710
  return useConnectedSingleQuery(
5696
- EVENT_ATTENDEE_QUERY_KEY(eventId, attendeeId),
5697
- (params) => GetEventAttendee({ eventId, attendeeId, ...params }),
5711
+ EVENT_ATTENDEE_QUERY_KEY(eventId, accountId),
5712
+ (params) => GetEventAttendee({ eventId, accountId, ...params }),
5698
5713
  {
5699
5714
  ...options,
5700
- enabled: !!eventId && !!attendeeId && (options?.enabled ?? true)
5715
+ enabled: !!eventId && !!accountId && (options?.enabled ?? true)
5701
5716
  },
5702
5717
  "events"
5703
5718
  );
5704
5719
  };
5705
5720
 
5706
5721
  // src/queries/events/attendees/useGetEventAttendeeCoupons.ts
5707
- var EVENT_ATTENDEE_COUPONS_QUERY_KEY = (eventId, attendeeId, prePaid) => {
5708
- const key = [...EVENT_ATTENDEE_QUERY_KEY(eventId, attendeeId), "COUPONS"];
5722
+ var EVENT_ATTENDEE_COUPONS_QUERY_KEY = (eventId, accountId, prePaid) => {
5723
+ const key = [...EVENT_ATTENDEE_QUERY_KEY(eventId, accountId), "COUPONS"];
5709
5724
  if (typeof prePaid === "boolean") {
5710
5725
  key.push(prePaid.toString());
5711
5726
  }
@@ -5716,7 +5731,7 @@ var SET_EVENT_REGISTRATION_COUPONS_QUERY_DATA = (client, keyParams, response) =>
5716
5731
  };
5717
5732
  var GetEventAttendeeCoupons = async ({
5718
5733
  eventId,
5719
- attendeeId,
5734
+ accountId,
5720
5735
  prePaid,
5721
5736
  pageParam,
5722
5737
  pageSize,
@@ -5726,7 +5741,7 @@ var GetEventAttendeeCoupons = async ({
5726
5741
  }) => {
5727
5742
  const adminApi = await GetAdminAPI(adminApiParams);
5728
5743
  const { data } = await adminApi.get(
5729
- `/events/${eventId}/attendees/${attendeeId}/coupons`,
5744
+ `/events/${eventId}/attendees/${accountId}/coupons`,
5730
5745
  {
5731
5746
  params: {
5732
5747
  paid: typeof prePaid === "boolean" ? prePaid : void 0,
@@ -5739,27 +5754,27 @@ var GetEventAttendeeCoupons = async ({
5739
5754
  );
5740
5755
  return data;
5741
5756
  };
5742
- var useGetEventAttendeeCoupons = (eventId = "", attendeeId = "", prePaid, params = {}, options = {}) => {
5757
+ var useGetEventAttendeeCoupons = (eventId = "", accountId = "", prePaid, params = {}, options = {}) => {
5743
5758
  return useConnectedInfiniteQuery(
5744
- EVENT_ATTENDEE_COUPONS_QUERY_KEY(eventId, attendeeId, prePaid),
5759
+ EVENT_ATTENDEE_COUPONS_QUERY_KEY(eventId, accountId, prePaid),
5745
5760
  (params2) => GetEventAttendeeCoupons({
5746
5761
  ...params2,
5747
5762
  eventId,
5748
- attendeeId,
5763
+ accountId,
5749
5764
  prePaid
5750
5765
  }),
5751
5766
  params,
5752
5767
  {
5753
5768
  ...options,
5754
- enabled: !!eventId && !!attendeeId && (options.enabled ?? true)
5769
+ enabled: !!eventId && !!accountId && (options.enabled ?? true)
5755
5770
  },
5756
5771
  "events"
5757
5772
  );
5758
5773
  };
5759
5774
 
5760
5775
  // src/queries/events/attendees/useGetEventAttendeePasses.ts
5761
- var EVENT_ATTENDEE_PASSES_QUERY_KEY = (eventId, attendeeId, status) => {
5762
- const key = [...EVENT_ATTENDEE_QUERY_KEY(eventId, attendeeId), "PASSES"];
5776
+ var EVENT_ATTENDEE_PASSES_QUERY_KEY = (eventId, accountId, status) => {
5777
+ const key = [...EVENT_ATTENDEE_QUERY_KEY(eventId, accountId), "PASSES"];
5763
5778
  if (status) {
5764
5779
  key.push(status);
5765
5780
  }
@@ -5770,7 +5785,7 @@ var SET_EVENT_ATTENDEE_PASSES_QUERY_DATA = (client, keyParams, response) => {
5770
5785
  };
5771
5786
  var GetEventAttendeePasses = async ({
5772
5787
  eventId,
5773
- attendeeId,
5788
+ accountId,
5774
5789
  status,
5775
5790
  pageParam,
5776
5791
  pageSize,
@@ -5780,7 +5795,7 @@ var GetEventAttendeePasses = async ({
5780
5795
  }) => {
5781
5796
  const adminApi = await GetAdminAPI(adminApiParams);
5782
5797
  const { data } = await adminApi.get(
5783
- `/events/${eventId}/attendees/${attendeeId}/passes`,
5798
+ `/events/${eventId}/attendees/${accountId}/passes`,
5784
5799
  {
5785
5800
  params: {
5786
5801
  status: status || void 0,
@@ -5793,26 +5808,26 @@ var GetEventAttendeePasses = async ({
5793
5808
  );
5794
5809
  return data;
5795
5810
  };
5796
- var useGetEventAttendeePasses = (eventId = "", attendeeId = "", status, params = {}, options = {}) => {
5811
+ var useGetEventAttendeePasses = (eventId = "", accountId = "", status, params = {}, options = {}) => {
5797
5812
  return useConnectedInfiniteQuery(
5798
- EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, attendeeId, status),
5813
+ EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, accountId, status),
5799
5814
  (params2) => GetEventAttendeePasses({
5800
5815
  ...params2,
5801
5816
  eventId,
5802
- attendeeId,
5817
+ accountId,
5803
5818
  status
5804
5819
  }),
5805
5820
  params,
5806
5821
  {
5807
5822
  ...options,
5808
- enabled: !!eventId && !!attendeeId && (options.enabled ?? true)
5823
+ enabled: !!eventId && !!accountId && (options.enabled ?? true)
5809
5824
  },
5810
5825
  "events"
5811
5826
  );
5812
5827
  };
5813
5828
 
5814
5829
  // src/queries/events/attendees/useGetEventAttendeePayments.ts
5815
- var EVENT_ATTENDEE_PAYMENTS_QUERY_KEY = (eventId, attendeeId) => [...EVENT_ATTENDEE_QUERY_KEY(eventId, attendeeId), "PAYMENTS"];
5830
+ var EVENT_ATTENDEE_PAYMENTS_QUERY_KEY = (eventId, accountId) => [...EVENT_ATTENDEE_QUERY_KEY(eventId, accountId), "PAYMENTS"];
5816
5831
  var SET_EVENT_ATTENDEE_PAYMENTS_QUERY_DATA = (client, keyParams, response) => {
5817
5832
  client.setQueryData(
5818
5833
  EVENT_ATTENDEE_PAYMENTS_QUERY_KEY(...keyParams),
@@ -5821,7 +5836,7 @@ var SET_EVENT_ATTENDEE_PAYMENTS_QUERY_DATA = (client, keyParams, response) => {
5821
5836
  };
5822
5837
  var GetEventAttendeePayments = async ({
5823
5838
  eventId,
5824
- attendeeId,
5839
+ accountId,
5825
5840
  pageParam,
5826
5841
  pageSize,
5827
5842
  orderBy,
@@ -5830,7 +5845,7 @@ var GetEventAttendeePayments = async ({
5830
5845
  }) => {
5831
5846
  const adminApi = await GetAdminAPI(adminApiParams);
5832
5847
  const { data } = await adminApi.get(
5833
- `/events/${eventId}/attendees/${attendeeId}/payments`,
5848
+ `/events/${eventId}/attendees/${accountId}/payments`,
5834
5849
  {
5835
5850
  params: {
5836
5851
  page: pageParam || void 0,
@@ -5842,25 +5857,25 @@ var GetEventAttendeePayments = async ({
5842
5857
  );
5843
5858
  return data;
5844
5859
  };
5845
- var useGetEventAttendeePayments = (eventId = "", attendeeId = "", params = {}, options = {}) => {
5860
+ var useGetEventAttendeePayments = (eventId = "", accountId = "", params = {}, options = {}) => {
5846
5861
  return useConnectedInfiniteQuery(
5847
- EVENT_ATTENDEE_PAYMENTS_QUERY_KEY(eventId, attendeeId),
5848
- (params2) => GetEventAttendeePayments({ ...params2, eventId, attendeeId }),
5862
+ EVENT_ATTENDEE_PAYMENTS_QUERY_KEY(eventId, accountId),
5863
+ (params2) => GetEventAttendeePayments({ ...params2, eventId, accountId }),
5849
5864
  params,
5850
5865
  {
5851
5866
  ...options,
5852
- enabled: !!eventId && !!attendeeId && (options.enabled ?? true)
5867
+ enabled: !!eventId && !!accountId && (options.enabled ?? true)
5853
5868
  },
5854
5869
  "events"
5855
5870
  );
5856
5871
  };
5857
5872
 
5858
5873
  // src/queries/events/attendees/useGetEventAttendeeTransfersLogs.ts
5859
- var EVENT_ATTENDEE_TRANSFER_LOGS_QUERY_KEY = (eventId, attendeeId) => {
5874
+ var EVENT_ATTENDEE_TRANSFER_LOGS_QUERY_KEY = (eventId, accountId) => {
5860
5875
  const keys = [
5861
5876
  ...EVENT_QUERY_KEY(eventId),
5862
5877
  "ATTENDEE_TRANSFER_LOGS",
5863
- attendeeId
5878
+ accountId
5864
5879
  ];
5865
5880
  return keys;
5866
5881
  };
@@ -5872,7 +5887,7 @@ var SET_EVENT_ATTENDEE_TRANSFER_LOGS_QUERY_DATA = (client, keyParams, response)
5872
5887
  };
5873
5888
  var GetEventAttendeeTransfersLogs = async ({
5874
5889
  eventId,
5875
- attendeeId,
5890
+ accountId,
5876
5891
  pageParam,
5877
5892
  pageSize,
5878
5893
  orderBy,
@@ -5881,7 +5896,7 @@ var GetEventAttendeeTransfersLogs = async ({
5881
5896
  }) => {
5882
5897
  const adminApi = await GetAdminAPI(adminApiParams);
5883
5898
  const { data } = await adminApi.get(
5884
- `/events/${eventId}/attendees/${attendeeId}/transfers/logs`,
5899
+ `/events/${eventId}/attendees/${accountId}/transfers/logs`,
5885
5900
  {
5886
5901
  params: {
5887
5902
  page: pageParam || void 0,
@@ -5893,18 +5908,18 @@ var GetEventAttendeeTransfersLogs = async ({
5893
5908
  );
5894
5909
  return data;
5895
5910
  };
5896
- var useGetEventAttendeeTransfersLogs = (eventId, attendeeId, params = {}, options = {}) => {
5911
+ var useGetEventAttendeeTransfersLogs = (eventId, accountId, params = {}, options = {}) => {
5897
5912
  return useConnectedInfiniteQuery(
5898
- EVENT_ATTENDEE_TRANSFER_LOGS_QUERY_KEY(eventId, attendeeId),
5913
+ EVENT_ATTENDEE_TRANSFER_LOGS_QUERY_KEY(eventId, accountId),
5899
5914
  (params2) => GetEventAttendeeTransfersLogs({
5900
5915
  ...params2,
5901
5916
  eventId,
5902
- attendeeId
5917
+ accountId
5903
5918
  }),
5904
5919
  params,
5905
5920
  {
5906
5921
  ...options,
5907
- enabled: !!eventId && !!attendeeId && (options.enabled ?? true)
5922
+ enabled: !!eventId && !!accountId && (options.enabled ?? true)
5908
5923
  },
5909
5924
  "events"
5910
5925
  );
@@ -6034,6 +6049,42 @@ var useGetEventPassAddOns = (eventId = "", passId = "", params = {}, options = {
6034
6049
  );
6035
6050
  };
6036
6051
 
6052
+ // src/queries/events/passes/useGetEventPassQuestionSections.ts
6053
+ var EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY = (eventId, passId) => [...EVENT_PASS_QUERY_KEY(eventId, passId), "SECTIONS"];
6054
+ var SET_EVENT_PASS_QUESTION_SECTIONS_QUERY_DATA = (client, keyParams, response) => {
6055
+ client.setQueryData(
6056
+ EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY(...keyParams),
6057
+ response
6058
+ );
6059
+ };
6060
+ var GetEventPassQuestionSections = async ({
6061
+ eventId,
6062
+ accountId,
6063
+ passId,
6064
+ adminApiParams
6065
+ }) => {
6066
+ const connectedXM = await GetAdminAPI(adminApiParams);
6067
+ const { data } = await connectedXM.get(`/events/${eventId}/attendees/${accountId}/passes/${passId}/questions`);
6068
+ return data;
6069
+ };
6070
+ var useGetEventPassQuestionSections = (eventId = "", accountId = "", passId = "", params = {}, options = {}) => {
6071
+ return useConnectedInfiniteQuery(
6072
+ EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY(eventId, passId),
6073
+ (params2) => GetEventPassQuestionSections({
6074
+ ...params2,
6075
+ eventId,
6076
+ accountId,
6077
+ passId
6078
+ }),
6079
+ params,
6080
+ {
6081
+ ...options,
6082
+ enabled: !!eventId && !!accountId && !!passId
6083
+ },
6084
+ "events"
6085
+ );
6086
+ };
6087
+
6037
6088
  // src/queries/events/passes/useGetEventPassResponses.ts
6038
6089
  var EVENT_PASS_RESPONSES_QUERY_KEY = (eventId, passId) => [...EVENT_PASS_QUERY_KEY(eventId, passId), "RESPONSES"];
6039
6090
  var SET_EVENT_PASS_RESPONSES_QUERY_DATA = (client, keyParams, response) => {
@@ -6163,37 +6214,6 @@ var useGetEventPassResponseChanges = (eventId = "", passId = "", questionId = ""
6163
6214
  );
6164
6215
  };
6165
6216
 
6166
- // src/queries/events/passes/useGetEventPassSections.ts
6167
- var EVENT_PASS_SECTIONS_QUERY_KEY = (eventId, passId) => [...EVENT_PASS_QUERY_KEY(eventId, passId), "SECTIONS"];
6168
- var SET_EVENT_PASS_SECTIONS_QUERY_DATA = (client, keyParams, response) => {
6169
- client.setQueryData(EVENT_PASS_SECTIONS_QUERY_KEY(...keyParams), response);
6170
- };
6171
- var GetEventPassSections = async ({
6172
- eventId,
6173
- passId,
6174
- adminApiParams
6175
- }) => {
6176
- const connectedXM = await GetAdminAPI(adminApiParams);
6177
- const { data } = await connectedXM.get(`/events/${eventId}/passes/${passId}/sections`);
6178
- return data;
6179
- };
6180
- var useGetEventPassSections = (eventId = "", passId = "", params = {}, options = {}) => {
6181
- return useConnectedInfiniteQuery(
6182
- EVENT_PASS_SECTIONS_QUERY_KEY(eventId, passId),
6183
- (params2) => GetEventPassSections({
6184
- ...params2,
6185
- eventId,
6186
- passId
6187
- }),
6188
- params,
6189
- {
6190
- ...options,
6191
- enabled: !!eventId && !!passId
6192
- },
6193
- "events"
6194
- );
6195
- };
6196
-
6197
6217
  // src/queries/events/passes/useGetEventPassTransferLogs.ts
6198
6218
  var EVENT_PASS_TRANSFER_LOGS_QUERY_KEY = (eventId, passId) => [...EVENT_PASS_QUERY_KEY(eventId, passId), "TRANSFER_LOGS"];
6199
6219
  var SET_EVENT_PASS_TRANSFER_LOGS_QUERY_DATA = (client, keyParams, response) => {
@@ -11430,6 +11450,13 @@ var PaymentType = /* @__PURE__ */ ((PaymentType2) => {
11430
11450
  PaymentType2["refund"] = "refund";
11431
11451
  return PaymentType2;
11432
11452
  })(PaymentType || {});
11453
+ var TaxIntegrationType = /* @__PURE__ */ ((TaxIntegrationType2) => {
11454
+ TaxIntegrationType2["stripe"] = "stripe";
11455
+ TaxIntegrationType2["taxjar"] = "taxjar";
11456
+ TaxIntegrationType2["vertex"] = "vertex";
11457
+ TaxIntegrationType2["avalara"] = "avalara";
11458
+ return TaxIntegrationType2;
11459
+ })(TaxIntegrationType || {});
11433
11460
  var SubscriptionProductPriceType = /* @__PURE__ */ ((SubscriptionProductPriceType2) => {
11434
11461
  SubscriptionProductPriceType2["flat"] = "flat";
11435
11462
  SubscriptionProductPriceType2["payWhatYouWant"] = "payWhatYouWant";
@@ -13003,6 +13030,72 @@ var useGetPayment = (paymentId = "", options = {}) => {
13003
13030
  );
13004
13031
  };
13005
13032
 
13033
+ // src/queries/organization/tax/useGetTaxIntegrations.ts
13034
+ var TAX_INTEGRATIONS_QUERY_KEY = () => ["TAX_INTEGRATIONS"];
13035
+ var SET_TAX_INTEGRATIONS_QUERY_DATA = (client, keyParams, response) => {
13036
+ client.setQueryData(TAX_INTEGRATIONS_QUERY_KEY(...keyParams), response);
13037
+ };
13038
+ var GetTaxIntegrations = async ({
13039
+ pageParam,
13040
+ pageSize,
13041
+ orderBy,
13042
+ search,
13043
+ adminApiParams
13044
+ }) => {
13045
+ const adminApi = await GetAdminAPI(adminApiParams);
13046
+ const { data } = await adminApi.get(`/organization/tax`, {
13047
+ params: {
13048
+ page: pageParam || void 0,
13049
+ pageSize: pageSize || void 0,
13050
+ orderBy: orderBy || void 0,
13051
+ search: search || void 0
13052
+ }
13053
+ });
13054
+ return data;
13055
+ };
13056
+ var useGetTaxIntegrations = (params = {}, options = {}) => {
13057
+ return useConnectedInfiniteQuery(
13058
+ TAX_INTEGRATIONS_QUERY_KEY(),
13059
+ (params2) => GetTaxIntegrations(params2),
13060
+ params,
13061
+ options,
13062
+ "org"
13063
+ );
13064
+ };
13065
+
13066
+ // src/queries/organization/tax/useGetTaxIntegration.ts
13067
+ var TAX_INTEGRATION_QUERY_KEY = (type) => [
13068
+ ...TAX_INTEGRATIONS_QUERY_KEY(),
13069
+ type
13070
+ ];
13071
+ var SET_TAX_INTEGRATION_QUERY_DATA = (client, keyParams, response) => {
13072
+ client.setQueryData(TAX_INTEGRATION_QUERY_KEY(...keyParams), response);
13073
+ };
13074
+ var GetTaxIntegration = async ({
13075
+ type,
13076
+ adminApiParams
13077
+ }) => {
13078
+ const adminApi = await GetAdminAPI(adminApiParams);
13079
+ const { data } = await adminApi.get(
13080
+ `/organization/tax/${type}`
13081
+ );
13082
+ return data;
13083
+ };
13084
+ var useGetTaxIntegration = (type = "", options = {}) => {
13085
+ return useConnectedSingleQuery(
13086
+ TAX_INTEGRATION_QUERY_KEY(type),
13087
+ (params) => GetTaxIntegration({
13088
+ type,
13089
+ ...params
13090
+ }),
13091
+ {
13092
+ ...options,
13093
+ enabled: !!type && (options.enabled ?? true)
13094
+ },
13095
+ "org"
13096
+ );
13097
+ };
13098
+
13006
13099
  // src/queries/organization/triggers/useGetOrganizationTrigger.ts
13007
13100
  var ORGANIZATION_TRIGGER_QUERY_KEY = (type) => ["TRIGGER", type];
13008
13101
  var SET_ORGANIZATION_TRIGGER_QUERY_DATA = (client, keyParams, response) => {
@@ -17682,17 +17775,17 @@ var useUpdateEventAddOn = (options = {}) => {
17682
17775
  // src/mutations/event/attendees/useCheckinAllAttendeePasses.ts
17683
17776
  var CheckinAllAttendeePasses = async ({
17684
17777
  eventId,
17685
- attendeeId,
17778
+ accountId,
17686
17779
  adminApiParams,
17687
17780
  queryClient
17688
17781
  }) => {
17689
17782
  const connectedXM = await GetAdminAPI(adminApiParams);
17690
17783
  const { data } = await connectedXM.put(
17691
- `/events/${eventId}/attendees/${attendeeId}/passes/checkin/all`
17784
+ `/events/${eventId}/attendees/${accountId}/passes/checkin/all`
17692
17785
  );
17693
17786
  if (queryClient && data.status === "ok") {
17694
17787
  queryClient.invalidateQueries({
17695
- queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, attendeeId)
17788
+ queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, accountId)
17696
17789
  });
17697
17790
  queryClient.invalidateQueries({
17698
17791
  queryKey: EVENT_PASSES_QUERY_KEY(eventId)
@@ -17725,7 +17818,7 @@ var CreateEventAttendee = async ({
17725
17818
  queryClient.invalidateQueries({
17726
17819
  queryKey: EVENT_ATTENDEES_QUERY_KEY(eventId)
17727
17820
  });
17728
- SET_EVENT_ATTENDEE_QUERY_DATA(queryClient, [eventId, data.data.id], data);
17821
+ SET_EVENT_ATTENDEE_QUERY_DATA(queryClient, [eventId, accountId], data);
17729
17822
  }
17730
17823
  return data;
17731
17824
  };
@@ -17739,20 +17832,20 @@ var useCreateEventAttendee = (options = {}) => {
17739
17832
  // src/mutations/event/attendees/useDeleteEventAttendee.ts
17740
17833
  var DeleteEventAttendee = async ({
17741
17834
  eventId,
17742
- attendeeId,
17835
+ accountId,
17743
17836
  adminApiParams,
17744
17837
  queryClient
17745
17838
  }) => {
17746
17839
  const connectedXM = await GetAdminAPI(adminApiParams);
17747
17840
  const { data } = await connectedXM.delete(
17748
- `/events/${eventId}/attendees/${attendeeId}`
17841
+ `/events/${eventId}/attendees/${accountId}`
17749
17842
  );
17750
17843
  if (queryClient && data.status === "ok") {
17751
17844
  queryClient.invalidateQueries({
17752
17845
  queryKey: EVENT_ATTENDEES_QUERY_KEY(eventId)
17753
17846
  });
17754
17847
  queryClient.removeQueries({
17755
- queryKey: EVENT_ATTENDEE_QUERY_KEY(eventId, attendeeId)
17848
+ queryKey: EVENT_ATTENDEE_QUERY_KEY(eventId, accountId)
17756
17849
  });
17757
17850
  }
17758
17851
  return data;
@@ -17767,13 +17860,13 @@ var useDeleteEventAttendee = (options = {}) => {
17767
17860
  // src/mutations/event/attendees/useResendRegistrationConfirmationEmail.ts
17768
17861
  var ResendRegistrationConfirmationEmail = async ({
17769
17862
  eventId,
17770
- attendeeId,
17863
+ accountId,
17771
17864
  adminApiParams,
17772
17865
  queryClient
17773
17866
  }) => {
17774
17867
  const connectedXM = await GetAdminAPI(adminApiParams);
17775
17868
  const { data } = await connectedXM.post(
17776
- `/events/${eventId}/attendees/${attendeeId}/resendEmail`
17869
+ `/events/${eventId}/attendees/${accountId}/resendEmail`
17777
17870
  );
17778
17871
  if (queryClient && data.status === "ok") {
17779
17872
  }
@@ -17789,18 +17882,18 @@ var useResendRegistrationConfirmationEmail = (options = {}) => {
17789
17882
  // src/mutations/event/attendees/useUpdateEventAttendee.ts
17790
17883
  var UpdateEventAttendee = async ({
17791
17884
  eventId,
17792
- attendeeId,
17885
+ accountId,
17793
17886
  registration,
17794
17887
  adminApiParams,
17795
17888
  queryClient
17796
17889
  }) => {
17797
17890
  const connectedXM = await GetAdminAPI(adminApiParams);
17798
17891
  const { data } = await connectedXM.put(
17799
- `/events/${eventId}/attendees/${attendeeId}`,
17892
+ `/events/${eventId}/attendees/${accountId}`,
17800
17893
  registration
17801
17894
  );
17802
17895
  if (queryClient && data.status === "ok") {
17803
- SET_EVENT_ATTENDEE_QUERY_DATA(queryClient, [eventId, attendeeId], data);
17896
+ SET_EVENT_ATTENDEE_QUERY_DATA(queryClient, [eventId, accountId], data);
17804
17897
  queryClient.invalidateQueries({
17805
17898
  queryKey: EVENT_ATTENDEES_QUERY_KEY(eventId)
17806
17899
  });
@@ -19527,12 +19620,15 @@ var CancelEventPass = async ({
19527
19620
  }
19528
19621
  if (data.data.registrationId) {
19529
19622
  queryClient.invalidateQueries({
19530
- queryKey: EVENT_ATTENDEE_QUERY_KEY(eventId, data.data.registrationId)
19623
+ queryKey: EVENT_ATTENDEE_QUERY_KEY(
19624
+ eventId,
19625
+ data.data.registration.accountId
19626
+ )
19531
19627
  });
19532
19628
  queryClient.invalidateQueries({
19533
19629
  queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(
19534
19630
  eventId,
19535
- data.data.registrationId
19631
+ data.data.registration.accountId
19536
19632
  )
19537
19633
  });
19538
19634
  }
@@ -19553,22 +19649,22 @@ var useCancelEventPass = (options = {}) => {
19553
19649
  // src/mutations/event/passes/useCreateEventPass.ts
19554
19650
  var CreateEventPass = async ({
19555
19651
  eventId,
19556
- attendeeId,
19652
+ accountId,
19557
19653
  pass,
19558
19654
  adminApiParams,
19559
19655
  queryClient
19560
19656
  }) => {
19561
19657
  const connectedXM = await GetAdminAPI(adminApiParams);
19562
19658
  const { data } = await connectedXM.post(
19563
- `/events/${eventId}/attendees/${attendeeId}/passes`,
19659
+ `/events/${eventId}/attendees/${accountId}/passes`,
19564
19660
  pass
19565
19661
  );
19566
19662
  if (queryClient && data.status === "ok") {
19567
19663
  queryClient.invalidateQueries({
19568
- queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, attendeeId)
19664
+ queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, accountId)
19569
19665
  });
19570
19666
  queryClient.invalidateQueries({
19571
- queryKey: EVENT_ATTENDEE_QUERY_KEY(eventId, attendeeId)
19667
+ queryKey: EVENT_ATTENDEE_QUERY_KEY(eventId, accountId)
19572
19668
  });
19573
19669
  SET_EVENT_PASS_QUERY_DATA(queryClient, [eventId, data.data.id], data);
19574
19670
  }
@@ -19585,7 +19681,7 @@ var useCreateEventPass = (options = {}) => {
19585
19681
  var DeleteEventPass = async ({
19586
19682
  eventId,
19587
19683
  passId,
19588
- attendeeId,
19684
+ accountId,
19589
19685
  adminApiParams,
19590
19686
  queryClient
19591
19687
  }) => {
@@ -19600,9 +19696,9 @@ var DeleteEventPass = async ({
19600
19696
  queryClient.removeQueries({
19601
19697
  queryKey: EVENT_PASS_QUERY_KEY(eventId, passId)
19602
19698
  });
19603
- if (attendeeId) {
19699
+ if (accountId) {
19604
19700
  queryClient.invalidateQueries({
19605
- queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, attendeeId)
19701
+ queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, accountId)
19606
19702
  });
19607
19703
  }
19608
19704
  }
@@ -19645,13 +19741,14 @@ var useRemoveEventPassAddOn = (options = {}) => {
19645
19741
  // src/mutations/event/passes/useRemoveEventPassReservation.ts
19646
19742
  var RemoveEventPassReservation = async ({
19647
19743
  eventId,
19744
+ accountId,
19648
19745
  passId,
19649
19746
  adminApiParams,
19650
19747
  queryClient
19651
19748
  }) => {
19652
19749
  const connectedXM = await GetAdminAPI(adminApiParams);
19653
19750
  const { data } = await connectedXM.delete(
19654
- `/events/${eventId}/passes/${passId}/reservations`
19751
+ `/events/${eventId}/attendees/${accountId}/passes/${passId}/reservations`
19655
19752
  );
19656
19753
  if (queryClient && data.status === "ok") {
19657
19754
  queryClient.invalidateQueries({
@@ -19673,6 +19770,7 @@ var useRemoveEventPassReservation = (options = {}) => {
19673
19770
  // src/mutations/event/passes/useSelectEventPassReservation.ts
19674
19771
  var SelectEventPassReservation = async ({
19675
19772
  eventId,
19773
+ accountId,
19676
19774
  passId,
19677
19775
  locationId,
19678
19776
  reservation,
@@ -19681,7 +19779,7 @@ var SelectEventPassReservation = async ({
19681
19779
  }) => {
19682
19780
  const connectedXM = await GetAdminAPI(adminApiParams);
19683
19781
  const { data } = await connectedXM.post(
19684
- `/events/${eventId}/passes/${passId}/reservations/${locationId}`,
19782
+ `/events/${eventId}/attendees/${accountId}/passes/${passId}/reservations/${locationId}`,
19685
19783
  reservation
19686
19784
  );
19687
19785
  if (queryClient && data.status === "ok") {
@@ -19704,16 +19802,16 @@ var useSelectEventPassReservation = (options = {}) => {
19704
19802
  // src/mutations/event/passes/useTransferEventPass.ts
19705
19803
  var TransferEventPass = async ({
19706
19804
  eventId,
19707
- passId,
19708
19805
  accountId,
19709
- attendeeId,
19806
+ passId,
19807
+ receiverId,
19710
19808
  adminApiParams,
19711
19809
  queryClient
19712
19810
  }) => {
19713
19811
  const connectedXM = await GetAdminAPI(adminApiParams);
19714
19812
  const { data } = await connectedXM.post(
19715
- `/events/${eventId}/passes/${passId}/transfers`,
19716
- { accountId }
19813
+ `/events/${eventId}/attendees/${accountId}/passes/${passId}/transfers`,
19814
+ { accountId: receiverId }
19717
19815
  );
19718
19816
  if (queryClient && data.status === "ok") {
19719
19817
  queryClient.invalidateQueries({
@@ -19722,19 +19820,16 @@ var TransferEventPass = async ({
19722
19820
  queryClient.invalidateQueries({
19723
19821
  queryKey: EVENT_PASS_TRANSFER_LOGS_QUERY_KEY(eventId, passId)
19724
19822
  });
19725
- if (attendeeId) {
19726
- queryClient.invalidateQueries({
19727
- queryKey: EVENT_ATTENDEE_QUERY_KEY(eventId, attendeeId)
19728
- });
19729
- console.log("SDK", EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, attendeeId));
19730
- queryClient.invalidateQueries({
19731
- queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, attendeeId),
19732
- exact: false
19733
- });
19734
- queryClient.invalidateQueries({
19735
- queryKey: EVENT_ATTENDEE_TRANSFER_LOGS_QUERY_KEY(eventId, attendeeId)
19736
- });
19737
- }
19823
+ queryClient.invalidateQueries({
19824
+ queryKey: EVENT_ATTENDEE_QUERY_KEY(eventId, accountId)
19825
+ });
19826
+ queryClient.invalidateQueries({
19827
+ queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, accountId),
19828
+ exact: false
19829
+ });
19830
+ queryClient.invalidateQueries({
19831
+ queryKey: EVENT_ATTENDEE_TRANSFER_LOGS_QUERY_KEY(eventId, accountId)
19832
+ });
19738
19833
  }
19739
19834
  return data;
19740
19835
  };
@@ -19764,14 +19859,17 @@ var UpdateEventPass = async ({
19764
19859
  queryKey: EVENT_PASS_TYPE_PASSES_QUERY_KEY(eventId, data.data.ticketId)
19765
19860
  });
19766
19861
  }
19767
- if (data.data.registrationId) {
19862
+ if (data.data.registration.accountId) {
19768
19863
  queryClient.invalidateQueries({
19769
- queryKey: EVENT_ATTENDEE_QUERY_KEY(eventId, data.data.registrationId)
19864
+ queryKey: EVENT_ATTENDEE_QUERY_KEY(
19865
+ eventId,
19866
+ data.data.registration.accountId
19867
+ )
19770
19868
  });
19771
19869
  queryClient.invalidateQueries({
19772
19870
  queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(
19773
19871
  eventId,
19774
- data.data.registrationId
19872
+ data.data.registration.accountId
19775
19873
  )
19776
19874
  });
19777
19875
  }
@@ -19825,6 +19923,7 @@ var useUpdateEventPassResponse = (options = {}) => {
19825
19923
  // src/mutations/event/passes/useUpdateEventPassResponses.ts
19826
19924
  var UpdateEventPassResponses = async ({
19827
19925
  eventId,
19926
+ accountId,
19828
19927
  passId,
19829
19928
  questions,
19830
19929
  adminApiParams,
@@ -19832,7 +19931,7 @@ var UpdateEventPassResponses = async ({
19832
19931
  }) => {
19833
19932
  const connectedXM = await GetAdminAPI(adminApiParams);
19834
19933
  const { data } = await connectedXM.put(
19835
- `/events/${eventId}/passes/${passId}/responses`,
19934
+ `/events/${eventId}/attendees/${accountId}/passes/${passId}/responses`,
19836
19935
  { questions }
19837
19936
  );
19838
19937
  if (queryClient && data.status === "ok") {
@@ -19840,7 +19939,7 @@ var UpdateEventPassResponses = async ({
19840
19939
  queryKey: EVENT_PASS_RESPONSES_QUERY_KEY(eventId, passId)
19841
19940
  });
19842
19941
  queryClient.invalidateQueries({
19843
- queryKey: EVENT_PASS_SECTIONS_QUERY_KEY(eventId, passId)
19942
+ queryKey: EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY(eventId, passId)
19844
19943
  });
19845
19944
  }
19846
19945
  return data;
@@ -24968,6 +25067,79 @@ var useToggleOrganizationPaymentIntegration = (options = {}) => {
24968
25067
  });
24969
25068
  };
24970
25069
 
25070
+ // src/mutations/organization/tax/useCreateTaxIntegration.ts
25071
+ var CreateTaxIntegration = async ({
25072
+ type,
25073
+ integration,
25074
+ adminApiParams,
25075
+ queryClient
25076
+ }) => {
25077
+ const connectedXM = await GetAdminAPI(adminApiParams);
25078
+ const { data } = await connectedXM.post(
25079
+ `/organization/tax/${type}`,
25080
+ integration
25081
+ );
25082
+ if (queryClient && data.status === "ok") {
25083
+ queryClient.invalidateQueries({ queryKey: TAX_INTEGRATIONS_QUERY_KEY() });
25084
+ SET_TAX_INTEGRATION_QUERY_DATA(queryClient, [data.data?.id], data);
25085
+ }
25086
+ return data;
25087
+ };
25088
+ var useCreateTaxIntegration = (options = {}) => {
25089
+ return useConnectedMutation(CreateTaxIntegration, options, {
25090
+ domain: "org",
25091
+ type: "create"
25092
+ });
25093
+ };
25094
+
25095
+ // src/mutations/organization/tax/useDeleteTaxIntegration.ts
25096
+ var DeleteTaxIntegration = async ({
25097
+ type,
25098
+ adminApiParams,
25099
+ queryClient
25100
+ }) => {
25101
+ const connectedXM = await GetAdminAPI(adminApiParams);
25102
+ const { data } = await connectedXM.delete(
25103
+ `/organization/tax/${type}`
25104
+ );
25105
+ if (queryClient && data.status === "ok") {
25106
+ queryClient.invalidateQueries({ queryKey: TAX_INTEGRATIONS_QUERY_KEY() });
25107
+ queryClient.removeQueries({
25108
+ queryKey: TAX_INTEGRATION_QUERY_KEY(type)
25109
+ });
25110
+ }
25111
+ return data;
25112
+ };
25113
+ var useDeleteTaxIntegration = (options = {}) => {
25114
+ return useConnectedMutation(DeleteTaxIntegration, options, {
25115
+ domain: "org",
25116
+ type: "del"
25117
+ });
25118
+ };
25119
+
25120
+ // src/mutations/organization/tax/useToggleTaxIntegration.ts
25121
+ var ToggleTaxIntegration = async ({
25122
+ type,
25123
+ adminApiParams,
25124
+ queryClient
25125
+ }) => {
25126
+ const connectedXM = await GetAdminAPI(adminApiParams);
25127
+ const { data } = await connectedXM.put(
25128
+ `/organization/tax/${type}`
25129
+ );
25130
+ if (queryClient && data.status === "ok") {
25131
+ queryClient.invalidateQueries({ queryKey: TAX_INTEGRATIONS_QUERY_KEY() });
25132
+ SET_TAX_INTEGRATION_QUERY_DATA(queryClient, [type], data);
25133
+ }
25134
+ return data;
25135
+ };
25136
+ var useToggleTaxIntegration = (options = {}) => {
25137
+ return useConnectedMutation(ToggleTaxIntegration, options, {
25138
+ domain: "org",
25139
+ type: "update"
25140
+ });
25141
+ };
25142
+
24971
25143
  // src/mutations/organization/triggers/useUpdateOrganizationTrigger.ts
24972
25144
  var UpdateOrganizationTrigger = async ({
24973
25145
  type,
@@ -26940,6 +27112,7 @@ var useUpdateVideo = (options = {}) => {
26940
27112
  CreateSubscriptionProductPrice,
26941
27113
  CreateSupportTicket,
26942
27114
  CreateSupportTicketNote,
27115
+ CreateTaxIntegration,
26943
27116
  CreateThread,
26944
27117
  CreateTier,
26945
27118
  Currency,
@@ -27031,6 +27204,7 @@ var useUpdateVideo = (options = {}) => {
27031
27204
  DeleteSubscriptionProductPrice,
27032
27205
  DeleteSupportTicket,
27033
27206
  DeleteSupportTicketNote,
27207
+ DeleteTaxIntegration,
27034
27208
  DeleteThread,
27035
27209
  DeleteTier,
27036
27210
  DeleteUserImage,
@@ -27083,10 +27257,10 @@ var useUpdateVideo = (options = {}) => {
27083
27257
  EVENT_PASS_ADD_ONS_QUERY_KEY,
27084
27258
  EVENT_PASS_ATTENDEE_PASSES_QUERY_KEY,
27085
27259
  EVENT_PASS_QUERY_KEY,
27260
+ EVENT_PASS_QUESTION_SECTIONS_QUERY_KEY,
27086
27261
  EVENT_PASS_RESPONSES_QUERY_KEY,
27087
27262
  EVENT_PASS_RESPONSE_CHANGES_QUERY_KEY,
27088
27263
  EVENT_PASS_RESPONSE_QUERY_KEY,
27089
- EVENT_PASS_SECTIONS_QUERY_KEY,
27090
27264
  EVENT_PASS_TRANSFER_LOGS_QUERY_KEY,
27091
27265
  EVENT_PASS_TYPES_QUERY_KEY,
27092
27266
  EVENT_PASS_TYPE_ADD_ONS_QUERY_KEY,
@@ -27313,10 +27487,10 @@ var useUpdateVideo = (options = {}) => {
27313
27487
  GetEventPass,
27314
27488
  GetEventPassAddOns,
27315
27489
  GetEventPassAttendeePasses,
27490
+ GetEventPassQuestionSections,
27316
27491
  GetEventPassResponse,
27317
27492
  GetEventPassResponseChanges,
27318
27493
  GetEventPassResponses,
27319
- GetEventPassSections,
27320
27494
  GetEventPassTransferLogs,
27321
27495
  GetEventPassType,
27322
27496
  GetEventPassTypeAddOns,
@@ -27493,6 +27667,8 @@ var useUpdateVideo = (options = {}) => {
27493
27667
  GetSubscriptions,
27494
27668
  GetSupportTicket,
27495
27669
  GetSupportTickets,
27670
+ GetTaxIntegration,
27671
+ GetTaxIntegrations,
27496
27672
  GetThread,
27497
27673
  GetThreadMember,
27498
27674
  GetThreadMembers,
@@ -27760,10 +27936,10 @@ var useUpdateVideo = (options = {}) => {
27760
27936
  SET_EVENT_PASS_ADD_ONS_QUERY_DATA,
27761
27937
  SET_EVENT_PASS_ATTENDEE_PASSES_QUERY_DATA,
27762
27938
  SET_EVENT_PASS_QUERY_DATA,
27939
+ SET_EVENT_PASS_QUESTION_SECTIONS_QUERY_DATA,
27763
27940
  SET_EVENT_PASS_RESPONSES_QUERY_DATA,
27764
27941
  SET_EVENT_PASS_RESPONSE_CHANGES_QUERY_DATA,
27765
27942
  SET_EVENT_PASS_RESPONSE_QUERY_DATA,
27766
- SET_EVENT_PASS_SECTIONS_QUERY_DATA,
27767
27943
  SET_EVENT_PASS_TRANSFER_LOGS_QUERY_DATA,
27768
27944
  SET_EVENT_PASS_TYPES_QUERY_DATA,
27769
27945
  SET_EVENT_PASS_TYPE_ADD_ONS_QUERY_DATA,
@@ -27938,6 +28114,8 @@ var useUpdateVideo = (options = {}) => {
27938
28114
  SET_SUBSCRIPTION_QUERY_DATA,
27939
28115
  SET_SUPPORT_TICKETS_QUERY_DATA,
27940
28116
  SET_SUPPORT_TICKET_QUERY_DATA,
28117
+ SET_TAX_INTEGRATIONS_QUERY_DATA,
28118
+ SET_TAX_INTEGRATION_QUERY_DATA,
27941
28119
  SET_THREADS_QUERY_DATA,
27942
28120
  SET_THREAD_MESSAGES_QUERY_DATA,
27943
28121
  SET_THREAD_MESSAGE_QUERY_DATA,
@@ -27976,6 +28154,8 @@ var useUpdateVideo = (options = {}) => {
27976
28154
  SupportTicketState,
27977
28155
  SupportTicketType,
27978
28156
  SwitchImage,
28157
+ TAX_INTEGRATIONS_QUERY_KEY,
28158
+ TAX_INTEGRATION_QUERY_KEY,
27979
28159
  THREADS_QUERY_KEY,
27980
28160
  THREAD_MEMBERS_QUERY_KEY,
27981
28161
  THREAD_MEMBER_QUERY_KEY,
@@ -27991,11 +28171,13 @@ var useUpdateVideo = (options = {}) => {
27991
28171
  TIER_IMPORT_QUERY_KEY,
27992
28172
  TIER_QUERY_KEY,
27993
28173
  TIER_SUBSCRIBERS_QUERY_KEY,
28174
+ TaxIntegrationType,
27994
28175
  ThreadAccessLevel,
27995
28176
  ThreadInvitationStatus,
27996
28177
  ThreadMemberRole,
27997
28178
  ThreadMessageType,
27998
28179
  ToggleOrganizationPaymentIntegration,
28180
+ ToggleTaxIntegration,
27999
28181
  TransferEventPass,
28000
28182
  TransformPrice,
28001
28183
  UNAPPROVED_EVENTS_QUERY_KEY,
@@ -28249,6 +28431,7 @@ var useUpdateVideo = (options = {}) => {
28249
28431
  useCreateSubscriptionProductPrice,
28250
28432
  useCreateSupportTicket,
28251
28433
  useCreateSupportTicketNote,
28434
+ useCreateTaxIntegration,
28252
28435
  useCreateThread,
28253
28436
  useCreateTier,
28254
28437
  useDeleteAccount,
@@ -28337,6 +28520,7 @@ var useUpdateVideo = (options = {}) => {
28337
28520
  useDeleteSubscriptionProductPrice,
28338
28521
  useDeleteSupportTicket,
28339
28522
  useDeleteSupportTicketNote,
28523
+ useDeleteTaxIntegration,
28340
28524
  useDeleteThread,
28341
28525
  useDeleteTier,
28342
28526
  useDeleteUserImage,
@@ -28456,10 +28640,10 @@ var useUpdateVideo = (options = {}) => {
28456
28640
  useGetEventPass,
28457
28641
  useGetEventPassAddOns,
28458
28642
  useGetEventPassAttendeePasses,
28643
+ useGetEventPassQuestionSections,
28459
28644
  useGetEventPassResponse,
28460
28645
  useGetEventPassResponseChanges,
28461
28646
  useGetEventPassResponses,
28462
- useGetEventPassSections,
28463
28647
  useGetEventPassTransferLogs,
28464
28648
  useGetEventPassType,
28465
28649
  useGetEventPassTypeAddOns,
@@ -28635,6 +28819,8 @@ var useUpdateVideo = (options = {}) => {
28635
28819
  useGetSubscriptions,
28636
28820
  useGetSupportTicket,
28637
28821
  useGetSupportTickets,
28822
+ useGetTaxIntegration,
28823
+ useGetTaxIntegrations,
28638
28824
  useGetThread,
28639
28825
  useGetThreadMember,
28640
28826
  useGetThreadMembers,
@@ -28717,6 +28903,7 @@ var useUpdateVideo = (options = {}) => {
28717
28903
  useSelfLeaveOrganization,
28718
28904
  useSwitchImage,
28719
28905
  useToggleOrganizationPaymentIntegration,
28906
+ useToggleTaxIntegration,
28720
28907
  useTransferEventPass,
28721
28908
  useUpdateAccount,
28722
28909
  useUpdateAccountAddress,