@connectedxm/admin 2.3.9 → 2.3.11

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
@@ -124,11 +124,11 @@ __export(index_exports, {
124
124
  AddGroupModerator: () => AddGroupModerator,
125
125
  AddGroupSponsor: () => AddGroupSponsor,
126
126
  AddLevelAccount: () => AddLevelAccount,
127
+ AddMembershipTier: () => AddMembershipTier,
127
128
  AddOrganizationModuleEditableTier: () => AddOrganizationModuleEditableTier,
128
129
  AddOrganizationModuleEnabledTier: () => AddOrganizationModuleEnabledTier,
129
130
  AddOrganizationUser: () => AddOrganizationUser,
130
131
  AddSeriesEvent: () => AddSeriesEvent,
131
- AddSubscriptionProductTier: () => AddSubscriptionProductTier,
132
132
  AddSurveyQuestionChoiceSubQuestion: () => AddSurveyQuestionChoiceSubQuestion,
133
133
  AddSurveySectionQuestion: () => AddSurveySectionQuestion,
134
134
  AddThreadMember: () => AddThreadMember,
@@ -294,6 +294,8 @@ __export(index_exports, {
294
294
  CreateInvoiceLineItem: () => CreateInvoiceLineItem,
295
295
  CreateLevel: () => CreateLevel,
296
296
  CreateLevelTranslation: () => CreateLevelTranslation,
297
+ CreateMembership: () => CreateMembership,
298
+ CreateMembershipPrice: () => CreateMembershipPrice,
297
299
  CreateOrganizationPageTranslation: () => CreateOrganizationPageTranslation,
298
300
  CreateOrganizationPaymentIntegration: () => CreateOrganizationPaymentIntegration,
299
301
  CreateOrganizationTeamMember: () => CreateOrganizationTeamMember,
@@ -302,8 +304,6 @@ __export(index_exports, {
302
304
  CreateStreamInput: () => CreateStreamInput,
303
305
  CreateStreamInputOutput: () => CreateStreamInputOutput,
304
306
  CreateSubscription: () => CreateSubscription,
305
- CreateSubscriptionProduct: () => CreateSubscriptionProduct,
306
- CreateSubscriptionProductPrice: () => CreateSubscriptionProductPrice,
307
307
  CreateSupportTicket: () => CreateSupportTicket,
308
308
  CreateSupportTicketNote: () => CreateSupportTicketNote,
309
309
  CreateSurvey: () => CreateSurvey,
@@ -429,6 +429,8 @@ __export(index_exports, {
429
429
  DeleteLevelTranslation: () => DeleteLevelTranslation,
430
430
  DeleteManyImages: () => DeleteManyImages,
431
431
  DeleteManyVideos: () => DeleteManyVideos,
432
+ DeleteMembership: () => DeleteMembership,
433
+ DeleteMembershipPrice: () => DeleteMembershipPrice,
432
434
  DeleteOrganizationDomain: () => DeleteOrganizationDomain,
433
435
  DeleteOrganizationPageTranslation: () => DeleteOrganizationPageTranslation,
434
436
  DeleteOrganizationPaymentIntegration: () => DeleteOrganizationPaymentIntegration,
@@ -438,8 +440,6 @@ __export(index_exports, {
438
440
  DeleteSeries: () => DeleteSeries,
439
441
  DeleteStreamInput: () => DeleteStreamInput,
440
442
  DeleteStreamInputOutput: () => DeleteStreamInputOutput,
441
- DeleteSubscriptionProduct: () => DeleteSubscriptionProduct,
442
- DeleteSubscriptionProductPrice: () => DeleteSubscriptionProductPrice,
443
443
  DeleteSupportTicket: () => DeleteSupportTicket,
444
444
  DeleteSupportTicketNote: () => DeleteSupportTicketNote,
445
445
  DeleteSurvey: () => DeleteSurvey,
@@ -477,6 +477,8 @@ __export(index_exports, {
477
477
  EVENT_ADD_ON_TRANSLATION_QUERY_KEY: () => EVENT_ADD_ON_TRANSLATION_QUERY_KEY,
478
478
  EVENT_ATTENDEES_QUERY_KEY: () => EVENT_ATTENDEES_QUERY_KEY,
479
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,
480
482
  EVENT_ATTENDEE_PASSES_QUERY_KEY: () => EVENT_ATTENDEE_PASSES_QUERY_KEY,
481
483
  EVENT_ATTENDEE_PAYMENTS_QUERY_KEY: () => EVENT_ATTENDEE_PAYMENTS_QUERY_KEY,
482
484
  EVENT_ATTENDEE_QUERY_KEY: () => EVENT_ATTENDEE_QUERY_KEY,
@@ -785,6 +787,8 @@ __export(index_exports, {
785
787
  GetEventAddOns: () => GetEventAddOns,
786
788
  GetEventAttendee: () => GetEventAttendee,
787
789
  GetEventAttendeeCoupons: () => GetEventAttendeeCoupons,
790
+ GetEventAttendeePackage: () => GetEventAttendeePackage,
791
+ GetEventAttendeePackages: () => GetEventAttendeePackages,
788
792
  GetEventAttendeePasses: () => GetEventAttendeePasses,
789
793
  GetEventAttendeePayments: () => GetEventAttendeePayments,
790
794
  GetEventAttendeeReservations: () => GetEventAttendeeReservations,
@@ -991,6 +995,12 @@ __export(index_exports, {
991
995
  GetLevelTranslations: () => GetLevelTranslations,
992
996
  GetLevels: () => GetLevels,
993
997
  GetLinkPreview: () => GetLinkPreview,
998
+ GetMembership: () => GetMembership,
999
+ GetMembershipPrice: () => GetMembershipPrice,
1000
+ GetMembershipPrices: () => GetMembershipPrices,
1001
+ GetMembershipSubscriptions: () => GetMembershipSubscriptions,
1002
+ GetMembershipTiers: () => GetMembershipTiers,
1003
+ GetMemberships: () => GetMemberships,
994
1004
  GetOrganization: () => GetOrganization,
995
1005
  GetOrganizationDomain: () => GetOrganizationDomain,
996
1006
  GetOrganizationMembership: () => GetOrganizationMembership,
@@ -1026,12 +1036,6 @@ __export(index_exports, {
1026
1036
  GetStreamInputs: () => GetStreamInputs,
1027
1037
  GetSubscription: () => GetSubscription,
1028
1038
  GetSubscriptionPayments: () => GetSubscriptionPayments,
1029
- GetSubscriptionProduct: () => GetSubscriptionProduct,
1030
- GetSubscriptionProductPrice: () => GetSubscriptionProductPrice,
1031
- GetSubscriptionProductPrices: () => GetSubscriptionProductPrices,
1032
- GetSubscriptionProductSubscriptions: () => GetSubscriptionProductSubscriptions,
1033
- GetSubscriptionProductTiers: () => GetSubscriptionProductTiers,
1034
- GetSubscriptionProducts: () => GetSubscriptionProducts,
1035
1039
  GetSubscriptions: () => GetSubscriptions,
1036
1040
  GetSupportTicket: () => GetSupportTicket,
1037
1041
  GetSupportTickets: () => GetSupportTickets,
@@ -1118,7 +1122,15 @@ __export(index_exports, {
1118
1122
  LEVEL_TRANSLATION_QUERY_KEY: () => LEVEL_TRANSLATION_QUERY_KEY,
1119
1123
  LINK_PREVIEW_QUERY_KEY: () => LINK_PREVIEW_QUERY_KEY,
1120
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,
1121
1131
  MatchQuestionType: () => MatchQuestionType,
1132
+ MembershipPriceInterval: () => MembershipPriceInterval,
1133
+ MembershipPriceType: () => MembershipPriceType,
1122
1134
  MergeInfinitePages: () => MergeInfinitePages,
1123
1135
  ModerationStatus: () => ModerationStatus,
1124
1136
  NotificationType: () => NotificationType,
@@ -1201,10 +1213,10 @@ __export(index_exports, {
1201
1213
  RemoveGroupModerator: () => RemoveGroupModerator,
1202
1214
  RemoveGroupSponsor: () => RemoveGroupSponsor,
1203
1215
  RemoveLevelAccount: () => RemoveLevelAccount,
1216
+ RemoveMembershipTier: () => RemoveMembershipTier,
1204
1217
  RemoveOrganizationModuleEditableTier: () => RemoveOrganizationModuleEditableTier,
1205
1218
  RemoveOrganizationModuleEnabledTier: () => RemoveOrganizationModuleEnabledTier,
1206
1219
  RemoveSeriesEvent: () => RemoveSeriesEvent,
1207
- RemoveSubscriptionProductTier: () => RemoveSubscriptionProductTier,
1208
1220
  RemoveSurveyQuestionChoiceSubQuestion: () => RemoveSurveyQuestionChoiceSubQuestion,
1209
1221
  RemoveSurveySectionQuestion: () => RemoveSurveySectionQuestion,
1210
1222
  RemoveThreadMember: () => RemoveThreadMember,
@@ -1346,6 +1358,8 @@ __export(index_exports, {
1346
1358
  SET_EVENT_ADD_ON_TRANSLATIONS_QUERY_DATA: () => SET_EVENT_ADD_ON_TRANSLATIONS_QUERY_DATA,
1347
1359
  SET_EVENT_ADD_ON_TRANSLATION_QUERY_DATA: () => SET_EVENT_ADD_ON_TRANSLATION_QUERY_DATA,
1348
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,
1349
1363
  SET_EVENT_ATTENDEE_PASSES_QUERY_DATA: () => SET_EVENT_ATTENDEE_PASSES_QUERY_DATA,
1350
1364
  SET_EVENT_ATTENDEE_PAYMENTS_QUERY_DATA: () => SET_EVENT_ATTENDEE_PAYMENTS_QUERY_DATA,
1351
1365
  SET_EVENT_ATTENDEE_QUERY_DATA: () => SET_EVENT_ATTENDEE_QUERY_DATA,
@@ -1548,6 +1562,12 @@ __export(index_exports, {
1548
1562
  SET_LEVEL_TRANSLATIONS_QUERY_DATA: () => SET_LEVEL_TRANSLATIONS_QUERY_DATA,
1549
1563
  SET_LEVEL_TRANSLATION_QUERY_DATA: () => SET_LEVEL_TRANSLATION_QUERY_DATA,
1550
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,
1551
1571
  SET_ORGANIZATION_DOMAIN_QUERY_DATA: () => SET_ORGANIZATION_DOMAIN_QUERY_DATA,
1552
1572
  SET_ORGANIZATION_MEMBERSHIP_QUERY_DATA: () => SET_ORGANIZATION_MEMBERSHIP_QUERY_DATA,
1553
1573
  SET_ORGANIZATION_MODULES_QUERY_DATA: () => SET_ORGANIZATION_MODULES_QUERY_DATA,
@@ -1585,12 +1605,6 @@ __export(index_exports, {
1585
1605
  SET_STREAM_INPUT_QUERY_DATA: () => SET_STREAM_INPUT_QUERY_DATA,
1586
1606
  SET_SUBSCRIPTIONS_QUERY_DATA: () => SET_SUBSCRIPTIONS_QUERY_DATA,
1587
1607
  SET_SUBSCRIPTION_PAYMENTS_QUERY_DATA: () => SET_SUBSCRIPTION_PAYMENTS_QUERY_DATA,
1588
- SET_SUBSCRIPTION_PRODUCTS_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCTS_QUERY_DATA,
1589
- SET_SUBSCRIPTION_PRODUCT_PRICES_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_PRICES_QUERY_DATA,
1590
- SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA,
1591
- SET_SUBSCRIPTION_PRODUCT_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_QUERY_DATA,
1592
- SET_SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_DATA,
1593
- SET_SUBSCRIPTION_PRODUCT_TIERS_QUERY_DATA: () => SET_SUBSCRIPTION_PRODUCT_TIERS_QUERY_DATA,
1594
1608
  SET_SUBSCRIPTION_QUERY_DATA: () => SET_SUBSCRIPTION_QUERY_DATA,
1595
1609
  SET_SUPPORT_TICKETS_QUERY_DATA: () => SET_SUPPORT_TICKETS_QUERY_DATA,
1596
1610
  SET_SUPPORT_TICKET_QUERY_DATA: () => SET_SUPPORT_TICKET_QUERY_DATA,
@@ -1639,12 +1653,6 @@ __export(index_exports, {
1639
1653
  STREAM_QUERY_KEY: () => STREAM_QUERY_KEY,
1640
1654
  SUBSCRIPTIONS_QUERY_KEY: () => SUBSCRIPTIONS_QUERY_KEY,
1641
1655
  SUBSCRIPTION_PAYMENTS_QUERY_KEY: () => SUBSCRIPTION_PAYMENTS_QUERY_KEY,
1642
- SUBSCRIPTION_PRODUCTS_QUERY_KEY: () => SUBSCRIPTION_PRODUCTS_QUERY_KEY,
1643
- SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY,
1644
- SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY,
1645
- SUBSCRIPTION_PRODUCT_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_QUERY_KEY,
1646
- SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY,
1647
- SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY: () => SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY,
1648
1656
  SUBSCRIPTION_QUERY_KEY: () => SUBSCRIPTION_QUERY_KEY,
1649
1657
  SUPPORT_TICKETS_QUERY_KEY: () => SUPPORT_TICKETS_QUERY_KEY,
1650
1658
  SUPPORT_TICKET_QUERY_KEY: () => SUPPORT_TICKET_QUERY_KEY,
@@ -1676,8 +1684,6 @@ __export(index_exports, {
1676
1684
  SearchOrganization: () => SearchOrganization,
1677
1685
  SelfLeaveOrganization: () => SelfLeaveOrganization,
1678
1686
  SendAnnouncementPreview: () => SendAnnouncementPreview,
1679
- SubscriptionProductPriceInterval: () => SubscriptionProductPriceInterval,
1680
- SubscriptionProductPriceType: () => SubscriptionProductPriceType,
1681
1687
  SubscriptionStatus: () => SubscriptionStatus,
1682
1688
  SupportTicketState: () => SupportTicketState,
1683
1689
  SupportTicketType: () => SupportTicketType,
@@ -1823,6 +1829,8 @@ __export(index_exports, {
1823
1829
  UpdateLevelTranslation: () => UpdateLevelTranslation,
1824
1830
  UpdateLoginEmail: () => UpdateLoginEmail,
1825
1831
  UpdateLoginPassword: () => UpdateLoginPassword,
1832
+ UpdateMembership: () => UpdateMembership,
1833
+ UpdateMembershipPrice: () => UpdateMembershipPrice,
1826
1834
  UpdateOrganization: () => UpdateOrganization,
1827
1835
  UpdateOrganizationDomain: () => UpdateOrganizationDomain,
1828
1836
  UpdateOrganizationIntegrations: () => UpdateOrganizationIntegrations,
@@ -1839,8 +1847,6 @@ __export(index_exports, {
1839
1847
  UpdateStreamConfig: () => UpdateStreamConfig,
1840
1848
  UpdateStreamInputOutput: () => UpdateStreamInputOutput,
1841
1849
  UpdateSubscription: () => UpdateSubscription,
1842
- UpdateSubscriptionProduct: () => UpdateSubscriptionProduct,
1843
- UpdateSubscriptionProductPrice: () => UpdateSubscriptionProductPrice,
1844
1850
  UpdateSupportTicket: () => UpdateSupportTicket,
1845
1851
  UpdateSurvey: () => UpdateSurvey,
1846
1852
  UpdateSurveyQuestion: () => UpdateSurveyQuestion,
@@ -1913,11 +1919,11 @@ __export(index_exports, {
1913
1919
  useAddGroupModerator: () => useAddGroupModerator,
1914
1920
  useAddGroupSponsor: () => useAddGroupSponsor,
1915
1921
  useAddLevelAccount: () => useAddLevelAccount,
1922
+ useAddMembershipTier: () => useAddMembershipTier,
1916
1923
  useAddOrganizationModuleEditableTier: () => useAddOrganizationModuleEditableTier,
1917
1924
  useAddOrganizationModuleEnabledTier: () => useAddOrganizationModuleEnabledTier,
1918
1925
  useAddOrganizationUser: () => useAddOrganizationUser,
1919
1926
  useAddSeriesEvent: () => useAddSeriesEvent,
1920
- useAddSubscriptionProductTier: () => useAddSubscriptionProductTier,
1921
1927
  useAddSurveyQuestionChoiceSubQuestion: () => useAddSurveyQuestionChoiceSubQuestion,
1922
1928
  useAddSurveySectionQuestion: () => useAddSurveySectionQuestion,
1923
1929
  useAddThreadMember: () => useAddThreadMember,
@@ -2030,6 +2036,8 @@ __export(index_exports, {
2030
2036
  useCreateInvoiceLineItem: () => useCreateInvoiceLineItem,
2031
2037
  useCreateLevel: () => useCreateLevel,
2032
2038
  useCreateLevelTranslation: () => useCreateLevelTranslation,
2039
+ useCreateMembership: () => useCreateMembership,
2040
+ useCreateMembershipPrice: () => useCreateMembershipPrice,
2033
2041
  useCreateOrganizationPageTranslation: () => useCreateOrganizationPageTranslation,
2034
2042
  useCreateOrganizationPaymentIntegration: () => useCreateOrganizationPaymentIntegration,
2035
2043
  useCreateOrganizationTeamMember: () => useCreateOrganizationTeamMember,
@@ -2038,8 +2046,6 @@ __export(index_exports, {
2038
2046
  useCreateStreamInput: () => useCreateStreamInput,
2039
2047
  useCreateStreamInputOutput: () => useCreateStreamInputOutput,
2040
2048
  useCreateSubscription: () => useCreateSubscription,
2041
- useCreateSubscriptionProduct: () => useCreateSubscriptionProduct,
2042
- useCreateSubscriptionProductPrice: () => useCreateSubscriptionProductPrice,
2043
2049
  useCreateSupportTicket: () => useCreateSupportTicket,
2044
2050
  useCreateSupportTicketNote: () => useCreateSupportTicketNote,
2045
2051
  useCreateSurvey: () => useCreateSurvey,
@@ -2157,6 +2163,8 @@ __export(index_exports, {
2157
2163
  useDeleteLevelTranslation: () => useDeleteLevelTranslation,
2158
2164
  useDeleteManyImages: () => useDeleteManyImages,
2159
2165
  useDeleteManyVideos: () => useDeleteManyVideos,
2166
+ useDeleteMembership: () => useDeleteMembership,
2167
+ useDeleteMembershipPrice: () => useDeleteMembershipPrice,
2160
2168
  useDeleteOrganizationDomain: () => useDeleteOrganizationDomain,
2161
2169
  useDeleteOrganizationPageTranslation: () => useDeleteOrganizationPageTranslation,
2162
2170
  useDeleteOrganizationPaymentIntegration: () => useDeleteOrganizationPaymentIntegration,
@@ -2166,8 +2174,6 @@ __export(index_exports, {
2166
2174
  useDeleteSeries: () => useDeleteSeries,
2167
2175
  useDeleteStreamInput: () => useDeleteStreamInput,
2168
2176
  useDeleteStreamInputOutput: () => useDeleteStreamInputOutput,
2169
- useDeleteSubscriptionProduct: () => useDeleteSubscriptionProduct,
2170
- useDeleteSubscriptionProductPrice: () => useDeleteSubscriptionProductPrice,
2171
2177
  useDeleteSupportTicket: () => useDeleteSupportTicket,
2172
2178
  useDeleteSupportTicketNote: () => useDeleteSupportTicketNote,
2173
2179
  useDeleteSurvey: () => useDeleteSurvey,
@@ -2305,6 +2311,8 @@ __export(index_exports, {
2305
2311
  useGetEventAddOns: () => useGetEventAddOns,
2306
2312
  useGetEventAttendee: () => useGetEventAttendee,
2307
2313
  useGetEventAttendeeCoupons: () => useGetEventAttendeeCoupons,
2314
+ useGetEventAttendeePackage: () => useGetEventAttendeePackage,
2315
+ useGetEventAttendeePackages: () => useGetEventAttendeePackages,
2308
2316
  useGetEventAttendeePasses: () => useGetEventAttendeePasses,
2309
2317
  useGetEventAttendeePayments: () => useGetEventAttendeePayments,
2310
2318
  useGetEventAttendeeReservations: () => useGetEventAttendeeReservations,
@@ -2510,6 +2518,12 @@ __export(index_exports, {
2510
2518
  useGetLevelTranslations: () => useGetLevelTranslations,
2511
2519
  useGetLevels: () => useGetLevels,
2512
2520
  useGetLinkPreview: () => useGetLinkPreview,
2521
+ useGetMembership: () => useGetMembership,
2522
+ useGetMembershipPrice: () => useGetMembershipPrice,
2523
+ useGetMembershipPrices: () => useGetMembershipPrices,
2524
+ useGetMembershipSubscriptions: () => useGetMembershipSubscriptions,
2525
+ useGetMembershipTiers: () => useGetMembershipTiers,
2526
+ useGetMemberships: () => useGetMemberships,
2513
2527
  useGetOrganization: () => useGetOrganization,
2514
2528
  useGetOrganizationDomain: () => useGetOrganizationDomain,
2515
2529
  useGetOrganizationMembership: () => useGetOrganizationMembership,
@@ -2545,12 +2559,6 @@ __export(index_exports, {
2545
2559
  useGetStreamInputs: () => useGetStreamInputs,
2546
2560
  useGetSubscription: () => useGetSubscription,
2547
2561
  useGetSubscriptionPayments: () => useGetSubscriptionPayments,
2548
- useGetSubscriptionProduct: () => useGetSubscriptionProduct,
2549
- useGetSubscriptionProductPrice: () => useGetSubscriptionProductPrice,
2550
- useGetSubscriptionProductPrices: () => useGetSubscriptionProductPrices,
2551
- useGetSubscriptionProductSubscriptions: () => useGetSubscriptionProductSubscriptions,
2552
- useGetSubscriptionProductTiers: () => useGetSubscriptionProductTiers,
2553
- useGetSubscriptionProducts: () => useGetSubscriptionProducts,
2554
2562
  useGetSubscriptions: () => useGetSubscriptions,
2555
2563
  useGetSupportTicket: () => useGetSupportTicket,
2556
2564
  useGetSupportTickets: () => useGetSupportTickets,
@@ -2645,10 +2653,10 @@ __export(index_exports, {
2645
2653
  useRemoveGroupModerator: () => useRemoveGroupModerator,
2646
2654
  useRemoveGroupSponsor: () => useRemoveGroupSponsor,
2647
2655
  useRemoveLevelAccount: () => useRemoveLevelAccount,
2656
+ useRemoveMembershipTier: () => useRemoveMembershipTier,
2648
2657
  useRemoveOrganizationModuleEditableTier: () => useRemoveOrganizationModuleEditableTier,
2649
2658
  useRemoveOrganizationModuleEnabledTier: () => useRemoveOrganizationModuleEnabledTier,
2650
2659
  useRemoveSeriesEvent: () => useRemoveSeriesEvent,
2651
- useRemoveSubscriptionProductTier: () => useRemoveSubscriptionProductTier,
2652
2660
  useRemoveSurveyQuestionChoiceSubQuestion: () => useRemoveSurveyQuestionChoiceSubQuestion,
2653
2661
  useRemoveSurveySectionQuestion: () => useRemoveSurveySectionQuestion,
2654
2662
  useRemoveThreadMember: () => useRemoveThreadMember,
@@ -2788,6 +2796,8 @@ __export(index_exports, {
2788
2796
  useUpdateLevelTranslation: () => useUpdateLevelTranslation,
2789
2797
  useUpdateLoginEmail: () => useUpdateLoginEmail,
2790
2798
  useUpdateLoginPassword: () => useUpdateLoginPassword,
2799
+ useUpdateMembership: () => useUpdateMembership,
2800
+ useUpdateMembershipPrice: () => useUpdateMembershipPrice,
2791
2801
  useUpdateOrganization: () => useUpdateOrganization,
2792
2802
  useUpdateOrganizationDomain: () => useUpdateOrganizationDomain,
2793
2803
  useUpdateOrganizationIntegrations: () => useUpdateOrganizationIntegrations,
@@ -2804,8 +2814,6 @@ __export(index_exports, {
2804
2814
  useUpdateStreamInput: () => useUpdateStreamInput,
2805
2815
  useUpdateStreamInputOutput: () => useUpdateStreamInputOutput,
2806
2816
  useUpdateSubscription: () => useUpdateSubscription,
2807
- useUpdateSubscriptionProduct: () => useUpdateSubscriptionProduct,
2808
- useUpdateSubscriptionProductPrice: () => useUpdateSubscriptionProductPrice,
2809
2817
  useUpdateSupportTicket: () => useUpdateSupportTicket,
2810
2818
  useUpdateSurvey: () => useUpdateSurvey,
2811
2819
  useUpdateSurveyQuestion: () => useUpdateSurveyQuestion,
@@ -7339,6 +7347,97 @@ var useGetEventAttendee = (eventId, accountId = "", options = {}) => {
7339
7347
  );
7340
7348
  };
7341
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
+
7342
7441
  // src/queries/events/attendees/reservations/useGetEventAttendeeReservations.ts
7343
7442
  var EVENT_ATTENDEE_RESERVATIONS_QUERY_KEY = (eventId, accountId) => [...EVENT_ATTENDEE_QUERY_KEY(eventId, accountId), "RESERVATIONS"];
7344
7443
  var SET_EVENT_ATTENDEE_RESERVATIONS_QUERY_DATA = (client, keyParams, response) => {
@@ -15058,18 +15157,18 @@ var EventSessionQuestionType = /* @__PURE__ */ ((EventSessionQuestionType2) => {
15058
15157
  EventSessionQuestionType2["quantity"] = "quantity";
15059
15158
  return EventSessionQuestionType2;
15060
15159
  })(EventSessionQuestionType || {});
15061
- var SubscriptionProductPriceType = /* @__PURE__ */ ((SubscriptionProductPriceType2) => {
15062
- SubscriptionProductPriceType2["flat"] = "flat";
15063
- SubscriptionProductPriceType2["payWhatYouWant"] = "payWhatYouWant";
15064
- return SubscriptionProductPriceType2;
15065
- })(SubscriptionProductPriceType || {});
15066
- var SubscriptionProductPriceInterval = /* @__PURE__ */ ((SubscriptionProductPriceInterval2) => {
15067
- SubscriptionProductPriceInterval2["day"] = "day";
15068
- SubscriptionProductPriceInterval2["week"] = "week";
15069
- SubscriptionProductPriceInterval2["month"] = "month";
15070
- SubscriptionProductPriceInterval2["year"] = "year";
15071
- return SubscriptionProductPriceInterval2;
15072
- })(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 || {});
15073
15172
  var SubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatus2) => {
15074
15173
  SubscriptionStatus2["active"] = "active";
15075
15174
  SubscriptionStatus2["canceled"] = "canceled";
@@ -16346,6 +16445,362 @@ var useGetLinkPreview = (href = "", options = {}) => {
16346
16445
  );
16347
16446
  };
16348
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
+
16349
16804
  // src/queries/organization/integrations/useGetIntegrations.ts
16350
16805
  var INTEGRATIONS_QUERY_KEY = () => ["INTEGRATIONS"];
16351
16806
  var SET_INTEGRATIONS_QUERY_DATA = (client, keyParams, response) => {
@@ -17800,373 +18255,6 @@ var useGetStreamInputOutput = (streamId = "", output = "", options = {}) => {
17800
18255
  );
17801
18256
  };
17802
18257
 
17803
- // src/queries/subscriptions/useGetSubscriptions.ts
17804
- var SUBSCRIPTIONS_QUERY_KEY = () => ["SUBSCRIPTIONS"];
17805
- var SET_SUBSCRIPTIONS_QUERY_DATA = (client, keyParams, response) => {
17806
- client.setQueryData(SUBSCRIPTIONS_QUERY_KEY(...keyParams), response);
17807
- };
17808
- var GetSubscriptions = async ({
17809
- pageParam,
17810
- pageSize,
17811
- orderBy,
17812
- search,
17813
- status,
17814
- subscriptionProductId,
17815
- adminApiParams
17816
- }) => {
17817
- const adminApi = await GetAdminAPI(adminApiParams);
17818
- const { data } = await adminApi.get(`/subscriptions`, {
17819
- params: {
17820
- page: pageParam || void 0,
17821
- pageSize: pageSize || void 0,
17822
- orderBy: orderBy || void 0,
17823
- search: search || void 0,
17824
- status: status || void 0,
17825
- subscriptionProductId: subscriptionProductId || void 0
17826
- }
17827
- });
17828
- return data;
17829
- };
17830
- var useGetSubscriptions = (status, subscriptionProductId, params = {}, options = {}) => {
17831
- return useConnectedInfiniteQuery(
17832
- SUBSCRIPTIONS_QUERY_KEY(),
17833
- (params2) => GetSubscriptions({
17834
- status,
17835
- subscriptionProductId,
17836
- ...params2
17837
- }),
17838
- params,
17839
- options,
17840
- "subscriptions"
17841
- );
17842
- };
17843
-
17844
- // src/queries/subscriptions/useGetSubscription.ts
17845
- var SUBSCRIPTION_QUERY_KEY = (subscriptionId) => [
17846
- ...SUBSCRIPTIONS_QUERY_KEY(),
17847
- subscriptionId
17848
- ];
17849
- var SET_SUBSCRIPTION_QUERY_DATA = (client, keyParams, response) => {
17850
- client.setQueryData(SUBSCRIPTION_QUERY_KEY(...keyParams), response);
17851
- };
17852
- var GetSubscription = async ({
17853
- subscriptionId,
17854
- adminApiParams
17855
- }) => {
17856
- const adminApi = await GetAdminAPI(adminApiParams);
17857
- const { data } = await adminApi.get(`/subscriptions/${subscriptionId}`);
17858
- return data;
17859
- };
17860
- var useGetSubscription = (subscriptionId = "", options = {}) => {
17861
- return useConnectedSingleQuery(
17862
- SUBSCRIPTION_QUERY_KEY(subscriptionId),
17863
- (params) => GetSubscription({ subscriptionId, ...params }),
17864
- {
17865
- ...options,
17866
- enabled: !!subscriptionId && (options?.enabled ?? true),
17867
- refetchOnWindowFocus: false,
17868
- refetchOnMount: false,
17869
- refetchOnReconnect: false,
17870
- staleTime: Infinity
17871
- },
17872
- "subscriptions"
17873
- );
17874
- };
17875
-
17876
- // src/queries/subscriptions/useGetSubscriptionPayments.ts
17877
- var SUBSCRIPTION_PAYMENTS_QUERY_KEY = (subscriptionId) => [
17878
- ...SUBSCRIPTION_QUERY_KEY(subscriptionId),
17879
- "PAYMENTS"
17880
- ];
17881
- var SET_SUBSCRIPTION_PAYMENTS_QUERY_DATA = (client, keyParams, response) => {
17882
- client.setQueryData(SUBSCRIPTION_PAYMENTS_QUERY_KEY(...keyParams), response);
17883
- };
17884
- var GetSubscriptionPayments = async ({
17885
- pageParam,
17886
- pageSize,
17887
- orderBy,
17888
- search,
17889
- subscriptionId,
17890
- adminApiParams
17891
- }) => {
17892
- const adminApi = await GetAdminAPI(adminApiParams);
17893
- const { data } = await adminApi.get(
17894
- `/subscriptions/${subscriptionId}/payments`,
17895
- {
17896
- params: {
17897
- page: pageParam || void 0,
17898
- pageSize: pageSize || void 0,
17899
- orderBy: orderBy || void 0,
17900
- search: search || void 0
17901
- }
17902
- }
17903
- );
17904
- return data;
17905
- };
17906
- var useGetSubscriptionPayments = (subscriptionId = "", params = {}, options = {}) => {
17907
- return useConnectedInfiniteQuery(
17908
- SUBSCRIPTION_PAYMENTS_QUERY_KEY(subscriptionId),
17909
- (params2) => GetSubscriptionPayments({ ...params2, subscriptionId }),
17910
- params,
17911
- {
17912
- ...options,
17913
- enabled: !!subscriptionId && (options.enabled ?? true)
17914
- },
17915
- "subscriptions"
17916
- );
17917
- };
17918
-
17919
- // src/queries/subscriptions/useGetSubscriptionProducts.ts
17920
- var SUBSCRIPTION_PRODUCTS_QUERY_KEY = () => ["SUBSCRIPTION_PRODUCTS"];
17921
- var SET_SUBSCRIPTION_PRODUCTS_QUERY_DATA = (client, keyParams, response) => {
17922
- client.setQueryData(SUBSCRIPTION_PRODUCTS_QUERY_KEY(...keyParams), response);
17923
- };
17924
- var GetSubscriptionProducts = async ({
17925
- pageParam,
17926
- pageSize,
17927
- orderBy,
17928
- search,
17929
- adminApiParams
17930
- }) => {
17931
- const adminApi = await GetAdminAPI(adminApiParams);
17932
- const { data } = await adminApi.get(`/subscription-products`, {
17933
- params: {
17934
- page: pageParam || void 0,
17935
- pageSize: pageSize || void 0,
17936
- orderBy: orderBy || void 0,
17937
- search: search || void 0
17938
- }
17939
- });
17940
- return data;
17941
- };
17942
- var useGetSubscriptionProducts = (params = {}, options = {}) => {
17943
- return useConnectedInfiniteQuery(
17944
- SUBSCRIPTION_PRODUCTS_QUERY_KEY(),
17945
- (params2) => GetSubscriptionProducts(params2),
17946
- params,
17947
- options,
17948
- "subscriptions"
17949
- );
17950
- };
17951
-
17952
- // src/queries/subscriptions/useGetSubscriptionProduct.ts
17953
- var SUBSCRIPTION_PRODUCT_QUERY_KEY = (subscriptionProductId) => [...SUBSCRIPTION_PRODUCTS_QUERY_KEY(), subscriptionProductId];
17954
- var SET_SUBSCRIPTION_PRODUCT_QUERY_DATA = (client, keyParams, response) => {
17955
- client.setQueryData(SUBSCRIPTION_PRODUCT_QUERY_KEY(...keyParams), response);
17956
- };
17957
- var GetSubscriptionProduct = async ({
17958
- subscriptionProductId,
17959
- adminApiParams
17960
- }) => {
17961
- const adminApi = await GetAdminAPI(adminApiParams);
17962
- const { data } = await adminApi.get(
17963
- `/subscription-products/${subscriptionProductId}`
17964
- );
17965
- return data;
17966
- };
17967
- var useGetSubscriptionProduct = (subscriptionProductId = "", options = {}) => {
17968
- return useConnectedSingleQuery(
17969
- SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId),
17970
- (params) => GetSubscriptionProduct({ subscriptionProductId, ...params }),
17971
- {
17972
- ...options,
17973
- enabled: !!subscriptionProductId && (options?.enabled ?? true)
17974
- },
17975
- "subscriptions"
17976
- );
17977
- };
17978
-
17979
- // src/queries/subscriptions/useGetSubscriptionProductPrices.ts
17980
- var SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY = (subscriptionProductId) => [
17981
- ...SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId),
17982
- "SUBSCRIPTION_PRODUCT_PRICES"
17983
- ];
17984
- var SET_SUBSCRIPTION_PRODUCT_PRICES_QUERY_DATA = (client, keyParams, response) => {
17985
- client.setQueryData(
17986
- SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(...keyParams),
17987
- response
17988
- );
17989
- };
17990
- var GetSubscriptionProductPrices = async ({
17991
- pageParam,
17992
- pageSize,
17993
- orderBy,
17994
- search,
17995
- subscriptionProductId,
17996
- adminApiParams
17997
- }) => {
17998
- const adminApi = await GetAdminAPI(adminApiParams);
17999
- const { data } = await adminApi.get(
18000
- `/subscription-products/${subscriptionProductId}/prices`,
18001
- {
18002
- params: {
18003
- page: pageParam || void 0,
18004
- pageSize: pageSize || void 0,
18005
- orderBy: orderBy || void 0,
18006
- search: search || void 0
18007
- }
18008
- }
18009
- );
18010
- return data;
18011
- };
18012
- var useGetSubscriptionProductPrices = (subscriptionProductId = "", params = {}, options = {}) => {
18013
- return useConnectedInfiniteQuery(
18014
- SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(subscriptionProductId),
18015
- (params2) => GetSubscriptionProductPrices({ ...params2, subscriptionProductId }),
18016
- params,
18017
- {
18018
- ...options,
18019
- enabled: !!subscriptionProductId && (options.enabled ?? true)
18020
- },
18021
- "subscriptions"
18022
- );
18023
- };
18024
-
18025
- // src/queries/subscriptions/useGetSubscriptionProductPrice.ts
18026
- var SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY = (subscriptionProductId, subscriptionProductPriceId) => [
18027
- ...SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(subscriptionProductId),
18028
- subscriptionProductPriceId
18029
- ];
18030
- var SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA = (client, keyParams, response) => {
18031
- client.setQueryData(
18032
- SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY(...keyParams),
18033
- response
18034
- );
18035
- };
18036
- var GetSubscriptionProductPrice = async ({
18037
- subscriptionProductId,
18038
- subscriptionProductPriceId,
18039
- adminApiParams
18040
- }) => {
18041
- const adminApi = await GetAdminAPI(adminApiParams);
18042
- const { data } = await adminApi.get(
18043
- `/subscription-products/${subscriptionProductId}/prices/${subscriptionProductPriceId}`
18044
- );
18045
- return data;
18046
- };
18047
- var useGetSubscriptionProductPrice = (subscriptionProductId = "", subscriptionProductPriceId = "", options = {}) => {
18048
- return useConnectedSingleQuery(
18049
- SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY(
18050
- subscriptionProductId,
18051
- subscriptionProductPriceId
18052
- ),
18053
- (params) => GetSubscriptionProductPrice({
18054
- subscriptionProductId,
18055
- subscriptionProductPriceId,
18056
- ...params
18057
- }),
18058
- {
18059
- ...options,
18060
- enabled: !!subscriptionProductId && !!subscriptionProductPriceId && (options?.enabled ?? true)
18061
- },
18062
- "subscriptions"
18063
- );
18064
- };
18065
-
18066
- // src/queries/subscriptions/useGetSubscriptionProductSubscriptions.ts
18067
- var SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY = (subscriptionProductId, status) => {
18068
- const queryKey = [
18069
- ...SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId),
18070
- subscriptionProductId
18071
- ];
18072
- if (status) {
18073
- queryKey.push(status);
18074
- }
18075
- return queryKey;
18076
- };
18077
- var SET_SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_DATA = (client, keyParams, response) => {
18078
- client.setQueryData(
18079
- SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY(...keyParams),
18080
- response
18081
- );
18082
- };
18083
- var GetSubscriptionProductSubscriptions = async ({
18084
- subscriptionProductId,
18085
- status,
18086
- pageParam,
18087
- pageSize,
18088
- orderBy,
18089
- search,
18090
- adminApiParams
18091
- }) => {
18092
- const adminApi = await GetAdminAPI(adminApiParams);
18093
- const { data } = await adminApi.get(
18094
- `/subscription-products/${subscriptionProductId}/subscriptions`,
18095
- {
18096
- params: {
18097
- page: pageParam || void 0,
18098
- pageSize: pageSize || void 0,
18099
- orderBy: orderBy || void 0,
18100
- search: search || void 0,
18101
- status: status || void 0
18102
- }
18103
- }
18104
- );
18105
- return data;
18106
- };
18107
- var useGetSubscriptionProductSubscriptions = (subscriptionProductId, status, params = {}, options = {}) => {
18108
- return useConnectedInfiniteQuery(
18109
- SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY(subscriptionProductId),
18110
- (params2) => GetSubscriptionProductSubscriptions({
18111
- subscriptionProductId,
18112
- status,
18113
- ...params2
18114
- }),
18115
- params,
18116
- {
18117
- ...options,
18118
- enabled: !!subscriptionProductId && (options.enabled ?? true)
18119
- },
18120
- "subscriptions"
18121
- );
18122
- };
18123
-
18124
- // src/queries/subscriptions/useGetSubscriptionProductTiers.ts
18125
- var SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY = (subscriptionProductId) => [
18126
- ...SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId),
18127
- "SUBSCRIPTION_PRODUCT_TIERS"
18128
- ];
18129
- var SET_SUBSCRIPTION_PRODUCT_TIERS_QUERY_DATA = (client, keyParams, response) => {
18130
- client.setQueryData(
18131
- SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY(...keyParams),
18132
- response
18133
- );
18134
- };
18135
- var GetSubscriptionProductTiers = async ({
18136
- pageParam,
18137
- pageSize,
18138
- orderBy,
18139
- search,
18140
- subscriptionProductId,
18141
- adminApiParams
18142
- }) => {
18143
- const adminApi = await GetAdminAPI(adminApiParams);
18144
- const { data } = await adminApi.get(
18145
- `/subscription-products/${subscriptionProductId}/tiers`,
18146
- {
18147
- params: {
18148
- page: pageParam || void 0,
18149
- pageSize: pageSize || void 0,
18150
- orderBy: orderBy || void 0,
18151
- search: search || void 0
18152
- }
18153
- }
18154
- );
18155
- return data;
18156
- };
18157
- var useGetSubscriptionProductTiers = (subscriptionProductId = "", params = {}, options = {}) => {
18158
- return useConnectedInfiniteQuery(
18159
- SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY(subscriptionProductId),
18160
- (params2) => GetSubscriptionProductTiers({ ...params2, subscriptionProductId }),
18161
- params,
18162
- {
18163
- ...options,
18164
- enabled: !!subscriptionProductId && (options.enabled ?? true)
18165
- },
18166
- "subscriptions"
18167
- );
18168
- };
18169
-
18170
18258
  // src/queries/supportTickets/useGetSupportTickets.ts
18171
18259
  var SUPPORT_TICKETS_QUERY_KEY = (status, type) => [
18172
18260
  "SUPPORT_TICKETS",
@@ -32593,6 +32681,292 @@ var useUpdateLevel = (options = {}) => {
32593
32681
  });
32594
32682
  };
32595
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
+
32596
32970
  // src/mutations/organization/integrations/useCreateIntegration.ts
32597
32971
  var CreateIntegration = async ({
32598
32972
  integration,
@@ -34159,286 +34533,6 @@ var useUpdateStreamInputOutput = (options = {}) => {
34159
34533
  });
34160
34534
  };
34161
34535
 
34162
- // src/mutations/subscription/useAddSubscriptionProductTier.ts
34163
- var AddSubscriptionProductTier = async ({
34164
- subscriptionProductId,
34165
- tierId,
34166
- adminApiParams,
34167
- queryClient
34168
- }) => {
34169
- const connectedXM = await GetAdminAPI(adminApiParams);
34170
- const { data } = await connectedXM.post(
34171
- `/subscription-products/${subscriptionProductId}/tiers/${tierId}`
34172
- );
34173
- if (queryClient && data.status === "ok") {
34174
- queryClient.invalidateQueries({
34175
- queryKey: SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY(subscriptionProductId)
34176
- });
34177
- }
34178
- return { ...data };
34179
- };
34180
- var useAddSubscriptionProductTier = (options = {}) => {
34181
- return useConnectedMutation(AddSubscriptionProductTier, options, {
34182
- domain: "subscriptions",
34183
- type: "update"
34184
- });
34185
- };
34186
-
34187
- // src/mutations/subscription/useCancelSubscription.ts
34188
- var CancelSubscription = async ({
34189
- subscriptionId,
34190
- adminApiParams,
34191
- queryClient
34192
- }) => {
34193
- const connectedXM = await GetAdminAPI(adminApiParams);
34194
- const { data } = await connectedXM.delete(
34195
- `/subscriptions/${subscriptionId}`
34196
- );
34197
- if (queryClient && data.status === "ok") {
34198
- queryClient.invalidateQueries({ queryKey: SUBSCRIPTIONS_QUERY_KEY() });
34199
- SET_SUBSCRIPTION_QUERY_DATA(queryClient, [subscriptionId], data);
34200
- }
34201
- return data;
34202
- };
34203
- var useCancelSubscription = (options = {}) => {
34204
- return useConnectedMutation(CancelSubscription, options, {
34205
- domain: "subscriptions",
34206
- type: "update"
34207
- });
34208
- };
34209
-
34210
- // src/mutations/subscription/useCreateSubscription.ts
34211
- var CreateSubscription = async ({
34212
- subscription,
34213
- // queryClient,
34214
- adminApiParams
34215
- }) => {
34216
- const connectedXM = await GetAdminAPI(adminApiParams);
34217
- const { data } = await connectedXM.post(
34218
- `/subscriptions`,
34219
- subscription
34220
- );
34221
- return data;
34222
- };
34223
- var useCreateSubscription = (options = {}) => {
34224
- return useConnectedMutation(CreateSubscription, options, {
34225
- domain: "subscriptions",
34226
- type: "create"
34227
- });
34228
- };
34229
-
34230
- // src/mutations/subscription/useCreateSubscriptionProduct.ts
34231
- var CreateSubscriptionProduct = async ({
34232
- subscriptionProduct,
34233
- adminApiParams,
34234
- queryClient
34235
- }) => {
34236
- const connectedXM = await GetAdminAPI(adminApiParams);
34237
- const { data } = await connectedXM.post(`/subscription-products`, subscriptionProduct);
34238
- if (queryClient && data.status === "ok") {
34239
- queryClient.invalidateQueries({
34240
- queryKey: SUBSCRIPTION_PRODUCTS_QUERY_KEY()
34241
- });
34242
- SET_SUBSCRIPTION_PRODUCT_QUERY_DATA(queryClient, [data?.data?.id], data);
34243
- }
34244
- return data;
34245
- };
34246
- var useCreateSubscriptionProduct = (options = {}) => {
34247
- return useConnectedMutation(CreateSubscriptionProduct, options, {
34248
- domain: "subscriptions",
34249
- type: "create"
34250
- });
34251
- };
34252
-
34253
- // src/mutations/subscription/useCreateSubscriptionProductPrice.ts
34254
- var CreateSubscriptionProductPrice = async ({
34255
- subscriptionProductId,
34256
- subscriptionProductPrice,
34257
- adminApiParams,
34258
- queryClient
34259
- }) => {
34260
- const connectedXM = await GetAdminAPI(adminApiParams);
34261
- const { data } = await connectedXM.post(
34262
- `/subscription-products/${subscriptionProductId}/prices`,
34263
- subscriptionProductPrice
34264
- );
34265
- if (queryClient && data.status === "ok") {
34266
- queryClient.invalidateQueries({
34267
- queryKey: SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(subscriptionProductId)
34268
- });
34269
- SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA(
34270
- queryClient,
34271
- [subscriptionProductId, data?.data?.id],
34272
- data
34273
- );
34274
- }
34275
- return data;
34276
- };
34277
- var useCreateSubscriptionProductPrice = (options = {}) => {
34278
- return useConnectedMutation(CreateSubscriptionProductPrice, options, {
34279
- domain: "subscriptions",
34280
- type: "create"
34281
- });
34282
- };
34283
-
34284
- // src/mutations/subscription/useDeleteSubscriptionProduct.ts
34285
- var DeleteSubscriptionProduct = async ({
34286
- subscriptionProductId,
34287
- adminApiParams,
34288
- queryClient
34289
- }) => {
34290
- const connectedXM = await GetAdminAPI(adminApiParams);
34291
- const { data } = await connectedXM.delete(
34292
- `/subscription-products/${subscriptionProductId}`
34293
- );
34294
- if (queryClient && data.status === "ok") {
34295
- queryClient.invalidateQueries({
34296
- queryKey: SUBSCRIPTION_PRODUCTS_QUERY_KEY()
34297
- });
34298
- queryClient.removeQueries({
34299
- queryKey: SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId)
34300
- });
34301
- }
34302
- return data;
34303
- };
34304
- var useDeleteSubscriptionProduct = (options = {}) => {
34305
- return useConnectedMutation(DeleteSubscriptionProduct, options, {
34306
- domain: "subscriptions",
34307
- type: "del"
34308
- });
34309
- };
34310
-
34311
- // src/mutations/subscription/useDeleteSubscriptionProductPrice.ts
34312
- var DeleteSubscriptionProductPrice = async ({
34313
- subscriptionProductId,
34314
- adminApiParams,
34315
- queryClient
34316
- }) => {
34317
- const connectedXM = await GetAdminAPI(adminApiParams);
34318
- const { data } = await connectedXM.delete(
34319
- `/subscription-products/${subscriptionProductId}`
34320
- );
34321
- if (queryClient && data.status === "ok") {
34322
- queryClient.invalidateQueries({
34323
- queryKey: SUBSCRIPTION_PRODUCTS_QUERY_KEY()
34324
- });
34325
- queryClient.removeQueries({
34326
- queryKey: SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId)
34327
- });
34328
- }
34329
- return data;
34330
- };
34331
- var useDeleteSubscriptionProductPrice = (options = {}) => {
34332
- return useConnectedMutation(DeleteSubscriptionProductPrice, options, {
34333
- domain: "subscriptions",
34334
- type: "del"
34335
- });
34336
- };
34337
-
34338
- // src/mutations/subscription/useRemoveSubscriptionProductTier.ts
34339
- var RemoveSubscriptionProductTier = async ({
34340
- subscriptionProductId,
34341
- tierId,
34342
- adminApiParams,
34343
- queryClient
34344
- }) => {
34345
- const connectedXM = await GetAdminAPI(adminApiParams);
34346
- const { data } = await connectedXM.delete(
34347
- `/subscription-products/${subscriptionProductId}/tiers/${tierId}`
34348
- );
34349
- if (queryClient && data.status === "ok") {
34350
- queryClient.invalidateQueries({
34351
- queryKey: SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY(subscriptionProductId)
34352
- });
34353
- }
34354
- return data;
34355
- };
34356
- var useRemoveSubscriptionProductTier = (options = {}) => {
34357
- return useConnectedMutation(RemoveSubscriptionProductTier, options, {
34358
- domain: "subscriptions",
34359
- type: "update"
34360
- });
34361
- };
34362
-
34363
- // src/mutations/subscription/useUpdateSubscription.ts
34364
- var UpdateSubscription = async ({
34365
- subscriptionId,
34366
- subscription,
34367
- // queryClient,
34368
- adminApiParams
34369
- }) => {
34370
- const connectedXM = await GetAdminAPI(adminApiParams);
34371
- const { data } = await connectedXM.put(
34372
- `/subscriptions/${subscriptionId}`,
34373
- subscription
34374
- );
34375
- return data;
34376
- };
34377
- var useUpdateSubscription = (options = {}) => {
34378
- return useConnectedMutation(UpdateSubscription, options, {
34379
- domain: "subscriptions",
34380
- type: "update"
34381
- });
34382
- };
34383
-
34384
- // src/mutations/subscription/useUpdateSubscriptionProduct.ts
34385
- var UpdateSubscriptionProduct = async ({
34386
- subscriptionProductId,
34387
- subscriptionProduct,
34388
- queryClient,
34389
- adminApiParams
34390
- }) => {
34391
- const connectedXM = await GetAdminAPI(adminApiParams);
34392
- const { data } = await connectedXM.put(`/subscription-products/${subscriptionProductId}`, subscriptionProduct);
34393
- if (queryClient && data.status === "ok") {
34394
- queryClient.invalidateQueries({
34395
- queryKey: SUBSCRIPTION_PRODUCTS_QUERY_KEY()
34396
- });
34397
- queryClient.invalidateQueries({
34398
- queryKey: SUBSCRIPTION_PRODUCT_QUERY_KEY(subscriptionProductId)
34399
- });
34400
- }
34401
- return data;
34402
- };
34403
- var useUpdateSubscriptionProduct = (options = {}) => {
34404
- return useConnectedMutation(UpdateSubscriptionProduct, options, {
34405
- domain: "subscriptions",
34406
- type: "update"
34407
- });
34408
- };
34409
-
34410
- // src/mutations/subscription/useUpdateSubscriptionProductPrice.ts
34411
- var UpdateSubscriptionProductPrice = async ({
34412
- subscriptionProductId,
34413
- subscriptionProductPriceId,
34414
- subscriptionProductPrice,
34415
- queryClient,
34416
- adminApiParams
34417
- }) => {
34418
- const connectedXM = await GetAdminAPI(adminApiParams);
34419
- const { data } = await connectedXM.put(
34420
- `/subscription-products/${subscriptionProductId}/prices/${subscriptionProductPriceId}`,
34421
- subscriptionProductPrice
34422
- );
34423
- if (queryClient && data.status === "ok") {
34424
- queryClient.invalidateQueries({
34425
- queryKey: SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY(subscriptionProductId)
34426
- });
34427
- SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA(
34428
- queryClient,
34429
- [subscriptionProductId, subscriptionProductPriceId],
34430
- data
34431
- );
34432
- }
34433
- return data;
34434
- };
34435
- var useUpdateSubscriptionProductPrice = (options = {}) => {
34436
- return useConnectedMutation(UpdateSubscriptionProductPrice, options, {
34437
- domain: "subscriptions",
34438
- type: "update"
34439
- });
34440
- };
34441
-
34442
34536
  // src/mutations/supportTickets/useCreateSupportTicket.ts
34443
34537
  var CreateSupportTicket = async ({
34444
34538
  supportTicket,
@@ -36377,11 +36471,11 @@ var useUpdateVideo = (options = {}) => {
36377
36471
  AddGroupModerator,
36378
36472
  AddGroupSponsor,
36379
36473
  AddLevelAccount,
36474
+ AddMembershipTier,
36380
36475
  AddOrganizationModuleEditableTier,
36381
36476
  AddOrganizationModuleEnabledTier,
36382
36477
  AddOrganizationUser,
36383
36478
  AddSeriesEvent,
36384
- AddSubscriptionProductTier,
36385
36479
  AddSurveyQuestionChoiceSubQuestion,
36386
36480
  AddSurveySectionQuestion,
36387
36481
  AddThreadMember,
@@ -36547,6 +36641,8 @@ var useUpdateVideo = (options = {}) => {
36547
36641
  CreateInvoiceLineItem,
36548
36642
  CreateLevel,
36549
36643
  CreateLevelTranslation,
36644
+ CreateMembership,
36645
+ CreateMembershipPrice,
36550
36646
  CreateOrganizationPageTranslation,
36551
36647
  CreateOrganizationPaymentIntegration,
36552
36648
  CreateOrganizationTeamMember,
@@ -36555,8 +36651,6 @@ var useUpdateVideo = (options = {}) => {
36555
36651
  CreateStreamInput,
36556
36652
  CreateStreamInputOutput,
36557
36653
  CreateSubscription,
36558
- CreateSubscriptionProduct,
36559
- CreateSubscriptionProductPrice,
36560
36654
  CreateSupportTicket,
36561
36655
  CreateSupportTicketNote,
36562
36656
  CreateSurvey,
@@ -36682,6 +36776,8 @@ var useUpdateVideo = (options = {}) => {
36682
36776
  DeleteLevelTranslation,
36683
36777
  DeleteManyImages,
36684
36778
  DeleteManyVideos,
36779
+ DeleteMembership,
36780
+ DeleteMembershipPrice,
36685
36781
  DeleteOrganizationDomain,
36686
36782
  DeleteOrganizationPageTranslation,
36687
36783
  DeleteOrganizationPaymentIntegration,
@@ -36691,8 +36787,6 @@ var useUpdateVideo = (options = {}) => {
36691
36787
  DeleteSeries,
36692
36788
  DeleteStreamInput,
36693
36789
  DeleteStreamInputOutput,
36694
- DeleteSubscriptionProduct,
36695
- DeleteSubscriptionProductPrice,
36696
36790
  DeleteSupportTicket,
36697
36791
  DeleteSupportTicketNote,
36698
36792
  DeleteSurvey,
@@ -36730,6 +36824,8 @@ var useUpdateVideo = (options = {}) => {
36730
36824
  EVENT_ADD_ON_TRANSLATION_QUERY_KEY,
36731
36825
  EVENT_ATTENDEES_QUERY_KEY,
36732
36826
  EVENT_ATTENDEE_COUPONS_QUERY_KEY,
36827
+ EVENT_ATTENDEE_PACKAGES_QUERY_KEY,
36828
+ EVENT_ATTENDEE_PACKAGE_QUERY_KEY,
36733
36829
  EVENT_ATTENDEE_PASSES_QUERY_KEY,
36734
36830
  EVENT_ATTENDEE_PAYMENTS_QUERY_KEY,
36735
36831
  EVENT_ATTENDEE_QUERY_KEY,
@@ -37038,6 +37134,8 @@ var useUpdateVideo = (options = {}) => {
37038
37134
  GetEventAddOns,
37039
37135
  GetEventAttendee,
37040
37136
  GetEventAttendeeCoupons,
37137
+ GetEventAttendeePackage,
37138
+ GetEventAttendeePackages,
37041
37139
  GetEventAttendeePasses,
37042
37140
  GetEventAttendeePayments,
37043
37141
  GetEventAttendeeReservations,
@@ -37244,6 +37342,12 @@ var useUpdateVideo = (options = {}) => {
37244
37342
  GetLevelTranslations,
37245
37343
  GetLevels,
37246
37344
  GetLinkPreview,
37345
+ GetMembership,
37346
+ GetMembershipPrice,
37347
+ GetMembershipPrices,
37348
+ GetMembershipSubscriptions,
37349
+ GetMembershipTiers,
37350
+ GetMemberships,
37247
37351
  GetOrganization,
37248
37352
  GetOrganizationDomain,
37249
37353
  GetOrganizationMembership,
@@ -37279,12 +37383,6 @@ var useUpdateVideo = (options = {}) => {
37279
37383
  GetStreamInputs,
37280
37384
  GetSubscription,
37281
37385
  GetSubscriptionPayments,
37282
- GetSubscriptionProduct,
37283
- GetSubscriptionProductPrice,
37284
- GetSubscriptionProductPrices,
37285
- GetSubscriptionProductSubscriptions,
37286
- GetSubscriptionProductTiers,
37287
- GetSubscriptionProducts,
37288
37386
  GetSubscriptions,
37289
37387
  GetSupportTicket,
37290
37388
  GetSupportTickets,
@@ -37371,7 +37469,15 @@ var useUpdateVideo = (options = {}) => {
37371
37469
  LEVEL_TRANSLATION_QUERY_KEY,
37372
37470
  LINK_PREVIEW_QUERY_KEY,
37373
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,
37374
37478
  MatchQuestionType,
37479
+ MembershipPriceInterval,
37480
+ MembershipPriceType,
37375
37481
  MergeInfinitePages,
37376
37482
  ModerationStatus,
37377
37483
  NotificationType,
@@ -37454,10 +37560,10 @@ var useUpdateVideo = (options = {}) => {
37454
37560
  RemoveGroupModerator,
37455
37561
  RemoveGroupSponsor,
37456
37562
  RemoveLevelAccount,
37563
+ RemoveMembershipTier,
37457
37564
  RemoveOrganizationModuleEditableTier,
37458
37565
  RemoveOrganizationModuleEnabledTier,
37459
37566
  RemoveSeriesEvent,
37460
- RemoveSubscriptionProductTier,
37461
37567
  RemoveSurveyQuestionChoiceSubQuestion,
37462
37568
  RemoveSurveySectionQuestion,
37463
37569
  RemoveThreadMember,
@@ -37599,6 +37705,8 @@ var useUpdateVideo = (options = {}) => {
37599
37705
  SET_EVENT_ADD_ON_TRANSLATIONS_QUERY_DATA,
37600
37706
  SET_EVENT_ADD_ON_TRANSLATION_QUERY_DATA,
37601
37707
  SET_EVENT_ATTENDEES_QUERY_DATA,
37708
+ SET_EVENT_ATTENDEE_PACKAGES_QUERY_DATA,
37709
+ SET_EVENT_ATTENDEE_PACKAGE_QUERY_DATA,
37602
37710
  SET_EVENT_ATTENDEE_PASSES_QUERY_DATA,
37603
37711
  SET_EVENT_ATTENDEE_PAYMENTS_QUERY_DATA,
37604
37712
  SET_EVENT_ATTENDEE_QUERY_DATA,
@@ -37801,6 +37909,12 @@ var useUpdateVideo = (options = {}) => {
37801
37909
  SET_LEVEL_TRANSLATIONS_QUERY_DATA,
37802
37910
  SET_LEVEL_TRANSLATION_QUERY_DATA,
37803
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,
37804
37918
  SET_ORGANIZATION_DOMAIN_QUERY_DATA,
37805
37919
  SET_ORGANIZATION_MEMBERSHIP_QUERY_DATA,
37806
37920
  SET_ORGANIZATION_MODULES_QUERY_DATA,
@@ -37838,12 +37952,6 @@ var useUpdateVideo = (options = {}) => {
37838
37952
  SET_STREAM_INPUT_QUERY_DATA,
37839
37953
  SET_SUBSCRIPTIONS_QUERY_DATA,
37840
37954
  SET_SUBSCRIPTION_PAYMENTS_QUERY_DATA,
37841
- SET_SUBSCRIPTION_PRODUCTS_QUERY_DATA,
37842
- SET_SUBSCRIPTION_PRODUCT_PRICES_QUERY_DATA,
37843
- SET_SUBSCRIPTION_PRODUCT_PRICE_QUERY_DATA,
37844
- SET_SUBSCRIPTION_PRODUCT_QUERY_DATA,
37845
- SET_SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_DATA,
37846
- SET_SUBSCRIPTION_PRODUCT_TIERS_QUERY_DATA,
37847
37955
  SET_SUBSCRIPTION_QUERY_DATA,
37848
37956
  SET_SUPPORT_TICKETS_QUERY_DATA,
37849
37957
  SET_SUPPORT_TICKET_QUERY_DATA,
@@ -37892,12 +38000,6 @@ var useUpdateVideo = (options = {}) => {
37892
38000
  STREAM_QUERY_KEY,
37893
38001
  SUBSCRIPTIONS_QUERY_KEY,
37894
38002
  SUBSCRIPTION_PAYMENTS_QUERY_KEY,
37895
- SUBSCRIPTION_PRODUCTS_QUERY_KEY,
37896
- SUBSCRIPTION_PRODUCT_PRICES_QUERY_KEY,
37897
- SUBSCRIPTION_PRODUCT_PRICE_QUERY_KEY,
37898
- SUBSCRIPTION_PRODUCT_QUERY_KEY,
37899
- SUBSCRIPTION_PRODUCT_SUBSCRIPTIONS_QUERY_KEY,
37900
- SUBSCRIPTION_PRODUCT_TIERS_QUERY_KEY,
37901
38003
  SUBSCRIPTION_QUERY_KEY,
37902
38004
  SUPPORT_TICKETS_QUERY_KEY,
37903
38005
  SUPPORT_TICKET_QUERY_KEY,
@@ -37929,8 +38031,6 @@ var useUpdateVideo = (options = {}) => {
37929
38031
  SearchOrganization,
37930
38032
  SelfLeaveOrganization,
37931
38033
  SendAnnouncementPreview,
37932
- SubscriptionProductPriceInterval,
37933
- SubscriptionProductPriceType,
37934
38034
  SubscriptionStatus,
37935
38035
  SupportTicketState,
37936
38036
  SupportTicketType,
@@ -38076,6 +38176,8 @@ var useUpdateVideo = (options = {}) => {
38076
38176
  UpdateLevelTranslation,
38077
38177
  UpdateLoginEmail,
38078
38178
  UpdateLoginPassword,
38179
+ UpdateMembership,
38180
+ UpdateMembershipPrice,
38079
38181
  UpdateOrganization,
38080
38182
  UpdateOrganizationDomain,
38081
38183
  UpdateOrganizationIntegrations,
@@ -38092,8 +38194,6 @@ var useUpdateVideo = (options = {}) => {
38092
38194
  UpdateStreamConfig,
38093
38195
  UpdateStreamInputOutput,
38094
38196
  UpdateSubscription,
38095
- UpdateSubscriptionProduct,
38096
- UpdateSubscriptionProductPrice,
38097
38197
  UpdateSupportTicket,
38098
38198
  UpdateSurvey,
38099
38199
  UpdateSurveyQuestion,
@@ -38166,11 +38266,11 @@ var useUpdateVideo = (options = {}) => {
38166
38266
  useAddGroupModerator,
38167
38267
  useAddGroupSponsor,
38168
38268
  useAddLevelAccount,
38269
+ useAddMembershipTier,
38169
38270
  useAddOrganizationModuleEditableTier,
38170
38271
  useAddOrganizationModuleEnabledTier,
38171
38272
  useAddOrganizationUser,
38172
38273
  useAddSeriesEvent,
38173
- useAddSubscriptionProductTier,
38174
38274
  useAddSurveyQuestionChoiceSubQuestion,
38175
38275
  useAddSurveySectionQuestion,
38176
38276
  useAddThreadMember,
@@ -38283,6 +38383,8 @@ var useUpdateVideo = (options = {}) => {
38283
38383
  useCreateInvoiceLineItem,
38284
38384
  useCreateLevel,
38285
38385
  useCreateLevelTranslation,
38386
+ useCreateMembership,
38387
+ useCreateMembershipPrice,
38286
38388
  useCreateOrganizationPageTranslation,
38287
38389
  useCreateOrganizationPaymentIntegration,
38288
38390
  useCreateOrganizationTeamMember,
@@ -38291,8 +38393,6 @@ var useUpdateVideo = (options = {}) => {
38291
38393
  useCreateStreamInput,
38292
38394
  useCreateStreamInputOutput,
38293
38395
  useCreateSubscription,
38294
- useCreateSubscriptionProduct,
38295
- useCreateSubscriptionProductPrice,
38296
38396
  useCreateSupportTicket,
38297
38397
  useCreateSupportTicketNote,
38298
38398
  useCreateSurvey,
@@ -38410,6 +38510,8 @@ var useUpdateVideo = (options = {}) => {
38410
38510
  useDeleteLevelTranslation,
38411
38511
  useDeleteManyImages,
38412
38512
  useDeleteManyVideos,
38513
+ useDeleteMembership,
38514
+ useDeleteMembershipPrice,
38413
38515
  useDeleteOrganizationDomain,
38414
38516
  useDeleteOrganizationPageTranslation,
38415
38517
  useDeleteOrganizationPaymentIntegration,
@@ -38419,8 +38521,6 @@ var useUpdateVideo = (options = {}) => {
38419
38521
  useDeleteSeries,
38420
38522
  useDeleteStreamInput,
38421
38523
  useDeleteStreamInputOutput,
38422
- useDeleteSubscriptionProduct,
38423
- useDeleteSubscriptionProductPrice,
38424
38524
  useDeleteSupportTicket,
38425
38525
  useDeleteSupportTicketNote,
38426
38526
  useDeleteSurvey,
@@ -38558,6 +38658,8 @@ var useUpdateVideo = (options = {}) => {
38558
38658
  useGetEventAddOns,
38559
38659
  useGetEventAttendee,
38560
38660
  useGetEventAttendeeCoupons,
38661
+ useGetEventAttendeePackage,
38662
+ useGetEventAttendeePackages,
38561
38663
  useGetEventAttendeePasses,
38562
38664
  useGetEventAttendeePayments,
38563
38665
  useGetEventAttendeeReservations,
@@ -38763,6 +38865,12 @@ var useUpdateVideo = (options = {}) => {
38763
38865
  useGetLevelTranslations,
38764
38866
  useGetLevels,
38765
38867
  useGetLinkPreview,
38868
+ useGetMembership,
38869
+ useGetMembershipPrice,
38870
+ useGetMembershipPrices,
38871
+ useGetMembershipSubscriptions,
38872
+ useGetMembershipTiers,
38873
+ useGetMemberships,
38766
38874
  useGetOrganization,
38767
38875
  useGetOrganizationDomain,
38768
38876
  useGetOrganizationMembership,
@@ -38798,12 +38906,6 @@ var useUpdateVideo = (options = {}) => {
38798
38906
  useGetStreamInputs,
38799
38907
  useGetSubscription,
38800
38908
  useGetSubscriptionPayments,
38801
- useGetSubscriptionProduct,
38802
- useGetSubscriptionProductPrice,
38803
- useGetSubscriptionProductPrices,
38804
- useGetSubscriptionProductSubscriptions,
38805
- useGetSubscriptionProductTiers,
38806
- useGetSubscriptionProducts,
38807
38909
  useGetSubscriptions,
38808
38910
  useGetSupportTicket,
38809
38911
  useGetSupportTickets,
@@ -38898,10 +39000,10 @@ var useUpdateVideo = (options = {}) => {
38898
39000
  useRemoveGroupModerator,
38899
39001
  useRemoveGroupSponsor,
38900
39002
  useRemoveLevelAccount,
39003
+ useRemoveMembershipTier,
38901
39004
  useRemoveOrganizationModuleEditableTier,
38902
39005
  useRemoveOrganizationModuleEnabledTier,
38903
39006
  useRemoveSeriesEvent,
38904
- useRemoveSubscriptionProductTier,
38905
39007
  useRemoveSurveyQuestionChoiceSubQuestion,
38906
39008
  useRemoveSurveySectionQuestion,
38907
39009
  useRemoveThreadMember,
@@ -39041,6 +39143,8 @@ var useUpdateVideo = (options = {}) => {
39041
39143
  useUpdateLevelTranslation,
39042
39144
  useUpdateLoginEmail,
39043
39145
  useUpdateLoginPassword,
39146
+ useUpdateMembership,
39147
+ useUpdateMembershipPrice,
39044
39148
  useUpdateOrganization,
39045
39149
  useUpdateOrganizationDomain,
39046
39150
  useUpdateOrganizationIntegrations,
@@ -39057,8 +39161,6 @@ var useUpdateVideo = (options = {}) => {
39057
39161
  useUpdateStreamInput,
39058
39162
  useUpdateStreamInputOutput,
39059
39163
  useUpdateSubscription,
39060
- useUpdateSubscriptionProduct,
39061
- useUpdateSubscriptionProductPrice,
39062
39164
  useUpdateSupportTicket,
39063
39165
  useUpdateSurvey,
39064
39166
  useUpdateSurveyQuestion,