@iblai/data-layer 1.2.5 → 1.2.7

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.esm.js CHANGED
@@ -39181,12 +39181,12 @@ const buildEndpointFromService = (service, serviceFn) => {
39181
39181
  }
39182
39182
  catch (err) {
39183
39183
  if (Object.prototype.hasOwnProperty.call(Config.httpErrorHandlers, err === null || err === void 0 ? void 0 : err.status)) {
39184
- Config.httpErrorHandlers[err === null || err === void 0 ? void 0 : err.status]();
39184
+ Config.httpErrorHandlers[err === null || err === void 0 ? void 0 : err.status]({ ...((err === null || err === void 0 ? void 0 : err.data) || {}) });
39185
39185
  }
39186
39186
  return {
39187
39187
  error: {
39188
39188
  status: (err === null || err === void 0 ? void 0 : err.status) || 500,
39189
- data: (err === null || err === void 0 ? void 0 : err.body) || (err === null || err === void 0 ? void 0 : err.message) || 'Unknown error',
39189
+ data: (err === null || err === void 0 ? void 0 : err.body) || (err === null || err === void 0 ? void 0 : err.data) || (err === null || err === void 0 ? void 0 : err.message) || 'Unknown error',
39190
39190
  },
39191
39191
  };
39192
39192
  }
