@iblai/data-layer 1.2.3 → 1.2.4
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 +1504 -636
- package/dist/index.esm.js +179 -134
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +199 -149
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/features/memory/api-slice.d.ts +1492 -687
- package/dist/src/features/memory/constants.d.ts +48 -27
- package/dist/src/features/memory/index.d.ts +3 -3
- package/dist/src/features/memory/types.d.ts +134 -97
- package/dist/tests/features/memory/constants.test.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42206,179 +42206,224 @@ const moderationLogsApiReducer = moderationLogsApiSlice.reducer;
|
|
|
42206
42206
|
const { useGetModerationLogsQuery, useLazyGetModerationLogsQuery, useDeleteModerationLogMutation, } = moderationLogsApiSlice;
|
|
42207
42207
|
|
|
42208
42208
|
const MEMORY_REDUCER_PATH = 'memoryApiSlice';
|
|
42209
|
-
const
|
|
42210
|
-
|
|
42209
|
+
const MEMORY_QUERY_KEYS = {
|
|
42210
|
+
MEMSEARCH_USER_SETTINGS: () => ['MEMSEARCH_USER_SETTINGS'],
|
|
42211
|
+
MEMSEARCH_GLOBAL_MEMORIES: () => ['MEMSEARCH_GLOBAL_MEMORIES'],
|
|
42212
|
+
MEMSEARCH_MENTOR_MEMORIES: () => ['MEMSEARCH_MENTOR_MEMORIES'],
|
|
42213
|
+
MEMSEARCH_MEMORY_CATEGORIES: () => ['MEMSEARCH_MEMORY_CATEGORIES'],
|
|
42214
|
+
MEMSEARCH_PLATFORM_CONFIG: () => ['MEMSEARCH_PLATFORM_CONFIG'],
|
|
42215
|
+
};
|
|
42216
|
+
const MEMSEARCH_ENDPOINTS = {
|
|
42217
|
+
// User Memory Settings
|
|
42218
|
+
GET_USER_SETTINGS: {
|
|
42211
42219
|
service: exports.SERVICES.AXD,
|
|
42212
|
-
path: (
|
|
42220
|
+
path: (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/memsearch-settings/`,
|
|
42213
42221
|
},
|
|
42214
|
-
|
|
42222
|
+
UPDATE_USER_SETTINGS: {
|
|
42215
42223
|
service: exports.SERVICES.AXD,
|
|
42216
|
-
path: (
|
|
42224
|
+
path: (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/memsearch-settings/`,
|
|
42217
42225
|
},
|
|
42218
|
-
|
|
42226
|
+
// Global Memories
|
|
42227
|
+
GET_GLOBAL_MEMORIES: {
|
|
42219
42228
|
service: exports.SERVICES.AXD,
|
|
42220
|
-
path: (
|
|
42229
|
+
path: (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/global-memories/`,
|
|
42221
42230
|
},
|
|
42222
|
-
|
|
42231
|
+
CREATE_GLOBAL_MEMORY: {
|
|
42223
42232
|
service: exports.SERVICES.AXD,
|
|
42224
|
-
path: (
|
|
42233
|
+
path: (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/global-memories/`,
|
|
42225
42234
|
},
|
|
42226
|
-
|
|
42235
|
+
DELETE_GLOBAL_MEMORY: {
|
|
42227
42236
|
service: exports.SERVICES.AXD,
|
|
42228
|
-
path: (
|
|
42237
|
+
path: (org, userId, memoryId) => `/api/ai-mentor/orgs/${org}/users/${userId}/global-memories/${memoryId}/`,
|
|
42229
42238
|
},
|
|
42230
|
-
|
|
42239
|
+
// Mentor-Specific Memories
|
|
42240
|
+
GET_MENTOR_MEMORIES: {
|
|
42231
42241
|
service: exports.SERVICES.AXD,
|
|
42232
|
-
path: (
|
|
42242
|
+
path: (org, userId, mentorId) => `/api/ai-mentor/orgs/${org}/users/${userId}/mentors/${mentorId}/mentor-memories/`,
|
|
42233
42243
|
},
|
|
42234
|
-
|
|
42244
|
+
CREATE_MENTOR_MEMORY: {
|
|
42235
42245
|
service: exports.SERVICES.AXD,
|
|
42236
|
-
path: (
|
|
42246
|
+
path: (org, userId, mentorId) => `/api/ai-mentor/orgs/${org}/users/${userId}/mentors/${mentorId}/mentor-memories/`,
|
|
42237
42247
|
},
|
|
42238
|
-
|
|
42248
|
+
UPDATE_MENTOR_MEMORY: {
|
|
42239
42249
|
service: exports.SERVICES.AXD,
|
|
42240
|
-
path: (
|
|
42250
|
+
path: (org, userId, mentorId, memoryId) => `/api/ai-mentor/orgs/${org}/users/${userId}/mentors/${mentorId}/mentor-memories/${memoryId}/`,
|
|
42241
42251
|
},
|
|
42242
|
-
|
|
42252
|
+
DELETE_MENTOR_MEMORY: {
|
|
42243
42253
|
service: exports.SERVICES.AXD,
|
|
42244
|
-
path: (
|
|
42254
|
+
path: (org, userId, mentorId, memoryId) => `/api/ai-mentor/orgs/${org}/users/${userId}/mentors/${mentorId}/mentor-memories/${memoryId}/`,
|
|
42245
42255
|
},
|
|
42246
|
-
|
|
42256
|
+
// Memory Categories (Admin)
|
|
42257
|
+
GET_MEMSEARCH_CATEGORIES: {
|
|
42247
42258
|
service: exports.SERVICES.AXD,
|
|
42248
|
-
path: (
|
|
42259
|
+
path: (org, mentorId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorId}/memory-categories/`,
|
|
42260
|
+
},
|
|
42261
|
+
CREATE_MEMSEARCH_CATEGORY: {
|
|
42262
|
+
service: exports.SERVICES.AXD,
|
|
42263
|
+
path: (org, mentorId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorId}/memory-categories/`,
|
|
42264
|
+
},
|
|
42265
|
+
UPDATE_MEMSEARCH_CATEGORY: {
|
|
42266
|
+
service: exports.SERVICES.AXD,
|
|
42267
|
+
path: (org, mentorId, categoryId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorId}/memory-categories/${categoryId}/`,
|
|
42268
|
+
},
|
|
42269
|
+
DELETE_MEMSEARCH_CATEGORY: {
|
|
42270
|
+
service: exports.SERVICES.AXD,
|
|
42271
|
+
path: (org, mentorId, categoryId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorId}/memory-categories/${categoryId}/`,
|
|
42272
|
+
},
|
|
42273
|
+
// Platform Configuration
|
|
42274
|
+
GET_MEMSEARCH_CONFIG: {
|
|
42275
|
+
service: exports.SERVICES.AXD,
|
|
42276
|
+
path: (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/memsearch-config/`,
|
|
42277
|
+
},
|
|
42278
|
+
UPDATE_MEMSEARCH_CONFIG: {
|
|
42279
|
+
service: exports.SERVICES.AXD,
|
|
42280
|
+
path: (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/memsearch-config/`,
|
|
42249
42281
|
},
|
|
42250
|
-
};
|
|
42251
|
-
const MEMORY_QUERY_KEYS = {
|
|
42252
|
-
GET_MEMORIES: () => ['MEMORIES'],
|
|
42253
|
-
GET_MEMORY_CATEGORIES: () => ['MEMORY_CATEGORIES'],
|
|
42254
|
-
GET_MENTOR_USER_SETTINGS: () => ['MENTOR_USER_SETTINGS'],
|
|
42255
|
-
GET_FILTERED_MEMORIES: () => ['FILTERED_MEMORIES'],
|
|
42256
42282
|
};
|
|
42257
42283
|
|
|
42258
42284
|
const memoryApiSlice = react.createApi({
|
|
42259
42285
|
reducerPath: MEMORY_REDUCER_PATH,
|
|
42260
42286
|
tagTypes: [
|
|
42261
|
-
...MEMORY_QUERY_KEYS.
|
|
42262
|
-
...MEMORY_QUERY_KEYS.
|
|
42263
|
-
...MEMORY_QUERY_KEYS.
|
|
42264
|
-
...MEMORY_QUERY_KEYS.
|
|
42287
|
+
...MEMORY_QUERY_KEYS.MEMSEARCH_USER_SETTINGS(),
|
|
42288
|
+
...MEMORY_QUERY_KEYS.MEMSEARCH_GLOBAL_MEMORIES(),
|
|
42289
|
+
...MEMORY_QUERY_KEYS.MEMSEARCH_MENTOR_MEMORIES(),
|
|
42290
|
+
...MEMORY_QUERY_KEYS.MEMSEARCH_MEMORY_CATEGORIES(),
|
|
42291
|
+
...MEMORY_QUERY_KEYS.MEMSEARCH_PLATFORM_CONFIG(),
|
|
42265
42292
|
],
|
|
42266
42293
|
baseQuery: iblFetchBaseQuery,
|
|
42267
42294
|
endpoints: (builder) => ({
|
|
42268
|
-
|
|
42269
|
-
|
|
42270
|
-
|
|
42271
|
-
|
|
42272
|
-
|
|
42273
|
-
|
|
42274
|
-
|
|
42275
|
-
},
|
|
42276
|
-
providesTags: MEMORY_QUERY_KEYS.GET_MEMORIES(),
|
|
42295
|
+
// User Memory Settings
|
|
42296
|
+
getUserMemorySettings: builder.query({
|
|
42297
|
+
query: (args) => ({
|
|
42298
|
+
url: MEMSEARCH_ENDPOINTS.GET_USER_SETTINGS.path(args.org, args.userId),
|
|
42299
|
+
service: MEMSEARCH_ENDPOINTS.GET_USER_SETTINGS.service,
|
|
42300
|
+
}),
|
|
42301
|
+
providesTags: MEMORY_QUERY_KEYS.MEMSEARCH_USER_SETTINGS(),
|
|
42277
42302
|
}),
|
|
42278
|
-
|
|
42279
|
-
query: (args) => {
|
|
42280
|
-
|
|
42281
|
-
|
|
42282
|
-
|
|
42283
|
-
|
|
42284
|
-
},
|
|
42285
|
-
|
|
42303
|
+
updateUserMemorySettings: builder.mutation({
|
|
42304
|
+
query: (args) => ({
|
|
42305
|
+
url: MEMSEARCH_ENDPOINTS.UPDATE_USER_SETTINGS.path(args.org, args.userId),
|
|
42306
|
+
service: MEMSEARCH_ENDPOINTS.UPDATE_USER_SETTINGS.service,
|
|
42307
|
+
method: 'PUT',
|
|
42308
|
+
body: args.settings,
|
|
42309
|
+
}),
|
|
42310
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_USER_SETTINGS(),
|
|
42286
42311
|
}),
|
|
42287
|
-
|
|
42288
|
-
|
|
42289
|
-
|
|
42290
|
-
|
|
42291
|
-
|
|
42292
|
-
|
|
42293
|
-
},
|
|
42294
|
-
providesTags: MEMORY_QUERY_KEYS.
|
|
42312
|
+
// Global Memories
|
|
42313
|
+
getGlobalMemories: builder.query({
|
|
42314
|
+
query: (args) => ({
|
|
42315
|
+
url: MEMSEARCH_ENDPOINTS.GET_GLOBAL_MEMORIES.path(args.org, args.userId),
|
|
42316
|
+
service: MEMSEARCH_ENDPOINTS.GET_GLOBAL_MEMORIES.service,
|
|
42317
|
+
params: args.params,
|
|
42318
|
+
}),
|
|
42319
|
+
providesTags: MEMORY_QUERY_KEYS.MEMSEARCH_GLOBAL_MEMORIES(),
|
|
42295
42320
|
}),
|
|
42296
|
-
|
|
42297
|
-
query: (args) => {
|
|
42298
|
-
|
|
42299
|
-
|
|
42300
|
-
|
|
42301
|
-
|
|
42302
|
-
|
|
42303
|
-
|
|
42304
|
-
},
|
|
42305
|
-
invalidatesTags: MEMORY_QUERY_KEYS.GET_MENTOR_USER_SETTINGS(),
|
|
42321
|
+
createGlobalMemory: builder.mutation({
|
|
42322
|
+
query: (args) => ({
|
|
42323
|
+
url: MEMSEARCH_ENDPOINTS.CREATE_GLOBAL_MEMORY.path(args.org, args.userId),
|
|
42324
|
+
service: MEMSEARCH_ENDPOINTS.CREATE_GLOBAL_MEMORY.service,
|
|
42325
|
+
method: 'POST',
|
|
42326
|
+
body: { content: args.content },
|
|
42327
|
+
}),
|
|
42328
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_GLOBAL_MEMORIES(),
|
|
42306
42329
|
}),
|
|
42307
|
-
|
|
42308
|
-
query: (args) => {
|
|
42309
|
-
|
|
42310
|
-
|
|
42311
|
-
|
|
42312
|
-
|
|
42313
|
-
|
|
42314
|
-
},
|
|
42315
|
-
invalidatesTags: [
|
|
42316
|
-
...MEMORY_QUERY_KEYS.GET_MEMORIES(),
|
|
42317
|
-
...MEMORY_QUERY_KEYS.GET_FILTERED_MEMORIES(),
|
|
42318
|
-
],
|
|
42330
|
+
deleteGlobalMemory: builder.mutation({
|
|
42331
|
+
query: (args) => ({
|
|
42332
|
+
url: MEMSEARCH_ENDPOINTS.DELETE_GLOBAL_MEMORY.path(args.org, args.userId, args.memoryId),
|
|
42333
|
+
service: MEMSEARCH_ENDPOINTS.DELETE_GLOBAL_MEMORY.service,
|
|
42334
|
+
method: 'DELETE',
|
|
42335
|
+
}),
|
|
42336
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_GLOBAL_MEMORIES(),
|
|
42319
42337
|
}),
|
|
42320
|
-
|
|
42321
|
-
|
|
42322
|
-
|
|
42323
|
-
|
|
42324
|
-
|
|
42325
|
-
|
|
42326
|
-
|
|
42327
|
-
|
|
42328
|
-
invalidatesTags: [
|
|
42329
|
-
...MEMORY_QUERY_KEYS.GET_MEMORIES(),
|
|
42330
|
-
...MEMORY_QUERY_KEYS.GET_FILTERED_MEMORIES(),
|
|
42331
|
-
],
|
|
42338
|
+
// Mentor-Specific Memories
|
|
42339
|
+
getMentorMemories: builder.query({
|
|
42340
|
+
query: (args) => ({
|
|
42341
|
+
url: MEMSEARCH_ENDPOINTS.GET_MENTOR_MEMORIES.path(args.org, args.userId, args.mentorId),
|
|
42342
|
+
service: MEMSEARCH_ENDPOINTS.GET_MENTOR_MEMORIES.service,
|
|
42343
|
+
params: args.params,
|
|
42344
|
+
}),
|
|
42345
|
+
providesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MENTOR_MEMORIES(),
|
|
42332
42346
|
}),
|
|
42333
|
-
|
|
42334
|
-
query: (args) => {
|
|
42335
|
-
|
|
42336
|
-
|
|
42337
|
-
|
|
42338
|
-
|
|
42339
|
-
|
|
42340
|
-
|
|
42341
|
-
},
|
|
42342
|
-
invalidatesTags: [
|
|
42343
|
-
...MEMORY_QUERY_KEYS.GET_MEMORIES(),
|
|
42344
|
-
...MEMORY_QUERY_KEYS.GET_FILTERED_MEMORIES(),
|
|
42345
|
-
],
|
|
42347
|
+
createMentorMemory: builder.mutation({
|
|
42348
|
+
query: (args) => ({
|
|
42349
|
+
url: MEMSEARCH_ENDPOINTS.CREATE_MENTOR_MEMORY.path(args.org, args.userId, args.mentorId),
|
|
42350
|
+
service: MEMSEARCH_ENDPOINTS.CREATE_MENTOR_MEMORY.service,
|
|
42351
|
+
method: 'POST',
|
|
42352
|
+
body: args.data,
|
|
42353
|
+
}),
|
|
42354
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MENTOR_MEMORIES(),
|
|
42346
42355
|
}),
|
|
42347
|
-
|
|
42348
|
-
query: (args) => {
|
|
42349
|
-
|
|
42350
|
-
|
|
42351
|
-
|
|
42352
|
-
|
|
42353
|
-
|
|
42354
|
-
|
|
42355
|
-
},
|
|
42356
|
-
invalidatesTags: [
|
|
42357
|
-
...MEMORY_QUERY_KEYS.GET_MEMORIES(),
|
|
42358
|
-
...MEMORY_QUERY_KEYS.GET_FILTERED_MEMORIES(),
|
|
42359
|
-
],
|
|
42356
|
+
updateMentorMemory: builder.mutation({
|
|
42357
|
+
query: (args) => ({
|
|
42358
|
+
url: MEMSEARCH_ENDPOINTS.UPDATE_MENTOR_MEMORY.path(args.org, args.userId, args.mentorId, args.memoryId),
|
|
42359
|
+
service: MEMSEARCH_ENDPOINTS.UPDATE_MENTOR_MEMORY.service,
|
|
42360
|
+
method: 'PATCH',
|
|
42361
|
+
body: args.data,
|
|
42362
|
+
}),
|
|
42363
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MENTOR_MEMORIES(),
|
|
42360
42364
|
}),
|
|
42361
|
-
|
|
42362
|
-
query: (args) => {
|
|
42363
|
-
|
|
42364
|
-
|
|
42365
|
-
|
|
42366
|
-
|
|
42367
|
-
|
|
42365
|
+
deleteMentorMemory: builder.mutation({
|
|
42366
|
+
query: (args) => ({
|
|
42367
|
+
url: MEMSEARCH_ENDPOINTS.DELETE_MENTOR_MEMORY.path(args.org, args.userId, args.mentorId, args.memoryId),
|
|
42368
|
+
service: MEMSEARCH_ENDPOINTS.DELETE_MENTOR_MEMORY.service,
|
|
42369
|
+
method: 'DELETE',
|
|
42370
|
+
}),
|
|
42371
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MENTOR_MEMORIES(),
|
|
42368
42372
|
}),
|
|
42369
|
-
|
|
42370
|
-
|
|
42371
|
-
|
|
42372
|
-
|
|
42373
|
-
|
|
42374
|
-
|
|
42375
|
-
|
|
42376
|
-
|
|
42377
|
-
|
|
42373
|
+
// Memory Categories (Admin)
|
|
42374
|
+
getMemoryCategoriesAdmin: builder.query({
|
|
42375
|
+
query: (args) => ({
|
|
42376
|
+
url: MEMSEARCH_ENDPOINTS.GET_MEMSEARCH_CATEGORIES.path(args.org, args.mentorId),
|
|
42377
|
+
service: MEMSEARCH_ENDPOINTS.GET_MEMSEARCH_CATEGORIES.service,
|
|
42378
|
+
}),
|
|
42379
|
+
providesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MEMORY_CATEGORIES(),
|
|
42380
|
+
}),
|
|
42381
|
+
createMemoryCategory: builder.mutation({
|
|
42382
|
+
query: (args) => ({
|
|
42383
|
+
url: MEMSEARCH_ENDPOINTS.CREATE_MEMSEARCH_CATEGORY.path(args.org, args.mentorId),
|
|
42384
|
+
service: MEMSEARCH_ENDPOINTS.CREATE_MEMSEARCH_CATEGORY.service,
|
|
42385
|
+
method: 'POST',
|
|
42386
|
+
body: args.data,
|
|
42387
|
+
}),
|
|
42388
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MEMORY_CATEGORIES(),
|
|
42389
|
+
}),
|
|
42390
|
+
updateMemoryCategory: builder.mutation({
|
|
42391
|
+
query: (args) => ({
|
|
42392
|
+
url: MEMSEARCH_ENDPOINTS.UPDATE_MEMSEARCH_CATEGORY.path(args.org, args.mentorId, args.categoryId),
|
|
42393
|
+
service: MEMSEARCH_ENDPOINTS.UPDATE_MEMSEARCH_CATEGORY.service,
|
|
42394
|
+
method: 'PATCH',
|
|
42395
|
+
body: args.data,
|
|
42396
|
+
}),
|
|
42397
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MEMORY_CATEGORIES(),
|
|
42398
|
+
}),
|
|
42399
|
+
deleteMemoryCategory: builder.mutation({
|
|
42400
|
+
query: (args) => ({
|
|
42401
|
+
url: MEMSEARCH_ENDPOINTS.DELETE_MEMSEARCH_CATEGORY.path(args.org, args.mentorId, args.categoryId),
|
|
42402
|
+
service: MEMSEARCH_ENDPOINTS.DELETE_MEMSEARCH_CATEGORY.service,
|
|
42403
|
+
method: 'DELETE',
|
|
42404
|
+
}),
|
|
42405
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_MEMORY_CATEGORIES(),
|
|
42406
|
+
}),
|
|
42407
|
+
// Platform Configuration
|
|
42408
|
+
getMemsearchConfig: builder.query({
|
|
42409
|
+
query: (args) => ({
|
|
42410
|
+
url: MEMSEARCH_ENDPOINTS.GET_MEMSEARCH_CONFIG.path(args.org, args.userId),
|
|
42411
|
+
service: MEMSEARCH_ENDPOINTS.GET_MEMSEARCH_CONFIG.service,
|
|
42412
|
+
}),
|
|
42413
|
+
providesTags: MEMORY_QUERY_KEYS.MEMSEARCH_PLATFORM_CONFIG(),
|
|
42414
|
+
}),
|
|
42415
|
+
updateMemsearchConfig: builder.mutation({
|
|
42416
|
+
query: (args) => ({
|
|
42417
|
+
url: MEMSEARCH_ENDPOINTS.UPDATE_MEMSEARCH_CONFIG.path(args.org, args.userId),
|
|
42418
|
+
service: MEMSEARCH_ENDPOINTS.UPDATE_MEMSEARCH_CONFIG.service,
|
|
42419
|
+
method: 'POST',
|
|
42420
|
+
body: args.config,
|
|
42421
|
+
}),
|
|
42422
|
+
invalidatesTags: MEMORY_QUERY_KEYS.MEMSEARCH_PLATFORM_CONFIG(),
|
|
42378
42423
|
}),
|
|
42379
42424
|
}),
|
|
42380
42425
|
});
|
|
42381
|
-
const {
|
|
42426
|
+
const { useGetUserMemorySettingsQuery, useLazyGetUserMemorySettingsQuery, useUpdateUserMemorySettingsMutation, useGetGlobalMemoriesQuery, useLazyGetGlobalMemoriesQuery, useCreateGlobalMemoryMutation, useDeleteGlobalMemoryMutation, useGetMentorMemoriesQuery, useLazyGetMentorMemoriesQuery, useCreateMentorMemoryMutation, useUpdateMentorMemoryMutation, useDeleteMentorMemoryMutation, useGetMemoryCategoriesAdminQuery, useLazyGetMemoryCategoriesAdminQuery, useCreateMemoryCategoryMutation, useUpdateMemoryCategoryMutation, useDeleteMemoryCategoryMutation, useGetMemsearchConfigQuery, useLazyGetMemsearchConfigQuery, useUpdateMemsearchConfigMutation, } = memoryApiSlice;
|
|
42382
42427
|
|
|
42383
42428
|
const MCP_REDUCER_PATH = 'mcpApiSlice';
|
|
42384
42429
|
const MCP_ENDPOINTS = {
|
|
@@ -43568,9 +43613,9 @@ exports.LOGO_ENDPOINTS = LOGO_ENDPOINTS;
|
|
|
43568
43613
|
exports.MCP_ENDPOINTS = MCP_ENDPOINTS;
|
|
43569
43614
|
exports.MCP_REDUCER_PATH = MCP_REDUCER_PATH;
|
|
43570
43615
|
exports.MCP_TAG_TYPES = MCP_TAG_TYPES;
|
|
43571
|
-
exports.MEMORY_ENDPOINTS = MEMORY_ENDPOINTS;
|
|
43572
43616
|
exports.MEMORY_QUERY_KEYS = MEMORY_QUERY_KEYS;
|
|
43573
43617
|
exports.MEMORY_REDUCER_PATH = MEMORY_REDUCER_PATH;
|
|
43618
|
+
exports.MEMSEARCH_ENDPOINTS = MEMSEARCH_ENDPOINTS;
|
|
43574
43619
|
exports.MENTORS_QUERY_KEYS = MENTORS_QUERY_KEYS;
|
|
43575
43620
|
exports.MENTORS_REDUCER_PATH = MENTORS_REDUCER_PATH;
|
|
43576
43621
|
exports.MENTOR_CUSTOM_ENDPOINTS = MENTOR_CUSTOM_ENDPOINTS;
|
|
@@ -43686,11 +43731,13 @@ exports.useCreateCredentialMutation = useCreateCredentialMutation;
|
|
|
43686
43731
|
exports.useCreateCustomDomainMutation = useCreateCustomDomainMutation;
|
|
43687
43732
|
exports.useCreateDisclaimerMutation = useCreateDisclaimerMutation;
|
|
43688
43733
|
exports.useCreateExternalMappingMutation = useCreateExternalMappingMutation;
|
|
43734
|
+
exports.useCreateGlobalMemoryMutation = useCreateGlobalMemoryMutation;
|
|
43689
43735
|
exports.useCreateIntegrationCredentialMutation = useCreateIntegrationCredentialMutation;
|
|
43690
43736
|
exports.useCreateLLMCredentialMutation = useCreateLLMCredentialMutation;
|
|
43691
43737
|
exports.useCreateMCPServerConnectionMutation = useCreateMCPServerConnectionMutation;
|
|
43692
43738
|
exports.useCreateMCPServerMutation = useCreateMCPServerMutation;
|
|
43693
|
-
exports.
|
|
43739
|
+
exports.useCreateMemoryCategoryMutation = useCreateMemoryCategoryMutation;
|
|
43740
|
+
exports.useCreateMentorMemoryMutation = useCreateMentorMemoryMutation;
|
|
43694
43741
|
exports.useCreateMentorMutation = useCreateMentorMutation;
|
|
43695
43742
|
exports.useCreateNotificationPreviewMutation = useCreateNotificationPreviewMutation;
|
|
43696
43743
|
exports.useCreateOrUpdateUserDesiredSkillMutation = useCreateOrUpdateUserDesiredSkillMutation;
|
|
@@ -43727,10 +43774,11 @@ exports.useDeleteCredentialMutation = useDeleteCredentialMutation;
|
|
|
43727
43774
|
exports.useDeleteCustomDomainMutation = useDeleteCustomDomainMutation;
|
|
43728
43775
|
exports.useDeleteDisclaimerMutation = useDeleteDisclaimerMutation;
|
|
43729
43776
|
exports.useDeleteExternalMappingMutation = useDeleteExternalMappingMutation;
|
|
43777
|
+
exports.useDeleteGlobalMemoryMutation = useDeleteGlobalMemoryMutation;
|
|
43730
43778
|
exports.useDeleteIntegrationCredentialMutation = useDeleteIntegrationCredentialMutation;
|
|
43731
43779
|
exports.useDeleteMCPServerMutation = useDeleteMCPServerMutation;
|
|
43732
|
-
exports.
|
|
43733
|
-
exports.
|
|
43780
|
+
exports.useDeleteMemoryCategoryMutation = useDeleteMemoryCategoryMutation;
|
|
43781
|
+
exports.useDeleteMentorMemoryMutation = useDeleteMentorMemoryMutation;
|
|
43734
43782
|
exports.useDeleteMentorMutation = useDeleteMentorMutation;
|
|
43735
43783
|
exports.useDeleteMessageMutation = useDeleteMessageMutation;
|
|
43736
43784
|
exports.useDeleteModerationLogMutation = useDeleteModerationLogMutation;
|
|
@@ -43795,9 +43843,9 @@ exports.useGetEnrollmentCourseSearchQuery = useGetEnrollmentCourseSearchQuery;
|
|
|
43795
43843
|
exports.useGetExamInfoQuery = useGetExamInfoQuery;
|
|
43796
43844
|
exports.useGetExternalMappingQuery = useGetExternalMappingQuery;
|
|
43797
43845
|
exports.useGetFileUploadUrlMutation = useGetFileUploadUrlMutation;
|
|
43798
|
-
exports.useGetFilteredMemoriesQuery = useGetFilteredMemoriesQuery;
|
|
43799
43846
|
exports.useGetFinancialStatsQuery = useGetFinancialStatsQuery;
|
|
43800
43847
|
exports.useGetFreeUsageCountQuery = useGetFreeUsageCountQuery;
|
|
43848
|
+
exports.useGetGlobalMemoriesQuery = useGetGlobalMemoriesQuery;
|
|
43801
43849
|
exports.useGetGuidedPromptsQuery = useGetGuidedPromptsQuery;
|
|
43802
43850
|
exports.useGetIntegrationCredentialsQuery = useGetIntegrationCredentialsQuery;
|
|
43803
43851
|
exports.useGetIntegrationCredentialsSchemaQuery = useGetIntegrationCredentialsSchemaQuery;
|
|
@@ -43809,16 +43857,15 @@ exports.useGetMCPServerQuery = useGetMCPServerQuery;
|
|
|
43809
43857
|
exports.useGetMCPServersQuery = useGetMCPServersQuery;
|
|
43810
43858
|
exports.useGetMaskedIntegrationCredentialsQuery = useGetMaskedIntegrationCredentialsQuery;
|
|
43811
43859
|
exports.useGetMaskedLLMCredentialsQuery = useGetMaskedLLMCredentialsQuery;
|
|
43812
|
-
exports.
|
|
43813
|
-
exports.
|
|
43814
|
-
exports.useGetMemoryFiltersQuery = useGetMemoryFiltersQuery;
|
|
43860
|
+
exports.useGetMemoryCategoriesAdminQuery = useGetMemoryCategoriesAdminQuery;
|
|
43861
|
+
exports.useGetMemsearchConfigQuery = useGetMemsearchConfigQuery;
|
|
43815
43862
|
exports.useGetMentorCategoriesQuery = useGetMentorCategoriesQuery;
|
|
43816
43863
|
exports.useGetMentorCategoryGroupsQuery = useGetMentorCategoryGroupsQuery;
|
|
43817
43864
|
exports.useGetMentorDetailsQuery = useGetMentorDetailsQuery;
|
|
43865
|
+
exports.useGetMentorMemoriesQuery = useGetMentorMemoriesQuery;
|
|
43818
43866
|
exports.useGetMentorPublicSettingsQuery = useGetMentorPublicSettingsQuery;
|
|
43819
43867
|
exports.useGetMentorSettingsQuery = useGetMentorSettingsQuery;
|
|
43820
43868
|
exports.useGetMentorSummariesQuery = useGetMentorSummariesQuery;
|
|
43821
|
-
exports.useGetMentorUserSettingsQuery = useGetMentorUserSettingsQuery;
|
|
43822
43869
|
exports.useGetMentorsQuery = useGetMentorsQuery;
|
|
43823
43870
|
exports.useGetMfeContextQuery = useGetMfeContextQuery;
|
|
43824
43871
|
exports.useGetModerationLogsQuery = useGetModerationLogsQuery;
|
|
@@ -43907,6 +43954,7 @@ exports.useGetUserEnrolledProgramsQuery = useGetUserEnrolledProgramsQuery;
|
|
|
43907
43954
|
exports.useGetUserExperienceQuery = useGetUserExperienceQuery;
|
|
43908
43955
|
exports.useGetUserInstitutionsQuery = useGetUserInstitutionsQuery;
|
|
43909
43956
|
exports.useGetUserInvitationsQuery = useGetUserInvitationsQuery;
|
|
43957
|
+
exports.useGetUserMemorySettingsQuery = useGetUserMemorySettingsQuery;
|
|
43910
43958
|
exports.useGetUserMetadataEdxQuery = useGetUserMetadataEdxQuery;
|
|
43911
43959
|
exports.useGetUserMetadataQuery = useGetUserMetadataQuery;
|
|
43912
43960
|
exports.useGetUserMetricsPieChartQuery = useGetUserMetricsPieChartQuery;
|
|
@@ -43953,8 +44001,8 @@ exports.useLazyGetDownloadReportFromURLQuery = useLazyGetDownloadReportFromURLQu
|
|
|
43953
44001
|
exports.useLazyGetEnrollmentCourseSearchQuery = useLazyGetEnrollmentCourseSearchQuery;
|
|
43954
44002
|
exports.useLazyGetExamInfoQuery = useLazyGetExamInfoQuery;
|
|
43955
44003
|
exports.useLazyGetExternalMappingQuery = useLazyGetExternalMappingQuery;
|
|
43956
|
-
exports.useLazyGetFilteredMemoriesQuery = useLazyGetFilteredMemoriesQuery;
|
|
43957
44004
|
exports.useLazyGetFreeUsageCountQuery = useLazyGetFreeUsageCountQuery;
|
|
44005
|
+
exports.useLazyGetGlobalMemoriesQuery = useLazyGetGlobalMemoriesQuery;
|
|
43958
44006
|
exports.useLazyGetGuidedPromptsQuery = useLazyGetGuidedPromptsQuery;
|
|
43959
44007
|
exports.useLazyGetIntegrationCredentialsQuery = useLazyGetIntegrationCredentialsQuery;
|
|
43960
44008
|
exports.useLazyGetIntegrationCredentialsSchemaQuery = useLazyGetIntegrationCredentialsSchemaQuery;
|
|
@@ -43963,16 +44011,15 @@ exports.useLazyGetLLMCredentialsQuery = useLazyGetLLMCredentialsQuery;
|
|
|
43963
44011
|
exports.useLazyGetLlmsQuery = useLazyGetLlmsQuery;
|
|
43964
44012
|
exports.useLazyGetMCPServerQuery = useLazyGetMCPServerQuery;
|
|
43965
44013
|
exports.useLazyGetMCPServersQuery = useLazyGetMCPServersQuery;
|
|
43966
|
-
exports.
|
|
43967
|
-
exports.
|
|
43968
|
-
exports.useLazyGetMemoryFiltersQuery = useLazyGetMemoryFiltersQuery;
|
|
44014
|
+
exports.useLazyGetMemoryCategoriesAdminQuery = useLazyGetMemoryCategoriesAdminQuery;
|
|
44015
|
+
exports.useLazyGetMemsearchConfigQuery = useLazyGetMemsearchConfigQuery;
|
|
43969
44016
|
exports.useLazyGetMentorCategoriesQuery = useLazyGetMentorCategoriesQuery;
|
|
43970
44017
|
exports.useLazyGetMentorCategoryGroupsQuery = useLazyGetMentorCategoryGroupsQuery;
|
|
43971
44018
|
exports.useLazyGetMentorDetailsQuery = useLazyGetMentorDetailsQuery;
|
|
44019
|
+
exports.useLazyGetMentorMemoriesQuery = useLazyGetMentorMemoriesQuery;
|
|
43972
44020
|
exports.useLazyGetMentorPublicSettingsQuery = useLazyGetMentorPublicSettingsQuery;
|
|
43973
44021
|
exports.useLazyGetMentorSettingsQuery = useLazyGetMentorSettingsQuery;
|
|
43974
44022
|
exports.useLazyGetMentorSummariesQuery = useLazyGetMentorSummariesQuery;
|
|
43975
|
-
exports.useLazyGetMentorUserSettingsQuery = useLazyGetMentorUserSettingsQuery;
|
|
43976
44023
|
exports.useLazyGetMentorsQuery = useLazyGetMentorsQuery;
|
|
43977
44024
|
exports.useLazyGetModerationLogsQuery = useLazyGetModerationLogsQuery;
|
|
43978
44025
|
exports.useLazyGetNodeTypesQuery = useLazyGetNodeTypesQuery;
|
|
@@ -44033,6 +44080,7 @@ exports.useLazyGetUserEnrolledProgramsQuery = useLazyGetUserEnrolledProgramsQuer
|
|
|
44033
44080
|
exports.useLazyGetUserExperienceQuery = useLazyGetUserExperienceQuery;
|
|
44034
44081
|
exports.useLazyGetUserInstitutionsQuery = useLazyGetUserInstitutionsQuery;
|
|
44035
44082
|
exports.useLazyGetUserInvitationsQuery = useLazyGetUserInvitationsQuery;
|
|
44083
|
+
exports.useLazyGetUserMemorySettingsQuery = useLazyGetUserMemorySettingsQuery;
|
|
44036
44084
|
exports.useLazyGetUserMetadataEdxQuery = useLazyGetUserMetadataEdxQuery;
|
|
44037
44085
|
exports.useLazyGetUserMetadataQuery = useLazyGetUserMetadataQuery;
|
|
44038
44086
|
exports.useLazyGetUserProjectDetailsQuery = useLazyGetUserProjectDetailsQuery;
|
|
@@ -44094,8 +44142,9 @@ exports.useUpdateDisclaimerMutation = useUpdateDisclaimerMutation;
|
|
|
44094
44142
|
exports.useUpdateExamAttemptMutation = useUpdateExamAttemptMutation;
|
|
44095
44143
|
exports.useUpdateIntegrationCredentialMutation = useUpdateIntegrationCredentialMutation;
|
|
44096
44144
|
exports.useUpdateMCPServerMutation = useUpdateMCPServerMutation;
|
|
44097
|
-
exports.
|
|
44098
|
-
exports.
|
|
44145
|
+
exports.useUpdateMemoryCategoryMutation = useUpdateMemoryCategoryMutation;
|
|
44146
|
+
exports.useUpdateMemsearchConfigMutation = useUpdateMemsearchConfigMutation;
|
|
44147
|
+
exports.useUpdateMentorMemoryMutation = useUpdateMentorMemoryMutation;
|
|
44099
44148
|
exports.useUpdateMessageFeedbackMutation = useUpdateMessageFeedbackMutation;
|
|
44100
44149
|
exports.useUpdatePlatformImageAssetMutation = useUpdatePlatformImageAssetMutation;
|
|
44101
44150
|
exports.useUpdatePlatformInfoMutation = useUpdatePlatformInfoMutation;
|
|
@@ -44114,6 +44163,7 @@ exports.useUpdateTenantMetadataMutation = useUpdateTenantMetadataMutation;
|
|
|
44114
44163
|
exports.useUpdateUserAccountMutation = useUpdateUserAccountMutation;
|
|
44115
44164
|
exports.useUpdateUserEducationMutation = useUpdateUserEducationMutation;
|
|
44116
44165
|
exports.useUpdateUserExperienceMutation = useUpdateUserExperienceMutation;
|
|
44166
|
+
exports.useUpdateUserMemorySettingsMutation = useUpdateUserMemorySettingsMutation;
|
|
44117
44167
|
exports.useUpdateUserMetadataEdxMutation = useUpdateUserMetadataEdxMutation;
|
|
44118
44168
|
exports.useUpdateUserMetadataMutation = useUpdateUserMetadataMutation;
|
|
44119
44169
|
exports.useUpdateUserOnboardingStatusMutation = useUpdateUserOnboardingStatusMutation;
|