@iblai/data-layer 1.3.9 → 1.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.d.ts +294 -2
- package/dist/index.esm.js +14 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/features/memory/api-slice.d.ts +265 -1
- package/dist/src/features/memory/constants.d.ts +4 -0
- package/dist/src/features/memory/types.d.ts +22 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42787,6 +42787,10 @@ const MEMSEARCH_ENDPOINTS = {
|
|
|
42787
42787
|
service: exports.SERVICES.AXD,
|
|
42788
42788
|
path: (org, userId, mentorId) => `/api/ai-mentor/orgs/${org}/users/${userId}/mentors/${mentorId}/mentor-memories/`,
|
|
42789
42789
|
},
|
|
42790
|
+
GET_MENTOR_MEMORIES_LIST: {
|
|
42791
|
+
service: exports.SERVICES.AXD,
|
|
42792
|
+
path: (org, userId, mentorId) => `/api/ai-mentor/orgs/${org}/users/${userId}/mentors/${mentorId}/mentor-memories-list/`,
|
|
42793
|
+
},
|
|
42790
42794
|
CREATE_MENTOR_MEMORY: {
|
|
42791
42795
|
service: exports.SERVICES.AXD,
|
|
42792
42796
|
path: (org, userId, mentorId) => `/api/ai-mentor/orgs/${org}/users/${userId}/mentors/${mentorId}/mentor-memories/`,
|
|
@@ -42896,6 +42900,14 @@ const memoryApiSlice = react.createApi({
|
|
|
42896
42900
|
}),
|
|
42897
42901
|
providesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MENTOR_MEMORIES(),
|
|
42898
42902
|
}),
|
|
42903
|
+
getMentorMemoriesList: builder.query({
|
|
42904
|
+
query: (args) => ({
|
|
42905
|
+
url: MEMSEARCH_ENDPOINTS.GET_MENTOR_MEMORIES_LIST.path(args.org, args.userId, args.mentorId),
|
|
42906
|
+
service: MEMSEARCH_ENDPOINTS.GET_MENTOR_MEMORIES_LIST.service,
|
|
42907
|
+
params: args.params,
|
|
42908
|
+
}),
|
|
42909
|
+
providesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MENTOR_MEMORIES(),
|
|
42910
|
+
}),
|
|
42899
42911
|
createMentorMemory: builder.mutation({
|
|
42900
42912
|
query: (args) => ({
|
|
42901
42913
|
url: MEMSEARCH_ENDPOINTS.CREATE_MENTOR_MEMORY.path(args.org, args.userId, args.mentorId),
|
|
@@ -42983,7 +42995,7 @@ const memoryApiSlice = react.createApi({
|
|
|
42983
42995
|
}),
|
|
42984
42996
|
}),
|
|
42985
42997
|
});
|
|
42986
|
-
const { useGetUserMemorySettingsQuery, useLazyGetUserMemorySettingsQuery, useUpdateUserMemorySettingsMutation, useGetGlobalMemoriesQuery, useLazyGetGlobalMemoriesQuery, useCreateGlobalMemoryMutation, useDeleteGlobalMemoryMutation, useGetMentorMemoriesQuery, useLazyGetMentorMemoriesQuery, useCreateMentorMemoryMutation, useUpdateMentorMemoryMutation, useDeleteMentorMemoryMutation, useGetMemoryCategoriesAdminQuery, useLazyGetMemoryCategoriesAdminQuery, useCreateMemoryCategoryMutation, useUpdateMemoryCategoryMutation, useDeleteMemoryCategoryMutation, useGetMemsearchConfigQuery, useLazyGetMemsearchConfigQuery, useUpdateMemsearchConfigMutation, useGetMemsearchStatusQuery, useLazyGetMemsearchStatusQuery, } = memoryApiSlice;
|
|
42998
|
+
const { useGetUserMemorySettingsQuery, useLazyGetUserMemorySettingsQuery, useUpdateUserMemorySettingsMutation, useGetGlobalMemoriesQuery, useLazyGetGlobalMemoriesQuery, useCreateGlobalMemoryMutation, useDeleteGlobalMemoryMutation, useGetMentorMemoriesQuery, useLazyGetMentorMemoriesQuery, useGetMentorMemoriesListQuery, useLazyGetMentorMemoriesListQuery, useCreateMentorMemoryMutation, useUpdateMentorMemoryMutation, useDeleteMentorMemoryMutation, useGetMemoryCategoriesAdminQuery, useLazyGetMemoryCategoriesAdminQuery, useCreateMemoryCategoryMutation, useUpdateMemoryCategoryMutation, useDeleteMemoryCategoryMutation, useGetMemsearchConfigQuery, useLazyGetMemsearchConfigQuery, useUpdateMemsearchConfigMutation, useGetMemsearchStatusQuery, useLazyGetMemsearchStatusQuery, } = memoryApiSlice;
|
|
42987
42999
|
|
|
42988
43000
|
const MCP_REDUCER_PATH = 'mcpApiSlice';
|
|
42989
43001
|
const MCP_ENDPOINTS = {
|
|
@@ -44499,6 +44511,7 @@ exports.useGetMemsearchStatusQuery = useGetMemsearchStatusQuery;
|
|
|
44499
44511
|
exports.useGetMentorCategoriesQuery = useGetMentorCategoriesQuery;
|
|
44500
44512
|
exports.useGetMentorCategoryGroupsQuery = useGetMentorCategoryGroupsQuery;
|
|
44501
44513
|
exports.useGetMentorDetailsQuery = useGetMentorDetailsQuery;
|
|
44514
|
+
exports.useGetMentorMemoriesListQuery = useGetMentorMemoriesListQuery;
|
|
44502
44515
|
exports.useGetMentorMemoriesQuery = useGetMentorMemoriesQuery;
|
|
44503
44516
|
exports.useGetMentorPublicSettingsQuery = useGetMentorPublicSettingsQuery;
|
|
44504
44517
|
exports.useGetMentorSettingsQuery = useGetMentorSettingsQuery;
|
|
@@ -44675,6 +44688,7 @@ exports.useLazyGetMemsearchStatusQuery = useLazyGetMemsearchStatusQuery;
|
|
|
44675
44688
|
exports.useLazyGetMentorCategoriesQuery = useLazyGetMentorCategoriesQuery;
|
|
44676
44689
|
exports.useLazyGetMentorCategoryGroupsQuery = useLazyGetMentorCategoryGroupsQuery;
|
|
44677
44690
|
exports.useLazyGetMentorDetailsQuery = useLazyGetMentorDetailsQuery;
|
|
44691
|
+
exports.useLazyGetMentorMemoriesListQuery = useLazyGetMentorMemoriesListQuery;
|
|
44678
44692
|
exports.useLazyGetMentorMemoriesQuery = useLazyGetMentorMemoriesQuery;
|
|
44679
44693
|
exports.useLazyGetMentorPublicSettingsQuery = useLazyGetMentorPublicSettingsQuery;
|
|
44680
44694
|
exports.useLazyGetMentorSettingsQuery = useLazyGetMentorSettingsQuery;
|