@@ -39240,24 +39240,40 @@ const baseQuery = (service, jsonContentType = true, contentType, skipAuth = fals
39240
39240
  /**
39241
39241
  * Helper to invoke registered HTTP error handlers (e.g., logout on 401).
39242
39242
  */
39243
- const invokeHttpErrorHandler = (status) => {
39243
+ const invokeHttpErrorHandler = (status, error) => {
39244
39244
  const numericStatus = typeof status === 'number' ? status : parseInt(String(status), 10);
39245
+ console.log('[MONETIZATION error] ', { error });
39245
39246
  if (!isNaN(numericStatus) &&
39246
39247
  Object.prototype.hasOwnProperty.call(Config.httpErrorHandlers, numericStatus)) {
39247
- Config.httpErrorHandlers[numericStatus]();
39248
+ const err = error;
39249
+ Config.httpErrorHandlers[numericStatus]({ ...(err || {}) });
39248
39250
  }
39249
39251
  };
39252
+ /** HTTP status codes that should not be retried (e.g., 402 Payment Required). */
39253
+ const NON_RETRYABLE_STATUS_CODES = [402];
39254
+ /**
39255
+ * Wraps a base query to skip retries for non-retryable HTTP status codes.
39256
+ * Uses `retry.fail()` to immediately bail out of the retry loop.
39257
+ */
39258
+ const withNonRetryableErrors = (query) => async (args, api, extraOptions) => {
39259
+ const result = await query(args, api, extraOptions);
39260
+ if (result.error && NON_RETRYABLE_STATUS_CODES.includes(result.error.status)) {
39261
+ retry$1.fail(result.error);
39262
+ }
39263
+ return result;
39264
+ };
39250
39265
  const iblFetchBaseQuery = async (args, api, extraOptions) => {
39251
- var _a, _b;
39266
+ var _a, _b, _c;
39252
39267
  try {
39253
39268
  // Executing base query
39254
- const result = await retry$1(baseQuery(args.service, (_a = args === null || args === void 0 ? void 0 : args.isJson) !== null && _a !== void 0 ? _a : true, args === null || args === void 0 ? void 0 : args.contentType, args === null || args === void 0 ? void 0 : args.skipAuth), {
39269
+ const result = await retry$1(withNonRetryableErrors(baseQuery(args.service, (_a = args === null || args === void 0 ? void 0 : args.isJson) !== null && _a !== void 0 ? _a : true, args === null || args === void 0 ? void 0 : args.contentType, args === null || args === void 0 ? void 0 : args.skipAuth)), {
39255
39270
  maxRetries: 3,
39256
39271
  })(args, api, extraOptions);
39257
39272
  // Query completed
39258
39273
  if (result.error) {
39274
+ console.log('[MONETIZATION ERROR HANDLER]: ', { result });
39259
39275
  // Invoke registered HTTP error handlers (e.g., logout on 401)
39260
- invokeHttpErrorHandler(result.error.status);
39276
+ invokeHttpErrorHandler(result.error.status, (_b = result.error) === null || _b === void 0 ? void 0 : _b.data);
39261
39277
  // For profile image upload errors, preserve the original error structure
39262
39278
  if (args.url && args.url.includes('/profile_images/')) {
39263
39279
  throw result.error;
@@ -39275,7 +39291,7 @@ const iblFetchBaseQuery = async (args, api, extraOptions) => {
39275
39291
  // Ensure we throw a plain FetchBaseQueryError shape with enumerable fields
39276
39292
  throw {
39277
39293
  status: result.error.status,
39278
- data: (_b = result.error.data) !== null && _b !== void 0 ? _b : errorMessage,
39294
+ data: (_c = result.error.data) !== null && _c !== void 0 ? _c : errorMessage,
39279
39295
  };
39280
39296
  }
39281
39297
  return { data: result === null || result === void 0 ? void 0 : result.data };
@@ -39289,10 +39305,12 @@ const iblFetchBaseQuery = async (args, api, extraOptions) => {
39289
39305
  error: e,
39290
39306
  }));
39291
39307
  // Extract status from error and invoke HTTP error handlers
39308
+ console.log('[MONETIZATION e]', { e });
39309
+ const err = e;
39292
39310
  const errorStatus = typeof e === 'object' && e !== null && 'status' in e
39293
39311
  ? e.status
39294
39312
  : undefined;
39295
- invokeHttpErrorHandler(errorStatus);
39313
+ invokeHttpErrorHandler(errorStatus, err === null || err === void 0 ? void 0 : err.data);
39296
39314
  // Preserve original RTK error object for profile image uploads
39297
39315
  if (args.url &&
39298
39316
  args.url.includes('/profile_images/') &&
@@ -39329,7 +39347,11 @@ const buildEndpointFromServiceLegacy = (service, serviceFn) => {
39329
39347
  }
39330
39348
  catch (err) {
39331
39349
  if (Object.prototype.hasOwnProperty.call(Config.httpErrorHandlers, err === null || err === void 0 ? void 0 : err.status)) {
39332
- Config.httpErrorHandlers[err === null || err === void 0 ? void 0 : err.status]();
39350
+ Config.httpErrorHandlers[err === null || err === void 0 ? void 0 : err.status]({
39351
+ status: err === null || err === void 0 ? void 0 : err.status,
39352
+ body: err === null || err === void 0 ? void 0 : err.body,
39353
+ message: err === null || err === void 0 ? void 0 : err.message,
39354
+ });
39333
39355
  }
39334
39356
  return {
39335
39357
  error: {
@@ -40798,6 +40820,328 @@ const billingCustomSlice = createApi({
40798
40820
  });
40799
40821
  const { useUpdateAutoRechargeInfoMutation, useGetAccountBillingInfoQuery, useLazyGetAccountBillingInfoQuery, useTriggerAutoRechargeMutation, } = billingCustomSlice;
40800
40822
 
40823
+ const MONETIZATION_REDUCER_PATH = 'monetizationApiSlice';
40824
+ const SERVICE_BASE = '/api/service/platforms';
40825
+ const BILLING_BASE = '/api/billing/platforms';
40826
+ const MONETIZATION_ENDPOINTS = {
40827
+ // Flow 1 — Stripe Connect Onboarding (Admin)
40828
+ STRIPE_CONNECT_STATUS: {
40829
+ path: (key) => `${SERVICE_BASE}/${key}/stripe/connect/status/`,
40830
+ service: SERVICES.DM,
40831
+ },
40832
+ STRIPE_CONNECT_ONBOARD: {
40833
+ path: (key) => `${SERVICE_BASE}/${key}/stripe/connect/onboard/`,
40834
+ service: SERVICES.DM,
40835
+ },
40836
+ STRIPE_CONNECT_DASHBOARD: {
40837
+ path: (key) => `${SERVICE_BASE}/${key}/stripe/connect/dashboard/`,
40838
+ service: SERVICES.DM,
40839
+ },
40840
+ // Flow 2 — Configure Paywall (Admin)
40841
+ PAYWALL_CONFIG: {
40842
+ path: (key, type, id) => `${BILLING_BASE}/${key}/items/${type}/${id}/paywall/`,
40843
+ service: SERVICES.DM,
40844
+ },
40845
+ // Flow 3 — Manage Prices (Admin)
40846
+ PAYWALL_PRICES: {
40847
+ path: (key, type, id) => `${BILLING_BASE}/${key}/items/${type}/${id}/paywall/prices/`,
40848
+ service: SERVICES.DM,
40849
+ },
40850
+ PAYWALL_PRICE_DETAIL: {
40851
+ path: (key, type, id, priceId) => `${BILLING_BASE}/${key}/items/${type}/${id}/paywall/prices/${priceId}/`,
40852
+ service: SERVICES.DM,
40853
+ },
40854
+ // Flow 4 — Public Pricing (No Auth)
40855
+ PUBLIC_PRICING: {
40856
+ path: (key, type, id) => `${BILLING_BASE}/${key}/items/${type}/${id}/pricing/`,
40857
+ service: SERVICES.DM,
40858
+ },
40859
+ // Flow 5 — Access Check
40860
+ ACCESS_CHECK: {
40861
+ path: (key, type, id) => `${BILLING_BASE}/${key}/items/${type}/${id}/access-check/`,
40862
+ service: SERVICES.DM,
40863
+ },
40864
+ ACCESS_CHECK_UNSCOPED: {
40865
+ path: (type, id) => `/api/billing/access-check/${type}/${id}/`,
40866
+ service: SERVICES.DM,
40867
+ },
40868
+ // Flow 6 — Checkout
40869
+ CHECKOUT: {
40870
+ path: (key, type, id) => `${BILLING_BASE}/${key}/items/${type}/${id}/checkout/`,
40871
+ service: SERVICES.DM,
40872
+ },
40873
+ CHECKOUT_GUEST: {
40874
+ path: (key, type, id) => `${BILLING_BASE}/${key}/items/${type}/${id}/checkout-guest/`,
40875
+ service: SERVICES.DM,
40876
+ },
40877
+ // Flow 7 — Cancel Subscription
40878
+ CANCEL_SUBSCRIPTION: {
40879
+ path: (key, type, id) => `${BILLING_BASE}/${key}/items/${type}/${id}/subscription/cancel/`,
40880
+ service: SERVICES.DM,
40881
+ },
40882
+ // Flow 8 — User Subscriptions
40883
+ MY_SUBSCRIPTIONS: {
40884
+ path: (key) => `${BILLING_BASE}/${key}/my-subscriptions/`,
40885
+ service: SERVICES.DM,
40886
+ },
40887
+ ITEM_SUBSCRIPTION: {
40888
+ path: (key, type, id) => `${BILLING_BASE}/${key}/items/${type}/${id}/subscription/`,
40889
+ service: SERVICES.DM,
40890
+ },
40891
+ // Flow 9 — Platform Analytics (Admin)
40892
+ LIST_PAYWALLS: {
40893
+ path: (key) => `${BILLING_BASE}/${key}/paywalls/`,
40894
+ service: SERVICES.DM,
40895
+ },
40896
+ LIST_SUBSCRIBERS: {
40897
+ path: (key) => `${BILLING_BASE}/${key}/subscribers/`,
40898
+ service: SERVICES.DM,
40899
+ },
40900
+ ITEM_SUBSCRIBERS: {
40901
+ path: (key, type, id) => `${BILLING_BASE}/${key}/items/${type}/${id}/subscribers/`,
40902
+ service: SERVICES.DM,
40903
+ },
40904
+ REVENUE: {
40905
+ path: (key) => `${BILLING_BASE}/${key}/revenue/`,
40906
+ service: SERVICES.DM,
40907
+ },
40908
+ };
40909
+
40910
+ const monetizationApiSlice = createApi({
40911
+ reducerPath: MONETIZATION_REDUCER_PATH,
40912
+ baseQuery: iblFetchBaseQuery,
40913
+ tagTypes: [
40914
+ 'stripeConnectStatus',
40915
+ 'paywallConfig',
40916
+ 'paywallPrices',
40917
+ 'publicPricing',
40918
+ 'accessCheck',
40919
+ 'mySubscriptions',
40920
+ 'itemSubscription',
40921
+ 'paywalls',
40922
+ 'subscribers',
40923
+ 'revenue',
40924
+ ],
40925
+ endpoints: (builder) => ({
40926
+ // ── Flow 1: Stripe Connect ──
40927
+ getStripeConnectStatus: builder.query({
40928
+ query: ({ platform_key }) => ({
40929
+ url: MONETIZATION_ENDPOINTS.STRIPE_CONNECT_STATUS.path(platform_key),
40930
+ service: MONETIZATION_ENDPOINTS.STRIPE_CONNECT_STATUS.service,
40931
+ method: 'GET',
40932
+ }),
40933
+ providesTags: ['stripeConnectStatus'],
40934
+ }),
40935
+ startStripeConnectOnboarding: builder.mutation({
40936
+ query: ({ platform_key, ...body }) => ({
40937
+ url: MONETIZATION_ENDPOINTS.STRIPE_CONNECT_ONBOARD.path(platform_key),
40938
+ service: MONETIZATION_ENDPOINTS.STRIPE_CONNECT_ONBOARD.service,
40939
+ method: 'POST',
40940
+ body: JSON.stringify(body),
40941
+ }),
40942
+ invalidatesTags: ['stripeConnectStatus'],
40943
+ }),
40944
+ getStripeConnectDashboard: builder.query({
40945
+ query: ({ platform_key }) => ({
40946
+ url: MONETIZATION_ENDPOINTS.STRIPE_CONNECT_DASHBOARD.path(platform_key),
40947
+ service: MONETIZATION_ENDPOINTS.STRIPE_CONNECT_DASHBOARD.service,
40948
+ method: 'GET',
40949
+ }),
40950
+ }),
40951
+ // ── Flow 2: Paywall Config ──
40952
+ getPaywallConfig: builder.query({
40953
+ query: ({ platform_key, item_type, item_id }) => ({
40954
+ url: MONETIZATION_ENDPOINTS.PAYWALL_CONFIG.path(platform_key, item_type, item_id),
40955
+ service: MONETIZATION_ENDPOINTS.PAYWALL_CONFIG.service,
40956
+ method: 'GET',
40957
+ }),
40958
+ providesTags: ['paywallConfig'],
40959
+ }),
40960
+ enablePaywall: builder.mutation({
40961
+ query: ({ platform_key, item_type, item_id, ...body }) => ({
40962
+ url: MONETIZATION_ENDPOINTS.PAYWALL_CONFIG.path(platform_key, item_type, item_id),
40963
+ service: MONETIZATION_ENDPOINTS.PAYWALL_CONFIG.service,
40964
+ method: 'POST',
40965
+ body: JSON.stringify(body),
40966
+ }),
40967
+ invalidatesTags: ['paywallConfig', 'paywalls'],
40968
+ }),
40969
+ disablePaywall: builder.mutation({
40970
+ query: ({ platform_key, item_type, item_id }) => ({
40971
+ url: MONETIZATION_ENDPOINTS.PAYWALL_CONFIG.path(platform_key, item_type, item_id),
40972
+ service: MONETIZATION_ENDPOINTS.PAYWALL_CONFIG.service,
40973
+ method: 'DELETE',
40974
+ }),
40975
+ invalidatesTags: ['paywallConfig', 'paywalls'],
40976
+ }),
40977
+ // ── Flow 3: Manage Prices ──
40978
+ listPrices: builder.query({
40979
+ query: ({ platform_key, item_type, item_id }) => ({
40980
+ url: MONETIZATION_ENDPOINTS.PAYWALL_PRICES.path(platform_key, item_type, item_id),
40981
+ service: MONETIZATION_ENDPOINTS.PAYWALL_PRICES.service,
40982
+ method: 'GET',
40983
+ }),
40984
+ providesTags: ['paywallPrices'],
40985
+ }),
40986
+ createPrice: builder.mutation({
40987
+ query: ({ platform_key, item_type, item_id, ...body }) => ({
40988
+ url: MONETIZATION_ENDPOINTS.PAYWALL_PRICES.path(platform_key, item_type, item_id),
40989
+ service: MONETIZATION_ENDPOINTS.PAYWALL_PRICES.service,
40990
+ method: 'POST',
40991
+ body: JSON.stringify(body),
40992
+ }),
40993
+ invalidatesTags: ['paywallPrices', 'paywallConfig'],
40994
+ }),
40995
+ updatePrice: builder.mutation({
40996
+ query: ({ platform_key, item_type, item_id, price_unique_id, ...body }) => ({
40997
+ url: MONETIZATION_ENDPOINTS.PAYWALL_PRICE_DETAIL.path(platform_key, item_type, item_id, price_unique_id),
40998
+ service: MONETIZATION_ENDPOINTS.PAYWALL_PRICE_DETAIL.service,
40999
+ method: 'PUT',
41000
+ body: JSON.stringify(body),
41001
+ }),
41002
+ invalidatesTags: ['paywallPrices', 'paywallConfig'],
41003
+ }),
41004
+ deletePrice: builder.mutation({
41005
+ query: ({ platform_key, item_type, item_id, price_unique_id }) => ({
41006
+ url: MONETIZATION_ENDPOINTS.PAYWALL_PRICE_DETAIL.path(platform_key, item_type, item_id, price_unique_id),
41007
+ service: MONETIZATION_ENDPOINTS.PAYWALL_PRICE_DETAIL.service,
41008
+ method: 'DELETE',
41009
+ }),
41010
+ invalidatesTags: ['paywallPrices', 'paywallConfig'],
41011
+ }),
41012
+ // ── Flow 4: Public Pricing (No Auth) ──
41013
+ getPublicPricing: builder.query({
41014
+ query: ({ platform_key, item_type, item_id }) => ({
41015
+ url: MONETIZATION_ENDPOINTS.PUBLIC_PRICING.path(platform_key, item_type, item_id),
41016
+ service: MONETIZATION_ENDPOINTS.PUBLIC_PRICING.service,
41017
+ method: 'GET',
41018
+ skipAuth: true,
41019
+ }),
41020
+ providesTags: ['publicPricing'],
41021
+ }),
41022
+ // ── Flow 5: Access Check ──
41023
+ checkAccess: builder.query({
41024
+ query: ({ platform_key, item_type, item_id }) => ({
41025
+ url: MONETIZATION_ENDPOINTS.ACCESS_CHECK.path(platform_key, item_type, item_id),
41026
+ service: MONETIZATION_ENDPOINTS.ACCESS_CHECK.service,
41027
+ method: 'GET',
41028
+ }),
41029
+ providesTags: ['accessCheck'],
41030
+ }),
41031
+ checkAccessUnscoped: builder.query({
41032
+ query: ({ item_type, item_id, platform_key }) => ({
41033
+ url: MONETIZATION_ENDPOINTS.ACCESS_CHECK_UNSCOPED.path(item_type, item_id),
41034
+ service: MONETIZATION_ENDPOINTS.ACCESS_CHECK_UNSCOPED.service,
41035
+ method: 'GET',
41036
+ params: { platform_key },
41037
+ }),
41038
+ providesTags: ['accessCheck'],
41039
+ }),
41040
+ // ── Flow 6A/6B: Checkout (Subscription & One-Time) ──
41041
+ createCheckout: builder.mutation({
41042
+ query: ({ platform_key, item_type, item_id, ...body }) => ({
41043
+ url: MONETIZATION_ENDPOINTS.CHECKOUT.path(platform_key, item_type, item_id),
41044
+ service: MONETIZATION_ENDPOINTS.CHECKOUT.service,
41045
+ method: 'POST',
41046
+ body: JSON.stringify(body),
41047
+ }),
41048
+ }),
41049
+ // ── Flow 6C: Guest Checkout (No Auth) ──
41050
+ createGuestCheckout: builder.mutation({
41051
+ query: ({ platform_key, item_type, item_id, ...body }) => ({
41052
+ url: MONETIZATION_ENDPOINTS.CHECKOUT_GUEST.path(platform_key, item_type, item_id),
41053
+ service: MONETIZATION_ENDPOINTS.CHECKOUT_GUEST.service,
41054
+ method: 'POST',
41055
+ body: JSON.stringify(body),
41056
+ skipAuth: true,
41057
+ }),
41058
+ }),
41059
+ // ── Flow 7: Cancel Subscription ──
41060
+ cancelSubscription: builder.mutation({
41061
+ query: ({ platform_key, item_type, item_id, ...body }) => ({
41062
+ url: MONETIZATION_ENDPOINTS.CANCEL_SUBSCRIPTION.path(platform_key, item_type, item_id),
41063
+ service: MONETIZATION_ENDPOINTS.CANCEL_SUBSCRIPTION.service,
41064
+ method: 'POST',
41065
+ body: JSON.stringify(body),
41066
+ }),
41067
+ invalidatesTags: ['mySubscriptions', 'itemSubscription', 'accessCheck', 'subscribers'],
41068
+ }),
41069
+ // ── Flow 8: User Subscriptions ──
41070
+ getMySubscriptions: builder.query({
41071
+ query: ({ platform_key, ...params }) => ({
41072
+ url: MONETIZATION_ENDPOINTS.MY_SUBSCRIPTIONS.path(platform_key),
41073
+ service: MONETIZATION_ENDPOINTS.MY_SUBSCRIPTIONS.service,
41074
+ method: 'GET',
41075
+ params,
41076
+ }),
41077
+ providesTags: ['mySubscriptions'],
41078
+ }),
41079
+ getItemSubscription: builder.query({
41080
+ query: ({ platform_key, item_type, item_id }) => ({
41081
+ url: MONETIZATION_ENDPOINTS.ITEM_SUBSCRIPTION.path(platform_key, item_type, item_id),
41082
+ service: MONETIZATION_ENDPOINTS.ITEM_SUBSCRIPTION.service,
41083
+ method: 'GET',
41084
+ }),
41085
+ providesTags: ['itemSubscription'],
41086
+ }),
41087
+ // ── Flow 9: Platform Analytics (Admin) ──
41088
+ listPaywalls: builder.query({
41089
+ query: ({ platform_key, ...params }) => ({
41090
+ url: MONETIZATION_ENDPOINTS.LIST_PAYWALLS.path(platform_key),
41091
+ service: MONETIZATION_ENDPOINTS.LIST_PAYWALLS.service,
41092
+ method: 'GET',
41093
+ params,
41094
+ }),
41095
+ providesTags: ['paywalls'],
41096
+ }),
41097
+ listSubscribers: builder.query({
41098
+ query: ({ platform_key, ...params }) => ({
41099
+ url: MONETIZATION_ENDPOINTS.LIST_SUBSCRIBERS.path(platform_key),
41100
+ service: MONETIZATION_ENDPOINTS.LIST_SUBSCRIBERS.service,
41101
+ method: 'GET',
41102
+ params,
41103
+ }),
41104
+ providesTags: ['subscribers'],
41105
+ }),
41106
+ listItemSubscribers: builder.query({
41107
+ query: ({ platform_key, item_type, item_id, ...params }) => ({
41108
+ url: MONETIZATION_ENDPOINTS.ITEM_SUBSCRIBERS.path(platform_key, item_type, item_id),
41109
+ service: MONETIZATION_ENDPOINTS.ITEM_SUBSCRIBERS.service,
41110
+ method: 'GET',
41111
+ params,
41112
+ }),
41113
+ providesTags: ['subscribers'],
41114
+ }),
41115
+ getRevenue: builder.query({
41116
+ query: ({ platform_key }) => ({
41117
+ url: MONETIZATION_ENDPOINTS.REVENUE.path(platform_key),
41118
+ service: MONETIZATION_ENDPOINTS.REVENUE.service,
41119
+ method: 'GET',
41120
+ }),
41121
+ providesTags: ['revenue'],
41122
+ }),
41123
+ }),
41124
+ });
41125
+ const {
41126
+ // Flow 1: Stripe Connect
41127
+ useGetStripeConnectStatusQuery, useLazyGetStripeConnectStatusQuery, useStartStripeConnectOnboardingMutation, useGetStripeConnectDashboardQuery, useLazyGetStripeConnectDashboardQuery,
41128
+ // Flow 2: Paywall Config
41129
+ useGetPaywallConfigQuery, useLazyGetPaywallConfigQuery, useEnablePaywallMutation, useDisablePaywallMutation,
41130
+ // Flow 3: Prices
41131
+ useListPricesQuery, useLazyListPricesQuery, useCreatePriceMutation, useUpdatePriceMutation, useDeletePriceMutation,
41132
+ // Flow 4: Public Pricing
41133
+ useGetPublicPricingQuery, useLazyGetPublicPricingQuery,
41134
+ // Flow 5: Access Check
41135
+ useCheckAccessQuery, useLazyCheckAccessQuery, useCheckAccessUnscopedQuery, useLazyCheckAccessUnscopedQuery,
41136
+ // Flow 6: Checkout
41137
+ useCreateCheckoutMutation, useCreateGuestCheckoutMutation,
41138
+ // Flow 7: Cancel Subscription
41139
+ useCancelSubscriptionMutation,
41140
+ // Flow 8: User Subscriptions
41141
+ useGetMySubscriptionsQuery, useLazyGetMySubscriptionsQuery, useGetItemSubscriptionQuery, useLazyGetItemSubscriptionQuery,
41142
+ // Flow 9: Platform Analytics
41143
+ useListPaywallsQuery, useLazyListPaywallsQuery, useListSubscribersQuery, useLazyListSubscribersQuery, useListItemSubscribersQuery, useLazyListItemSubscribersQuery, useGetRevenueQuery, useLazyGetRevenueQuery, } = monetizationApiSlice;
41144
+
40801
41145
  const STRIPE_ENDPOINTS = {
40802
41146
  GET_STRIPE_CONTEXT: {
40803
41147
  service: SERVICES.DM,
@@ -43466,6 +43810,7 @@ const mentorReducer = {
43466
43810
  [billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
43467
43811
  [analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
43468
43812
  [retirementApiSlice.reducerPath]: retirementApiSlice.reducer,
43813
+ [monetizationApiSlice.reducerPath]: monetizationApiSlice.reducer,
43469
43814
  };
43470
43815
  const mentorMiddleware = [
43471
43816
  mentorApiSlice.middleware,
@@ -43511,6 +43856,7 @@ const mentorMiddleware = [
43511
43856
  billingCustomSlice.middleware,
43512
43857
  analyticsCustomSlice.middleware,
43513
43858
  retirementApiSlice.middleware,
43859
+ monetizationApiSlice.middleware,
43514
43860
  ];
43515
43861
 
43516
43862
  const skillsReducer = {
@@ -43546,6 +43892,8 @@ const skillsReducer = {
43546
43892
  [billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
43547
43893
  [analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
43548
43894
  [retirementApiSlice.reducerPath]: retirementApiSlice.reducer,
43895
+ [monetizationApiSlice.reducerPath]: monetizationApiSlice.reducer,
43896
+ [memoryApiSlice.reducerPath]: memoryApiSlice.reducer,
43549
43897
  };
43550
43898
  const skillsMiddleware = [
43551
43899
  perLearnerApiSlice.middleware,
@@ -43580,6 +43928,8 @@ const skillsMiddleware = [
43580
43928
  billingCustomSlice.middleware,
43581
43929
  analyticsCustomSlice.middleware,
43582
43930
  retirementApiSlice.middleware,
43931
+ monetizationApiSlice.middleware,
43932
+ memoryApiSlice.middleware,
43583
43933
  ];
43584
43934
 
43585
43935
  const initializeDataLayer = (dmUrl, lmsUrl, legacyLmsUrl, storageService, httpErrorHandler = {}) => {
@@ -43590,5 +43940,5 @@ const initializeDataLayer = (dmUrl, lmsUrl, legacyLmsUrl, storageService, httpEr
43590
43940
  Config.httpErrorHandlers = httpErrorHandler;
43591
43941
  };
43592
43942
 
43593
- export { APP_IDENTIFIERS, CORE_CUSTOM_ENDPOINTS, CORE_CUSTOM_REDUCER_PATH, CORE_FAKE_CUSTOM_REDUCER_PATH, CREDENTIALS_CUSTOM_ENDPOINTS, CREDENTIALS_CUSTOM_REDUCER_PATH, CUSTOM_AI_SEARCH_ENDPOINTS, CUSTOM_AI_SEARCH_QUERY_KEYS, CUSTOM_AI_SEARCH_REDUCER_PATH, CUSTOM_DOMAIN_ENDPOINTS, CUSTOM_DOMAIN_QUERY_KEYS, CUSTOM_DOMAIN_REDUCER_PATH, DISCLAIMERS_ENDPOINTS, DISCLAIMERS_QUERY_KEYS, DISCLAIMERS_REDUCER_PATH, EDX_PROCTORING_ENDPOINTS, IblDataLayer, LOGO_ENDPOINTS, MCP_ENDPOINTS, MCP_REDUCER_PATH, MCP_TAG_TYPES, MEMORY_QUERY_KEYS, MEMORY_REDUCER_PATH, MEMSEARCH_ENDPOINTS, MENTORS_QUERY_KEYS, MENTORS_REDUCER_PATH, MENTOR_CUSTOM_ENDPOINTS, MENTOR_CUSTOM_REDUCER_PATH, MENTOR_ENDPOINTS, NOTIFICATIONS_CUSTOM_ENDPOINTS, NOTIFICATIONS_CUSTOM_REDUCER_PATH, NOTIFICATIONS_CUSTOM_TAGS, PLATFORM_CONFIGURATION_TAG, PLATFORM_CUSTOM_ENDPOINTS, PLATFORM_CUSTOM_REDUCER_PATH, PLATFORM_MEMBERSHIP_TAG, PROJECTS_CUSTOM_ENDPOINTS, PROJECTS_CUSTOM_REDUCER_PATH, PROJECTS_QUERY_KEYS, QUERY_PARAMS, RETIREMENT_ENDPOINTS, SERVICES, STORAGE_KEYS, TENANT_IDENTIFIERS, TENANT_LOGO_ENDPOINTS, TENANT_LOGO_QUERY_KEYS, TENANT_LOGO_REDUCER_PATH, URL_PATTERNS, WORKFLOWS_ENDPOINTS, WORKFLOWS_QUERY_KEYS, WORKFLOWS_REDUCER_PATH, analyticsApiSlice, analyticsCustomSlice, apiKeysApiReducer, apiKeysApiSlice, appApiReducer, appApiSlice, artifactsApiReducer, artifactsApiSlice, authApiSlice, billingApiSlice, billingCustomSlice, careerApiSlice, catalogApiSlice, chatApiSlice, chatFilesApiSlice, chatHistoryApiSlice, coreApiSlice, coreCustomApiSlice, coreFakeCustomPublicImageAssetApiSlice, credentialsApiSlice, credentialsCustomApiSlice, customAiSearchApiSlice, customDomainApiSlice, datasetsApiSlice, disclaimersApiSlice, edxProctoringApiSlice, fakeBaseQueryWithLogging, featureTags, iblFakeBaseQuery, initializeDataLayer, isPoliciesResponse, llmsApiSlice, mcpApiSlice, memoryApiSlice, mentorApiReducer, mentorApiSlice, mentorCategoriesApiSlice, mentorCustomApiSlice, mentorMiddleware, mentorReducer, moderationLogsApiReducer, moderationLogsApiSlice, notificationsApiSlice, notificationsCustomApiSlice, perLearnerApiSlice, platformApiReducer, platformApiSlice, platformCustomApiSlice, projectsApiSlice, promptsApiSlice, recommendationPromptTypeEnum, reportsApiSlice, retirementApiSlice, searchApiSlice, sessionApiSlice, skillsApiSlice, skillsMiddleware, skillsReducer, stripeApiSlice, tenantApiReducer, tenantApiSlice, tenantLogoApiSlice, toolsApiSlice, trainingDocumentsApiSlice, useActivateWorkflowMutation, useAddPinnedMessageMutation, useAddTrainingDocumentMutation, useAgreeToDisclaimerMutation, useAudioToTextMutation, useChatWithWorkflowMutation, useConnectedServicesCallbackQuery, useCreateAdminProjectMutation, useCreateApiKeyMutation, useCreateCallCredentialsMutation, useCreateCatalogInvitationBulkMutation, useCreateCatalogInvitationCourseBulkMutation, useCreateCatalogInvitationCourseMutation, useCreateCatalogInvitationProgramBulkMutation, useCreateCatalogInvitationProgramMutation, useCreateCatalogPathwayEnrollmentMutation, useCreateCatalogPathwayMutation, useCreateCatalogPathwaySelfEnrollmentMutation, useCreateCatalogProgramMutation, useCreateCatalogProgramSelfEnrollmentMutation, useCreateCatalogRoleMutation, useCreateCredentialAssertionMutation, useCreateCredentialMutation, useCreateCustomDomainMutation, useCreateDisclaimerMutation, useCreateExternalMappingMutation, useCreateGlobalMemoryMutation, useCreateIntegrationCredentialMutation, useCreateLLMCredentialMutation, useCreateMCPServerConnectionMutation, useCreateMCPServerMutation, useCreateMemoryCategoryMutation, useCreateMentorMemoryMutation, useCreateMentorMutation, useCreateNotificationPreviewMutation, useCreateOrUpdateUserDesiredSkillMutation, useCreateOrUpdateUserReportedSkillMutation, useCreatePlatformImageAssetMutation, useCreatePlatformUserGroupMutation, useCreatePromptMutation, useCreateProviderConfigMutation, useCreateRbacGroupMutation, useCreateRbacPolicyMutation, useCreateRbacRoleMutation, useCreateRbacTeamsAccessMutation, useCreateRecommendedPromptMutation, useCreateRedirectTokenMutation, useCreateReportMutation, useCreateSessionIdMutation, useCreateShareableLinkMutation, useCreateStripeCheckoutSessionMutation, useCreateStripeCustomerPortalMutation, useCreateTrainingDocumentRetrainScheduleMutation, useCreateUserCompanyMutation, useCreateUserEducationMutation, useCreateUserExperienceMutation, useCreateUserInstitutionMutation, useCreateUserInvitationMutation, useCreateUserProjectMutation, useCreateUserResumeMutation, useCreateWorkflowMutation, useDeactivateWorkflowMutation, useDeleteAdminProjectMutation, useDeleteApiKeyMutation, useDeleteCourseCredentialMutation, useDeleteCredentialMutation, useDeleteCustomDomainMutation, useDeleteDisclaimerMutation, useDeleteExternalMappingMutation, useDeleteGlobalMemoryMutation, useDeleteIntegrationCredentialMutation, useDeleteMCPServerMutation, useDeleteMemoryCategoryMutation, useDeleteMentorMemoryMutation, useDeleteMentorMutation, useDeleteMessageMutation, useDeleteModerationLogMutation, useDeletePlatformConfigurationMutation, useDeletePlatformImageAssetMutation, useDeletePlatformUserGroupMutation, useDeletePromptMutation, useDeleteProviderConfigMutation, useDeleteRbacGroupMutation, useDeleteRbacPolicyMutation, useDeleteRbacRoleMutation, useDeleteRecommendedPromptMutation, useDeleteTrainingDocumentMutation, useDeleteUserEducationMutation, useDeleteUserExperienceMutation, useDeleteUserProjectMutation, useDeleteWorkflowMutation, useDisconnectServiceMutation, useEditMentorAndRefreshListMutation, useEditMentorJsonMutation, useEditMentorMutation, useEditSessionMutation, useEditTrainingDocumentMutation, useExchangeAppleTokenMutation, useExportChatHistoryMutation, useForkMentorMutation, useGetAccessTimeHeatmapQuery, useGetAccountBillingInfoQuery, useGetAdminProjectDetailsQuery, useGetAdminProjectsQuery, useGetAiSearchMentorsQuery, useGetApiKeysQuery, useGetAppTokensMutation, useGetArtifactQuery, useGetArtifactVersionQuery, useGetAverageMessagesPerSessionQuery, useGetAverageRatingQuery, useGetCatalogInvitationsCourseQuery, useGetCatalogInvitationsProgramQuery, useGetCatalogSearchQuery, useGetChatHistoryExportStatusQuery, useGetChatHistoryFilterQuery, useGetChatHistoryQuery, useGetChatMessagesForSessionQuery, useGetConnectedServiceAuthUrlQuery, useGetConnectedServicesQuery, useGetContentAnalyticsDetailsQuery, useGetContentAnalyticsQuery, useGetConversationMemoriesQuery, useGetConversationQuery, useGetCredentialsListQuery, useGetCredentialsQuery, useGetCredentialsSchemaQuery, useGetCustomDomainsQuery, useGetCustomMentorsQuery, useGetDatasetsQuery, useGetDesiredSkillsQuery, useGetDetailedFinancialStatsQuery, useGetDisclaimersQuery, useGetDownloadReportFromURLQuery, useGetEnrollmentCourseSearchQuery, useGetExamInfoQuery, useGetExternalMappingQuery, useGetFileUploadUrlMutation, useGetFinancialStatsQuery, useGetFreeUsageCountQuery, useGetGlobalMemoriesQuery, useGetGuidedPromptsQuery, useGetIntegrationCredentialsQuery, useGetIntegrationCredentialsSchemaQuery, useGetIssuersQuery, useGetLLMCredentialsQuery, useGetLlmsQuery, useGetMCPServerConnectionsQuery, useGetMCPServerQuery, useGetMCPServersQuery, useGetMaskedIntegrationCredentialsQuery, useGetMaskedLLMCredentialsQuery, useGetMemoryCategoriesAdminQuery, useGetMemsearchConfigQuery, useGetMentorCategoriesQuery, useGetMentorCategoryGroupsQuery, useGetMentorDetailsQuery, useGetMentorMemoriesQuery, useGetMentorPublicSettingsQuery, useGetMentorSettingsQuery, useGetMentorSummariesQuery, useGetMentorsQuery, useGetMfeContextQuery, useGetModerationLogsQuery, useGetMostDiscussedTopicsQuery, useGetNodeTypesQuery, useGetNotificationContextQuery, useGetNotificationsCountQuery, useGetNotificationsQuery, useGetOAuthServicesQuery, useGetOverTimeActivityQuery, useGetOverviewSummaryQuery, useGetPathwayCompletionQuery, useGetPathwayListQuery, useGetPerLearnerActivityQuery, useGetPerLearnerInfoQuery, useGetPersonnalizedMentorsQuery, useGetPersonnalizedSearchQuery, useGetPinnedMessagesQuery, useGetPlatformConfigurationsQuery, useGetPlatformImageAssetDetailsQuery, useGetPlatformImageAssetsListQuery, useGetPlatformInfoQuery, useGetPlatformMembershipQuery, useGetPlatformUserGroupDetailsQuery, useGetProgramCompletionQuery, useGetProgramListQuery, useGetPromptCategoriesQuery, useGetPromptsQuery, useGetPromptsSearchQuery, useGetProviderConfigQuery, useGetPublicMentorsQuery, useGetPublicPlatformImageAssetFileUrlQuery, useGetRbacGroupDetailsQuery, useGetRbacGroupsQuery, useGetRbacMentorAccessListQuery, useGetRbacPermissionsMutation, useGetRbacPoliciesQuery, useGetRbacPolicyDetailsQuery, useGetRbacRoleDetailsQuery, useGetRbacRolesQuery, useGetRbacTeamsAccessListQuery, useGetRecentMessageQuery, useGetRecentlyAccessedMentorsQuery, useGetRecommendationsAiSearchQuery, useGetRecommendedPromptsListQuery, useGetRegisteredUsersTrendQuery, useGetReportDetailQuery, useGetReportedSkillsQuery, useGetReportsQuery, useGetResourceSearchQuery, useGetSessionIdQuery, useGetSessionStatsQuery, useGetShareableLinkPublicQuery, useGetShareableLinkQuery, useGetSharedSessionIdQuery, useGetSkillsPointsPercentileQuery, useGetStripeContextQuery, useGetStripePricingPageSessionQuery, useGetStudentMentorCreationStatusQuery, useGetTemplateDetailsQuery, useGetTemplatesQuery, useGetTenantMetadataQuery, useGetToolsQuery, useGetTopStudentsByChatMessagesQuery, useGetTopicOverviewQuery, useGetTopicStatisticsQuery, useGetTopicsDetailsStatsQuery, useGetTopicsStatsQuery, useGetTopicsSummaryQuery, useGetTrainingDocumentRetrainScheduleQuery, useGetTrainingDocumentsQuery, useGetTranscriptsConversationHeadlineQuery, useGetTranscriptsMessagesDetailsQuery, useGetTranscriptsMessagesQuery, useGetUserAppsQuery, useGetUserAssignedPathwaysQuery, useGetUserCohortsOverTimeQuery, useGetUserCompaniesQuery, useGetUserCredentialsQuery, useGetUserDesiredSkillsQuery, useGetUserDetailsStatsQuery, useGetUserEarnedSkillsQuery, useGetUserEducationQuery, useGetUserEnrolledPathwaysQuery, useGetUserEnrolledProgramsQuery, useGetUserExperienceQuery, useGetUserInstitutionsQuery, useGetUserInvitationsQuery, useGetUserMemorySettingsQuery, useGetUserMetadataEdxQuery, useGetUserMetadataQuery, useGetUserMetricsPieChartQuery, useGetUserMetricsQuery, useGetUserProjectDetailsQuery, useGetUserProjectsQuery, useGetUserReportedSkillsQuery, useGetUserResumeQuery, useGetUserSkillsPointsQuery, useGetUserTenantsQuery, useGetUsersAsAssertionsQuery, useGetUsersStatsQuery, useGetVectorDocumentsQuery, useGetWorkflowQuery, useGetWorkflowsQuery, useInviteUserMutation, useJoinTenantMutation, useLazyConnectedServicesCallbackQuery, useLazyGetAccountBillingInfoQuery, useLazyGetAdminProjectDetailsQuery, useLazyGetAdminProjectsQuery, useLazyGetApiKeysQuery, useLazyGetArtifactQuery, useLazyGetArtifactVersionQuery, useLazyGetCatalogInvitationsCourseQuery, useLazyGetCatalogInvitationsProgramQuery, useLazyGetCatalogSearchQuery, useLazyGetChatHistoryExportStatusQuery, useLazyGetChatHistoryFilterQuery, useLazyGetChatHistoryQuery, useLazyGetChatMessagesForSessionQuery, useLazyGetConnectedServiceAuthUrlQuery, useLazyGetConnectedServicesQuery, useLazyGetConversationMemoriesQuery, useLazyGetCredentialsListQuery, useLazyGetCredentialsQuery, useLazyGetCredentialsSchemaQuery, useLazyGetCustomDomainsQuery, useLazyGetCustomMentorsQuery, useLazyGetDatasetsQuery, useLazyGetDesiredSkillsQuery, useLazyGetDisclaimersQuery, useLazyGetDownloadReportFromURLQuery, useLazyGetEnrollmentCourseSearchQuery, useLazyGetExamInfoQuery, useLazyGetExternalMappingQuery, useLazyGetFreeUsageCountQuery, useLazyGetGlobalMemoriesQuery, useLazyGetGuidedPromptsQuery, useLazyGetIntegrationCredentialsQuery, useLazyGetIntegrationCredentialsSchemaQuery, useLazyGetIssuersQuery, useLazyGetLLMCredentialsQuery, useLazyGetLlmsQuery, useLazyGetMCPServerQuery, useLazyGetMCPServersQuery, useLazyGetMemoryCategoriesAdminQuery, useLazyGetMemsearchConfigQuery, useLazyGetMentorCategoriesQuery, useLazyGetMentorCategoryGroupsQuery, useLazyGetMentorDetailsQuery, useLazyGetMentorMemoriesQuery, useLazyGetMentorPublicSettingsQuery, useLazyGetMentorSettingsQuery, useLazyGetMentorSummariesQuery, useLazyGetMentorsQuery, useLazyGetModerationLogsQuery, useLazyGetNodeTypesQuery, useLazyGetNotificationContextQuery, useLazyGetNotificationsCountQuery, useLazyGetNotificationsQuery, useLazyGetOAuthServicesQuery, useLazyGetOverTimeActivityQuery, useLazyGetPathwayCompletionQuery, useLazyGetPathwayListQuery, useLazyGetPerLearnerActivityQuery, useLazyGetPerLearnerInfoQuery, useLazyGetPersonnalizedMentorsQuery, useLazyGetPersonnalizedSearchQuery, useLazyGetPinnedMessagesQuery, useLazyGetPlatformInfoQuery, useLazyGetPlatformMembershipQuery, useLazyGetProgramCompletionQuery, useLazyGetProgramListQuery, useLazyGetPromptCategoriesQuery, useLazyGetPromptsQuery, useLazyGetPromptsSearchQuery, useLazyGetProviderConfigQuery, useLazyGetPublicMentorsQuery, useLazyGetPublicPlatformImageAssetFileUrlQuery, useLazyGetRbacRolesQuery, useLazyGetRbacTeamsAccessListQuery, useLazyGetRecentMessageQuery, useLazyGetRecentlyAccessedMentorsQuery, useLazyGetRecommendationsAiSearchQuery, useLazyGetRecommendedPromptsListQuery, useLazyGetReportDetailQuery, useLazyGetReportedSkillsQuery, useLazyGetReportsQuery, useLazyGetResourceSearchQuery, useLazyGetSessionIdQuery, useLazyGetShareableLinkPublicQuery, useLazyGetShareableLinkQuery, useLazyGetSharedSessionIdQuery, useLazyGetSkillsPointsPercentileQuery, useLazyGetStripeContextQuery, useLazyGetStripePricingPageSessionQuery, useLazyGetTemplateDetailsQuery, useLazyGetTemplatesQuery, useLazyGetTenantMetadataQuery, useLazyGetToolsQuery, useLazyGetTrainingDocumentRetrainScheduleQuery, useLazyGetTrainingDocumentsQuery, useLazyGetUserAppsQuery, useLazyGetUserAssignedPathwaysQuery, useLazyGetUserCompaniesQuery, useLazyGetUserCredentialsQuery, useLazyGetUserDesiredSkillsQuery, useLazyGetUserEarnedSkillsQuery, useLazyGetUserEducationQuery, useLazyGetUserEnrolledPathwaysQuery, useLazyGetUserEnrolledProgramsQuery, useLazyGetUserExperienceQuery, useLazyGetUserInstitutionsQuery, useLazyGetUserInvitationsQuery, useLazyGetUserMemorySettingsQuery, useLazyGetUserMetadataEdxQuery, useLazyGetUserMetadataQuery, useLazyGetUserProjectDetailsQuery, useLazyGetUserProjectsQuery, useLazyGetUserReportedSkillsQuery, useLazyGetUserResumeQuery, useLazyGetUserSkillsPointsQuery, useLazyGetUserTenantsQuery, useLazyGetUsersAsAssertionsQuery, useLazyGetVectorDocumentsQuery, useLazyGetWorkflowQuery, useLazyGetWorkflowsQuery, useLazyListArtifactVersionsQuery, useLazyListArtifactsQuery, useLazyPlatformUserGroupsQuery, useLazyPlatformUsersQuery, useLazyRefreshJwtTokenQuery, useLazySeedMentorsQuery, useLazyStarredMentorsQuery, useLazyStartOAuthFlowQuery, useListArtifactVersionsQuery, useListArtifactsQuery, useMarkAllAsReadMutation, useOauthFindMutation, usePartialUpdateMCPServerMutation, usePartialUpdateRbacRoleMutation, usePatchMCPServerConnectionMutation, usePatchWorkflowMutation, usePlatformInvitationsQuery, usePlatformUserGroupsQuery, usePlatformUsersQuery, usePublishWorkflowMutation, useRemoveProfileImageMutation, useRenewSubscriptionMutation, useResetPasswordMutation, useRevokeShareableLinkMutation, useSeedMentorsQuery, useSelfRetireMutation, useSendNotificationMutation, useSetCurrentVersionMutation, useSetPlatformConfigurationsMutation, useSetStudentMentorCreationStatusMutation, useStarMentorMutation, useStarredMentorsQuery, useStartExamMutation, useTimeTrackingMutation, useToggleTemplateMutation, useTriggerAutoRechargeMutation, useUnPinMessageMutation, useUnpublishWorkflowMutation, useUnstarMentorMutation, useUpdateAdminProjectMutation, useUpdateArtifactMutation, useUpdateAutoRechargeInfoMutation, useUpdateChatSessionMutation, useUpdateChatSessionSharedMutation, useUpdateCredentialMutation, useUpdateDisclaimerMutation, useUpdateExamAttemptMutation, useUpdateIntegrationCredentialMutation, useUpdateMCPServerMutation, useUpdateMemoryCategoryMutation, useUpdateMemsearchConfigMutation, useUpdateMentorMemoryMutation, useUpdateMessageFeedbackMutation, useUpdatePlatformImageAssetMutation, useUpdatePlatformInfoMutation, useUpdatePlatformMembershipMutation, useUpdatePlatformUserGroupMutation, useUpdatePlatformUserRoleWithPoliciesMutation, useUpdatePromptMutation, useUpdateRbacGroupMutation, useUpdateRbacMentorAccessMutation, useUpdateRbacPolicyMutation, useUpdateRbacRoleMutation, useUpdateRecommendedPromptMutation, useUpdateShareableLinkMutation, useUpdateTemplateMutation, useUpdateTenantMetadataMutation, useUpdateUserAccountMutation, useUpdateUserEducationMutation, useUpdateUserExperienceMutation, useUpdateUserMemorySettingsMutation, useUpdateUserMetadataEdxMutation, useUpdateUserMetadataMutation, useUpdateUserOnboardingStatusMutation, useUpdateUserProjectMutation, useUpdateUserRoleMutation, useUpdateUserStatusMutation, useUpdateUserTrialStatusMutation, useUpdateWorkflowMutation, useUploadCredentialImageMutation, useUploadDarkLogoMutation, useUploadLightLogoMutation, useUploadProfileImageMutation, useUsersGradesPassedQuery, useValidateWorkflowMutation, userApiSlice, userInvitationsApiSlice, workflowsApiSlice };
43943
+ export { APP_IDENTIFIERS, CORE_CUSTOM_ENDPOINTS, CORE_CUSTOM_REDUCER_PATH, CORE_FAKE_CUSTOM_REDUCER_PATH, CREDENTIALS_CUSTOM_ENDPOINTS, CREDENTIALS_CUSTOM_REDUCER_PATH, CUSTOM_AI_SEARCH_ENDPOINTS, CUSTOM_AI_SEARCH_QUERY_KEYS, CUSTOM_AI_SEARCH_REDUCER_PATH, CUSTOM_DOMAIN_ENDPOINTS, CUSTOM_DOMAIN_QUERY_KEYS, CUSTOM_DOMAIN_REDUCER_PATH, DISCLAIMERS_ENDPOINTS, DISCLAIMERS_QUERY_KEYS, DISCLAIMERS_REDUCER_PATH, EDX_PROCTORING_ENDPOINTS, IblDataLayer, LOGO_ENDPOINTS, MCP_ENDPOINTS, MCP_REDUCER_PATH, MCP_TAG_TYPES, MEMORY_QUERY_KEYS, MEMORY_REDUCER_PATH, MEMSEARCH_ENDPOINTS, MENTORS_QUERY_KEYS, MENTORS_REDUCER_PATH, MENTOR_CUSTOM_ENDPOINTS, MENTOR_CUSTOM_REDUCER_PATH, MENTOR_ENDPOINTS, NOTIFICATIONS_CUSTOM_ENDPOINTS, NOTIFICATIONS_CUSTOM_REDUCER_PATH, NOTIFICATIONS_CUSTOM_TAGS, PLATFORM_CONFIGURATION_TAG, PLATFORM_CUSTOM_ENDPOINTS, PLATFORM_CUSTOM_REDUCER_PATH, PLATFORM_MEMBERSHIP_TAG, PROJECTS_CUSTOM_ENDPOINTS, PROJECTS_CUSTOM_REDUCER_PATH, PROJECTS_QUERY_KEYS, QUERY_PARAMS, RETIREMENT_ENDPOINTS, SERVICES, STORAGE_KEYS, TENANT_IDENTIFIERS, TENANT_LOGO_ENDPOINTS, TENANT_LOGO_QUERY_KEYS, TENANT_LOGO_REDUCER_PATH, URL_PATTERNS, WORKFLOWS_ENDPOINTS, WORKFLOWS_QUERY_KEYS, WORKFLOWS_REDUCER_PATH, analyticsApiSlice, analyticsCustomSlice, apiKeysApiReducer, apiKeysApiSlice, appApiReducer, appApiSlice, artifactsApiReducer, artifactsApiSlice, authApiSlice, billingApiSlice, billingCustomSlice, careerApiSlice, catalogApiSlice, chatApiSlice, chatFilesApiSlice, chatHistoryApiSlice, coreApiSlice, coreCustomApiSlice, coreFakeCustomPublicImageAssetApiSlice, credentialsApiSlice, credentialsCustomApiSlice, customAiSearchApiSlice, customDomainApiSlice, datasetsApiSlice, disclaimersApiSlice, edxProctoringApiSlice, fakeBaseQueryWithLogging, featureTags, iblFakeBaseQuery, initializeDataLayer, isPoliciesResponse, llmsApiSlice, mcpApiSlice, memoryApiSlice, mentorApiReducer, mentorApiSlice, mentorCategoriesApiSlice, mentorCustomApiSlice, mentorMiddleware, mentorReducer, moderationLogsApiReducer, moderationLogsApiSlice, monetizationApiSlice, notificationsApiSlice, notificationsCustomApiSlice, perLearnerApiSlice, platformApiReducer, platformApiSlice, platformCustomApiSlice, projectsApiSlice, promptsApiSlice, recommendationPromptTypeEnum, reportsApiSlice, retirementApiSlice, searchApiSlice, sessionApiSlice, skillsApiSlice, skillsMiddleware, skillsReducer, stripeApiSlice, tenantApiReducer, tenantApiSlice, tenantLogoApiSlice, toolsApiSlice, trainingDocumentsApiSlice, useActivateWorkflowMutation, useAddPinnedMessageMutation, useAddTrainingDocumentMutation, useAgreeToDisclaimerMutation, useAudioToTextMutation, useCancelSubscriptionMutation, useChatWithWorkflowMutation, useCheckAccessQuery, useCheckAccessUnscopedQuery, useConnectedServicesCallbackQuery, useCreateAdminProjectMutation, useCreateApiKeyMutation, useCreateCallCredentialsMutation, useCreateCatalogInvitationBulkMutation, useCreateCatalogInvitationCourseBulkMutation, useCreateCatalogInvitationCourseMutation, useCreateCatalogInvitationProgramBulkMutation, useCreateCatalogInvitationProgramMutation, useCreateCatalogPathwayEnrollmentMutation, useCreateCatalogPathwayMutation, useCreateCatalogPathwaySelfEnrollmentMutation, useCreateCatalogProgramMutation, useCreateCatalogProgramSelfEnrollmentMutation, useCreateCatalogRoleMutation, useCreateCheckoutMutation, useCreateCredentialAssertionMutation, useCreateCredentialMutation, useCreateCustomDomainMutation, useCreateDisclaimerMutation, useCreateExternalMappingMutation, useCreateGlobalMemoryMutation, useCreateGuestCheckoutMutation, useCreateIntegrationCredentialMutation, useCreateLLMCredentialMutation, useCreateMCPServerConnectionMutation, useCreateMCPServerMutation, useCreateMemoryCategoryMutation, useCreateMentorMemoryMutation, useCreateMentorMutation, useCreateNotificationPreviewMutation, useCreateOrUpdateUserDesiredSkillMutation, useCreateOrUpdateUserReportedSkillMutation, useCreatePlatformImageAssetMutation, useCreatePlatformUserGroupMutation, useCreatePriceMutation, useCreatePromptMutation, useCreateProviderConfigMutation, useCreateRbacGroupMutation, useCreateRbacPolicyMutation, useCreateRbacRoleMutation, useCreateRbacTeamsAccessMutation, useCreateRecommendedPromptMutation, useCreateRedirectTokenMutation, useCreateReportMutation, useCreateSessionIdMutation, useCreateShareableLinkMutation, useCreateStripeCheckoutSessionMutation, useCreateStripeCustomerPortalMutation, useCreateTrainingDocumentRetrainScheduleMutation, useCreateUserCompanyMutation, useCreateUserEducationMutation, useCreateUserExperienceMutation, useCreateUserInstitutionMutation, useCreateUserInvitationMutation, useCreateUserProjectMutation, useCreateUserResumeMutation, useCreateWorkflowMutation, useDeactivateWorkflowMutation, useDeleteAdminProjectMutation, useDeleteApiKeyMutation, useDeleteCourseCredentialMutation, useDeleteCredentialMutation, useDeleteCustomDomainMutation, useDeleteDisclaimerMutation, useDeleteExternalMappingMutation, useDeleteGlobalMemoryMutation, useDeleteIntegrationCredentialMutation, useDeleteMCPServerMutation, useDeleteMemoryCategoryMutation, useDeleteMentorMemoryMutation, useDeleteMentorMutation, useDeleteMessageMutation, useDeleteModerationLogMutation, useDeletePlatformConfigurationMutation, useDeletePlatformImageAssetMutation, useDeletePlatformUserGroupMutation, useDeletePriceMutation, useDeletePromptMutation, useDeleteProviderConfigMutation, useDeleteRbacGroupMutation, useDeleteRbacPolicyMutation, useDeleteRbacRoleMutation, useDeleteRecommendedPromptMutation, useDeleteTrainingDocumentMutation, useDeleteUserEducationMutation, useDeleteUserExperienceMutation, useDeleteUserProjectMutation, useDeleteWorkflowMutation, useDisablePaywallMutation, useDisconnectServiceMutation, useEditMentorAndRefreshListMutation, useEditMentorJsonMutation, useEditMentorMutation, useEditSessionMutation, useEditTrainingDocumentMutation, useEnablePaywallMutation, useExchangeAppleTokenMutation, useExportChatHistoryMutation, useForkMentorMutation, useGetAccessTimeHeatmapQuery, useGetAccountBillingInfoQuery, useGetAdminProjectDetailsQuery, useGetAdminProjectsQuery, useGetAiSearchMentorsQuery, useGetApiKeysQuery, useGetAppTokensMutation, useGetArtifactQuery, useGetArtifactVersionQuery, useGetAverageMessagesPerSessionQuery, useGetAverageRatingQuery, useGetCatalogInvitationsCourseQuery, useGetCatalogInvitationsProgramQuery, useGetCatalogSearchQuery, useGetChatHistoryExportStatusQuery, useGetChatHistoryFilterQuery, useGetChatHistoryQuery, useGetChatMessagesForSessionQuery, useGetConnectedServiceAuthUrlQuery, useGetConnectedServicesQuery, useGetContentAnalyticsDetailsQuery, useGetContentAnalyticsQuery, useGetConversationMemoriesQuery, useGetConversationQuery, useGetCredentialsListQuery, useGetCredentialsQuery, useGetCredentialsSchemaQuery, useGetCustomDomainsQuery, useGetCustomMentorsQuery, useGetDatasetsQuery, useGetDesiredSkillsQuery, useGetDetailedFinancialStatsQuery, useGetDisclaimersQuery, useGetDownloadReportFromURLQuery, useGetEnrollmentCourseSearchQuery, useGetExamInfoQuery, useGetExternalMappingQuery, useGetFileUploadUrlMutation, useGetFinancialStatsQuery, useGetFreeUsageCountQuery, useGetGlobalMemoriesQuery, useGetGuidedPromptsQuery, useGetIntegrationCredentialsQuery, useGetIntegrationCredentialsSchemaQuery, useGetIssuersQuery, useGetItemSubscriptionQuery, useGetLLMCredentialsQuery, useGetLlmsQuery, useGetMCPServerConnectionsQuery, useGetMCPServerQuery, useGetMCPServersQuery, useGetMaskedIntegrationCredentialsQuery, useGetMaskedLLMCredentialsQuery, useGetMemoryCategoriesAdminQuery, useGetMemsearchConfigQuery, useGetMentorCategoriesQuery, useGetMentorCategoryGroupsQuery, useGetMentorDetailsQuery, useGetMentorMemoriesQuery, useGetMentorPublicSettingsQuery, useGetMentorSettingsQuery, useGetMentorSummariesQuery, useGetMentorsQuery, useGetMfeContextQuery, useGetModerationLogsQuery, useGetMostDiscussedTopicsQuery, useGetMySubscriptionsQuery, useGetNodeTypesQuery, useGetNotificationContextQuery, useGetNotificationsCountQuery, useGetNotificationsQuery, useGetOAuthServicesQuery, useGetOverTimeActivityQuery, useGetOverviewSummaryQuery, useGetPathwayCompletionQuery, useGetPathwayListQuery, useGetPaywallConfigQuery, useGetPerLearnerActivityQuery, useGetPerLearnerInfoQuery, useGetPersonnalizedMentorsQuery, useGetPersonnalizedSearchQuery, useGetPinnedMessagesQuery, useGetPlatformConfigurationsQuery, useGetPlatformImageAssetDetailsQuery, useGetPlatformImageAssetsListQuery, useGetPlatformInfoQuery, useGetPlatformMembershipQuery, useGetPlatformUserGroupDetailsQuery, useGetProgramCompletionQuery, useGetProgramListQuery, useGetPromptCategoriesQuery, useGetPromptsQuery, useGetPromptsSearchQuery, useGetProviderConfigQuery, useGetPublicMentorsQuery, useGetPublicPlatformImageAssetFileUrlQuery, useGetPublicPricingQuery, useGetRbacGroupDetailsQuery, useGetRbacGroupsQuery, useGetRbacMentorAccessListQuery, useGetRbacPermissionsMutation, useGetRbacPoliciesQuery, useGetRbacPolicyDetailsQuery, useGetRbacRoleDetailsQuery, useGetRbacRolesQuery, useGetRbacTeamsAccessListQuery, useGetRecentMessageQuery, useGetRecentlyAccessedMentorsQuery, useGetRecommendationsAiSearchQuery, useGetRecommendedPromptsListQuery, useGetRegisteredUsersTrendQuery, useGetReportDetailQuery, useGetReportedSkillsQuery, useGetReportsQuery, useGetResourceSearchQuery, useGetRevenueQuery, useGetSessionIdQuery, useGetSessionStatsQuery, useGetShareableLinkPublicQuery, useGetShareableLinkQuery, useGetSharedSessionIdQuery, useGetSkillsPointsPercentileQuery, useGetStripeConnectDashboardQuery, useGetStripeConnectStatusQuery, useGetStripeContextQuery, useGetStripePricingPageSessionQuery, useGetStudentMentorCreationStatusQuery, useGetTemplateDetailsQuery, useGetTemplatesQuery, useGetTenantMetadataQuery, useGetToolsQuery, useGetTopStudentsByChatMessagesQuery, useGetTopicOverviewQuery, useGetTopicStatisticsQuery, useGetTopicsDetailsStatsQuery, useGetTopicsStatsQuery, useGetTopicsSummaryQuery, useGetTrainingDocumentRetrainScheduleQuery, useGetTrainingDocumentsQuery, useGetTranscriptsConversationHeadlineQuery, useGetTranscriptsMessagesDetailsQuery, useGetTranscriptsMessagesQuery, useGetUserAppsQuery, useGetUserAssignedPathwaysQuery, useGetUserCohortsOverTimeQuery, useGetUserCompaniesQuery, useGetUserCredentialsQuery, useGetUserDesiredSkillsQuery, useGetUserDetailsStatsQuery, useGetUserEarnedSkillsQuery, useGetUserEducationQuery, useGetUserEnrolledPathwaysQuery, useGetUserEnrolledProgramsQuery, useGetUserExperienceQuery, useGetUserInstitutionsQuery, useGetUserInvitationsQuery, useGetUserMemorySettingsQuery, useGetUserMetadataEdxQuery, useGetUserMetadataQuery, useGetUserMetricsPieChartQuery, useGetUserMetricsQuery, useGetUserProjectDetailsQuery, useGetUserProjectsQuery, useGetUserReportedSkillsQuery, useGetUserResumeQuery, useGetUserSkillsPointsQuery, useGetUserTenantsQuery, useGetUsersAsAssertionsQuery, useGetUsersStatsQuery, useGetVectorDocumentsQuery, useGetWorkflowQuery, useGetWorkflowsQuery, useInviteUserMutation, useJoinTenantMutation, useLazyCheckAccessQuery, useLazyCheckAccessUnscopedQuery, useLazyConnectedServicesCallbackQuery, useLazyGetAccountBillingInfoQuery, useLazyGetAdminProjectDetailsQuery, useLazyGetAdminProjectsQuery, useLazyGetApiKeysQuery, useLazyGetArtifactQuery, useLazyGetArtifactVersionQuery, useLazyGetCatalogInvitationsCourseQuery, useLazyGetCatalogInvitationsProgramQuery, useLazyGetCatalogSearchQuery, useLazyGetChatHistoryExportStatusQuery, useLazyGetChatHistoryFilterQuery, useLazyGetChatHistoryQuery, useLazyGetChatMessagesForSessionQuery, useLazyGetConnectedServiceAuthUrlQuery, useLazyGetConnectedServicesQuery, useLazyGetConversationMemoriesQuery, useLazyGetCredentialsListQuery, useLazyGetCredentialsQuery, useLazyGetCredentialsSchemaQuery, useLazyGetCustomDomainsQuery, useLazyGetCustomMentorsQuery, useLazyGetDatasetsQuery, useLazyGetDesiredSkillsQuery, useLazyGetDisclaimersQuery, useLazyGetDownloadReportFromURLQuery, useLazyGetEnrollmentCourseSearchQuery, useLazyGetExamInfoQuery, useLazyGetExternalMappingQuery, useLazyGetFreeUsageCountQuery, useLazyGetGlobalMemoriesQuery, useLazyGetGuidedPromptsQuery, useLazyGetIntegrationCredentialsQuery, useLazyGetIntegrationCredentialsSchemaQuery, useLazyGetIssuersQuery, useLazyGetItemSubscriptionQuery, useLazyGetLLMCredentialsQuery, useLazyGetLlmsQuery, useLazyGetMCPServerQuery, useLazyGetMCPServersQuery, useLazyGetMemoryCategoriesAdminQuery, useLazyGetMemsearchConfigQuery, useLazyGetMentorCategoriesQuery, useLazyGetMentorCategoryGroupsQuery, useLazyGetMentorDetailsQuery, useLazyGetMentorMemoriesQuery, useLazyGetMentorPublicSettingsQuery, useLazyGetMentorSettingsQuery, useLazyGetMentorSummariesQuery, useLazyGetMentorsQuery, useLazyGetModerationLogsQuery, useLazyGetMySubscriptionsQuery, useLazyGetNodeTypesQuery, useLazyGetNotificationContextQuery, useLazyGetNotificationsCountQuery, useLazyGetNotificationsQuery, useLazyGetOAuthServicesQuery, useLazyGetOverTimeActivityQuery, useLazyGetPathwayCompletionQuery, useLazyGetPathwayListQuery, useLazyGetPaywallConfigQuery, useLazyGetPerLearnerActivityQuery, useLazyGetPerLearnerInfoQuery, useLazyGetPersonnalizedMentorsQuery, useLazyGetPersonnalizedSearchQuery, useLazyGetPinnedMessagesQuery, useLazyGetPlatformInfoQuery, useLazyGetPlatformMembershipQuery, useLazyGetProgramCompletionQuery, useLazyGetProgramListQuery, useLazyGetPromptCategoriesQuery, useLazyGetPromptsQuery, useLazyGetPromptsSearchQuery, useLazyGetProviderConfigQuery, useLazyGetPublicMentorsQuery, useLazyGetPublicPlatformImageAssetFileUrlQuery, useLazyGetPublicPricingQuery, useLazyGetRbacRolesQuery, useLazyGetRbacTeamsAccessListQuery, useLazyGetRecentMessageQuery, useLazyGetRecentlyAccessedMentorsQuery, useLazyGetRecommendationsAiSearchQuery, useLazyGetRecommendedPromptsListQuery, useLazyGetReportDetailQuery, useLazyGetReportedSkillsQuery, useLazyGetReportsQuery, useLazyGetResourceSearchQuery, useLazyGetRevenueQuery, useLazyGetSessionIdQuery, useLazyGetShareableLinkPublicQuery, useLazyGetShareableLinkQuery, useLazyGetSharedSessionIdQuery, useLazyGetSkillsPointsPercentileQuery, useLazyGetStripeConnectDashboardQuery, useLazyGetStripeConnectStatusQuery, useLazyGetStripeContextQuery, useLazyGetStripePricingPageSessionQuery, useLazyGetTemplateDetailsQuery, useLazyGetTemplatesQuery, useLazyGetTenantMetadataQuery, useLazyGetToolsQuery, useLazyGetTrainingDocumentRetrainScheduleQuery, useLazyGetTrainingDocumentsQuery, useLazyGetUserAppsQuery, useLazyGetUserAssignedPathwaysQuery, useLazyGetUserCompaniesQuery, useLazyGetUserCredentialsQuery, useLazyGetUserDesiredSkillsQuery, useLazyGetUserEarnedSkillsQuery, useLazyGetUserEducationQuery, useLazyGetUserEnrolledPathwaysQuery, useLazyGetUserEnrolledProgramsQuery, useLazyGetUserExperienceQuery, useLazyGetUserInstitutionsQuery, useLazyGetUserInvitationsQuery, useLazyGetUserMemorySettingsQuery, useLazyGetUserMetadataEdxQuery, useLazyGetUserMetadataQuery, useLazyGetUserProjectDetailsQuery, useLazyGetUserProjectsQuery, useLazyGetUserReportedSkillsQuery, useLazyGetUserResumeQuery, useLazyGetUserSkillsPointsQuery, useLazyGetUserTenantsQuery, useLazyGetUsersAsAssertionsQuery, useLazyGetVectorDocumentsQuery, useLazyGetWorkflowQuery, useLazyGetWorkflowsQuery, useLazyListArtifactVersionsQuery, useLazyListArtifactsQuery, useLazyListItemSubscribersQuery, useLazyListPaywallsQuery, useLazyListPricesQuery, useLazyListSubscribersQuery, useLazyPlatformUserGroupsQuery, useLazyPlatformUsersQuery, useLazyRefreshJwtTokenQuery, useLazySeedMentorsQuery, useLazyStarredMentorsQuery, useLazyStartOAuthFlowQuery, useListArtifactVersionsQuery, useListArtifactsQuery, useListItemSubscribersQuery, useListPaywallsQuery, useListPricesQuery, useListSubscribersQuery, useMarkAllAsReadMutation, useOauthFindMutation, usePartialUpdateMCPServerMutation, usePartialUpdateRbacRoleMutation, usePatchMCPServerConnectionMutation, usePatchWorkflowMutation, usePlatformInvitationsQuery, usePlatformUserGroupsQuery, usePlatformUsersQuery, usePublishWorkflowMutation, useRemoveProfileImageMutation, useRenewSubscriptionMutation, useResetPasswordMutation, useRevokeShareableLinkMutation, useSeedMentorsQuery, useSelfRetireMutation, useSendNotificationMutation, useSetCurrentVersionMutation, useSetPlatformConfigurationsMutation, useSetStudentMentorCreationStatusMutation, useStarMentorMutation, useStarredMentorsQuery, useStartExamMutation, useStartStripeConnectOnboardingMutation, useTimeTrackingMutation, useToggleTemplateMutation, useTriggerAutoRechargeMutation, useUnPinMessageMutation, useUnpublishWorkflowMutation, useUnstarMentorMutation, useUpdateAdminProjectMutation, useUpdateArtifactMutation, useUpdateAutoRechargeInfoMutation, useUpdateChatSessionMutation, useUpdateChatSessionSharedMutation, useUpdateCredentialMutation, useUpdateDisclaimerMutation, useUpdateExamAttemptMutation, useUpdateIntegrationCredentialMutation, useUpdateMCPServerMutation, useUpdateMemoryCategoryMutation, useUpdateMemsearchConfigMutation, useUpdateMentorMemoryMutation, useUpdateMessageFeedbackMutation, useUpdatePlatformImageAssetMutation, useUpdatePlatformInfoMutation, useUpdatePlatformMembershipMutation, useUpdatePlatformUserGroupMutation, useUpdatePlatformUserRoleWithPoliciesMutation, useUpdatePriceMutation, useUpdatePromptMutation, useUpdateRbacGroupMutation, useUpdateRbacMentorAccessMutation, useUpdateRbacPolicyMutation, useUpdateRbacRoleMutation, useUpdateRecommendedPromptMutation, useUpdateShareableLinkMutation, useUpdateTemplateMutation, useUpdateTenantMetadataMutation, useUpdateUserAccountMutation, useUpdateUserEducationMutation, useUpdateUserExperienceMutation, useUpdateUserMemorySettingsMutation, useUpdateUserMetadataEdxMutation, useUpdateUserMetadataMutation, useUpdateUserOnboardingStatusMutation, useUpdateUserProjectMutation, useUpdateUserRoleMutation, useUpdateUserStatusMutation, useUpdateUserTrialStatusMutation, useUpdateWorkflowMutation, useUploadCredentialImageMutation, useUploadDarkLogoMutation, useUploadLightLogoMutation, useUploadProfileImageMutation, useUsersGradesPassedQuery, useValidateWorkflowMutation, userApiSlice, userInvitationsApiSlice, workflowsApiSlice };
43594
43944
  //# sourceMappingURL=index.esm.js.map