@connectedxm/admin 2.3.8 → 2.3.10

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 CHANGED
@@ -51,6 +51,7 @@ __export(index_exports, {
51
51
  ACCOUNT_LIKES_QUERY_KEY: () => ACCOUNT_LIKES_QUERY_KEY,
52
52
  ACCOUNT_LOGINS_QUERY_KEY: () => ACCOUNT_LOGINS_QUERY_KEY,
53
53
  ACCOUNT_LOGIN_QUERY_KEY: () => ACCOUNT_LOGIN_QUERY_KEY,
54
+ ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_KEY: () => ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_KEY,
54
55
  ACCOUNT_PAYMENTS_QUERY_KEY: () => ACCOUNT_PAYMENTS_QUERY_KEY,
55
56
  ACCOUNT_PUSH_DEVICES_QUERY_KEY: () => ACCOUNT_PUSH_DEVICES_QUERY_KEY,
56
57
  ACCOUNT_PUSH_DEVICE_QUERY_KEY: () => ACCOUNT_PUSH_DEVICE_QUERY_KEY,
@@ -123,11 +124,11 @@ __export(index_exports, {
123
124
  AddGroupModerator: () => AddGroupModerator,
124
125
  AddGroupSponsor: () => AddGroupSponsor,
125
126
  AddLevelAccount: () => AddLevelAccount,
127
+ AddMembershipTier: () => AddMembershipTier,
126
128
  AddOrganizationModuleEditableTier: () => AddOrganizationModuleEditableTier,
127
129
  AddOrganizationModuleEnabledTier: () => AddOrganizationModuleEnabledTier,
128
130
  AddOrganizationUser: () => AddOrganizationUser,
129
131
  AddSeriesEvent: () => AddSeriesEvent,
130
- AddSubscriptionProductTier: () => AddSubscriptionProductTier,
131
132
  AddSurveyQuestionChoiceSubQuestion: () => AddSurveyQuestionChoiceSubQuestion,
132
133
  AddSurveySectionQuestion: () => AddSurveySectionQuestion,
133
134
  AddThreadMember: () => AddThreadMember,
@@ -293,6 +294,8 @@ __export(index_exports, {
293
294
  CreateInvoiceLineItem: () => CreateInvoiceLineItem,
294
295
  CreateLevel: () => CreateLevel,
295
296
  CreateLevelTranslation: () => CreateLevelTranslation,
297
+ CreateMembership: () => CreateMembership,
298
+ CreateMembershipPrice: () => CreateMembershipPrice,
296
299
  CreateOrganizationPageTranslation: () => CreateOrganizationPageTranslation,
297
300
  CreateOrganizationPaymentIntegration: () => CreateOrganizationPaymentIntegration,
298
301
  CreateOrganizationTeamMember: () => CreateOrganizationTeamMember,
@@ -301,8 +304,6 @@ __export(index_exports, {
301
304
  CreateStreamInput: () => CreateStreamInput,
302
305
  CreateStreamInputOutput: () => CreateStreamInputOutput,
303
306
  CreateSubscription: () => CreateSubscription,
304
- CreateSubscriptionProduct: () => CreateSubscriptionProduct,
305
- CreateSubscriptionProductPrice: () => CreateSubscriptionProductPrice,
306
307
  CreateSupportTicket: () => CreateSupportTicket,
307
308
  CreateSupportTicketNote: () => CreateSupportTicketNote,
308
309
  CreateSurvey: () => CreateSurvey,
@@ -428,6 +429,8 @@ __export(index_exports, {
428
429
  DeleteLevelTranslation: () => DeleteLevelTranslation,
429
430
  DeleteManyImages: () => DeleteManyImages,
430
431
  DeleteManyVideos: () => DeleteManyVideos,
432
+ DeleteMembership: () => DeleteMembership,
433
+ DeleteMembershipPrice: () => DeleteMembershipPrice,
431
434
  DeleteOrganizationDomain: () => DeleteOrganizationDomain,
432
435
  DeleteOrganizationPageTranslation: () => DeleteOrganizationPageTranslation,
433
436
  DeleteOrganizationPaymentIntegration: () => DeleteOrganizationPaymentIntegration,
@@ -437,8 +440,6 @@ __export(index_exports, {
437
440
  DeleteSeries: () => DeleteSeries,
438
441
  DeleteStreamInput: () => DeleteStreamInput,
439
442
  DeleteStreamInputOutput: () => DeleteStreamInputOutput,
440
- DeleteSubscriptionProduct: () => DeleteSubscriptionProduct,
441
- DeleteSubscriptionProductPrice: () => DeleteSubscriptionProductPrice,
442
443
  DeleteSupportTicket: () => DeleteSupportTicket,
443
444
  DeleteSupportTicketNote: () => DeleteSupportTicketNote,
444
445
  DeleteSurvey: () => DeleteSurvey,
@@ -476,6 +477,8 @@ __export(index_exports, {
476
477
  EVENT_ADD_ON_TRANSLATION_QUERY_KEY: () => EVENT_ADD_ON_TRANSLATION_QUERY_KEY,
477
478
  EVENT_ATTENDEES_QUERY_KEY: () => EVENT_ATTENDEES_QUERY_KEY,
478
479
  EVENT_ATTENDEE_COUPONS_QUERY_KEY: () => EVENT_ATTENDEE_COUPONS_QUERY_KEY,
480
+ EVENT_ATTENDEE_PACKAGES_QUERY_KEY: () => EVENT_ATTENDEE_PACKAGES_QUERY_KEY,
481
+ EVENT_ATTENDEE_PACKAGE_QUERY_KEY: () => EVENT_ATTENDEE_PACKAGE_QUERY_KEY,
479
482
  EVENT_ATTENDEE_PASSES_QUERY_KEY: () => EVENT_ATTENDEE_PASSES_QUERY_KEY,
480
483
  EVENT_ATTENDEE_PAYMENTS_QUERY_KEY: () => EVENT_ATTENDEE_PAYMENTS_QUERY_KEY,
481
484
  EVENT_ATTENDEE_QUERY_KEY: () => EVENT_ATTENDEE_QUERY_KEY,
@@ -687,6 +690,7 @@ __export(index_exports, {
687
690
  GetAccountLikes: () => GetAccountLikes,
688
691
  GetAccountLogin: () => GetAccountLogin,
689
692
  GetAccountLogins: () => GetAccountLogins,
693
+ GetAccountNotificationPreferences: () => GetAccountNotificationPreferences,
690
694
  GetAccountPayments: () => GetAccountPayments,
691
695
  GetAccountPushDevice: () => GetAccountPushDevice,
692
696
  GetAccountPushDevices: () => GetAccountPushDevices,
@@ -783,6 +787,8 @@ __export(index_exports, {
783
787
  GetEventAddOns: () => GetEventAddOns,
784
788
  GetEventAttendee: () => GetEventAttendee,
785
789
  GetEventAttendeeCoupons: () => GetEventAttendeeCoupons,
790
+ GetEventAttendeePackage: () => GetEventAttendeePackage,
791
+ GetEventAttendeePackages: () => GetEventAttendeePackages,
786
792
  GetEventAttendeePasses: () => GetEventAttendeePasses,
787
793
  GetEventAttendeePayments: () => GetEventAttendeePayments,
788
794
  GetEventAttendeeReservations: () => GetEventAttendeeReservations,
@@ -989,6 +995,12 @@ __export(index_exports, {
989
995
  GetLevelTranslations: () => GetLevelTranslations,
990
996
  GetLevels: () => GetLevels,
991
997
  GetLinkPreview: () => GetLinkPreview,
998
+ GetMembership: () => GetMembership,
999
+ GetMembershipPrice: () => GetMembershipPrice,
1000
+ GetMembershipPrices: () => GetMembershipPrices,
1001
+ GetMembershipSubscriptions: () => GetMembershipSubscriptions,
1002
+ GetMembershipTiers: () => GetMembershipTiers,
1003
+ GetMemberships: () => GetMemberships,
992
1004
  GetOrganization: () => GetOrganization,
993
1005
  GetOrganizationDomain: () => GetOrganizationDomain,
994
1006
  GetOrganizationMembership: () => GetOrganizationMembership,
@@ -1024,12 +1036,6 @@ __export(index_exports, {
1024
1036
  GetStreamInputs: () => GetStreamInputs,
1025
1037
  GetSubscription: () => GetSubscription,
1026
1038
  GetSubscriptionPayments: () => GetSubscriptionPayments,
1027
- GetSubscriptionProduct: () => GetSubscriptionProduct,
1028
- GetSubscriptionProductPrice: () => GetSubscriptionProductPrice,
1029
- GetSubscriptionProductPrices: () => GetSubscriptionProductPrices,
1030
- GetSubscriptionProductSubscriptions: () => GetSubscriptionProductSubscriptions,
1031
- GetSubscriptionProductTiers: () => GetSubscriptionProductTiers,
1032
- GetSubscriptionProducts: () => GetSubscriptionProducts,
1033
1039
  GetSubscriptions: () => GetSubscriptions,
1034
1040
  GetSupportTicket: () => GetSupportTicket,
1035
1041
  GetSupportTickets: () => GetSupportTickets,
@@ -1116,7 +1122,15 @@ __export(index_exports, {
1116
1122
  LEVEL_TRANSLATION_QUERY_KEY: () => LEVEL_TRANSLATION_QUERY_KEY,
1117
1123
  LINK_PREVIEW_QUERY_KEY: () => LINK_PREVIEW_QUERY_KEY,
1118
1124
  LeadStatus: () => LeadStatus,
1125
+ MEMBERSHIPS_QUERY_KEY: () => MEMBERSHIPS_QUERY_KEY,
1126
+ MEMBERSHIP_PRICES_QUERY_KEY: () => MEMBERSHIP_PRICES_QUERY_KEY,
1127
+ MEMBERSHIP_PRICE_QUERY_KEY: () => MEMBERSHIP_PRICE_QUERY_KEY,
1128
+ MEMBERSHIP_QUERY_KEY: () => MEMBERSHIP_QUERY_KEY,
1129
+ MEMBERSHIP_SUBSCRIPTIONS_QUERY_KEY: () => MEMBERSHIP_SUBSCRIPTIONS_QUERY_KEY,
1130
+ MEMBERSHIP_TIERS_QUERY_KEY: () => MEMBERSHIP_TIERS_QUERY_KEY,
1119
1131
  MatchQuestionType: () => MatchQuestionType,
1132
+ MembershipPriceInterval: () => MembershipPriceInterval,
1133
+ MembershipPriceType: () => MembershipPriceType,
1120
1134
  MergeInfinitePages: () => MergeInfinitePages,
1121
1135
  ModerationStatus: () => ModerationStatus,
1122
1136
  NotificationType: () => NotificationType,
@@ -1199,10 +1213,10 @@ __export(index_exports, {
1199
1213
  RemoveGroupModerator: () => RemoveGroupModerator,
1200
1214
  RemoveGroupSponsor: () => RemoveGroupSponsor,
1201
1215
  RemoveLevelAccount: () => RemoveLevelAccount,
1216
+ RemoveMembershipTier: () => RemoveMembershipTier,
1202
1217
  RemoveOrganizationModuleEditableTier: () => RemoveOrganizationModuleEditableTier,
1203
1218
  RemoveOrganizationModuleEnabledTier: () => RemoveOrganizationModuleEnabledTier,
1204
1219
  RemoveSeriesEvent: () => RemoveSeriesEvent,
1205
- RemoveSubscriptionProductTier: () => RemoveSubscriptionProductTier,
1206
1220
  RemoveSurveyQuestionChoiceSubQuestion: () => RemoveSurveyQuestionChoiceSubQuestion,
1207
1221
  RemoveSurveySectionQuestion: () => RemoveSurveySectionQuestion,
1208
1222
  RemoveThreadMember: () => RemoveThreadMember,
@@ -1250,6 +1264,7 @@ __export(index_exports, {
1250
1264
  SET_ACCOUNT_LEAD_QUERY_DATA: () => SET_ACCOUNT_LEAD_QUERY_DATA,
1251
1265
  SET_ACCOUNT_LEVELS_QUERY_DATA: () => SET_ACCOUNT_LEVELS_QUERY_DATA,
1252
1266
  SET_ACCOUNT_LIKES_QUERY_DATA: () => SET_ACCOUNT_LIKES_QUERY_DATA,
1267
+ SET_ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_DATA: () => SET_ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_DATA,
1253
1268
  SET_ACCOUNT_PAYMENTS_QUERY_DATA: () => SET_ACCOUNT_PAYMENTS_QUERY_DATA,
1254
1269
  SET_ACCOUNT_PUSH_DEVICES_QUERY_DATA: () => SET_ACCOUNT_PUSH_DEVICES_QUERY_DATA,
1255
1270
  SET_ACCOUNT_PUSH_DEVICE_QUERY_DATA: () => SET_ACCOUNT_PUSH_DEVICE_QUERY_DATA,
@@ -1343,6 +1358,8 @@ __export(index_exports, {
1343
1358
  SET_EVENT_ADD_ON_TRANSLATIONS_QUERY_DATA: () => SET_EVENT_ADD_ON_TRANSLATIONS_QUERY_DATA,
1344
1359
  SET_EVENT_ADD_ON_TRANSLATION_QUERY_DATA: () => SET_EVENT_ADD_ON_TRANSLATION_QUERY_DATA,
1345
1360
  SET_EVENT_ATTENDEES_QUERY_DATA: () => SET_EVENT_ATTENDEES_QUERY_DATA,
1361
+ SET_EVENT_ATTENDEE_PACKAGES_QUERY_DATA: () => SET_EVENT_ATTENDEE_PACKAGES_QUERY_DATA,
1362
+ SET_EVENT_ATTENDEE_PACKAGE_QUERY_DATA: () => SET_EVENT_ATTENDEE_PACKAGE_QUERY_DATA,
1346
1363
  SET_EVENT_ATTENDEE_PASSES_QUERY_DATA: () => SET_EVENT_ATTENDEE_PASSES_QUERY_DATA,
1347
1364
  SET_EVENT_ATTENDEE_PAYMENTS_QUERY_DATA: () => SET_EVENT_ATTENDEE_PAYMENTS_QUERY_DATA,
1348
1365
  SET_EVENT_ATTENDEE_QUERY_DATA: () => SET_EVENT_ATTENDEE_QUERY_DATA,
@@ -1545,6 +1562,12 @@ __export(index_exports, {
1545
1562
  SET_LEVEL_TRANSLATIONS_QUERY_DATA: () => SET_LEVEL_TRANSLATIONS_QUERY_DATA,
1546
1563
  SET_LEVEL_TRANSLATION_QUERY_DATA: () => SET_LEVEL_TRANSLATION_QUERY_DATA,
1547
1564
  SET_LINK_PREVIEW_QUERY_DATA: () => SET_LINK_PREVIEW_QUERY_DATA,
1565
+ SET_MEMBERSHIPS_QUERY_DATA: () => SET_MEMBERSHIPS_QUERY_DATA,
1566
+ SET_MEMBERSHIP_PRICES_QUERY_DATA: () => SET_MEMBERSHIP_PRICES_QUERY_DATA,
1567
+ SET_MEMBERSHIP_PRICE_QUERY_DATA: () => SET_MEMBERSHIP_PRICE_QUERY_DATA,
1568
+ SET_MEMBERSHIP_QUERY_DATA: () => SET_MEMBERSHIP_QUERY_DATA,
1569
+ SET_MEMBERSHIP_SUBSCRIPTIONS_QUERY_DATA: () => SET_MEMBERSHIP_SUBSCRIPTIONS_QUERY_DATA,
1570
+ SET_MEMBERSHIP_TIERS_QUERY_DATA: () => SET_MEMBERSHIP_TIERS_QUERY_DATA,
1548
1571
  SET_ORGANIZATION_DOMAIN_QUERY_DATA: () => SET_ORGANIZATION_DOMAIN_QUERY_DATA,
1549
1572
  SET_ORGANIZATION_MEMBERSHIP_QUERY_DATA: () => SET_ORGANIZATION_MEMBERSHIP_QUERY_DATA,
1550
1573
  SET_ORGANIZATION_MODULES_QUERY_DATA: () => SET_ORGANIZATION_MODULES_QUERY_DATA,
@@ -1582,12 +1605,6 @@ __export(index_exports, {
1582
1605
  SET_STREAM_INPUT_QUERY_DATA: () => SET_STREAM_INPUT_QUERY_DATA,
1583
1606
  SET_SUBSCRIPTIONS_QUERY_DATA: () => SET_SUBSCRIPTIONS_QUERY_DATA,
1584
1607
  SET_SUBSCRIPTION_PAYMENTS_QUERY_DATA: () => SET_SUBSCRIPTION_PAYMENTS_QUERY_DATA,
1585
- SET_SUBSCRIPTION_PRODUCTS_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCTS_QUERY_DATA,
1586
- SET_SUBSCRIPTION_PRODUCT_PRICES_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_PRICES_QUERY_DATA,
1587
- SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA,
1588
- SET_SUBSCRIPTION_PRODUCT_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_QUERY_DATA,
1589
- SET_SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_DATA,
1590
- SET_SUBSCRIPTION_PRODUCT_TIERS_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_TIERS_QUERY_DATA,
1591
1608
  SET_SUBSCRIPTION_QUERY_DATA: () => SET_SUBSCRIPTION_QUERY_DATA,
1592
1609
  SET_SUPPORT_TICKETS_QUERY_DATA: () => SET_SUPPORT_TICKETS_QUERY_DATA,
1593
1610
  SET_SUPPORT_TICKET_QUERY_DATA: () => SET_SUPPORT_TICKET_QUERY_DATA,
@@ -1636,12 +1653,6 @@ __export(index_exports, {
1636
1653
  STREAM_QUERY_KEY: () => STREAM_QUERY_KEY,
1637
1654
  SUBSCRIPTIONS_QUERY_KEY: () => SUBSCRIPTIONS_QUERY_KEY,
1638
1655
  SUBSCRIPTION_PAYMENTS_QUERY_KEY: () => SUBSCRIPTION_PAYMENTS_QUERY_KEY,
1639
- SUBSCRIPTION_PRODUCTS_QUERY_KEY: () => SUBSCRIPTION_PRODUCTS_QUERY_KEY,
1640
- SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY,
1641
- SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY,
1642
- SUBSCRIPTION_PRODUCT_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_QUERY_KEY,
1643
- SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY,
1644
- SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY,
1645
1656
  SUBSCRIPTION_QUERY_KEY: () => SUBSCRIPTION_QUERY_KEY,
1646
1657
  SUPPORT_TICKETS_QUERY_KEY: () => SUPPORT_TICKETS_QUERY_KEY,
1647
1658
  SUPPORT_TICKET_QUERY_KEY: () => SUPPORT_TICKET_QUERY_KEY,
@@ -1673,8 +1684,6 @@ __export(index_exports, {
1673
1684
  SearchOrganization: () => SearchOrganization,
1674
1685
  SelfLeaveOrganization: () => SelfLeaveOrganization,
1675
1686
  SendAnnouncementPreview: () => SendAnnouncementPreview,
1676
- SubscriptionProductPriceInterval: () => SubscriptionProductPriceInterval,
1677
- SubscriptionProductPriceType: () => SubscriptionProductPriceType,
1678
1687
  SubscriptionStatus: () => SubscriptionStatus,
1679
1688
  SupportTicketState: () => SupportTicketState,
1680
1689
  SupportTicketType: () => SupportTicketType,
@@ -1820,6 +1829,8 @@ __export(index_exports, {
1820
1829
  UpdateLevelTranslation: () => UpdateLevelTranslation,
1821
1830
  UpdateLoginEmail: () => UpdateLoginEmail,
1822
1831
  UpdateLoginPassword: () => UpdateLoginPassword,
1832
+ UpdateMembership: () => UpdateMembership,
1833
+ UpdateMembershipPrice: () => UpdateMembershipPrice,
1823
1834
  UpdateOrganization: () => UpdateOrganization,
1824
1835
  UpdateOrganizationDomain: () => UpdateOrganizationDomain,
1825
1836
  UpdateOrganizationIntegrations: () => UpdateOrganizationIntegrations,
@@ -1836,8 +1847,6 @@ __export(index_exports, {
1836
1847
  UpdateStreamConfig: () => UpdateStreamConfig,
1837
1848
  UpdateStreamInputOutput: () => UpdateStreamInputOutput,
1838
1849
  UpdateSubscription: () => UpdateSubscription,
1839
- UpdateSubscriptionProduct: () => UpdateSubscriptionProduct,
1840
- UpdateSubscriptionProductPrice: () => UpdateSubscriptionProductPrice,
1841
1850
  UpdateSupportTicket: () => UpdateSupportTicket,
1842
1851
  UpdateSurvey: () => UpdateSurvey,
1843
1852
  UpdateSurveyQuestion: () => UpdateSurveyQuestion,
@@ -1910,11 +1919,11 @@ __export(index_exports, {
1910
1919
  useAddGroupModerator: () => useAddGroupModerator,
1911
1920
  useAddGroupSponsor: () => useAddGroupSponsor,
1912
1921
  useAddLevelAccount: () => useAddLevelAccount,
1922
+ useAddMembershipTier: () => useAddMembershipTier,
1913
1923
  useAddOrganizationModuleEditableTier: () => useAddOrganizationModuleEditableTier,
1914
1924
  useAddOrganizationModuleEnabledTier: () => useAddOrganizationModuleEnabledTier,
1915
1925
  useAddOrganizationUser: () => useAddOrganizationUser,
1916
1926
  useAddSeriesEvent: () => useAddSeriesEvent,
1917
- useAddSubscriptionProductTier: () => useAddSubscriptionProductTier,
1918
1927
  useAddSurveyQuestionChoiceSubQuestion: () => useAddSurveyQuestionChoiceSubQuestion,
1919
1928
  useAddSurveySectionQuestion: () => useAddSurveySectionQuestion,
1920
1929
  useAddThreadMember: () => useAddThreadMember,
@@ -2027,6 +2036,8 @@ __export(index_exports, {
2027
2036
  useCreateInvoiceLineItem: () => useCreateInvoiceLineItem,
2028
2037
  useCreateLevel: () => useCreateLevel,
2029
2038
  useCreateLevelTranslation: () => useCreateLevelTranslation,
2039
+ useCreateMembership: () => useCreateMembership,
2040
+ useCreateMembershipPrice: () => useCreateMembershipPrice,
2030
2041
  useCreateOrganizationPageTranslation: () => useCreateOrganizationPageTranslation,
2031
2042
  useCreateOrganizationPaymentIntegration: () => useCreateOrganizationPaymentIntegration,
2032
2043
  useCreateOrganizationTeamMember: () => useCreateOrganizationTeamMember,
@@ -2035,8 +2046,6 @@ __export(index_exports, {
2035
2046
  useCreateStreamInput: () => useCreateStreamInput,
2036
2047
  useCreateStreamInputOutput: () => useCreateStreamInputOutput,
2037
2048
  useCreateSubscription: () => useCreateSubscription,
2038
- useCreateSubscriptionProduct: () => useCreateSubscriptionProduct,
2039
- useCreateSubscriptionProductPrice: () => useCreateSubscriptionProductPrice,
2040
2049
  useCreateSupportTicket: () => useCreateSupportTicket,
2041
2050
  useCreateSupportTicketNote: () => useCreateSupportTicketNote,
2042
2051
  useCreateSurvey: () => useCreateSurvey,
@@ -2154,6 +2163,8 @@ __export(index_exports, {
2154
2163
  useDeleteLevelTranslation: () => useDeleteLevelTranslation,
2155
2164
  useDeleteManyImages: () => useDeleteManyImages,
2156
2165
  useDeleteManyVideos: () => useDeleteManyVideos,
2166
+ useDeleteMembership: () => useDeleteMembership,
2167
+ useDeleteMembershipPrice: () => useDeleteMembershipPrice,
2157
2168
  useDeleteOrganizationDomain: () => useDeleteOrganizationDomain,
2158
2169
  useDeleteOrganizationPageTranslation: () => useDeleteOrganizationPageTranslation,
2159
2170
  useDeleteOrganizationPaymentIntegration: () => useDeleteOrganizationPaymentIntegration,
@@ -2163,8 +2174,6 @@ __export(index_exports, {
2163
2174
  useDeleteSeries: () => useDeleteSeries,
2164
2175
  useDeleteStreamInput: () => useDeleteStreamInput,
2165
2176
  useDeleteStreamInputOutput: () => useDeleteStreamInputOutput,
2166
- useDeleteSubscriptionProduct: () => useDeleteSubscriptionProduct,
2167
- useDeleteSubscriptionProductPrice: () => useDeleteSubscriptionProductPrice,
2168
2177
  useDeleteSupportTicket: () => useDeleteSupportTicket,
2169
2178
  useDeleteSupportTicketNote: () => useDeleteSupportTicketNote,
2170
2179
  useDeleteSurvey: () => useDeleteSurvey,
@@ -2208,6 +2217,7 @@ __export(index_exports, {
2208
2217
  useGetAccountLikes: () => useGetAccountLikes,
2209
2218
  useGetAccountLogin: () => useGetAccountLogin,
2210
2219
  useGetAccountLogins: () => useGetAccountLogins,
2220
+ useGetAccountNotificationPreferences: () => useGetAccountNotificationPreferences,
2211
2221
  useGetAccountPayments: () => useGetAccountPayments,
2212
2222
  useGetAccountPushDevice: () => useGetAccountPushDevice,
2213
2223
  useGetAccountPushDevices: () => useGetAccountPushDevices,
@@ -2301,6 +2311,8 @@ __export(index_exports, {
2301
2311
  useGetEventAddOns: () => useGetEventAddOns,
2302
2312
  useGetEventAttendee: () => useGetEventAttendee,
2303
2313
  useGetEventAttendeeCoupons: () => useGetEventAttendeeCoupons,
2314
+ useGetEventAttendeePackage: () => useGetEventAttendeePackage,
2315
+ useGetEventAttendeePackages: () => useGetEventAttendeePackages,
2304
2316
  useGetEventAttendeePasses: () => useGetEventAttendeePasses,
2305
2317
  useGetEventAttendeePayments: () => useGetEventAttendeePayments,
2306
2318
  useGetEventAttendeeReservations: () => useGetEventAttendeeReservations,
@@ -2506,6 +2518,12 @@ __export(index_exports, {
2506
2518
  useGetLevelTranslations: () => useGetLevelTranslations,
2507
2519
  useGetLevels: () => useGetLevels,
2508
2520
  useGetLinkPreview: () => useGetLinkPreview,
2521
+ useGetMembership: () => useGetMembership,
2522
+ useGetMembershipPrice: () => useGetMembershipPrice,
2523
+ useGetMembershipPrices: () => useGetMembershipPrices,
2524
+ useGetMembershipSubscriptions: () => useGetMembershipSubscriptions,
2525
+ useGetMembershipTiers: () => useGetMembershipTiers,
2526
+ useGetMemberships: () => useGetMemberships,
2509
2527
  useGetOrganization: () => useGetOrganization,
2510
2528
  useGetOrganizationDomain: () => useGetOrganizationDomain,
2511
2529
  useGetOrganizationMembership: () => useGetOrganizationMembership,
@@ -2541,12 +2559,6 @@ __export(index_exports, {
2541
2559
  useGetStreamInputs: () => useGetStreamInputs,
2542
2560
  useGetSubscription: () => useGetSubscription,
2543
2561
  useGetSubscriptionPayments: () => useGetSubscriptionPayments,
2544
- useGetSubscriptionProduct: () => useGetSubscriptionProduct,
2545
- useGetSubscriptionProductPrice: () => useGetSubscriptionProductPrice,
2546
- useGetSubscriptionProductPrices: () => useGetSubscriptionProductPrices,
2547
- useGetSubscriptionProductSubscriptions: () => useGetSubscriptionProductSubscriptions,
2548
- useGetSubscriptionProductTiers: () => useGetSubscriptionProductTiers,
2549
- useGetSubscriptionProducts: () => useGetSubscriptionProducts,
2550
2562
  useGetSubscriptions: () => useGetSubscriptions,
2551
2563
  useGetSupportTicket: () => useGetSupportTicket,
2552
2564
  useGetSupportTickets: () => useGetSupportTickets,
@@ -2641,10 +2653,10 @@ __export(index_exports, {
2641
2653
  useRemoveGroupModerator: () => useRemoveGroupModerator,
2642
2654
  useRemoveGroupSponsor: () => useRemoveGroupSponsor,
2643
2655
  useRemoveLevelAccount: () => useRemoveLevelAccount,
2656
+ useRemoveMembershipTier: () => useRemoveMembershipTier,
2644
2657
  useRemoveOrganizationModuleEditableTier: () => useRemoveOrganizationModuleEditableTier,
2645
2658
  useRemoveOrganizationModuleEnabledTier: () => useRemoveOrganizationModuleEnabledTier,
2646
2659
  useRemoveSeriesEvent: () => useRemoveSeriesEvent,
2647
- useRemoveSubscriptionProductTier: () => useRemoveSubscriptionProductTier,
2648
2660
  useRemoveSurveyQuestionChoiceSubQuestion: () => useRemoveSurveyQuestionChoiceSubQuestion,
2649
2661
  useRemoveSurveySectionQuestion: () => useRemoveSurveySectionQuestion,
2650
2662
  useRemoveThreadMember: () => useRemoveThreadMember,
@@ -2784,6 +2796,8 @@ __export(index_exports, {
2784
2796
  useUpdateLevelTranslation: () => useUpdateLevelTranslation,
2785
2797
  useUpdateLoginEmail: () => useUpdateLoginEmail,
2786
2798
  useUpdateLoginPassword: () => useUpdateLoginPassword,
2799
+ useUpdateMembership: () => useUpdateMembership,
2800
+ useUpdateMembershipPrice: () => useUpdateMembershipPrice,
2787
2801
  useUpdateOrganization: () => useUpdateOrganization,
2788
2802
  useUpdateOrganizationDomain: () => useUpdateOrganizationDomain,
2789
2803
  useUpdateOrganizationIntegrations: () => useUpdateOrganizationIntegrations,
@@ -2800,8 +2814,6 @@ __export(index_exports, {
2800
2814
  useUpdateStreamInput: () => useUpdateStreamInput,
2801
2815
  useUpdateStreamInputOutput: () => useUpdateStreamInputOutput,
2802
2816
  useUpdateSubscription: () => useUpdateSubscription,
2803
- useUpdateSubscriptionProduct: () => useUpdateSubscriptionProduct,
2804
- useUpdateSubscriptionProductPrice: () => useUpdateSubscriptionProductPrice,
2805
2817
  useUpdateSupportTicket: () => useUpdateSupportTicket,
2806
2818
  useUpdateSurvey: () => useUpdateSurvey,
2807
2819
  useUpdateSurveyQuestion: () => useUpdateSurveyQuestion,
@@ -3860,6 +3872,39 @@ var useGetAccountLogin = (accountId = "", username = "", options = {}) => {
3860
3872
  );
3861
3873
  };
3862
3874
 
3875
+ // src/queries/accounts/useGetAccountNotificationPreferences.ts
3876
+ var ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_KEY = (accountId) => [...ACCOUNT_QUERY_KEY(accountId), "notification-preferences"];
3877
+ var SET_ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_DATA = (client, keyParams, response) => {
3878
+ client.setQueryData(
3879
+ ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_KEY(...keyParams),
3880
+ response
3881
+ );
3882
+ };
3883
+ var GetAccountNotificationPreferences = async ({
3884
+ accountId = "",
3885
+ adminApiParams
3886
+ }) => {
3887
+ const adminApi = await GetAdminAPI(adminApiParams);
3888
+ const { data } = await adminApi.get(
3889
+ `/accounts/${accountId}/notification-preferences`
3890
+ );
3891
+ return data;
3892
+ };
3893
+ var useGetAccountNotificationPreferences = (accountId = "", options = {}) => {
3894
+ return useConnectedSingleQuery(
3895
+ ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_KEY(accountId),
3896
+ (params) => GetAccountNotificationPreferences({
3897
+ accountId: accountId || "unknown",
3898
+ ...params
3899
+ }),
3900
+ {
3901
+ ...options,
3902
+ enabled: !!accountId && (options?.enabled ?? true)
3903
+ },
3904
+ "accounts"
3905
+ );
3906
+ };
3907
+
3863
3908
  // src/queries/accounts/useGetAccountPayments.ts
3864
3909
  var ACCOUNT_PAYMENTS_QUERY_KEY = (accountId) => [
3865
3910
  ...ACCOUNT_QUERY_KEY(accountId),
@@ -4357,10 +4402,13 @@ var useGetAdvertisementViews = (advertisementId = "", params = {}, options = {})
4357
4402
  // src/queries/announcements/useGetAnnouncements.ts
4358
4403
  var ANNOUNCEMENTS_QUERY_KEY = (filters) => {
4359
4404
  const keys = ["ANNOUNCEMENTS"];
4405
+ if (filters?.verifiedAccounts) keys.push("VERIFIED_ACCOUNTS");
4360
4406
  if (filters?.eventId) keys.push(filters.eventId);
4361
4407
  if (filters?.groupId) keys.push(filters.groupId);
4362
4408
  if (filters?.tierId) keys.push(filters.tierId);
4409
+ if (filters?.channelId) keys.push(filters.channelId);
4363
4410
  if (filters?.accountId) keys.push(filters.accountId);
4411
+ if (filters?.sponsorshipLevelId) keys.push(filters.sponsorshipLevelId);
4364
4412
  return keys;
4365
4413
  };
4366
4414
  var SET_ANNOUNCEMENTS_QUERY_DATA = (client, keyParams, response) => {
@@ -7299,6 +7347,97 @@ var useGetEventAttendee = (eventId, accountId = "", options = {}) => {
7299
7347
  );
7300
7348
  };
7301
7349
 
7350
+ // src/queries/events/attendees/packages/useGetEventAttendeePackages.ts
7351
+ var EVENT_ATTENDEE_PACKAGES_QUERY_KEY = (eventId, accountId, status) => {
7352
+ const key = [...EVENT_ATTENDEE_QUERY_KEY(eventId, accountId), "PACKAGES"];
7353
+ if (status) {
7354
+ key.push(status);
7355
+ }
7356
+ return key;
7357
+ };
7358
+ var SET_EVENT_ATTENDEE_PACKAGES_QUERY_DATA = (client, keyParams, response) => {
7359
+ client.setQueryData(
7360
+ EVENT_ATTENDEE_PACKAGES_QUERY_KEY(...keyParams),
7361
+ response
7362
+ );
7363
+ };
7364
+ var GetEventAttendeePackages = async ({
7365
+ eventId,
7366
+ accountId,
7367
+ status,
7368
+ pageParam,
7369
+ pageSize,
7370
+ orderBy,
7371
+ search,
7372
+ adminApiParams
7373
+ }) => {
7374
+ const adminApi = await GetAdminAPI(adminApiParams);
7375
+ const { data } = await adminApi.get(
7376
+ `/events/${eventId}/attendees/${accountId}/packages`,
7377
+ {
7378
+ params: {
7379
+ status: status || void 0,
7380
+ page: pageParam || void 0,
7381
+ pageSize: pageSize || void 0,
7382
+ orderBy: orderBy || void 0,
7383
+ search: search || void 0
7384
+ }
7385
+ }
7386
+ );
7387
+ return data;
7388
+ };
7389
+ var useGetEventAttendeePackages = (eventId = "", accountId = "", status, params = {}, options = {}) => {
7390
+ return useConnectedInfiniteQuery(
7391
+ EVENT_ATTENDEE_PACKAGES_QUERY_KEY(eventId, accountId, status),
7392
+ (params2) => GetEventAttendeePackages({
7393
+ ...params2,
7394
+ eventId,
7395
+ accountId,
7396
+ status
7397
+ }),
7398
+ params,
7399
+ {
7400
+ ...options,
7401
+ enabled: !!eventId && !!accountId && (options.enabled ?? true)
7402
+ },
7403
+ "events"
7404
+ );
7405
+ };
7406
+
7407
+ // src/queries/events/attendees/packages/useGetEventAttendeePackage.ts
7408
+ var EVENT_ATTENDEE_PACKAGE_QUERY_KEY = (eventId, accountId, packageId) => [...EVENT_ATTENDEE_PACKAGES_QUERY_KEY(eventId, accountId), packageId];
7409
+ var SET_EVENT_ATTENDEE_PACKAGE_QUERY_DATA = (client, keyParams, response) => {
7410
+ client.setQueryData(EVENT_ATTENDEE_PACKAGE_QUERY_KEY(...keyParams), response);
7411
+ };
7412
+ var GetEventAttendeePackage = async ({
7413
+ eventId,
7414
+ accountId,
7415
+ packageId,
7416
+ adminApiParams
7417
+ }) => {
7418
+ const adminApi = await GetAdminAPI(adminApiParams);
7419
+ const { data } = await adminApi.get(
7420
+ `/events/${eventId}/attendees/${accountId}/packages/${packageId}`
7421
+ );
7422
+ return data;
7423
+ };
7424
+ var useGetEventAttendeePackage = (eventId, accountId, packageId, options = {}) => {
7425
+ return useConnectedSingleQuery(
7426
+ EVENT_ATTENDEE_PACKAGE_QUERY_KEY(eventId, accountId, packageId),
7427
+ (params) => GetEventAttendeePackage({
7428
+ eventId,
7429
+ accountId,
7430
+ packageId,
7431
+ ...params
7432
+ }),
7433
+ {
7434
+ ...options,
7435
+ enabled: !!eventId && !!accountId && !!packageId && (options?.enabled ?? true)
7436
+ },
7437
+ "events"
7438
+ );
7439
+ };
7440
+
7302
7441
  // src/queries/events/attendees/reservations/useGetEventAttendeeReservations.ts
7303
7442
  var EVENT_ATTENDEE_RESERVATIONS_QUERY_KEY = (eventId, accountId) => [...EVENT_ATTENDEE_QUERY_KEY(eventId, accountId), "RESERVATIONS"];
7304
7443
  var SET_EVENT_ATTENDEE_RESERVATIONS_QUERY_DATA = (client, keyParams, response) => {
@@ -15018,18 +15157,18 @@ var EventSessionQuestionType = /* @__PURE__ */ ((EventSessionQuestionType2) => {
15018
15157
  EventSessionQuestionType2["quantity"] = "quantity";
15019
15158
  return EventSessionQuestionType2;
15020
15159
  })(EventSessionQuestionType || {});
15021
- var SubscriptionProductPriceType = /* @__PURE__ */ ((SubscriptionProductPriceType2) => {
15022
- SubscriptionProductPriceType2["flat"] = "flat";
15023
- SubscriptionProductPriceType2["payWhatYouWant"] = "payWhatYouWant";
15024
- return SubscriptionProductPriceType2;
15025
- })(SubscriptionProductPriceType || {});
15026
- var SubscriptionProductPriceInterval = /* @__PURE__ */ ((SubscriptionProductPriceInterval2) => {
15027
- SubscriptionProductPriceInterval2["day"] = "day";
15028
- SubscriptionProductPriceInterval2["week"] = "week";
15029
- SubscriptionProductPriceInterval2["month"] = "month";
15030
- SubscriptionProductPriceInterval2["year"] = "year";
15031
- return SubscriptionProductPriceInterval2;
15032
- })(SubscriptionProductPriceInterval || {});
15160
+ var MembershipPriceType = /* @__PURE__ */ ((MembershipPriceType2) => {
15161
+ MembershipPriceType2["flat"] = "flat";
15162
+ MembershipPriceType2["payWhatYouWant"] = "payWhatYouWant";
15163
+ return MembershipPriceType2;
15164
+ })(MembershipPriceType || {});
15165
+ var MembershipPriceInterval = /* @__PURE__ */ ((MembershipPriceInterval2) => {
15166
+ MembershipPriceInterval2["day"] = "day";
15167
+ MembershipPriceInterval2["week"] = "week";
15168
+ MembershipPriceInterval2["month"] = "month";
15169
+ MembershipPriceInterval2["year"] = "year";
15170
+ return MembershipPriceInterval2;
15171
+ })(MembershipPriceInterval || {});
15033
15172
  var SubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatus2) => {
15034
15173
  SubscriptionStatus2["active"] = "active";
15035
15174
  SubscriptionStatus2["canceled"] = "canceled";
@@ -16306,6 +16445,362 @@ var useGetLinkPreview = (href = "", options = {}) => {
16306
16445
  );
16307
16446
  };
16308
16447
 
16448
+ // src/queries/memberships/useGetMemberships.ts
16449
+ var MEMBERSHIPS_QUERY_KEY = () => ["MEMBERSHIPS"];
16450
+ var SET_MEMBERSHIPS_QUERY_DATA = (client, keyParams, response) => {
16451
+ client.setQueryData(MEMBERSHIPS_QUERY_KEY(...keyParams), response);
16452
+ };
16453
+ var GetMemberships = async ({
16454
+ pageParam,
16455
+ pageSize,
16456
+ orderBy,
16457
+ search,
16458
+ adminApiParams
16459
+ }) => {
16460
+ const adminApi = await GetAdminAPI(adminApiParams);
16461
+ const { data } = await adminApi.get(`/subscription-products`, {
16462
+ params: {
16463
+ page: pageParam || void 0,
16464
+ pageSize: pageSize || void 0,
16465
+ orderBy: orderBy || void 0,
16466
+ search: search || void 0
16467
+ }
16468
+ });
16469
+ return data;
16470
+ };
16471
+ var useGetMemberships = (params = {}, options = {}) => {
16472
+ return useConnectedInfiniteQuery(
16473
+ MEMBERSHIPS_QUERY_KEY(),
16474
+ (params2) => GetMemberships(params2),
16475
+ params,
16476
+ options,
16477
+ "subscriptions"
16478
+ );
16479
+ };
16480
+
16481
+ // src/queries/memberships/useGetMembership.ts
16482
+ var MEMBERSHIP_QUERY_KEY = (membershipId) => [
16483
+ ...MEMBERSHIPS_QUERY_KEY(),
16484
+ membershipId
16485
+ ];
16486
+ var SET_MEMBERSHIP_QUERY_DATA = (client, keyParams, response) => {
16487
+ client.setQueryData(MEMBERSHIP_QUERY_KEY(...keyParams), response);
16488
+ };
16489
+ var GetMembership = async ({
16490
+ membershipId,
16491
+ adminApiParams
16492
+ }) => {
16493
+ const adminApi = await GetAdminAPI(adminApiParams);
16494
+ const { data } = await adminApi.get(`/subscription-products/${membershipId}`);
16495
+ return data;
16496
+ };
16497
+ var useGetMembership = (membershipId = "", options = {}) => {
16498
+ return useConnectedSingleQuery(
16499
+ MEMBERSHIP_QUERY_KEY(membershipId),
16500
+ (params) => GetMembership({ membershipId, ...params }),
16501
+ {
16502
+ ...options,
16503
+ enabled: !!membershipId && (options?.enabled ?? true)
16504
+ },
16505
+ "subscriptions"
16506
+ );
16507
+ };
16508
+
16509
+ // src/queries/memberships/useGetMembershipPrices.ts
16510
+ var MEMBERSHIP_PRICES_QUERY_KEY = (membershipId) => [
16511
+ ...MEMBERSHIP_QUERY_KEY(membershipId),
16512
+ "MEMBERSHIP_PRICES"
16513
+ ];
16514
+ var SET_MEMBERSHIP_PRICES_QUERY_DATA = (client, keyParams, response) => {
16515
+ client.setQueryData(MEMBERSHIP_PRICES_QUERY_KEY(...keyParams), response);
16516
+ };
16517
+ var GetMembershipPrices = async ({
16518
+ pageParam,
16519
+ pageSize,
16520
+ orderBy,
16521
+ search,
16522
+ membershipId,
16523
+ adminApiParams
16524
+ }) => {
16525
+ const adminApi = await GetAdminAPI(adminApiParams);
16526
+ const { data } = await adminApi.get(
16527
+ `/subscription-products/${membershipId}/prices`,
16528
+ {
16529
+ params: {
16530
+ page: pageParam || void 0,
16531
+ pageSize: pageSize || void 0,
16532
+ orderBy: orderBy || void 0,
16533
+ search: search || void 0
16534
+ }
16535
+ }
16536
+ );
16537
+ return data;
16538
+ };
16539
+ var useGetMembershipPrices = (membershipId = "", params = {}, options = {}) => {
16540
+ return useConnectedInfiniteQuery(
16541
+ MEMBERSHIP_PRICES_QUERY_KEY(membershipId),
16542
+ (params2) => GetMembershipPrices({ ...params2, membershipId }),
16543
+ params,
16544
+ {
16545
+ ...options,
16546
+ enabled: !!membershipId && (options.enabled ?? true)
16547
+ },
16548
+ "subscriptions"
16549
+ );
16550
+ };
16551
+
16552
+ // src/queries/memberships/useGetMembershipPrice.ts
16553
+ var MEMBERSHIP_PRICE_QUERY_KEY = (membershipId, membershipPriceId) => [...MEMBERSHIP_PRICES_QUERY_KEY(membershipId), membershipPriceId];
16554
+ var SET_MEMBERSHIP_PRICE_QUERY_DATA = (client, keyParams, response) => {
16555
+ client.setQueryData(MEMBERSHIP_PRICE_QUERY_KEY(...keyParams), response);
16556
+ };
16557
+ var GetMembershipPrice = async ({
16558
+ membershipId,
16559
+ membershipPriceId,
16560
+ adminApiParams
16561
+ }) => {
16562
+ const adminApi = await GetAdminAPI(adminApiParams);
16563
+ const { data } = await adminApi.get(
16564
+ `/subscription-products/${membershipId}/prices/${membershipPriceId}`
16565
+ );
16566
+ return data;
16567
+ };
16568
+ var useGetMembershipPrice = (membershipId = "", membershipPriceId = "", options = {}) => {
16569
+ return useConnectedSingleQuery(
16570
+ MEMBERSHIP_PRICE_QUERY_KEY(membershipId, membershipPriceId),
16571
+ (params) => GetMembershipPrice({
16572
+ membershipId,
16573
+ membershipPriceId,
16574
+ ...params
16575
+ }),
16576
+ {
16577
+ ...options,
16578
+ enabled: !!membershipId && !!membershipPriceId && (options?.enabled ?? true)
16579
+ },
16580
+ "subscriptions"
16581
+ );
16582
+ };
16583
+
16584
+ // src/queries/memberships/useGetMembershipSubscriptions.ts
16585
+ var MEMBERSHIP_SUBSCRIPTIONS_QUERY_KEY = (membershipId, status) => {
16586
+ const queryKey = [...MEMBERSHIP_QUERY_KEY(membershipId), membershipId];
16587
+ if (status) {
16588
+ queryKey.push(status);
16589
+ }
16590
+ return queryKey;
16591
+ };
16592
+ var SET_MEMBERSHIP_SUBSCRIPTIONS_QUERY_DATA = (client, keyParams, response) => {
16593
+ client.setQueryData(
16594
+ MEMBERSHIP_SUBSCRIPTIONS_QUERY_KEY(...keyParams),
16595
+ response
16596
+ );
16597
+ };
16598
+ var GetMembershipSubscriptions = async ({
16599
+ membershipId,
16600
+ status,
16601
+ pageParam,
16602
+ pageSize,
16603
+ orderBy,
16604
+ search,
16605
+ adminApiParams
16606
+ }) => {
16607
+ const adminApi = await GetAdminAPI(adminApiParams);
16608
+ const { data } = await adminApi.get(
16609
+ `/subscription-products/${membershipId}/subscriptions`,
16610
+ {
16611
+ params: {
16612
+ page: pageParam || void 0,
16613
+ pageSize: pageSize || void 0,
16614
+ orderBy: orderBy || void 0,
16615
+ search: search || void 0,
16616
+ status: status || void 0
16617
+ }
16618
+ }
16619
+ );
16620
+ return data;
16621
+ };
16622
+ var useGetMembershipSubscriptions = (membershipId, status, params = {}, options = {}) => {
16623
+ return useConnectedInfiniteQuery(
16624
+ MEMBERSHIP_SUBSCRIPTIONS_QUERY_KEY(membershipId, status),
16625
+ (params2) => GetMembershipSubscriptions({
16626
+ membershipId,
16627
+ status,
16628
+ ...params2
16629
+ }),
16630
+ params,
16631
+ {
16632
+ ...options,
16633
+ enabled: !!membershipId && (options.enabled ?? true)
16634
+ },
16635
+ "subscriptions"
16636
+ );
16637
+ };
16638
+
16639
+ // src/queries/memberships/useGetMembershipTiers.ts
16640
+ var MEMBERSHIP_TIERS_QUERY_KEY = (membershipId) => [
16641
+ ...MEMBERSHIP_QUERY_KEY(membershipId),
16642
+ "MEMBERSHIP_TIERS"
16643
+ ];
16644
+ var SET_MEMBERSHIP_TIERS_QUERY_DATA = (client, keyParams, response) => {
16645
+ client.setQueryData(MEMBERSHIP_TIERS_QUERY_KEY(...keyParams), response);
16646
+ };
16647
+ var GetMembershipTiers = async ({
16648
+ pageParam,
16649
+ pageSize,
16650
+ orderBy,
16651
+ search,
16652
+ membershipId,
16653
+ adminApiParams
16654
+ }) => {
16655
+ const adminApi = await GetAdminAPI(adminApiParams);
16656
+ const { data } = await adminApi.get(
16657
+ `/subscription-products/${membershipId}/tiers`,
16658
+ {
16659
+ params: {
16660
+ page: pageParam || void 0,
16661
+ pageSize: pageSize || void 0,
16662
+ orderBy: orderBy || void 0,
16663
+ search: search || void 0
16664
+ }
16665
+ }
16666
+ );
16667
+ return data;
16668
+ };
16669
+ var useGetMembershipTiers = (membershipId = "", params = {}, options = {}) => {
16670
+ return useConnectedInfiniteQuery(
16671
+ MEMBERSHIP_TIERS_QUERY_KEY(membershipId),
16672
+ (params2) => GetMembershipTiers({ ...params2, membershipId }),
16673
+ params,
16674
+ {
16675
+ ...options,
16676
+ enabled: !!membershipId && (options.enabled ?? true)
16677
+ },
16678
+ "subscriptions"
16679
+ );
16680
+ };
16681
+
16682
+ // src/queries/memberships/useGetSubscriptions.ts
16683
+ var SUBSCRIPTIONS_QUERY_KEY = (status) => {
16684
+ const queryKey = ["SUBSCRIPTIONS"];
16685
+ if (status) {
16686
+ queryKey.push(status);
16687
+ }
16688
+ return queryKey;
16689
+ };
16690
+ var SET_SUBSCRIPTIONS_QUERY_DATA = (client, keyParams, response) => {
16691
+ client.setQueryData(SUBSCRIPTIONS_QUERY_KEY(...keyParams), response);
16692
+ };
16693
+ var GetSubscriptions = async ({
16694
+ pageParam,
16695
+ pageSize,
16696
+ orderBy,
16697
+ search,
16698
+ status,
16699
+ membershipId,
16700
+ adminApiParams
16701
+ }) => {
16702
+ const adminApi = await GetAdminAPI(adminApiParams);
16703
+ const { data } = await adminApi.get(`/subscriptions`, {
16704
+ params: {
16705
+ page: pageParam || void 0,
16706
+ pageSize: pageSize || void 0,
16707
+ orderBy: orderBy || void 0,
16708
+ search: search || void 0,
16709
+ status: status || void 0,
16710
+ subscriptionProductId: membershipId || void 0
16711
+ }
16712
+ });
16713
+ return data;
16714
+ };
16715
+ var useGetSubscriptions = (status, membershipId, params = {}, options = {}) => {
16716
+ return useConnectedInfiniteQuery(
16717
+ SUBSCRIPTIONS_QUERY_KEY(status),
16718
+ (params2) => GetSubscriptions({
16719
+ status,
16720
+ membershipId,
16721
+ ...params2
16722
+ }),
16723
+ params,
16724
+ options,
16725
+ "subscriptions"
16726
+ );
16727
+ };
16728
+
16729
+ // src/queries/memberships/useGetSubscription.ts
16730
+ var SUBSCRIPTION_QUERY_KEY = (subscriptionId) => [
16731
+ ...SUBSCRIPTIONS_QUERY_KEY(),
16732
+ subscriptionId
16733
+ ];
16734
+ var SET_SUBSCRIPTION_QUERY_DATA = (client, keyParams, response) => {
16735
+ client.setQueryData(SUBSCRIPTION_QUERY_KEY(...keyParams), response);
16736
+ };
16737
+ var GetSubscription = async ({
16738
+ subscriptionId,
16739
+ adminApiParams
16740
+ }) => {
16741
+ const adminApi = await GetAdminAPI(adminApiParams);
16742
+ const { data } = await adminApi.get(`/subscriptions/${subscriptionId}`);
16743
+ return data;
16744
+ };
16745
+ var useGetSubscription = (subscriptionId = "", options = {}) => {
16746
+ return useConnectedSingleQuery(
16747
+ SUBSCRIPTION_QUERY_KEY(subscriptionId),
16748
+ (params) => GetSubscription({ subscriptionId, ...params }),
16749
+ {
16750
+ ...options,
16751
+ enabled: !!subscriptionId && (options?.enabled ?? true),
16752
+ refetchOnWindowFocus: false,
16753
+ refetchOnMount: false,
16754
+ refetchOnReconnect: false,
16755
+ staleTime: Infinity
16756
+ },
16757
+ "subscriptions"
16758
+ );
16759
+ };
16760
+
16761
+ // src/queries/memberships/useGetSubscriptionPayments.ts
16762
+ var SUBSCRIPTION_PAYMENTS_QUERY_KEY = (subscriptionId) => [
16763
+ ...SUBSCRIPTION_QUERY_KEY(subscriptionId),
16764
+ "PAYMENTS"
16765
+ ];
16766
+ var SET_SUBSCRIPTION_PAYMENTS_QUERY_DATA = (client, keyParams, response) => {
16767
+ client.setQueryData(SUBSCRIPTION_PAYMENTS_QUERY_KEY(...keyParams), response);
16768
+ };
16769
+ var GetSubscriptionPayments = async ({
16770
+ pageParam,
16771
+ pageSize,
16772
+ orderBy,
16773
+ search,
16774
+ subscriptionId,
16775
+ adminApiParams
16776
+ }) => {
16777
+ const adminApi = await GetAdminAPI(adminApiParams);
16778
+ const { data } = await adminApi.get(
16779
+ `/subscriptions/${subscriptionId}/payments`,
16780
+ {
16781
+ params: {
16782
+ page: pageParam || void 0,
16783
+ pageSize: pageSize || void 0,
16784
+ orderBy: orderBy || void 0,
16785
+ search: search || void 0
16786
+ }
16787
+ }
16788
+ );
16789
+ return data;
16790
+ };
16791
+ var useGetSubscriptionPayments = (subscriptionId = "", params = {}, options = {}) => {
16792
+ return useConnectedInfiniteQuery(
16793
+ SUBSCRIPTION_PAYMENTS_QUERY_KEY(subscriptionId),
16794
+ (params2) => GetSubscriptionPayments({ ...params2, subscriptionId }),
16795
+ params,
16796
+ {
16797
+ ...options,
16798
+ enabled: !!subscriptionId && (options.enabled ?? true)
16799
+ },
16800
+ "subscriptions"
16801
+ );
16802
+ };
16803
+
16309
16804
  // src/queries/organization/integrations/useGetIntegrations.ts
16310
16805
  var INTEGRATIONS_QUERY_KEY = () => ["INTEGRATIONS"];
16311
16806
  var SET_INTEGRATIONS_QUERY_DATA = (client, keyParams, response) => {
@@ -17166,27 +17661,32 @@ var useGetOrganizationUsers = (params = {}, options = {}) => {
17166
17661
  };
17167
17662
 
17168
17663
  // src/queries/organization/useSearchOrganization.ts
17169
- var SEARCH_ORGANIZATION_QUERY_KEY = (search) => [
17664
+ var SEARCH_ORGANIZATION_QUERY_KEY = (search, filters) => [
17170
17665
  "SEARCH_ORGANIZATION",
17171
- search ?? ""
17666
+ search ?? "",
17667
+ ...filters ? [JSON.stringify(filters)] : []
17172
17668
  ];
17173
17669
  var SET_SEARCH_ORGANIZATION_QUERY_DATA = (client, keyParams, response) => {
17174
17670
  client.setQueryData(SEARCH_ORGANIZATION_QUERY_KEY(...keyParams), response);
17175
17671
  };
17176
17672
  var SearchOrganization = async ({
17177
17673
  search,
17674
+ filters,
17178
17675
  adminApiParams
17179
17676
  }) => {
17180
17677
  const adminApi = await GetAdminAPI(adminApiParams);
17181
17678
  const { data } = await adminApi.get(`/organization/search`, {
17182
- params: { search }
17679
+ params: {
17680
+ search,
17681
+ ...filters
17682
+ }
17183
17683
  });
17184
17684
  return data;
17185
17685
  };
17186
- var useSearchOrganization = (search, options = {}) => {
17686
+ var useSearchOrganization = (search, filters, options = {}) => {
17187
17687
  return useConnectedSingleQuery(
17188
- SEARCH_ORGANIZATION_QUERY_KEY(search),
17189
- (params) => SearchOrganization({ ...params, search }),
17688
+ SEARCH_ORGANIZATION_QUERY_KEY(search, filters),
17689
+ (params) => SearchOrganization({ ...params, search, filters }),
17190
17690
  {
17191
17691
  ...options,
17192
17692
  enabled: !!search && (options.enabled ?? true)
@@ -17755,373 +18255,6 @@ var useGetStreamInputOutput = (streamId = "", output = "", options = {}) => {
17755
18255
  );
17756
18256
  };
17757
18257
 
17758
- // src/queries/subscriptions/useGetSubscriptions.ts
17759
- var SUBSCRIPTIONS_QUERY_KEY = () => ["SUBSCRIPTIONS"];
17760
- var SET_SUBSCRIPTIONS_QUERY_DATA = (client, keyParams, response) => {
17761
- client.setQueryData(SUBSCRIPTIONS_QUERY_KEY(...keyParams), response);
17762
- };
17763
- var GetSubscriptions = async ({
17764
- pageParam,
17765
- pageSize,
17766
- orderBy,
17767
- search,
17768
- status,
17769
- subscriptionProductId,
17770
- adminApiParams
17771
- }) => {
17772
- const adminApi = await GetAdminAPI(adminApiParams);
17773
- const { data } = await adminApi.get(`/subscriptions`, {
17774
- params: {
17775
- page: pageParam || void 0,
17776
- pageSize: pageSize || void 0,
17777
- orderBy: orderBy || void 0,
17778
- search: search || void 0,
17779
- status: status || void 0,
17780
- subscriptionProductId: subscriptionProductId || void 0
17781
- }
17782
- });
17783
- return data;
17784
- };
17785
- var useGetSubscriptions = (status, subscriptionProductId, params = {}, options = {}) => {
17786
- return useConnectedInfiniteQuery(
17787
- SUBSCRIPTIONS_QUERY_KEY(),
17788
- (params2) => GetSubscriptions({
17789
- status,
17790
- subscriptionProductId,
17791
- ...params2
17792
- }),
17793
- params,
17794
- options,
17795
- "subscriptions"
17796
- );
17797
- };
17798
-
17799
- // src/queries/subscriptions/useGetSubscription.ts
17800
- var SUBSCRIPTION_QUERY_KEY = (subscriptionId) => [
17801
- ...SUBSCRIPTIONS_QUERY_KEY(),
17802
- subscriptionId
17803
- ];
17804
- var SET_SUBSCRIPTION_QUERY_DATA = (client, keyParams, response) => {
17805
- client.setQueryData(SUBSCRIPTION_QUERY_KEY(...keyParams), response);
17806
- };
17807
- var GetSubscription = async ({
17808
- subscriptionId,
17809
- adminApiParams
17810
- }) => {
17811
- const adminApi = await GetAdminAPI(adminApiParams);
17812
- const { data } = await adminApi.get(`/subscriptions/${subscriptionId}`);
17813
- return data;
17814
- };
17815
- var useGetSubscription = (subscriptionId = "", options = {}) => {
17816
- return useConnectedSingleQuery(
17817
- SUBSCRIPTION_QUERY_KEY(subscriptionId),
17818
- (params) => GetSubscription({ subscriptionId, ...params }),
17819
- {
17820
- ...options,
17821
- enabled: !!subscriptionId && (options?.enabled ?? true),
17822
- refetchOnWindowFocus: false,
17823
- refetchOnMount: false,
17824
- refetchOnReconnect: false,
17825
- staleTime: Infinity
17826
- },
17827
- "subscriptions"
17828
- );
17829
- };
17830
-
17831
- // src/queries/subscriptions/useGetSubscriptionPayments.ts
17832
- var SUBSCRIPTION_PAYMENTS_QUERY_KEY = (subscriptionId) => [
17833
- ...SUBSCRIPTION_QUERY_KEY(subscriptionId),
17834
- "PAYMENTS"
17835
- ];
17836
- var SET_SUBSCRIPTION_PAYMENTS_QUERY_DATA = (client, keyParams, response) => {
17837
- client.setQueryData(SUBSCRIPTION_PAYMENTS_QUERY_KEY(...keyParams), response);
17838
- };
17839
- var GetSubscriptionPayments = async ({
17840
- pageParam,
17841
- pageSize,
17842
- orderBy,
17843
- search,
17844
- subscriptionId,
17845
- adminApiParams
17846
- }) => {
17847
- const adminApi = await GetAdminAPI(adminApiParams);
17848
- const { data } = await adminApi.get(
17849
- `/subscriptions/${subscriptionId}/payments`,
17850
- {
17851
- params: {
17852
- page: pageParam || void 0,
17853
- pageSize: pageSize || void 0,
17854
- orderBy: orderBy || void 0,
17855
- search: search || void 0
17856
- }
17857
- }
17858
- );
17859
- return data;
17860
- };
17861
- var useGetSubscriptionPayments = (subscriptionId = "", params = {}, options = {}) => {
17862
- return useConnectedInfiniteQuery(
17863
- SUBSCRIPTION_PAYMENTS_QUERY_KEY(subscriptionId),
17864
- (params2) => GetSubscriptionPayments({ ...params2, subscriptionId }),
17865
- params,
17866
- {
17867
- ...options,
17868
- enabled: !!subscriptionId && (options.enabled ?? true)
17869
- },
17870
- "subscriptions"
17871
- );
17872
- };
17873
-
17874
- // src/queries/subscriptions/useGetSubscriptionProducts.ts
17875
- var SUBSCRIPTION_PRODUCTS_QUERY_KEY = () => ["SUBSCRIPTION_PRODUCTS"];
17876
- var SET_SUBSCRIPTION_PRODUCTS_QUERY_DATA = (client, keyParams, response) => {
17877
- client.setQueryData(SUBSCRIPTION_PRODUCTS_QUERY_KEY(...keyParams), response);
17878
- };
17879
- var GetSubscriptionProducts = async ({
17880
- pageParam,
17881
- pageSize,
17882
- orderBy,
17883
- search,
17884
- adminApiParams
17885
- }) => {
17886
- const adminApi = await GetAdminAPI(adminApiParams);
17887
- const { data } = await adminApi.get(`/subscription-products`, {
17888
- params: {
17889
- page: pageParam || void 0,
17890
- pageSize: pageSize || void 0,
17891
- orderBy: orderBy || void 0,
17892
- search: search || void 0
17893
- }
17894
- });
17895
- return data;
17896
- };
17897
- var useGetSubscriptionProducts = (params = {}, options = {}) => {
17898
- return useConnectedInfiniteQuery(
17899
- SUBSCRIPTION_PRODUCTS_QUERY_KEY(),
17900
- (params2) => GetSubscriptionProducts(params2),
17901
- params,
17902
- options,
17903
- "subscriptions"
17904
- );
17905
- };
17906
-
17907
- // src/queries/subscriptions/useGetSubscriptionProduct.ts
17908
- var SUBSCRIPTION_PRODUCT_QUERY_KEY = (subscriptionProductId) => [...SUBSCRIPTION_PRODUCTS_QUERY_KEY(), subscriptionProductId];
17909
- var SET_SUBSCRIPTION_PRODUCT_QUERY_DATA = (client, keyParams, response) => {
17910
- client.setQueryData(SUBSCRIPTION_PRODUCT_QUERY_KEY(...keyParams), response);
17911
- };
17912
- var GetSubscriptionProduct = async ({
17913
- subscriptionProductId,
17914
- adminApiParams
17915
- }) => {
17916
- const adminApi = await GetAdminAPI(adminApiParams);
17917
- const { data } = await adminApi.get(
17918
- `/subscription-products/${subscriptionProductId}`
17919
- );
17920
- return data;
17921
- };
17922
- var useGetSubscriptionProduct = (subscriptionProductId = "", options = {}) => {
17923
- return useConnectedSingleQuery(
17924
- SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId),
17925
- (params) => GetSubscriptionProduct({ subscriptionProductId, ...params }),
17926
- {
17927
- ...options,
17928
- enabled: !!subscriptionProductId && (options?.enabled ?? true)
17929
- },
17930
- "subscriptions"
17931
- );
17932
- };
17933
-
17934
- // src/queries/subscriptions/useGetSubscriptionProductPrices.ts
17935
- var SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY = (subscriptionProductId) => [
17936
- ...SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId),
17937
- "SUBSCRIPTION_PRODUCT_PRICES"
17938
- ];
17939
- var SET_SUBSCRIPTION_PRODUCT_PRICES_QUERY_DATA = (client, keyParams, response) => {
17940
- client.setQueryData(
17941
- SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(...keyParams),
17942
- response
17943
- );
17944
- };
17945
- var GetSubscriptionProductPrices = async ({
17946
- pageParam,
17947
- pageSize,
17948
- orderBy,
17949
- search,
17950
- subscriptionProductId,
17951
- adminApiParams
17952
- }) => {
17953
- const adminApi = await GetAdminAPI(adminApiParams);
17954
- const { data } = await adminApi.get(
17955
- `/subscription-products/${subscriptionProductId}/prices`,
17956
- {
17957
- params: {
17958
- page: pageParam || void 0,
17959
- pageSize: pageSize || void 0,
17960
- orderBy: orderBy || void 0,
17961
- search: search || void 0
17962
- }
17963
- }
17964
- );
17965
- return data;
17966
- };
17967
- var useGetSubscriptionProductPrices = (subscriptionProductId = "", params = {}, options = {}) => {
17968
- return useConnectedInfiniteQuery(
17969
- SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(subscriptionProductId),
17970
- (params2) => GetSubscriptionProductPrices({ ...params2, subscriptionProductId }),
17971
- params,
17972
- {
17973
- ...options,
17974
- enabled: !!subscriptionProductId && (options.enabled ?? true)
17975
- },
17976
- "subscriptions"
17977
- );
17978
- };
17979
-
17980
- // src/queries/subscriptions/useGetSubscriptionProductPrice.ts
17981
- var SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY = (subscriptionProductId, subscriptionProductPriceId) => [
17982
- ...SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(subscriptionProductId),
17983
- subscriptionProductPriceId
17984
- ];
17985
- var SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA = (client, keyParams, response) => {
17986
- client.setQueryData(
17987
- SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY(...keyParams),
17988
- response
17989
- );
17990
- };
17991
- var GetSubscriptionProductPrice = async ({
17992
- subscriptionProductId,
17993
- subscriptionProductPriceId,
17994
- adminApiParams
17995
- }) => {
17996
- const adminApi = await GetAdminAPI(adminApiParams);
17997
- const { data } = await adminApi.get(
17998
- `/subscription-products/${subscriptionProductId}/prices/${subscriptionProductPriceId}`
17999
- );
18000
- return data;
18001
- };
18002
- var useGetSubscriptionProductPrice = (subscriptionProductId = "", subscriptionProductPriceId = "", options = {}) => {
18003
- return useConnectedSingleQuery(
18004
- SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY(
18005
- subscriptionProductId,
18006
- subscriptionProductPriceId
18007
- ),
18008
- (params) => GetSubscriptionProductPrice({
18009
- subscriptionProductId,
18010
- subscriptionProductPriceId,
18011
- ...params
18012
- }),
18013
- {
18014
- ...options,
18015
- enabled: !!subscriptionProductId && !!subscriptionProductPriceId && (options?.enabled ?? true)
18016
- },
18017
- "subscriptions"
18018
- );
18019
- };
18020
-
18021
- // src/queries/subscriptions/useGetSubscriptionProductSubscriptions.ts
18022
- var SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY = (subscriptionProductId, status) => {
18023
- const queryKey = [
18024
- ...SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId),
18025
- subscriptionProductId
18026
- ];
18027
- if (status) {
18028
- queryKey.push(status);
18029
- }
18030
- return queryKey;
18031
- };
18032
- var SET_SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_DATA = (client, keyParams, response) => {
18033
- client.setQueryData(
18034
- SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY(...keyParams),
18035
- response
18036
- );
18037
- };
18038
- var GetSubscriptionProductSubscriptions = async ({
18039
- subscriptionProductId,
18040
- status,
18041
- pageParam,
18042
- pageSize,
18043
- orderBy,
18044
- search,
18045
- adminApiParams
18046
- }) => {
18047
- const adminApi = await GetAdminAPI(adminApiParams);
18048
- const { data } = await adminApi.get(
18049
- `/subscription-products/${subscriptionProductId}/subscriptions`,
18050
- {
18051
- params: {
18052
- page: pageParam || void 0,
18053
- pageSize: pageSize || void 0,
18054
- orderBy: orderBy || void 0,
18055
- search: search || void 0,
18056
- status: status || void 0
18057
- }
18058
- }
18059
- );
18060
- return data;
18061
- };
18062
- var useGetSubscriptionProductSubscriptions = (subscriptionProductId, status, params = {}, options = {}) => {
18063
- return useConnectedInfiniteQuery(
18064
- SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY(subscriptionProductId),
18065
- (params2) => GetSubscriptionProductSubscriptions({
18066
- subscriptionProductId,
18067
- status,
18068
- ...params2
18069
- }),
18070
- params,
18071
- {
18072
- ...options,
18073
- enabled: !!subscriptionProductId && (options.enabled ?? true)
18074
- },
18075
- "subscriptions"
18076
- );
18077
- };
18078
-
18079
- // src/queries/subscriptions/useGetSubscriptionProductTiers.ts
18080
- var SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY = (subscriptionProductId) => [
18081
- ...SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId),
18082
- "SUBSCRIPTION_PRODUCT_TIERS"
18083
- ];
18084
- var SET_SUBSCRIPTION_PRODUCT_TIERS_QUERY_DATA = (client, keyParams, response) => {
18085
- client.setQueryData(
18086
- SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY(...keyParams),
18087
- response
18088
- );
18089
- };
18090
- var GetSubscriptionProductTiers = async ({
18091
- pageParam,
18092
- pageSize,
18093
- orderBy,
18094
- search,
18095
- subscriptionProductId,
18096
- adminApiParams
18097
- }) => {
18098
- const adminApi = await GetAdminAPI(adminApiParams);
18099
- const { data } = await adminApi.get(
18100
- `/subscription-products/${subscriptionProductId}/tiers`,
18101
- {
18102
- params: {
18103
- page: pageParam || void 0,
18104
- pageSize: pageSize || void 0,
18105
- orderBy: orderBy || void 0,
18106
- search: search || void 0
18107
- }
18108
- }
18109
- );
18110
- return data;
18111
- };
18112
- var useGetSubscriptionProductTiers = (subscriptionProductId = "", params = {}, options = {}) => {
18113
- return useConnectedInfiniteQuery(
18114
- SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY(subscriptionProductId),
18115
- (params2) => GetSubscriptionProductTiers({ ...params2, subscriptionProductId }),
18116
- params,
18117
- {
18118
- ...options,
18119
- enabled: !!subscriptionProductId && (options.enabled ?? true)
18120
- },
18121
- "subscriptions"
18122
- );
18123
- };
18124
-
18125
18258
  // src/queries/supportTickets/useGetSupportTickets.ts
18126
18259
  var SUPPORT_TICKETS_QUERY_KEY = (status, type) => [
18127
18260
  "SUPPORT_TICKETS",
@@ -32548,6 +32681,292 @@ var useUpdateLevel = (options = {}) => {
32548
32681
  });
32549
32682
  };
32550
32683
 
32684
+ // src/mutations/membership/useAddMembershipTier.ts
32685
+ var AddMembershipTier = async ({
32686
+ membershipId,
32687
+ tierId,
32688
+ adminApiParams,
32689
+ queryClient
32690
+ }) => {
32691
+ const connectedXM = await GetAdminAPI(adminApiParams);
32692
+ const { data } = await connectedXM.post(
32693
+ `/subscription-products/${membershipId}/tiers/${tierId}`
32694
+ );
32695
+ if (queryClient && data.status === "ok") {
32696
+ queryClient.invalidateQueries({
32697
+ queryKey: MEMBERSHIP_TIERS_QUERY_KEY(membershipId)
32698
+ });
32699
+ }
32700
+ return { ...data };
32701
+ };
32702
+ var useAddMembershipTier = (options = {}) => {
32703
+ return useConnectedMutation(AddMembershipTier, options, {
32704
+ domain: "subscriptions",
32705
+ type: "update"
32706
+ });
32707
+ };
32708
+
32709
+ // src/mutations/membership/useCancelSubscription.ts
32710
+ var CancelSubscription = async ({
32711
+ subscriptionId,
32712
+ adminApiParams,
32713
+ queryClient
32714
+ }) => {
32715
+ const connectedXM = await GetAdminAPI(adminApiParams);
32716
+ const { data } = await connectedXM.delete(
32717
+ `/subscriptions/${subscriptionId}`
32718
+ );
32719
+ if (queryClient && data.status === "ok") {
32720
+ queryClient.invalidateQueries({ queryKey: SUBSCRIPTIONS_QUERY_KEY() });
32721
+ SET_SUBSCRIPTION_QUERY_DATA(queryClient, [subscriptionId], data);
32722
+ }
32723
+ return data;
32724
+ };
32725
+ var useCancelSubscription = (options = {}) => {
32726
+ return useConnectedMutation(CancelSubscription, options, {
32727
+ domain: "subscriptions",
32728
+ type: "update"
32729
+ });
32730
+ };
32731
+
32732
+ // src/mutations/membership/useCreateMembership.ts
32733
+ var CreateMembership = async ({
32734
+ membership,
32735
+ adminApiParams,
32736
+ queryClient
32737
+ }) => {
32738
+ const connectedXM = await GetAdminAPI(adminApiParams);
32739
+ const { data } = await connectedXM.post(
32740
+ `/subscription-products`,
32741
+ membership
32742
+ );
32743
+ if (queryClient && data.status === "ok") {
32744
+ queryClient.invalidateQueries({
32745
+ queryKey: MEMBERSHIPS_QUERY_KEY()
32746
+ });
32747
+ SET_MEMBERSHIP_QUERY_DATA(queryClient, [data?.data?.id], data);
32748
+ }
32749
+ return data;
32750
+ };
32751
+ var useCreateMembership = (options = {}) => {
32752
+ return useConnectedMutation(CreateMembership, options, {
32753
+ domain: "subscriptions",
32754
+ type: "create"
32755
+ });
32756
+ };
32757
+
32758
+ // src/mutations/membership/useCreateMembershipPrice.ts
32759
+ var CreateMembershipPrice = async ({
32760
+ membershipId,
32761
+ membershipPrice,
32762
+ adminApiParams,
32763
+ queryClient
32764
+ }) => {
32765
+ const connectedXM = await GetAdminAPI(adminApiParams);
32766
+ const { data } = await connectedXM.post(
32767
+ `/subscription-products/${membershipId}/prices`,
32768
+ membershipPrice
32769
+ );
32770
+ if (queryClient && data.status === "ok") {
32771
+ queryClient.invalidateQueries({
32772
+ queryKey: MEMBERSHIP_PRICES_QUERY_KEY(membershipId)
32773
+ });
32774
+ SET_MEMBERSHIP_PRICE_QUERY_DATA(
32775
+ queryClient,
32776
+ [membershipId, data?.data?.id],
32777
+ data
32778
+ );
32779
+ }
32780
+ return data;
32781
+ };
32782
+ var useCreateMembershipPrice = (options = {}) => {
32783
+ return useConnectedMutation(CreateMembershipPrice, options, {
32784
+ domain: "subscriptions",
32785
+ type: "create"
32786
+ });
32787
+ };
32788
+
32789
+ // src/mutations/membership/useCreateSubscription.ts
32790
+ var CreateSubscription = async ({
32791
+ subscription,
32792
+ // queryClient,
32793
+ adminApiParams
32794
+ }) => {
32795
+ const connectedXM = await GetAdminAPI(adminApiParams);
32796
+ const { data } = await connectedXM.post(
32797
+ `/subscriptions`,
32798
+ subscription
32799
+ );
32800
+ return data;
32801
+ };
32802
+ var useCreateSubscription = (options = {}) => {
32803
+ return useConnectedMutation(CreateSubscription, options, {
32804
+ domain: "subscriptions",
32805
+ type: "create"
32806
+ });
32807
+ };
32808
+
32809
+ // src/mutations/membership/useDeleteMembership.ts
32810
+ var DeleteMembership = async ({
32811
+ membershipId,
32812
+ adminApiParams,
32813
+ queryClient
32814
+ }) => {
32815
+ const connectedXM = await GetAdminAPI(adminApiParams);
32816
+ const { data } = await connectedXM.delete(
32817
+ `/subscription-products/${membershipId}`
32818
+ );
32819
+ if (queryClient && data.status === "ok") {
32820
+ queryClient.invalidateQueries({
32821
+ queryKey: MEMBERSHIPS_QUERY_KEY()
32822
+ });
32823
+ queryClient.removeQueries({
32824
+ queryKey: MEMBERSHIP_QUERY_KEY(membershipId)
32825
+ });
32826
+ }
32827
+ return data;
32828
+ };
32829
+ var useDeleteMembership = (options = {}) => {
32830
+ return useConnectedMutation(DeleteMembership, options, {
32831
+ domain: "subscriptions",
32832
+ type: "del"
32833
+ });
32834
+ };
32835
+
32836
+ // src/mutations/membership/useDeleteMembershipPrice.ts
32837
+ var DeleteMembershipPrice = async ({
32838
+ membershipId,
32839
+ adminApiParams,
32840
+ queryClient
32841
+ }) => {
32842
+ const connectedXM = await GetAdminAPI(adminApiParams);
32843
+ const { data } = await connectedXM.delete(
32844
+ `/subscription-products/${membershipId}`
32845
+ );
32846
+ if (queryClient && data.status === "ok") {
32847
+ queryClient.invalidateQueries({
32848
+ queryKey: MEMBERSHIPS_QUERY_KEY()
32849
+ });
32850
+ queryClient.removeQueries({
32851
+ queryKey: MEMBERSHIP_QUERY_KEY(membershipId)
32852
+ });
32853
+ }
32854
+ return data;
32855
+ };
32856
+ var useDeleteMembershipPrice = (options = {}) => {
32857
+ return useConnectedMutation(DeleteMembershipPrice, options, {
32858
+ domain: "subscriptions",
32859
+ type: "del"
32860
+ });
32861
+ };
32862
+
32863
+ // src/mutations/membership/useRemoveMembershipTier.ts
32864
+ var RemoveMembershipTier = async ({
32865
+ membershipId,
32866
+ tierId,
32867
+ adminApiParams,
32868
+ queryClient
32869
+ }) => {
32870
+ const connectedXM = await GetAdminAPI(adminApiParams);
32871
+ const { data } = await connectedXM.delete(
32872
+ `/subscription-products/${membershipId}/tiers/${tierId}`
32873
+ );
32874
+ if (queryClient && data.status === "ok") {
32875
+ queryClient.invalidateQueries({
32876
+ queryKey: MEMBERSHIP_TIERS_QUERY_KEY(membershipId)
32877
+ });
32878
+ }
32879
+ return data;
32880
+ };
32881
+ var useRemoveMembershipTier = (options = {}) => {
32882
+ return useConnectedMutation(RemoveMembershipTier, options, {
32883
+ domain: "subscriptions",
32884
+ type: "update"
32885
+ });
32886
+ };
32887
+
32888
+ // src/mutations/membership/useUpdateMembership.ts
32889
+ var UpdateMembership = async ({
32890
+ membershipId,
32891
+ membership,
32892
+ queryClient,
32893
+ adminApiParams
32894
+ }) => {
32895
+ const connectedXM = await GetAdminAPI(adminApiParams);
32896
+ const { data } = await connectedXM.put(
32897
+ `/subscription-products/${membershipId}`,
32898
+ membership
32899
+ );
32900
+ if (queryClient && data.status === "ok") {
32901
+ queryClient.invalidateQueries({
32902
+ queryKey: MEMBERSHIPS_QUERY_KEY()
32903
+ });
32904
+ queryClient.invalidateQueries({
32905
+ queryKey: MEMBERSHIP_QUERY_KEY(membershipId)
32906
+ });
32907
+ }
32908
+ return data;
32909
+ };
32910
+ var useUpdateMembership = (options = {}) => {
32911
+ return useConnectedMutation(UpdateMembership, options, {
32912
+ domain: "subscriptions",
32913
+ type: "update"
32914
+ });
32915
+ };
32916
+
32917
+ // src/mutations/membership/useUpdateMembershipPrice.ts
32918
+ var UpdateMembershipPrice = async ({
32919
+ membershipId,
32920
+ membershipPriceId,
32921
+ membershipPrice,
32922
+ queryClient,
32923
+ adminApiParams
32924
+ }) => {
32925
+ const connectedXM = await GetAdminAPI(adminApiParams);
32926
+ const { data } = await connectedXM.put(
32927
+ `/subscription-products/${membershipId}/prices/${membershipPriceId}`,
32928
+ membershipPrice
32929
+ );
32930
+ if (queryClient && data.status === "ok") {
32931
+ queryClient.invalidateQueries({
32932
+ queryKey: MEMBERSHIP_PRICES_QUERY_KEY(membershipId)
32933
+ });
32934
+ SET_MEMBERSHIP_PRICE_QUERY_DATA(
32935
+ queryClient,
32936
+ [membershipId, membershipPriceId],
32937
+ data
32938
+ );
32939
+ }
32940
+ return data;
32941
+ };
32942
+ var useUpdateMembershipPrice = (options = {}) => {
32943
+ return useConnectedMutation(UpdateMembershipPrice, options, {
32944
+ domain: "subscriptions",
32945
+ type: "update"
32946
+ });
32947
+ };
32948
+
32949
+ // src/mutations/membership/useUpdateSubscription.ts
32950
+ var UpdateSubscription = async ({
32951
+ subscriptionId,
32952
+ subscription,
32953
+ // queryClient,
32954
+ adminApiParams
32955
+ }) => {
32956
+ const connectedXM = await GetAdminAPI(adminApiParams);
32957
+ const { data } = await connectedXM.put(
32958
+ `/subscriptions/${subscriptionId}`,
32959
+ subscription
32960
+ );
32961
+ return data;
32962
+ };
32963
+ var useUpdateSubscription = (options = {}) => {
32964
+ return useConnectedMutation(UpdateSubscription, options, {
32965
+ domain: "subscriptions",
32966
+ type: "update"
32967
+ });
32968
+ };
32969
+
32551
32970
  // src/mutations/organization/integrations/useCreateIntegration.ts
32552
32971
  var CreateIntegration = async ({
32553
32972
  integration,
@@ -34114,286 +34533,6 @@ var useUpdateStreamInputOutput = (options = {}) => {
34114
34533
  });
34115
34534
  };
34116
34535
 
34117
- // src/mutations/subscription/useAddSubscriptionProductTier.ts
34118
- var AddSubscriptionProductTier = async ({
34119
- subscriptionProductId,
34120
- tierId,
34121
- adminApiParams,
34122
- queryClient
34123
- }) => {
34124
- const connectedXM = await GetAdminAPI(adminApiParams);
34125
- const { data } = await connectedXM.post(
34126
- `/subscription-products/${subscriptionProductId}/tiers/${tierId}`
34127
- );
34128
- if (queryClient && data.status === "ok") {
34129
- queryClient.invalidateQueries({
34130
- queryKey: SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY(subscriptionProductId)
34131
- });
34132
- }
34133
- return { ...data };
34134
- };
34135
- var useAddSubscriptionProductTier = (options = {}) => {
34136
- return useConnectedMutation(AddSubscriptionProductTier, options, {
34137
- domain: "subscriptions",
34138
- type: "update"
34139
- });
34140
- };
34141
-
34142
- // src/mutations/subscription/useCancelSubscription.ts
34143
- var CancelSubscription = async ({
34144
- subscriptionId,
34145
- adminApiParams,
34146
- queryClient
34147
- }) => {
34148
- const connectedXM = await GetAdminAPI(adminApiParams);
34149
- const { data } = await connectedXM.delete(
34150
- `/subscriptions/${subscriptionId}`
34151
- );
34152
- if (queryClient && data.status === "ok") {
34153
- queryClient.invalidateQueries({ queryKey: SUBSCRIPTIONS_QUERY_KEY() });
34154
- SET_SUBSCRIPTION_QUERY_DATA(queryClient, [subscriptionId], data);
34155
- }
34156
- return data;
34157
- };
34158
- var useCancelSubscription = (options = {}) => {
34159
- return useConnectedMutation(CancelSubscription, options, {
34160
- domain: "subscriptions",
34161
- type: "update"
34162
- });
34163
- };
34164
-
34165
- // src/mutations/subscription/useCreateSubscription.ts
34166
- var CreateSubscription = async ({
34167
- subscription,
34168
- // queryClient,
34169
- adminApiParams
34170
- }) => {
34171
- const connectedXM = await GetAdminAPI(adminApiParams);
34172
- const { data } = await connectedXM.post(
34173
- `/subscriptions`,
34174
- subscription
34175
- );
34176
- return data;
34177
- };
34178
- var useCreateSubscription = (options = {}) => {
34179
- return useConnectedMutation(CreateSubscription, options, {
34180
- domain: "subscriptions",
34181
- type: "create"
34182
- });
34183
- };
34184
-
34185
- // src/mutations/subscription/useCreateSubscriptionProduct.ts
34186
- var CreateSubscriptionProduct = async ({
34187
- subscriptionProduct,
34188
- adminApiParams,
34189
- queryClient
34190
- }) => {
34191
- const connectedXM = await GetAdminAPI(adminApiParams);
34192
- const { data } = await connectedXM.post(`/subscription-products`, subscriptionProduct);
34193
- if (queryClient && data.status === "ok") {
34194
- queryClient.invalidateQueries({
34195
- queryKey: SUBSCRIPTION_PRODUCTS_QUERY_KEY()
34196
- });
34197
- SET_SUBSCRIPTION_PRODUCT_QUERY_DATA(queryClient, [data?.data?.id], data);
34198
- }
34199
- return data;
34200
- };
34201
- var useCreateSubscriptionProduct = (options = {}) => {
34202
- return useConnectedMutation(CreateSubscriptionProduct, options, {
34203
- domain: "subscriptions",
34204
- type: "create"
34205
- });
34206
- };
34207
-
34208
- // src/mutations/subscription/useCreateSubscriptionProductPrice.ts
34209
- var CreateSubscriptionProductPrice = async ({
34210
- subscriptionProductId,
34211
- subscriptionProductPrice,
34212
- adminApiParams,
34213
- queryClient
34214
- }) => {
34215
- const connectedXM = await GetAdminAPI(adminApiParams);
34216
- const { data } = await connectedXM.post(
34217
- `/subscription-products/${subscriptionProductId}/prices`,
34218
- subscriptionProductPrice
34219
- );
34220
- if (queryClient && data.status === "ok") {
34221
- queryClient.invalidateQueries({
34222
- queryKey: SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(subscriptionProductId)
34223
- });
34224
- SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA(
34225
- queryClient,
34226
- [subscriptionProductId, data?.data?.id],
34227
- data
34228
- );
34229
- }
34230
- return data;
34231
- };
34232
- var useCreateSubscriptionProductPrice = (options = {}) => {
34233
- return useConnectedMutation(CreateSubscriptionProductPrice, options, {
34234
- domain: "subscriptions",
34235
- type: "create"
34236
- });
34237
- };
34238
-
34239
- // src/mutations/subscription/useDeleteSubscriptionProduct.ts
34240
- var DeleteSubscriptionProduct = async ({
34241
- subscriptionProductId,
34242
- adminApiParams,
34243
- queryClient
34244
- }) => {
34245
- const connectedXM = await GetAdminAPI(adminApiParams);
34246
- const { data } = await connectedXM.delete(
34247
- `/subscription-products/${subscriptionProductId}`
34248
- );
34249
- if (queryClient && data.status === "ok") {
34250
- queryClient.invalidateQueries({
34251
- queryKey: SUBSCRIPTION_PRODUCTS_QUERY_KEY()
34252
- });
34253
- queryClient.removeQueries({
34254
- queryKey: SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId)
34255
- });
34256
- }
34257
- return data;
34258
- };
34259
- var useDeleteSubscriptionProduct = (options = {}) => {
34260
- return useConnectedMutation(DeleteSubscriptionProduct, options, {
34261
- domain: "subscriptions",
34262
- type: "del"
34263
- });
34264
- };
34265
-
34266
- // src/mutations/subscription/useDeleteSubscriptionProductPrice.ts
34267
- var DeleteSubscriptionProductPrice = async ({
34268
- subscriptionProductId,
34269
- adminApiParams,
34270
- queryClient
34271
- }) => {
34272
- const connectedXM = await GetAdminAPI(adminApiParams);
34273
- const { data } = await connectedXM.delete(
34274
- `/subscription-products/${subscriptionProductId}`
34275
- );
34276
- if (queryClient && data.status === "ok") {
34277
- queryClient.invalidateQueries({
34278
- queryKey: SUBSCRIPTION_PRODUCTS_QUERY_KEY()
34279
- });
34280
- queryClient.removeQueries({
34281
- queryKey: SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId)
34282
- });
34283
- }
34284
- return data;
34285
- };
34286
- var useDeleteSubscriptionProductPrice = (options = {}) => {
34287
- return useConnectedMutation(DeleteSubscriptionProductPrice, options, {
34288
- domain: "subscriptions",
34289
- type: "del"
34290
- });
34291
- };
34292
-
34293
- // src/mutations/subscription/useRemoveSubscriptionProductTier.ts
34294
- var RemoveSubscriptionProductTier = async ({
34295
- subscriptionProductId,
34296
- tierId,
34297
- adminApiParams,
34298
- queryClient
34299
- }) => {
34300
- const connectedXM = await GetAdminAPI(adminApiParams);
34301
- const { data } = await connectedXM.delete(
34302
- `/subscription-products/${subscriptionProductId}/tiers/${tierId}`
34303
- );
34304
- if (queryClient && data.status === "ok") {
34305
- queryClient.invalidateQueries({
34306
- queryKey: SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY(subscriptionProductId)
34307
- });
34308
- }
34309
- return data;
34310
- };
34311
- var useRemoveSubscriptionProductTier = (options = {}) => {
34312
- return useConnectedMutation(RemoveSubscriptionProductTier, options, {
34313
- domain: "subscriptions",
34314
- type: "update"
34315
- });
34316
- };
34317
-
34318
- // src/mutations/subscription/useUpdateSubscription.ts
34319
- var UpdateSubscription = async ({
34320
- subscriptionId,
34321
- subscription,
34322
- // queryClient,
34323
- adminApiParams
34324
- }) => {
34325
- const connectedXM = await GetAdminAPI(adminApiParams);
34326
- const { data } = await connectedXM.put(
34327
- `/subscriptions/${subscriptionId}`,
34328
- subscription
34329
- );
34330
- return data;
34331
- };
34332
- var useUpdateSubscription = (options = {}) => {
34333
- return useConnectedMutation(UpdateSubscription, options, {
34334
- domain: "subscriptions",
34335
- type: "update"
34336
- });
34337
- };
34338
-
34339
- // src/mutations/subscription/useUpdateSubscriptionProduct.ts
34340
- var UpdateSubscriptionProduct = async ({
34341
- subscriptionProductId,
34342
- subscriptionProduct,
34343
- queryClient,
34344
- adminApiParams
34345
- }) => {
34346
- const connectedXM = await GetAdminAPI(adminApiParams);
34347
- const { data } = await connectedXM.put(`/subscription-products/${subscriptionProductId}`, subscriptionProduct);
34348
- if (queryClient && data.status === "ok") {
34349
- queryClient.invalidateQueries({
34350
- queryKey: SUBSCRIPTION_PRODUCTS_QUERY_KEY()
34351
- });
34352
- queryClient.invalidateQueries({
34353
- queryKey: SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId)
34354
- });
34355
- }
34356
- return data;
34357
- };
34358
- var useUpdateSubscriptionProduct = (options = {}) => {
34359
- return useConnectedMutation(UpdateSubscriptionProduct, options, {
34360
- domain: "subscriptions",
34361
- type: "update"
34362
- });
34363
- };
34364
-
34365
- // src/mutations/subscription/useUpdateSubscriptionProductPrice.ts
34366
- var UpdateSubscriptionProductPrice = async ({
34367
- subscriptionProductId,
34368
- subscriptionProductPriceId,
34369
- subscriptionProductPrice,
34370
- queryClient,
34371
- adminApiParams
34372
- }) => {
34373
- const connectedXM = await GetAdminAPI(adminApiParams);
34374
- const { data } = await connectedXM.put(
34375
- `/subscription-products/${subscriptionProductId}/prices/${subscriptionProductPriceId}`,
34376
- subscriptionProductPrice
34377
- );
34378
- if (queryClient && data.status === "ok") {
34379
- queryClient.invalidateQueries({
34380
- queryKey: SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(subscriptionProductId)
34381
- });
34382
- SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA(
34383
- queryClient,
34384
- [subscriptionProductId, subscriptionProductPriceId],
34385
- data
34386
- );
34387
- }
34388
- return data;
34389
- };
34390
- var useUpdateSubscriptionProductPrice = (options = {}) => {
34391
- return useConnectedMutation(UpdateSubscriptionProductPrice, options, {
34392
- domain: "subscriptions",
34393
- type: "update"
34394
- });
34395
- };
34396
-
34397
34536
  // src/mutations/supportTickets/useCreateSupportTicket.ts
34398
34537
  var CreateSupportTicket = async ({
34399
34538
  supportTicket,
@@ -36259,6 +36398,7 @@ var useUpdateVideo = (options = {}) => {
36259
36398
  ACCOUNT_LIKES_QUERY_KEY,
36260
36399
  ACCOUNT_LOGINS_QUERY_KEY,
36261
36400
  ACCOUNT_LOGIN_QUERY_KEY,
36401
+ ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_KEY,
36262
36402
  ACCOUNT_PAYMENTS_QUERY_KEY,
36263
36403
  ACCOUNT_PUSH_DEVICES_QUERY_KEY,
36264
36404
  ACCOUNT_PUSH_DEVICE_QUERY_KEY,
@@ -36331,11 +36471,11 @@ var useUpdateVideo = (options = {}) => {
36331
36471
  AddGroupModerator,
36332
36472
  AddGroupSponsor,
36333
36473
  AddLevelAccount,
36474
+ AddMembershipTier,
36334
36475
  AddOrganizationModuleEditableTier,
36335
36476
  AddOrganizationModuleEnabledTier,
36336
36477
  AddOrganizationUser,
36337
36478
  AddSeriesEvent,
36338
- AddSubscriptionProductTier,
36339
36479
  AddSurveyQuestionChoiceSubQuestion,
36340
36480
  AddSurveySectionQuestion,
36341
36481
  AddThreadMember,
@@ -36501,6 +36641,8 @@ var useUpdateVideo = (options = {}) => {
36501
36641
  CreateInvoiceLineItem,
36502
36642
  CreateLevel,
36503
36643
  CreateLevelTranslation,
36644
+ CreateMembership,
36645
+ CreateMembershipPrice,
36504
36646
  CreateOrganizationPageTranslation,
36505
36647
  CreateOrganizationPaymentIntegration,
36506
36648
  CreateOrganizationTeamMember,
@@ -36509,8 +36651,6 @@ var useUpdateVideo = (options = {}) => {
36509
36651
  CreateStreamInput,
36510
36652
  CreateStreamInputOutput,
36511
36653
  CreateSubscription,
36512
- CreateSubscriptionProduct,
36513
- CreateSubscriptionProductPrice,
36514
36654
  CreateSupportTicket,
36515
36655
  CreateSupportTicketNote,
36516
36656
  CreateSurvey,
@@ -36636,6 +36776,8 @@ var useUpdateVideo = (options = {}) => {
36636
36776
  DeleteLevelTranslation,
36637
36777
  DeleteManyImages,
36638
36778
  DeleteManyVideos,
36779
+ DeleteMembership,
36780
+ DeleteMembershipPrice,
36639
36781
  DeleteOrganizationDomain,
36640
36782
  DeleteOrganizationPageTranslation,
36641
36783
  DeleteOrganizationPaymentIntegration,
@@ -36645,8 +36787,6 @@ var useUpdateVideo = (options = {}) => {
36645
36787
  DeleteSeries,
36646
36788
  DeleteStreamInput,
36647
36789
  DeleteStreamInputOutput,
36648
- DeleteSubscriptionProduct,
36649
- DeleteSubscriptionProductPrice,
36650
36790
  DeleteSupportTicket,
36651
36791
  DeleteSupportTicketNote,
36652
36792
  DeleteSurvey,
@@ -36684,6 +36824,8 @@ var useUpdateVideo = (options = {}) => {
36684
36824
  EVENT_ADD_ON_TRANSLATION_QUERY_KEY,
36685
36825
  EVENT_ATTENDEES_QUERY_KEY,
36686
36826
  EVENT_ATTENDEE_COUPONS_QUERY_KEY,
36827
+ EVENT_ATTENDEE_PACKAGES_QUERY_KEY,
36828
+ EVENT_ATTENDEE_PACKAGE_QUERY_KEY,
36687
36829
  EVENT_ATTENDEE_PASSES_QUERY_KEY,
36688
36830
  EVENT_ATTENDEE_PAYMENTS_QUERY_KEY,
36689
36831
  EVENT_ATTENDEE_QUERY_KEY,
@@ -36895,6 +37037,7 @@ var useUpdateVideo = (options = {}) => {
36895
37037
  GetAccountLikes,
36896
37038
  GetAccountLogin,
36897
37039
  GetAccountLogins,
37040
+ GetAccountNotificationPreferences,
36898
37041
  GetAccountPayments,
36899
37042
  GetAccountPushDevice,
36900
37043
  GetAccountPushDevices,
@@ -36991,6 +37134,8 @@ var useUpdateVideo = (options = {}) => {
36991
37134
  GetEventAddOns,
36992
37135
  GetEventAttendee,
36993
37136
  GetEventAttendeeCoupons,
37137
+ GetEventAttendeePackage,
37138
+ GetEventAttendeePackages,
36994
37139
  GetEventAttendeePasses,
36995
37140
  GetEventAttendeePayments,
36996
37141
  GetEventAttendeeReservations,
@@ -37197,6 +37342,12 @@ var useUpdateVideo = (options = {}) => {
37197
37342
  GetLevelTranslations,
37198
37343
  GetLevels,
37199
37344
  GetLinkPreview,
37345
+ GetMembership,
37346
+ GetMembershipPrice,
37347
+ GetMembershipPrices,
37348
+ GetMembershipSubscriptions,
37349
+ GetMembershipTiers,
37350
+ GetMemberships,
37200
37351
  GetOrganization,
37201
37352
  GetOrganizationDomain,
37202
37353
  GetOrganizationMembership,
@@ -37232,12 +37383,6 @@ var useUpdateVideo = (options = {}) => {
37232
37383
  GetStreamInputs,
37233
37384
  GetSubscription,
37234
37385
  GetSubscriptionPayments,
37235
- GetSubscriptionProduct,
37236
- GetSubscriptionProductPrice,
37237
- GetSubscriptionProductPrices,
37238
- GetSubscriptionProductSubscriptions,
37239
- GetSubscriptionProductTiers,
37240
- GetSubscriptionProducts,
37241
37386
  GetSubscriptions,
37242
37387
  GetSupportTicket,
37243
37388
  GetSupportTickets,
@@ -37324,7 +37469,15 @@ var useUpdateVideo = (options = {}) => {
37324
37469
  LEVEL_TRANSLATION_QUERY_KEY,
37325
37470
  LINK_PREVIEW_QUERY_KEY,
37326
37471
  LeadStatus,
37472
+ MEMBERSHIPS_QUERY_KEY,
37473
+ MEMBERSHIP_PRICES_QUERY_KEY,
37474
+ MEMBERSHIP_PRICE_QUERY_KEY,
37475
+ MEMBERSHIP_QUERY_KEY,
37476
+ MEMBERSHIP_SUBSCRIPTIONS_QUERY_KEY,
37477
+ MEMBERSHIP_TIERS_QUERY_KEY,
37327
37478
  MatchQuestionType,
37479
+ MembershipPriceInterval,
37480
+ MembershipPriceType,
37328
37481
  MergeInfinitePages,
37329
37482
  ModerationStatus,
37330
37483
  NotificationType,
@@ -37407,10 +37560,10 @@ var useUpdateVideo = (options = {}) => {
37407
37560
  RemoveGroupModerator,
37408
37561
  RemoveGroupSponsor,
37409
37562
  RemoveLevelAccount,
37563
+ RemoveMembershipTier,
37410
37564
  RemoveOrganizationModuleEditableTier,
37411
37565
  RemoveOrganizationModuleEnabledTier,
37412
37566
  RemoveSeriesEvent,
37413
- RemoveSubscriptionProductTier,
37414
37567
  RemoveSurveyQuestionChoiceSubQuestion,
37415
37568
  RemoveSurveySectionQuestion,
37416
37569
  RemoveThreadMember,
@@ -37458,6 +37611,7 @@ var useUpdateVideo = (options = {}) => {
37458
37611
  SET_ACCOUNT_LEAD_QUERY_DATA,
37459
37612
  SET_ACCOUNT_LEVELS_QUERY_DATA,
37460
37613
  SET_ACCOUNT_LIKES_QUERY_DATA,
37614
+ SET_ACCOUNT_NOTIFICATION_PREFERENCES_QUERY_DATA,
37461
37615
  SET_ACCOUNT_PAYMENTS_QUERY_DATA,
37462
37616
  SET_ACCOUNT_PUSH_DEVICES_QUERY_DATA,
37463
37617
  SET_ACCOUNT_PUSH_DEVICE_QUERY_DATA,
@@ -37551,6 +37705,8 @@ var useUpdateVideo = (options = {}) => {
37551
37705
  SET_EVENT_ADD_ON_TRANSLATIONS_QUERY_DATA,
37552
37706
  SET_EVENT_ADD_ON_TRANSLATION_QUERY_DATA,
37553
37707
  SET_EVENT_ATTENDEES_QUERY_DATA,
37708
+ SET_EVENT_ATTENDEE_PACKAGES_QUERY_DATA,
37709
+ SET_EVENT_ATTENDEE_PACKAGE_QUERY_DATA,
37554
37710
  SET_EVENT_ATTENDEE_PASSES_QUERY_DATA,
37555
37711
  SET_EVENT_ATTENDEE_PAYMENTS_QUERY_DATA,
37556
37712
  SET_EVENT_ATTENDEE_QUERY_DATA,
@@ -37753,6 +37909,12 @@ var useUpdateVideo = (options = {}) => {
37753
37909
  SET_LEVEL_TRANSLATIONS_QUERY_DATA,
37754
37910
  SET_LEVEL_TRANSLATION_QUERY_DATA,
37755
37911
  SET_LINK_PREVIEW_QUERY_DATA,
37912
+ SET_MEMBERSHIPS_QUERY_DATA,
37913
+ SET_MEMBERSHIP_PRICES_QUERY_DATA,
37914
+ SET_MEMBERSHIP_PRICE_QUERY_DATA,
37915
+ SET_MEMBERSHIP_QUERY_DATA,
37916
+ SET_MEMBERSHIP_SUBSCRIPTIONS_QUERY_DATA,
37917
+ SET_MEMBERSHIP_TIERS_QUERY_DATA,
37756
37918
  SET_ORGANIZATION_DOMAIN_QUERY_DATA,
37757
37919
  SET_ORGANIZATION_MEMBERSHIP_QUERY_DATA,
37758
37920
  SET_ORGANIZATION_MODULES_QUERY_DATA,
@@ -37790,12 +37952,6 @@ var useUpdateVideo = (options = {}) => {
37790
37952
  SET_STREAM_INPUT_QUERY_DATA,
37791
37953
  SET_SUBSCRIPTIONS_QUERY_DATA,
37792
37954
  SET_SUBSCRIPTION_PAYMENTS_QUERY_DATA,
37793
- SET_SUBSCRIPTION_PRODUCTS_QUERY_DATA,
37794
- SET_SUBSCRIPTION_PRODUCT_PRICES_QUERY_DATA,
37795
- SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA,
37796
- SET_SUBSCRIPTION_PRODUCT_QUERY_DATA,
37797
- SET_SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_DATA,
37798
- SET_SUBSCRIPTION_PRODUCT_TIERS_QUERY_DATA,
37799
37955
  SET_SUBSCRIPTION_QUERY_DATA,
37800
37956
  SET_SUPPORT_TICKETS_QUERY_DATA,
37801
37957
  SET_SUPPORT_TICKET_QUERY_DATA,
@@ -37844,12 +38000,6 @@ var useUpdateVideo = (options = {}) => {
37844
38000
  STREAM_QUERY_KEY,
37845
38001
  SUBSCRIPTIONS_QUERY_KEY,
37846
38002
  SUBSCRIPTION_PAYMENTS_QUERY_KEY,
37847
- SUBSCRIPTION_PRODUCTS_QUERY_KEY,
37848
- SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY,
37849
- SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY,
37850
- SUBSCRIPTION_PRODUCT_QUERY_KEY,
37851
- SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY,
37852
- SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY,
37853
38003
  SUBSCRIPTION_QUERY_KEY,
37854
38004
  SUPPORT_TICKETS_QUERY_KEY,
37855
38005
  SUPPORT_TICKET_QUERY_KEY,
@@ -37881,8 +38031,6 @@ var useUpdateVideo = (options = {}) => {
37881
38031
  SearchOrganization,
37882
38032
  SelfLeaveOrganization,
37883
38033
  SendAnnouncementPreview,
37884
- SubscriptionProductPriceInterval,
37885
- SubscriptionProductPriceType,
37886
38034
  SubscriptionStatus,
37887
38035
  SupportTicketState,
37888
38036
  SupportTicketType,
@@ -38028,6 +38176,8 @@ var useUpdateVideo = (options = {}) => {
38028
38176
  UpdateLevelTranslation,
38029
38177
  UpdateLoginEmail,
38030
38178
  UpdateLoginPassword,
38179
+ UpdateMembership,
38180
+ UpdateMembershipPrice,
38031
38181
  UpdateOrganization,
38032
38182
  UpdateOrganizationDomain,
38033
38183
  UpdateOrganizationIntegrations,
@@ -38044,8 +38194,6 @@ var useUpdateVideo = (options = {}) => {
38044
38194
  UpdateStreamConfig,
38045
38195
  UpdateStreamInputOutput,
38046
38196
  UpdateSubscription,
38047
- UpdateSubscriptionProduct,
38048
- UpdateSubscriptionProductPrice,
38049
38197
  UpdateSupportTicket,
38050
38198
  UpdateSurvey,
38051
38199
  UpdateSurveyQuestion,
@@ -38118,11 +38266,11 @@ var useUpdateVideo = (options = {}) => {
38118
38266
  useAddGroupModerator,
38119
38267
  useAddGroupSponsor,
38120
38268
  useAddLevelAccount,
38269
+ useAddMembershipTier,
38121
38270
  useAddOrganizationModuleEditableTier,
38122
38271
  useAddOrganizationModuleEnabledTier,
38123
38272
  useAddOrganizationUser,
38124
38273
  useAddSeriesEvent,
38125
- useAddSubscriptionProductTier,
38126
38274
  useAddSurveyQuestionChoiceSubQuestion,
38127
38275
  useAddSurveySectionQuestion,
38128
38276
  useAddThreadMember,
@@ -38235,6 +38383,8 @@ var useUpdateVideo = (options = {}) => {
38235
38383
  useCreateInvoiceLineItem,
38236
38384
  useCreateLevel,
38237
38385
  useCreateLevelTranslation,
38386
+ useCreateMembership,
38387
+ useCreateMembershipPrice,
38238
38388
  useCreateOrganizationPageTranslation,
38239
38389
  useCreateOrganizationPaymentIntegration,
38240
38390
  useCreateOrganizationTeamMember,
@@ -38243,8 +38393,6 @@ var useUpdateVideo = (options = {}) => {
38243
38393
  useCreateStreamInput,
38244
38394
  useCreateStreamInputOutput,
38245
38395
  useCreateSubscription,
38246
- useCreateSubscriptionProduct,
38247
- useCreateSubscriptionProductPrice,
38248
38396
  useCreateSupportTicket,
38249
38397
  useCreateSupportTicketNote,
38250
38398
  useCreateSurvey,
@@ -38362,6 +38510,8 @@ var useUpdateVideo = (options = {}) => {
38362
38510
  useDeleteLevelTranslation,
38363
38511
  useDeleteManyImages,
38364
38512
  useDeleteManyVideos,
38513
+ useDeleteMembership,
38514
+ useDeleteMembershipPrice,
38365
38515
  useDeleteOrganizationDomain,
38366
38516
  useDeleteOrganizationPageTranslation,
38367
38517
  useDeleteOrganizationPaymentIntegration,
@@ -38371,8 +38521,6 @@ var useUpdateVideo = (options = {}) => {
38371
38521
  useDeleteSeries,
38372
38522
  useDeleteStreamInput,
38373
38523
  useDeleteStreamInputOutput,
38374
- useDeleteSubscriptionProduct,
38375
- useDeleteSubscriptionProductPrice,
38376
38524
  useDeleteSupportTicket,
38377
38525
  useDeleteSupportTicketNote,
38378
38526
  useDeleteSurvey,
@@ -38416,6 +38564,7 @@ var useUpdateVideo = (options = {}) => {
38416
38564
  useGetAccountLikes,
38417
38565
  useGetAccountLogin,
38418
38566
  useGetAccountLogins,
38567
+ useGetAccountNotificationPreferences,
38419
38568
  useGetAccountPayments,
38420
38569
  useGetAccountPushDevice,
38421
38570
  useGetAccountPushDevices,
@@ -38509,6 +38658,8 @@ var useUpdateVideo = (options = {}) => {
38509
38658
  useGetEventAddOns,
38510
38659
  useGetEventAttendee,
38511
38660
  useGetEventAttendeeCoupons,
38661
+ useGetEventAttendeePackage,
38662
+ useGetEventAttendeePackages,
38512
38663
  useGetEventAttendeePasses,
38513
38664
  useGetEventAttendeePayments,
38514
38665
  useGetEventAttendeeReservations,
@@ -38714,6 +38865,12 @@ var useUpdateVideo = (options = {}) => {
38714
38865
  useGetLevelTranslations,
38715
38866
  useGetLevels,
38716
38867
  useGetLinkPreview,
38868
+ useGetMembership,
38869
+ useGetMembershipPrice,
38870
+ useGetMembershipPrices,
38871
+ useGetMembershipSubscriptions,
38872
+ useGetMembershipTiers,
38873
+ useGetMemberships,
38717
38874
  useGetOrganization,
38718
38875
  useGetOrganizationDomain,
38719
38876
  useGetOrganizationMembership,
@@ -38749,12 +38906,6 @@ var useUpdateVideo = (options = {}) => {
38749
38906
  useGetStreamInputs,
38750
38907
  useGetSubscription,
38751
38908
  useGetSubscriptionPayments,
38752
- useGetSubscriptionProduct,
38753
- useGetSubscriptionProductPrice,
38754
- useGetSubscriptionProductPrices,
38755
- useGetSubscriptionProductSubscriptions,
38756
- useGetSubscriptionProductTiers,
38757
- useGetSubscriptionProducts,
38758
38909
  useGetSubscriptions,
38759
38910
  useGetSupportTicket,
38760
38911
  useGetSupportTickets,
@@ -38849,10 +39000,10 @@ var useUpdateVideo = (options = {}) => {
38849
39000
  useRemoveGroupModerator,
38850
39001
  useRemoveGroupSponsor,
38851
39002
  useRemoveLevelAccount,
39003
+ useRemoveMembershipTier,
38852
39004
  useRemoveOrganizationModuleEditableTier,
38853
39005
  useRemoveOrganizationModuleEnabledTier,
38854
39006
  useRemoveSeriesEvent,
38855
- useRemoveSubscriptionProductTier,
38856
39007
  useRemoveSurveyQuestionChoiceSubQuestion,
38857
39008
  useRemoveSurveySectionQuestion,
38858
39009
  useRemoveThreadMember,
@@ -38992,6 +39143,8 @@ var useUpdateVideo = (options = {}) => {
38992
39143
  useUpdateLevelTranslation,
38993
39144
  useUpdateLoginEmail,
38994
39145
  useUpdateLoginPassword,
39146
+ useUpdateMembership,
39147
+ useUpdateMembershipPrice,
38995
39148
  useUpdateOrganization,
38996
39149
  useUpdateOrganizationDomain,
38997
39150
  useUpdateOrganizationIntegrations,
@@ -39008,8 +39161,6 @@ var useUpdateVideo = (options = {}) => {
39008
39161
  useUpdateStreamInput,
39009
39162
  useUpdateStreamInputOutput,
39010
39163
  useUpdateSubscription,
39011
- useUpdateSubscriptionProduct,
39012
- useUpdateSubscriptionProductPrice,
39013
39164
  useUpdateSupportTicket,
39014
39165
  useUpdateSurvey,
39015
39166
  useUpdateSurveyQuestion,