@iblai/data-layer 1.2.2 → 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 +7945 -4420
- package/dist/index.esm.js +356 -134
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +396 -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/src/features/workflows/api-slice.d.ts +2454 -0
- package/dist/src/features/workflows/constants.d.ts +57 -0
- package/dist/src/features/workflows/types.d.ts +130 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/tests/features/memory/constants.test.d.ts +1 -0
- package/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +0 -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 = {
|
|
@@ -43202,6 +43247,183 @@ useGetUserProjectsQuery, useLazyGetUserProjectsQuery, useGetUserProjectDetailsQu
|
|
|
43202
43247
|
// Admin routes
|
|
43203
43248
|
useGetAdminProjectsQuery, useLazyGetAdminProjectsQuery, useGetAdminProjectDetailsQuery, useLazyGetAdminProjectDetailsQuery, useCreateAdminProjectMutation, useUpdateAdminProjectMutation, useDeleteAdminProjectMutation, } = projectsApiSlice;
|
|
43204
43249
|
|
|
43250
|
+
const WORKFLOWS_REDUCER_PATH = 'workflowsApiSlice';
|
|
43251
|
+
const WORKFLOWS_ENDPOINTS = {
|
|
43252
|
+
LIST: {
|
|
43253
|
+
service: exports.SERVICES.AXD,
|
|
43254
|
+
path: (org) => `/api/ai-mentor/orgs/${org}/workflows/`,
|
|
43255
|
+
},
|
|
43256
|
+
CREATE: {
|
|
43257
|
+
service: exports.SERVICES.AXD,
|
|
43258
|
+
path: (org) => `/api/ai-mentor/orgs/${org}/workflows/`,
|
|
43259
|
+
},
|
|
43260
|
+
RETRIEVE: {
|
|
43261
|
+
service: exports.SERVICES.AXD,
|
|
43262
|
+
path: (org, uniqueId) => `/api/ai-mentor/orgs/${org}/workflows/${uniqueId}/`,
|
|
43263
|
+
},
|
|
43264
|
+
UPDATE: {
|
|
43265
|
+
service: exports.SERVICES.AXD,
|
|
43266
|
+
path: (org, uniqueId) => `/api/ai-mentor/orgs/${org}/workflows/${uniqueId}/`,
|
|
43267
|
+
},
|
|
43268
|
+
DELETE: {
|
|
43269
|
+
service: exports.SERVICES.AXD,
|
|
43270
|
+
path: (org, uniqueId) => `/api/ai-mentor/orgs/${org}/workflows/${uniqueId}/`,
|
|
43271
|
+
},
|
|
43272
|
+
ACTIVATE: {
|
|
43273
|
+
service: exports.SERVICES.AXD,
|
|
43274
|
+
path: (org, uniqueId) => `/api/ai-mentor/orgs/${org}/workflows/${uniqueId}/activate/`,
|
|
43275
|
+
},
|
|
43276
|
+
DEACTIVATE: {
|
|
43277
|
+
service: exports.SERVICES.AXD,
|
|
43278
|
+
path: (org, uniqueId) => `/api/ai-mentor/orgs/${org}/workflows/${uniqueId}/deactivate/`,
|
|
43279
|
+
},
|
|
43280
|
+
PUBLISH: {
|
|
43281
|
+
service: exports.SERVICES.AXD,
|
|
43282
|
+
path: (org, uniqueId) => `/api/ai-mentor/orgs/${org}/workflows/${uniqueId}/publish/`,
|
|
43283
|
+
},
|
|
43284
|
+
UNPUBLISH: {
|
|
43285
|
+
service: exports.SERVICES.AXD,
|
|
43286
|
+
path: (org, uniqueId) => `/api/ai-mentor/orgs/${org}/workflows/${uniqueId}/unpublish/`,
|
|
43287
|
+
},
|
|
43288
|
+
VALIDATE: {
|
|
43289
|
+
service: exports.SERVICES.AXD,
|
|
43290
|
+
path: (org, uniqueId) => `/api/ai-mentor/orgs/${org}/workflows/${uniqueId}/validate/`,
|
|
43291
|
+
},
|
|
43292
|
+
CHAT: {
|
|
43293
|
+
service: exports.SERVICES.AXD,
|
|
43294
|
+
path: (org, uniqueId) => `/api/ai-mentor/orgs/${org}/workflows/${uniqueId}/chat/`,
|
|
43295
|
+
},
|
|
43296
|
+
NODE_TYPES: {
|
|
43297
|
+
service: exports.SERVICES.AXD,
|
|
43298
|
+
path: (org) => `/api/ai-mentor/orgs/${org}/workflows/node-types/`,
|
|
43299
|
+
},
|
|
43300
|
+
};
|
|
43301
|
+
const WORKFLOWS_QUERY_KEYS = {
|
|
43302
|
+
LIST: () => ['WORKFLOWS'],
|
|
43303
|
+
DETAILS: () => ['WORKFLOW_DETAILS'],
|
|
43304
|
+
NODE_TYPES: () => ['WORKFLOW_NODE_TYPES'],
|
|
43305
|
+
};
|
|
43306
|
+
|
|
43307
|
+
const workflowsApiSlice = react.createApi({
|
|
43308
|
+
reducerPath: WORKFLOWS_REDUCER_PATH,
|
|
43309
|
+
tagTypes: [
|
|
43310
|
+
...WORKFLOWS_QUERY_KEYS.LIST(),
|
|
43311
|
+
...WORKFLOWS_QUERY_KEYS.DETAILS(),
|
|
43312
|
+
...WORKFLOWS_QUERY_KEYS.NODE_TYPES(),
|
|
43313
|
+
],
|
|
43314
|
+
baseQuery: iblFetchBaseQuery,
|
|
43315
|
+
endpoints: (builder) => ({
|
|
43316
|
+
getWorkflows: builder.query({
|
|
43317
|
+
query: ({ org, params }) => ({
|
|
43318
|
+
url: WORKFLOWS_ENDPOINTS.LIST.path(org),
|
|
43319
|
+
params,
|
|
43320
|
+
service: WORKFLOWS_ENDPOINTS.LIST.service,
|
|
43321
|
+
}),
|
|
43322
|
+
providesTags: WORKFLOWS_QUERY_KEYS.LIST(),
|
|
43323
|
+
}),
|
|
43324
|
+
getWorkflow: builder.query({
|
|
43325
|
+
query: ({ org, uniqueId }) => ({
|
|
43326
|
+
url: WORKFLOWS_ENDPOINTS.RETRIEVE.path(org, uniqueId),
|
|
43327
|
+
service: WORKFLOWS_ENDPOINTS.RETRIEVE.service,
|
|
43328
|
+
}),
|
|
43329
|
+
providesTags: WORKFLOWS_QUERY_KEYS.DETAILS(),
|
|
43330
|
+
}),
|
|
43331
|
+
createWorkflow: builder.mutation({
|
|
43332
|
+
query: ({ org, data }) => ({
|
|
43333
|
+
url: WORKFLOWS_ENDPOINTS.CREATE.path(org),
|
|
43334
|
+
method: 'POST',
|
|
43335
|
+
body: data,
|
|
43336
|
+
service: WORKFLOWS_ENDPOINTS.CREATE.service,
|
|
43337
|
+
}),
|
|
43338
|
+
invalidatesTags: WORKFLOWS_QUERY_KEYS.LIST(),
|
|
43339
|
+
}),
|
|
43340
|
+
// Full update (PUT) - replaces entire workflow
|
|
43341
|
+
updateWorkflow: builder.mutation({
|
|
43342
|
+
query: ({ org, uniqueId, data }) => ({
|
|
43343
|
+
url: WORKFLOWS_ENDPOINTS.UPDATE.path(org, uniqueId),
|
|
43344
|
+
method: 'PUT',
|
|
43345
|
+
body: data,
|
|
43346
|
+
service: WORKFLOWS_ENDPOINTS.UPDATE.service,
|
|
43347
|
+
}),
|
|
43348
|
+
invalidatesTags: [...WORKFLOWS_QUERY_KEYS.LIST(), ...WORKFLOWS_QUERY_KEYS.DETAILS()],
|
|
43349
|
+
}),
|
|
43350
|
+
// Partial update (PATCH) - updates only provided fields
|
|
43351
|
+
patchWorkflow: builder.mutation({
|
|
43352
|
+
query: ({ org, uniqueId, data }) => ({
|
|
43353
|
+
url: WORKFLOWS_ENDPOINTS.UPDATE.path(org, uniqueId),
|
|
43354
|
+
method: 'PATCH',
|
|
43355
|
+
body: data,
|
|
43356
|
+
service: WORKFLOWS_ENDPOINTS.UPDATE.service,
|
|
43357
|
+
}),
|
|
43358
|
+
invalidatesTags: [...WORKFLOWS_QUERY_KEYS.LIST(), ...WORKFLOWS_QUERY_KEYS.DETAILS()],
|
|
43359
|
+
}),
|
|
43360
|
+
deleteWorkflow: builder.mutation({
|
|
43361
|
+
query: ({ org, uniqueId }) => ({
|
|
43362
|
+
url: WORKFLOWS_ENDPOINTS.DELETE.path(org, uniqueId),
|
|
43363
|
+
method: 'DELETE',
|
|
43364
|
+
service: WORKFLOWS_ENDPOINTS.DELETE.service,
|
|
43365
|
+
}),
|
|
43366
|
+
invalidatesTags: WORKFLOWS_QUERY_KEYS.LIST(),
|
|
43367
|
+
}),
|
|
43368
|
+
activateWorkflow: builder.mutation({
|
|
43369
|
+
query: ({ org, uniqueId }) => ({
|
|
43370
|
+
url: WORKFLOWS_ENDPOINTS.ACTIVATE.path(org, uniqueId),
|
|
43371
|
+
method: 'POST',
|
|
43372
|
+
service: WORKFLOWS_ENDPOINTS.ACTIVATE.service,
|
|
43373
|
+
}),
|
|
43374
|
+
invalidatesTags: [...WORKFLOWS_QUERY_KEYS.LIST(), ...WORKFLOWS_QUERY_KEYS.DETAILS()],
|
|
43375
|
+
}),
|
|
43376
|
+
deactivateWorkflow: builder.mutation({
|
|
43377
|
+
query: ({ org, uniqueId }) => ({
|
|
43378
|
+
url: WORKFLOWS_ENDPOINTS.DEACTIVATE.path(org, uniqueId),
|
|
43379
|
+
method: 'POST',
|
|
43380
|
+
service: WORKFLOWS_ENDPOINTS.DEACTIVATE.service,
|
|
43381
|
+
}),
|
|
43382
|
+
invalidatesTags: [...WORKFLOWS_QUERY_KEYS.LIST(), ...WORKFLOWS_QUERY_KEYS.DETAILS()],
|
|
43383
|
+
}),
|
|
43384
|
+
publishWorkflow: builder.mutation({
|
|
43385
|
+
query: ({ org, uniqueId, data }) => ({
|
|
43386
|
+
url: WORKFLOWS_ENDPOINTS.PUBLISH.path(org, uniqueId),
|
|
43387
|
+
method: 'POST',
|
|
43388
|
+
body: data,
|
|
43389
|
+
service: WORKFLOWS_ENDPOINTS.PUBLISH.service,
|
|
43390
|
+
}),
|
|
43391
|
+
invalidatesTags: [...WORKFLOWS_QUERY_KEYS.LIST(), ...WORKFLOWS_QUERY_KEYS.DETAILS()],
|
|
43392
|
+
}),
|
|
43393
|
+
unpublishWorkflow: builder.mutation({
|
|
43394
|
+
query: ({ org, uniqueId }) => ({
|
|
43395
|
+
url: WORKFLOWS_ENDPOINTS.UNPUBLISH.path(org, uniqueId),
|
|
43396
|
+
method: 'POST',
|
|
43397
|
+
service: WORKFLOWS_ENDPOINTS.UNPUBLISH.service,
|
|
43398
|
+
}),
|
|
43399
|
+
invalidatesTags: [...WORKFLOWS_QUERY_KEYS.LIST(), ...WORKFLOWS_QUERY_KEYS.DETAILS()],
|
|
43400
|
+
}),
|
|
43401
|
+
validateWorkflow: builder.mutation({
|
|
43402
|
+
query: ({ org, uniqueId }) => ({
|
|
43403
|
+
url: WORKFLOWS_ENDPOINTS.VALIDATE.path(org, uniqueId),
|
|
43404
|
+
method: 'POST',
|
|
43405
|
+
service: WORKFLOWS_ENDPOINTS.VALIDATE.service,
|
|
43406
|
+
}),
|
|
43407
|
+
}),
|
|
43408
|
+
chatWithWorkflow: builder.mutation({
|
|
43409
|
+
query: ({ org, uniqueId, message }) => ({
|
|
43410
|
+
url: WORKFLOWS_ENDPOINTS.CHAT.path(org, uniqueId),
|
|
43411
|
+
method: 'POST',
|
|
43412
|
+
body: { message },
|
|
43413
|
+
service: WORKFLOWS_ENDPOINTS.CHAT.service,
|
|
43414
|
+
}),
|
|
43415
|
+
}),
|
|
43416
|
+
getNodeTypes: builder.query({
|
|
43417
|
+
query: ({ org }) => ({
|
|
43418
|
+
url: WORKFLOWS_ENDPOINTS.NODE_TYPES.path(org),
|
|
43419
|
+
service: WORKFLOWS_ENDPOINTS.NODE_TYPES.service,
|
|
43420
|
+
}),
|
|
43421
|
+
providesTags: WORKFLOWS_QUERY_KEYS.NODE_TYPES(),
|
|
43422
|
+
}),
|
|
43423
|
+
}),
|
|
43424
|
+
});
|
|
43425
|
+
const { useGetWorkflowsQuery, useLazyGetWorkflowsQuery, useGetWorkflowQuery, useLazyGetWorkflowQuery, useCreateWorkflowMutation, useUpdateWorkflowMutation, usePatchWorkflowMutation, useDeleteWorkflowMutation, useActivateWorkflowMutation, useDeactivateWorkflowMutation, usePublishWorkflowMutation, useUnpublishWorkflowMutation, useValidateWorkflowMutation, useChatWithWorkflowMutation, useGetNodeTypesQuery, useLazyGetNodeTypesQuery, } = workflowsApiSlice;
|
|
43426
|
+
|
|
43205
43427
|
const mentorReducer = {
|
|
43206
43428
|
[mentorApiSlice.reducerPath]: mentorApiSlice.reducer,
|
|
43207
43429
|
[tenantApiSlice.reducerPath]: tenantApiSlice.reducer,
|
|
@@ -43391,9 +43613,9 @@ exports.LOGO_ENDPOINTS = LOGO_ENDPOINTS;
|
|
|
43391
43613
|
exports.MCP_ENDPOINTS = MCP_ENDPOINTS;
|
|
43392
43614
|
exports.MCP_REDUCER_PATH = MCP_REDUCER_PATH;
|
|
43393
43615
|
exports.MCP_TAG_TYPES = MCP_TAG_TYPES;
|
|
43394
|
-
exports.MEMORY_ENDPOINTS = MEMORY_ENDPOINTS;
|
|
43395
43616
|
exports.MEMORY_QUERY_KEYS = MEMORY_QUERY_KEYS;
|
|
43396
43617
|
exports.MEMORY_REDUCER_PATH = MEMORY_REDUCER_PATH;
|
|
43618
|
+
exports.MEMSEARCH_ENDPOINTS = MEMSEARCH_ENDPOINTS;
|
|
43397
43619
|
exports.MENTORS_QUERY_KEYS = MENTORS_QUERY_KEYS;
|
|
43398
43620
|
exports.MENTORS_REDUCER_PATH = MENTORS_REDUCER_PATH;
|
|
43399
43621
|
exports.MENTOR_CUSTOM_ENDPOINTS = MENTOR_CUSTOM_ENDPOINTS;
|
|
@@ -43417,6 +43639,9 @@ exports.TENANT_LOGO_ENDPOINTS = TENANT_LOGO_ENDPOINTS;
|
|
|
43417
43639
|
exports.TENANT_LOGO_QUERY_KEYS = TENANT_LOGO_QUERY_KEYS;
|
|
43418
43640
|
exports.TENANT_LOGO_REDUCER_PATH = TENANT_LOGO_REDUCER_PATH;
|
|
43419
43641
|
exports.URL_PATTERNS = URL_PATTERNS;
|
|
43642
|
+
exports.WORKFLOWS_ENDPOINTS = WORKFLOWS_ENDPOINTS;
|
|
43643
|
+
exports.WORKFLOWS_QUERY_KEYS = WORKFLOWS_QUERY_KEYS;
|
|
43644
|
+
exports.WORKFLOWS_REDUCER_PATH = WORKFLOWS_REDUCER_PATH;
|
|
43420
43645
|
exports.analyticsApiSlice = analyticsApiSlice;
|
|
43421
43646
|
exports.analyticsCustomSlice = analyticsCustomSlice;
|
|
43422
43647
|
exports.apiKeysApiReducer = apiKeysApiReducer;
|
|
@@ -43480,10 +43705,12 @@ exports.tenantApiSlice = tenantApiSlice;
|
|
|
43480
43705
|
exports.tenantLogoApiSlice = tenantLogoApiSlice;
|
|
43481
43706
|
exports.toolsApiSlice = toolsApiSlice;
|
|
43482
43707
|
exports.trainingDocumentsApiSlice = trainingDocumentsApiSlice;
|
|
43708
|
+
exports.useActivateWorkflowMutation = useActivateWorkflowMutation;
|
|
43483
43709
|
exports.useAddPinnedMessageMutation = useAddPinnedMessageMutation;
|
|
43484
43710
|
exports.useAddTrainingDocumentMutation = useAddTrainingDocumentMutation;
|
|
43485
43711
|
exports.useAgreeToDisclaimerMutation = useAgreeToDisclaimerMutation;
|
|
43486
43712
|
exports.useAudioToTextMutation = useAudioToTextMutation;
|
|
43713
|
+
exports.useChatWithWorkflowMutation = useChatWithWorkflowMutation;
|
|
43487
43714
|
exports.useConnectedServicesCallbackQuery = useConnectedServicesCallbackQuery;
|
|
43488
43715
|
exports.useCreateAdminProjectMutation = useCreateAdminProjectMutation;
|
|
43489
43716
|
exports.useCreateApiKeyMutation = useCreateApiKeyMutation;
|
|
@@ -43504,11 +43731,13 @@ exports.useCreateCredentialMutation = useCreateCredentialMutation;
|
|
|
43504
43731
|
exports.useCreateCustomDomainMutation = useCreateCustomDomainMutation;
|
|
43505
43732
|
exports.useCreateDisclaimerMutation = useCreateDisclaimerMutation;
|
|
43506
43733
|
exports.useCreateExternalMappingMutation = useCreateExternalMappingMutation;
|
|
43734
|
+
exports.useCreateGlobalMemoryMutation = useCreateGlobalMemoryMutation;
|
|
43507
43735
|
exports.useCreateIntegrationCredentialMutation = useCreateIntegrationCredentialMutation;
|
|
43508
43736
|
exports.useCreateLLMCredentialMutation = useCreateLLMCredentialMutation;
|
|
43509
43737
|
exports.useCreateMCPServerConnectionMutation = useCreateMCPServerConnectionMutation;
|
|
43510
43738
|
exports.useCreateMCPServerMutation = useCreateMCPServerMutation;
|
|
43511
|
-
exports.
|
|
43739
|
+
exports.useCreateMemoryCategoryMutation = useCreateMemoryCategoryMutation;
|
|
43740
|
+
exports.useCreateMentorMemoryMutation = useCreateMentorMemoryMutation;
|
|
43512
43741
|
exports.useCreateMentorMutation = useCreateMentorMutation;
|
|
43513
43742
|
exports.useCreateNotificationPreviewMutation = useCreateNotificationPreviewMutation;
|
|
43514
43743
|
exports.useCreateOrUpdateUserDesiredSkillMutation = useCreateOrUpdateUserDesiredSkillMutation;
|
|
@@ -43536,6 +43765,8 @@ exports.useCreateUserInstitutionMutation = useCreateUserInstitutionMutation;
|
|
|
43536
43765
|
exports.useCreateUserInvitationMutation = useCreateUserInvitationMutation;
|
|
43537
43766
|
exports.useCreateUserProjectMutation = useCreateUserProjectMutation;
|
|
43538
43767
|
exports.useCreateUserResumeMutation = useCreateUserResumeMutation;
|
|
43768
|
+
exports.useCreateWorkflowMutation = useCreateWorkflowMutation;
|
|
43769
|
+
exports.useDeactivateWorkflowMutation = useDeactivateWorkflowMutation;
|
|
43539
43770
|
exports.useDeleteAdminProjectMutation = useDeleteAdminProjectMutation;
|
|
43540
43771
|
exports.useDeleteApiKeyMutation = useDeleteApiKeyMutation;
|
|
43541
43772
|
exports.useDeleteCourseCredentialMutation = useDeleteCourseCredentialMutation;
|
|
@@ -43543,10 +43774,11 @@ exports.useDeleteCredentialMutation = useDeleteCredentialMutation;
|
|
|
43543
43774
|
exports.useDeleteCustomDomainMutation = useDeleteCustomDomainMutation;
|
|
43544
43775
|
exports.useDeleteDisclaimerMutation = useDeleteDisclaimerMutation;
|
|
43545
43776
|
exports.useDeleteExternalMappingMutation = useDeleteExternalMappingMutation;
|
|
43777
|
+
exports.useDeleteGlobalMemoryMutation = useDeleteGlobalMemoryMutation;
|
|
43546
43778
|
exports.useDeleteIntegrationCredentialMutation = useDeleteIntegrationCredentialMutation;
|
|
43547
43779
|
exports.useDeleteMCPServerMutation = useDeleteMCPServerMutation;
|
|
43548
|
-
exports.
|
|
43549
|
-
exports.
|
|
43780
|
+
exports.useDeleteMemoryCategoryMutation = useDeleteMemoryCategoryMutation;
|
|
43781
|
+
exports.useDeleteMentorMemoryMutation = useDeleteMentorMemoryMutation;
|
|
43550
43782
|
exports.useDeleteMentorMutation = useDeleteMentorMutation;
|
|
43551
43783
|
exports.useDeleteMessageMutation = useDeleteMessageMutation;
|
|
43552
43784
|
exports.useDeleteModerationLogMutation = useDeleteModerationLogMutation;
|
|
@@ -43563,6 +43795,7 @@ exports.useDeleteTrainingDocumentMutation = useDeleteTrainingDocumentMutation;
|
|
|
43563
43795
|
exports.useDeleteUserEducationMutation = useDeleteUserEducationMutation;
|
|
43564
43796
|
exports.useDeleteUserExperienceMutation = useDeleteUserExperienceMutation;
|
|
43565
43797
|
exports.useDeleteUserProjectMutation = useDeleteUserProjectMutation;
|
|
43798
|
+
exports.useDeleteWorkflowMutation = useDeleteWorkflowMutation;
|
|
43566
43799
|
exports.useDisconnectServiceMutation = useDisconnectServiceMutation;
|
|
43567
43800
|
exports.useEditMentorAndRefreshListMutation = useEditMentorAndRefreshListMutation;
|
|
43568
43801
|
exports.useEditMentorJsonMutation = useEditMentorJsonMutation;
|
|
@@ -43610,9 +43843,9 @@ exports.useGetEnrollmentCourseSearchQuery = useGetEnrollmentCourseSearchQuery;
|
|
|
43610
43843
|
exports.useGetExamInfoQuery = useGetExamInfoQuery;
|
|
43611
43844
|
exports.useGetExternalMappingQuery = useGetExternalMappingQuery;
|
|
43612
43845
|
exports.useGetFileUploadUrlMutation = useGetFileUploadUrlMutation;
|
|
43613
|
-
exports.useGetFilteredMemoriesQuery = useGetFilteredMemoriesQuery;
|
|
43614
43846
|
exports.useGetFinancialStatsQuery = useGetFinancialStatsQuery;
|
|
43615
43847
|
exports.useGetFreeUsageCountQuery = useGetFreeUsageCountQuery;
|
|
43848
|
+
exports.useGetGlobalMemoriesQuery = useGetGlobalMemoriesQuery;
|
|
43616
43849
|
exports.useGetGuidedPromptsQuery = useGetGuidedPromptsQuery;
|
|
43617
43850
|
exports.useGetIntegrationCredentialsQuery = useGetIntegrationCredentialsQuery;
|
|
43618
43851
|
exports.useGetIntegrationCredentialsSchemaQuery = useGetIntegrationCredentialsSchemaQuery;
|
|
@@ -43624,20 +43857,20 @@ exports.useGetMCPServerQuery = useGetMCPServerQuery;
|
|
|
43624
43857
|
exports.useGetMCPServersQuery = useGetMCPServersQuery;
|
|
43625
43858
|
exports.useGetMaskedIntegrationCredentialsQuery = useGetMaskedIntegrationCredentialsQuery;
|
|
43626
43859
|
exports.useGetMaskedLLMCredentialsQuery = useGetMaskedLLMCredentialsQuery;
|
|
43627
|
-
exports.
|
|
43628
|
-
exports.
|
|
43629
|
-
exports.useGetMemoryFiltersQuery = useGetMemoryFiltersQuery;
|
|
43860
|
+
exports.useGetMemoryCategoriesAdminQuery = useGetMemoryCategoriesAdminQuery;
|
|
43861
|
+
exports.useGetMemsearchConfigQuery = useGetMemsearchConfigQuery;
|
|
43630
43862
|
exports.useGetMentorCategoriesQuery = useGetMentorCategoriesQuery;
|
|
43631
43863
|
exports.useGetMentorCategoryGroupsQuery = useGetMentorCategoryGroupsQuery;
|
|
43632
43864
|
exports.useGetMentorDetailsQuery = useGetMentorDetailsQuery;
|
|
43865
|
+
exports.useGetMentorMemoriesQuery = useGetMentorMemoriesQuery;
|
|
43633
43866
|
exports.useGetMentorPublicSettingsQuery = useGetMentorPublicSettingsQuery;
|
|
43634
43867
|
exports.useGetMentorSettingsQuery = useGetMentorSettingsQuery;
|
|
43635
43868
|
exports.useGetMentorSummariesQuery = useGetMentorSummariesQuery;
|
|
43636
|
-
exports.useGetMentorUserSettingsQuery = useGetMentorUserSettingsQuery;
|
|
43637
43869
|
exports.useGetMentorsQuery = useGetMentorsQuery;
|
|
43638
43870
|
exports.useGetMfeContextQuery = useGetMfeContextQuery;
|
|
43639
43871
|
exports.useGetModerationLogsQuery = useGetModerationLogsQuery;
|
|
43640
43872
|
exports.useGetMostDiscussedTopicsQuery = useGetMostDiscussedTopicsQuery;
|
|
43873
|
+
exports.useGetNodeTypesQuery = useGetNodeTypesQuery;
|
|
43641
43874
|
exports.useGetNotificationContextQuery = useGetNotificationContextQuery;
|
|
43642
43875
|
exports.useGetNotificationsCountQuery = useGetNotificationsCountQuery;
|
|
43643
43876
|
exports.useGetNotificationsQuery = useGetNotificationsQuery;
|
|
@@ -43721,6 +43954,7 @@ exports.useGetUserEnrolledProgramsQuery = useGetUserEnrolledProgramsQuery;
|
|
|
43721
43954
|
exports.useGetUserExperienceQuery = useGetUserExperienceQuery;
|
|
43722
43955
|
exports.useGetUserInstitutionsQuery = useGetUserInstitutionsQuery;
|
|
43723
43956
|
exports.useGetUserInvitationsQuery = useGetUserInvitationsQuery;
|
|
43957
|
+
exports.useGetUserMemorySettingsQuery = useGetUserMemorySettingsQuery;
|
|
43724
43958
|
exports.useGetUserMetadataEdxQuery = useGetUserMetadataEdxQuery;
|
|
43725
43959
|
exports.useGetUserMetadataQuery = useGetUserMetadataQuery;
|
|
43726
43960
|
exports.useGetUserMetricsPieChartQuery = useGetUserMetricsPieChartQuery;
|
|
@@ -43734,6 +43968,8 @@ exports.useGetUserTenantsQuery = useGetUserTenantsQuery;
|
|
|
43734
43968
|
exports.useGetUsersAsAssertionsQuery = useGetUsersAsAssertionsQuery;
|
|
43735
43969
|
exports.useGetUsersStatsQuery = useGetUsersStatsQuery;
|
|
43736
43970
|
exports.useGetVectorDocumentsQuery = useGetVectorDocumentsQuery;
|
|
43971
|
+
exports.useGetWorkflowQuery = useGetWorkflowQuery;
|
|
43972
|
+
exports.useGetWorkflowsQuery = useGetWorkflowsQuery;
|
|
43737
43973
|
exports.useInviteUserMutation = useInviteUserMutation;
|
|
43738
43974
|
exports.useJoinTenantMutation = useJoinTenantMutation;
|
|
43739
43975
|
exports.useLazyConnectedServicesCallbackQuery = useLazyConnectedServicesCallbackQuery;
|
|
@@ -43765,8 +44001,8 @@ exports.useLazyGetDownloadReportFromURLQuery = useLazyGetDownloadReportFromURLQu
|
|
|
43765
44001
|
exports.useLazyGetEnrollmentCourseSearchQuery = useLazyGetEnrollmentCourseSearchQuery;
|
|
43766
44002
|
exports.useLazyGetExamInfoQuery = useLazyGetExamInfoQuery;
|
|
43767
44003
|
exports.useLazyGetExternalMappingQuery = useLazyGetExternalMappingQuery;
|
|
43768
|
-
exports.useLazyGetFilteredMemoriesQuery = useLazyGetFilteredMemoriesQuery;
|
|
43769
44004
|
exports.useLazyGetFreeUsageCountQuery = useLazyGetFreeUsageCountQuery;
|
|
44005
|
+
exports.useLazyGetGlobalMemoriesQuery = useLazyGetGlobalMemoriesQuery;
|
|
43770
44006
|
exports.useLazyGetGuidedPromptsQuery = useLazyGetGuidedPromptsQuery;
|
|
43771
44007
|
exports.useLazyGetIntegrationCredentialsQuery = useLazyGetIntegrationCredentialsQuery;
|
|
43772
44008
|
exports.useLazyGetIntegrationCredentialsSchemaQuery = useLazyGetIntegrationCredentialsSchemaQuery;
|
|
@@ -43775,18 +44011,18 @@ exports.useLazyGetLLMCredentialsQuery = useLazyGetLLMCredentialsQuery;
|
|
|
43775
44011
|
exports.useLazyGetLlmsQuery = useLazyGetLlmsQuery;
|
|
43776
44012
|
exports.useLazyGetMCPServerQuery = useLazyGetMCPServerQuery;
|
|
43777
44013
|
exports.useLazyGetMCPServersQuery = useLazyGetMCPServersQuery;
|
|
43778
|
-
exports.
|
|
43779
|
-
exports.
|
|
43780
|
-
exports.useLazyGetMemoryFiltersQuery = useLazyGetMemoryFiltersQuery;
|
|
44014
|
+
exports.useLazyGetMemoryCategoriesAdminQuery = useLazyGetMemoryCategoriesAdminQuery;
|
|
44015
|
+
exports.useLazyGetMemsearchConfigQuery = useLazyGetMemsearchConfigQuery;
|
|
43781
44016
|
exports.useLazyGetMentorCategoriesQuery = useLazyGetMentorCategoriesQuery;
|
|
43782
44017
|
exports.useLazyGetMentorCategoryGroupsQuery = useLazyGetMentorCategoryGroupsQuery;
|
|
43783
44018
|
exports.useLazyGetMentorDetailsQuery = useLazyGetMentorDetailsQuery;
|
|
44019
|
+
exports.useLazyGetMentorMemoriesQuery = useLazyGetMentorMemoriesQuery;
|
|
43784
44020
|
exports.useLazyGetMentorPublicSettingsQuery = useLazyGetMentorPublicSettingsQuery;
|
|
43785
44021
|
exports.useLazyGetMentorSettingsQuery = useLazyGetMentorSettingsQuery;
|
|
43786
44022
|
exports.useLazyGetMentorSummariesQuery = useLazyGetMentorSummariesQuery;
|
|
43787
|
-
exports.useLazyGetMentorUserSettingsQuery = useLazyGetMentorUserSettingsQuery;
|
|
43788
44023
|
exports.useLazyGetMentorsQuery = useLazyGetMentorsQuery;
|
|
43789
44024
|
exports.useLazyGetModerationLogsQuery = useLazyGetModerationLogsQuery;
|
|
44025
|
+
exports.useLazyGetNodeTypesQuery = useLazyGetNodeTypesQuery;
|
|
43790
44026
|
exports.useLazyGetNotificationContextQuery = useLazyGetNotificationContextQuery;
|
|
43791
44027
|
exports.useLazyGetNotificationsCountQuery = useLazyGetNotificationsCountQuery;
|
|
43792
44028
|
exports.useLazyGetNotificationsQuery = useLazyGetNotificationsQuery;
|
|
@@ -43844,6 +44080,7 @@ exports.useLazyGetUserEnrolledProgramsQuery = useLazyGetUserEnrolledProgramsQuer
|
|
|
43844
44080
|
exports.useLazyGetUserExperienceQuery = useLazyGetUserExperienceQuery;
|
|
43845
44081
|
exports.useLazyGetUserInstitutionsQuery = useLazyGetUserInstitutionsQuery;
|
|
43846
44082
|
exports.useLazyGetUserInvitationsQuery = useLazyGetUserInvitationsQuery;
|
|
44083
|
+
exports.useLazyGetUserMemorySettingsQuery = useLazyGetUserMemorySettingsQuery;
|
|
43847
44084
|
exports.useLazyGetUserMetadataEdxQuery = useLazyGetUserMetadataEdxQuery;
|
|
43848
44085
|
exports.useLazyGetUserMetadataQuery = useLazyGetUserMetadataQuery;
|
|
43849
44086
|
exports.useLazyGetUserProjectDetailsQuery = useLazyGetUserProjectDetailsQuery;
|
|
@@ -43854,6 +44091,8 @@ exports.useLazyGetUserSkillsPointsQuery = useLazyGetUserSkillsPointsQuery;
|
|
|
43854
44091
|
exports.useLazyGetUserTenantsQuery = useLazyGetUserTenantsQuery;
|
|
43855
44092
|
exports.useLazyGetUsersAsAssertionsQuery = useLazyGetUsersAsAssertionsQuery;
|
|
43856
44093
|
exports.useLazyGetVectorDocumentsQuery = useLazyGetVectorDocumentsQuery;
|
|
44094
|
+
exports.useLazyGetWorkflowQuery = useLazyGetWorkflowQuery;
|
|
44095
|
+
exports.useLazyGetWorkflowsQuery = useLazyGetWorkflowsQuery;
|
|
43857
44096
|
exports.useLazyListArtifactVersionsQuery = useLazyListArtifactVersionsQuery;
|
|
43858
44097
|
exports.useLazyListArtifactsQuery = useLazyListArtifactsQuery;
|
|
43859
44098
|
exports.useLazyPlatformUserGroupsQuery = useLazyPlatformUserGroupsQuery;
|
|
@@ -43869,9 +44108,11 @@ exports.useOauthFindMutation = useOauthFindMutation;
|
|
|
43869
44108
|
exports.usePartialUpdateMCPServerMutation = usePartialUpdateMCPServerMutation;
|
|
43870
44109
|
exports.usePartialUpdateRbacRoleMutation = usePartialUpdateRbacRoleMutation;
|
|
43871
44110
|
exports.usePatchMCPServerConnectionMutation = usePatchMCPServerConnectionMutation;
|
|
44111
|
+
exports.usePatchWorkflowMutation = usePatchWorkflowMutation;
|
|
43872
44112
|
exports.usePlatformInvitationsQuery = usePlatformInvitationsQuery;
|
|
43873
44113
|
exports.usePlatformUserGroupsQuery = usePlatformUserGroupsQuery;
|
|
43874
44114
|
exports.usePlatformUsersQuery = usePlatformUsersQuery;
|
|
44115
|
+
exports.usePublishWorkflowMutation = usePublishWorkflowMutation;
|
|
43875
44116
|
exports.useRemoveProfileImageMutation = useRemoveProfileImageMutation;
|
|
43876
44117
|
exports.useRenewSubscriptionMutation = useRenewSubscriptionMutation;
|
|
43877
44118
|
exports.useResetPasswordMutation = useResetPasswordMutation;
|
|
@@ -43889,6 +44130,7 @@ exports.useTimeTrackingMutation = useTimeTrackingMutation;
|
|
|
43889
44130
|
exports.useToggleTemplateMutation = useToggleTemplateMutation;
|
|
43890
44131
|
exports.useTriggerAutoRechargeMutation = useTriggerAutoRechargeMutation;
|
|
43891
44132
|
exports.useUnPinMessageMutation = useUnPinMessageMutation;
|
|
44133
|
+
exports.useUnpublishWorkflowMutation = useUnpublishWorkflowMutation;
|
|
43892
44134
|
exports.useUnstarMentorMutation = useUnstarMentorMutation;
|
|
43893
44135
|
exports.useUpdateAdminProjectMutation = useUpdateAdminProjectMutation;
|
|
43894
44136
|
exports.useUpdateArtifactMutation = useUpdateArtifactMutation;
|
|
@@ -43900,8 +44142,9 @@ exports.useUpdateDisclaimerMutation = useUpdateDisclaimerMutation;
|
|
|
43900
44142
|
exports.useUpdateExamAttemptMutation = useUpdateExamAttemptMutation;
|
|
43901
44143
|
exports.useUpdateIntegrationCredentialMutation = useUpdateIntegrationCredentialMutation;
|
|
43902
44144
|
exports.useUpdateMCPServerMutation = useUpdateMCPServerMutation;
|
|
43903
|
-
exports.
|
|
43904
|
-
exports.
|
|
44145
|
+
exports.useUpdateMemoryCategoryMutation = useUpdateMemoryCategoryMutation;
|
|
44146
|
+
exports.useUpdateMemsearchConfigMutation = useUpdateMemsearchConfigMutation;
|
|
44147
|
+
exports.useUpdateMentorMemoryMutation = useUpdateMentorMemoryMutation;
|
|
43905
44148
|
exports.useUpdateMessageFeedbackMutation = useUpdateMessageFeedbackMutation;
|
|
43906
44149
|
exports.useUpdatePlatformImageAssetMutation = useUpdatePlatformImageAssetMutation;
|
|
43907
44150
|
exports.useUpdatePlatformInfoMutation = useUpdatePlatformInfoMutation;
|
|
@@ -43920,6 +44163,7 @@ exports.useUpdateTenantMetadataMutation = useUpdateTenantMetadataMutation;
|
|
|
43920
44163
|
exports.useUpdateUserAccountMutation = useUpdateUserAccountMutation;
|
|
43921
44164
|
exports.useUpdateUserEducationMutation = useUpdateUserEducationMutation;
|
|
43922
44165
|
exports.useUpdateUserExperienceMutation = useUpdateUserExperienceMutation;
|
|
44166
|
+
exports.useUpdateUserMemorySettingsMutation = useUpdateUserMemorySettingsMutation;
|
|
43923
44167
|
exports.useUpdateUserMetadataEdxMutation = useUpdateUserMetadataEdxMutation;
|
|
43924
44168
|
exports.useUpdateUserMetadataMutation = useUpdateUserMetadataMutation;
|
|
43925
44169
|
exports.useUpdateUserOnboardingStatusMutation = useUpdateUserOnboardingStatusMutation;
|
|
@@ -43927,11 +44171,14 @@ exports.useUpdateUserProjectMutation = useUpdateUserProjectMutation;
|
|
|
43927
44171
|
exports.useUpdateUserRoleMutation = useUpdateUserRoleMutation;
|
|
43928
44172
|
exports.useUpdateUserStatusMutation = useUpdateUserStatusMutation;
|
|
43929
44173
|
exports.useUpdateUserTrialStatusMutation = useUpdateUserTrialStatusMutation;
|
|
44174
|
+
exports.useUpdateWorkflowMutation = useUpdateWorkflowMutation;
|
|
43930
44175
|
exports.useUploadCredentialImageMutation = useUploadCredentialImageMutation;
|
|
43931
44176
|
exports.useUploadDarkLogoMutation = useUploadDarkLogoMutation;
|
|
43932
44177
|
exports.useUploadLightLogoMutation = useUploadLightLogoMutation;
|
|
43933
44178
|
exports.useUploadProfileImageMutation = useUploadProfileImageMutation;
|
|
43934
44179
|
exports.useUsersGradesPassedQuery = useUsersGradesPassedQuery;
|
|
44180
|
+
exports.useValidateWorkflowMutation = useValidateWorkflowMutation;
|
|
43935
44181
|
exports.userApiSlice = userApiSlice;
|
|
43936
44182
|
exports.userInvitationsApiSlice = userInvitationsApiSlice;
|
|
44183
|
+
exports.workflowsApiSlice = workflowsApiSlice;
|
|
43937
44184
|
//# sourceMappingURL=index.js.map
|