@iblai/data-layer 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -40667,6 +40667,10 @@ const CORE_CUSTOM_ENDPOINTS = {
40667
40667
  path: `/api/core/users/platforms/config/`,
40668
40668
  service: exports.SERVICES.DM,
40669
40669
  },
40670
+ GET_PUBLIC_PLATFORM_MEMBERSHIP: {
40671
+ path: `/api/core/users/platforms/config/public/`,
40672
+ service: exports.SERVICES.DM,
40673
+ },
40670
40674
  UPDATE_PLATFORM_MEMBERSHIP: {
40671
40675
  path: `/api/core/users/platforms/config/`,
40672
40676
  service: exports.SERVICES.DM,
@@ -44419,6 +44423,17 @@ const coreCustomApiSlice = react.createApi({
44419
44423
  }),
44420
44424
  providesTags: [PLATFORM_MEMBERSHIP_TAG],
44421
44425
  }),
44426
+ getPublicPlatformMembership: builder.query({
44427
+ query: ({ platform_key }) => ({
44428
+ url: CORE_CUSTOM_ENDPOINTS.GET_PUBLIC_PLATFORM_MEMBERSHIP.path,
44429
+ service: CORE_CUSTOM_ENDPOINTS.GET_PUBLIC_PLATFORM_MEMBERSHIP.service,
44430
+ method: 'GET',
44431
+ params: {
44432
+ platform_key,
44433
+ },
44434
+ skipAuth: true,
44435
+ }),
44436
+ }),
44422
44437
  updatePlatformMembership: builder.mutation({
44423
44438
  query: (args) => ({
44424
44439
  url: CORE_CUSTOM_ENDPOINTS.UPDATE_PLATFORM_MEMBERSHIP.path,
@@ -44477,7 +44492,7 @@ const coreCustomApiSlice = react.createApi({
44477
44492
  }),
44478
44493
  }),
44479
44494
  });
44480
- const { useGetPlatformMembershipQuery, useUpdatePlatformMembershipMutation, useLazyGetPlatformMembershipQuery, useJoinTenantMutation, useGetPlatformImageAssetsListQuery, useCreatePlatformImageAssetMutation, useGetPlatformImageAssetDetailsQuery, useUpdatePlatformImageAssetMutation, useDeletePlatformImageAssetMutation, } = coreCustomApiSlice;
44495
+ const { useGetPlatformMembershipQuery, useUpdatePlatformMembershipMutation, useLazyGetPlatformMembershipQuery, useGetPublicPlatformMembershipQuery, useLazyGetPublicPlatformMembershipQuery, useJoinTenantMutation, useGetPlatformImageAssetsListQuery, useCreatePlatformImageAssetMutation, useGetPlatformImageAssetDetailsQuery, useUpdatePlatformImageAssetMutation, useDeletePlatformImageAssetMutation, } = coreCustomApiSlice;
44481
44496
 
44482
44497
  const coreFakeCustomPublicImageAssetApiSlice = react.createApi({
44483
44498
  reducerPath: CORE_FAKE_CUSTOM_REDUCER_PATH,
@@ -45981,6 +45996,7 @@ exports.useGetPromptsSearchQuery = useGetPromptsSearchQuery;
45981
45996
  exports.useGetProviderConfigQuery = useGetProviderConfigQuery;
45982
45997
  exports.useGetPublicMentorsQuery = useGetPublicMentorsQuery;
45983
45998
  exports.useGetPublicPlatformImageAssetFileUrlQuery = useGetPublicPlatformImageAssetFileUrlQuery;
45999
+ exports.useGetPublicPlatformMembershipQuery = useGetPublicPlatformMembershipQuery;
45984
46000
  exports.useGetPublicPricingQuery = useGetPublicPricingQuery;
45985
46001
  exports.useGetRbacGroupDetailsQuery = useGetRbacGroupDetailsQuery;
45986
46002
  exports.useGetRbacGroupsQuery = useGetRbacGroupsQuery;
@@ -46173,6 +46189,7 @@ exports.useLazyGetPromptsSearchQuery = useLazyGetPromptsSearchQuery;
46173
46189
  exports.useLazyGetProviderConfigQuery = useLazyGetProviderConfigQuery;
46174
46190
  exports.useLazyGetPublicMentorsQuery = useLazyGetPublicMentorsQuery;
46175
46191
  exports.useLazyGetPublicPlatformImageAssetFileUrlQuery = useLazyGetPublicPlatformImageAssetFileUrlQuery;
46192
+ exports.useLazyGetPublicPlatformMembershipQuery = useLazyGetPublicPlatformMembershipQuery;
46176
46193
  exports.useLazyGetPublicPricingQuery = useLazyGetPublicPricingQuery;
46177
46194
  exports.useLazyGetRbacRolesQuery = useLazyGetRbacRolesQuery;
46178
46195
  exports.useLazyGetRbacTeamsAccessListQuery = useLazyGetRbacTeamsAccessListQuery;