@iblai/data-layer 0.2.0 → 0.3.1
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 +41476 -15632
- package/dist/index.esm.js +6764 -1863
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6947 -1859
- package/dist/index.js.map +1 -1
- package/dist/package.json +19 -17
- package/dist/src/__tests__/constants.test.d.ts +1 -0
- package/dist/src/core/index.d.ts +2 -1
- package/dist/src/features/analytics/api-slice.d.ts +1879 -122
- package/dist/src/features/analytics/constants.d.ts +56 -1
- package/dist/src/features/analytics/types.d.ts +327 -1
- package/dist/src/features/api-keys/api-slice.d.ts +25 -36
- package/dist/src/features/apps/api-slice.d.ts +25 -36
- package/dist/src/features/auth/api-slice.d.ts +504 -2
- package/dist/src/features/auth/constants.d.ts +13 -1
- package/dist/src/features/auth/types.d.ts +20 -0
- package/dist/src/features/billing/api-slice.d.ts +5 -5
- package/dist/src/features/career/api-slice.d.ts +2345 -180
- package/dist/src/features/catalog/api-slice.d.ts +2260 -244
- package/dist/src/features/chat/api-slice.d.ts +68 -68
- package/dist/src/features/chat-files/api-slice.d.ts +185 -0
- package/dist/src/features/chat-files/types.d.ts +32 -0
- package/dist/src/features/chat-history/api-slice.d.ts +60 -60
- package/dist/src/features/core/api-slice.d.ts +3793 -26
- package/dist/src/features/core/constants.d.ts +43 -0
- package/dist/src/features/core/custom-api-slice.d.ts +1458 -0
- package/dist/src/features/core/custom-public-image-asset-api-slice.d.ts +333 -0
- package/dist/src/features/core/types.d.ts +60 -0
- package/dist/src/features/credentials/api-slice.d.ts +766 -105
- package/dist/src/features/custom-domain/api-slice.d.ts +602 -0
- package/dist/src/features/custom-domain/constants.d.ts +20 -0
- package/dist/src/features/custom-domain/types.d.ts +46 -0
- package/dist/src/features/datasets/api-slice.d.ts +22 -22
- package/dist/src/features/disclaimers/api-slice.d.ts +912 -0
- package/dist/src/features/disclaimers/constants.d.ts +27 -0
- package/dist/src/features/disclaimers/index.d.ts +3 -0
- package/dist/src/features/disclaimers/types.d.ts +67 -0
- package/dist/src/features/edx-proctoring/api-slice.d.ts +590 -0
- package/dist/src/features/edx-proctoring/constants.d.ts +15 -0
- package/dist/src/features/edx-proctoring/types.d.ts +61 -0
- package/dist/src/features/llms/api-slice.d.ts +20 -20
- package/dist/src/features/memory/api-slice.d.ts +1437 -530
- package/dist/src/features/memory/constants.d.ts +50 -0
- package/dist/src/features/memory/index.d.ts +3 -0
- package/dist/src/features/memory/types.d.ts +122 -0
- package/dist/src/features/mentor/api-slice.d.ts +1738 -240
- package/dist/src/features/mentor/constants.d.ts +8 -0
- package/dist/src/features/mentor/custom-api-slice.d.ts +529 -1
- package/dist/src/features/mentor/types.d.ts +39 -0
- package/dist/src/features/mentor-categories/api-slice.d.ts +416 -20
- package/dist/src/features/notifications/api-slice.d.ts +696 -42
- package/dist/src/features/notifications/constants.d.ts +26 -0
- package/dist/src/features/notifications/custom-api-slice.d.ts +996 -0
- package/dist/src/features/notifications/types.d.ts +69 -0
- package/dist/src/features/per-learner/api-slice.d.ts +58 -58
- package/dist/src/features/platform/api-slice.d.ts +321 -167
- package/dist/src/features/platform/constants.d.ts +17 -0
- package/dist/src/features/platform/custom-api-slice.d.ts +493 -0
- package/dist/src/features/platform/types.d.ts +48 -0
- package/dist/src/features/projects/api-slice.d.ts +2026 -0
- package/dist/src/features/projects/constants.d.ts +51 -0
- package/dist/src/features/projects/types.d.ts +79 -0
- package/dist/src/features/prompts/api-slice.d.ts +105 -83
- package/dist/src/features/reports/api-slice.d.ts +814 -0
- package/dist/src/features/search/ai-search-api-slice.d.ts +1015 -0
- package/dist/src/features/search/api-slice.d.ts +39 -39
- package/dist/src/features/search/constants.d.ts +31 -0
- package/dist/src/features/search/types.d.ts +89 -0
- package/dist/src/features/sessions/api-slice.d.ts +24 -24
- package/dist/src/features/skills/api-slice.d.ts +77 -77
- package/dist/src/features/stripe/api-slice.d.ts +201 -40
- package/dist/src/features/stripe/constants.d.ts +5 -1
- package/dist/src/features/stripe/types.d.ts +10 -0
- package/dist/src/features/tenant/api-slice.d.ts +43 -52
- package/dist/src/features/tenant/types.d.ts +1 -0
- package/dist/src/features/tools/api-slice.d.ts +64 -20
- package/dist/src/features/training-documents/api-slice.d.ts +534 -27
- package/dist/src/features/user/api-slice.d.ts +124 -124
- package/dist/src/features/user/constants.d.ts +3 -1
- package/dist/src/features/user-invitations/api-slice.d.ts +22 -22
- package/dist/src/features/utils.d.ts +8 -5
- package/dist/src/index.d.ts +78 -47
- package/dist/src/reducers/skills.d.ts +2 -1128
- package/dist/src/services/StorageService.d.ts +1 -1
- package/dist/tests/setupTests.d.ts +1 -1
- package/package.json +16 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const searchApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1
|
+
export declare const searchApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, {
|
|
2
2
|
getPersonnalizedSearch: import("@reduxjs/toolkit/query").QueryDefinition<[{
|
|
3
3
|
username: string;
|
|
4
4
|
allowSkillSearch?: boolean;
|
|
@@ -33,7 +33,7 @@ export declare const searchApiSlice: import("@reduxjs/toolkit/query").Api<import
|
|
|
33
33
|
tenant?: string;
|
|
34
34
|
topics?: Array<string>;
|
|
35
35
|
updateFacet?: string;
|
|
36
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
36
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>;
|
|
37
37
|
getCatalogSearch: import("@reduxjs/toolkit/query").QueryDefinition<[{
|
|
38
38
|
allowSkillSearch?: boolean;
|
|
39
39
|
alphabetical?: boolean;
|
|
@@ -64,7 +64,7 @@ export declare const searchApiSlice: import("@reduxjs/toolkit/query").Api<import
|
|
|
64
64
|
tenant?: string;
|
|
65
65
|
topics?: Array<string>;
|
|
66
66
|
updateFacet?: string;
|
|
67
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
67
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>;
|
|
68
68
|
}, "searchApiSlice", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
69
69
|
export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
70
70
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
@@ -118,7 +118,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
118
118
|
tenant?: string;
|
|
119
119
|
topics?: Array<string>;
|
|
120
120
|
updateFacet?: string;
|
|
121
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
121
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
122
122
|
currentData?: Record<string, any> | undefined;
|
|
123
123
|
isUninitialized: false;
|
|
124
124
|
isLoading: false;
|
|
@@ -167,7 +167,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
167
167
|
tenant?: string;
|
|
168
168
|
topics?: Array<string>;
|
|
169
169
|
updateFacet?: string;
|
|
170
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
170
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
171
171
|
currentData?: Record<string, any> | undefined;
|
|
172
172
|
isUninitialized: false;
|
|
173
173
|
isLoading: false;
|
|
@@ -212,7 +212,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
212
212
|
tenant?: string;
|
|
213
213
|
topics?: Array<string>;
|
|
214
214
|
updateFacet?: string;
|
|
215
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
215
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
216
216
|
currentData?: Record<string, any> | undefined;
|
|
217
217
|
isUninitialized: false;
|
|
218
218
|
isLoading: false;
|
|
@@ -255,7 +255,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
255
255
|
tenant?: string;
|
|
256
256
|
topics?: Array<string>;
|
|
257
257
|
updateFacet?: string;
|
|
258
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
258
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
259
259
|
currentData?: Record<string, any> | undefined;
|
|
260
260
|
isUninitialized: false;
|
|
261
261
|
isLoading: false;
|
|
@@ -355,7 +355,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
355
355
|
tenant?: string;
|
|
356
356
|
topics?: Array<string>;
|
|
357
357
|
updateFacet?: string;
|
|
358
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
358
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
359
359
|
currentData?: Record<string, any> | undefined;
|
|
360
360
|
isUninitialized: false;
|
|
361
361
|
isLoading: false;
|
|
@@ -404,7 +404,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
404
404
|
tenant?: string;
|
|
405
405
|
topics?: Array<string>;
|
|
406
406
|
updateFacet?: string;
|
|
407
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
407
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
408
408
|
currentData?: Record<string, any> | undefined;
|
|
409
409
|
isUninitialized: false;
|
|
410
410
|
isLoading: false;
|
|
@@ -449,7 +449,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
449
449
|
tenant?: string;
|
|
450
450
|
topics?: Array<string>;
|
|
451
451
|
updateFacet?: string;
|
|
452
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
452
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
453
453
|
currentData?: Record<string, any> | undefined;
|
|
454
454
|
isUninitialized: false;
|
|
455
455
|
isLoading: false;
|
|
@@ -492,7 +492,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
492
492
|
tenant?: string;
|
|
493
493
|
topics?: Array<string>;
|
|
494
494
|
updateFacet?: string;
|
|
495
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
495
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
496
496
|
currentData?: Record<string, any> | undefined;
|
|
497
497
|
isUninitialized: false;
|
|
498
498
|
isLoading: false;
|
|
@@ -537,7 +537,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
537
537
|
tenant?: string;
|
|
538
538
|
topics?: Array<string>;
|
|
539
539
|
updateFacet?: string;
|
|
540
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
540
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>>;
|
|
541
541
|
}, useLazyGetPersonnalizedSearchQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
542
542
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
543
543
|
originalArgs?: undefined | undefined;
|
|
@@ -590,7 +590,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
590
590
|
tenant?: string;
|
|
591
591
|
topics?: Array<string>;
|
|
592
592
|
updateFacet?: string;
|
|
593
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
593
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
594
594
|
currentData?: Record<string, any> | undefined;
|
|
595
595
|
isUninitialized: false;
|
|
596
596
|
isLoading: false;
|
|
@@ -639,7 +639,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
639
639
|
tenant?: string;
|
|
640
640
|
topics?: Array<string>;
|
|
641
641
|
updateFacet?: string;
|
|
642
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
642
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
643
643
|
currentData?: Record<string, any> | undefined;
|
|
644
644
|
isUninitialized: false;
|
|
645
645
|
isLoading: false;
|
|
@@ -684,7 +684,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
684
684
|
tenant?: string;
|
|
685
685
|
topics?: Array<string>;
|
|
686
686
|
updateFacet?: string;
|
|
687
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
687
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
688
688
|
currentData?: Record<string, any> | undefined;
|
|
689
689
|
isUninitialized: false;
|
|
690
690
|
isLoading: false;
|
|
@@ -727,7 +727,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
727
727
|
tenant?: string;
|
|
728
728
|
topics?: Array<string>;
|
|
729
729
|
updateFacet?: string;
|
|
730
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
730
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
731
731
|
currentData?: Record<string, any> | undefined;
|
|
732
732
|
isUninitialized: false;
|
|
733
733
|
isLoading: false;
|
|
@@ -790,7 +790,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
790
790
|
tenant?: string;
|
|
791
791
|
topics?: Array<string>;
|
|
792
792
|
updateFacet?: string;
|
|
793
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
793
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
794
794
|
currentData?: Record<string, any> | undefined;
|
|
795
795
|
isUninitialized: false;
|
|
796
796
|
isLoading: false;
|
|
@@ -839,7 +839,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
839
839
|
tenant?: string;
|
|
840
840
|
topics?: Array<string>;
|
|
841
841
|
updateFacet?: string;
|
|
842
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
842
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
843
843
|
currentData?: Record<string, any> | undefined;
|
|
844
844
|
isUninitialized: false;
|
|
845
845
|
isLoading: false;
|
|
@@ -884,7 +884,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
884
884
|
tenant?: string;
|
|
885
885
|
topics?: Array<string>;
|
|
886
886
|
updateFacet?: string;
|
|
887
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
887
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
888
888
|
currentData?: Record<string, any> | undefined;
|
|
889
889
|
isUninitialized: false;
|
|
890
890
|
isLoading: false;
|
|
@@ -927,7 +927,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
927
927
|
tenant?: string;
|
|
928
928
|
topics?: Array<string>;
|
|
929
929
|
updateFacet?: string;
|
|
930
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
930
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
931
931
|
currentData?: Record<string, any> | undefined;
|
|
932
932
|
isUninitialized: false;
|
|
933
933
|
isLoading: false;
|
|
@@ -1005,7 +1005,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1005
1005
|
tenant?: string;
|
|
1006
1006
|
topics?: Array<string>;
|
|
1007
1007
|
updateFacet?: string;
|
|
1008
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1008
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>>, [R][R extends any ? 0 : never] & {
|
|
1009
1009
|
reset: () => void;
|
|
1010
1010
|
}, {
|
|
1011
1011
|
lastArg: [{
|
|
@@ -1091,7 +1091,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1091
1091
|
tenant?: string;
|
|
1092
1092
|
topics?: Array<string>;
|
|
1093
1093
|
updateFacet?: string;
|
|
1094
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1094
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1095
1095
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1096
1096
|
isUninitialized: false;
|
|
1097
1097
|
isLoading: false;
|
|
@@ -1136,7 +1136,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1136
1136
|
tenant?: string;
|
|
1137
1137
|
topics?: Array<string>;
|
|
1138
1138
|
updateFacet?: string;
|
|
1139
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1139
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1140
1140
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1141
1141
|
isUninitialized: false;
|
|
1142
1142
|
isLoading: false;
|
|
@@ -1177,7 +1177,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1177
1177
|
tenant?: string;
|
|
1178
1178
|
topics?: Array<string>;
|
|
1179
1179
|
updateFacet?: string;
|
|
1180
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1180
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1181
1181
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1182
1182
|
isUninitialized: false;
|
|
1183
1183
|
isLoading: false;
|
|
@@ -1216,7 +1216,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1216
1216
|
tenant?: string;
|
|
1217
1217
|
topics?: Array<string>;
|
|
1218
1218
|
updateFacet?: string;
|
|
1219
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1219
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1220
1220
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1221
1221
|
isUninitialized: false;
|
|
1222
1222
|
isLoading: false;
|
|
@@ -1308,7 +1308,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1308
1308
|
tenant?: string;
|
|
1309
1309
|
topics?: Array<string>;
|
|
1310
1310
|
updateFacet?: string;
|
|
1311
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1311
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1312
1312
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1313
1313
|
isUninitialized: false;
|
|
1314
1314
|
isLoading: false;
|
|
@@ -1353,7 +1353,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1353
1353
|
tenant?: string;
|
|
1354
1354
|
topics?: Array<string>;
|
|
1355
1355
|
updateFacet?: string;
|
|
1356
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1356
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1357
1357
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1358
1358
|
isUninitialized: false;
|
|
1359
1359
|
isLoading: false;
|
|
@@ -1394,7 +1394,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1394
1394
|
tenant?: string;
|
|
1395
1395
|
topics?: Array<string>;
|
|
1396
1396
|
updateFacet?: string;
|
|
1397
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1397
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1398
1398
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1399
1399
|
isUninitialized: false;
|
|
1400
1400
|
isLoading: false;
|
|
@@ -1433,7 +1433,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1433
1433
|
tenant?: string;
|
|
1434
1434
|
topics?: Array<string>;
|
|
1435
1435
|
updateFacet?: string;
|
|
1436
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1436
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1437
1437
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1438
1438
|
isUninitialized: false;
|
|
1439
1439
|
isLoading: false;
|
|
@@ -1474,7 +1474,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1474
1474
|
tenant?: string;
|
|
1475
1475
|
topics?: Array<string>;
|
|
1476
1476
|
updateFacet?: string;
|
|
1477
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1477
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>>;
|
|
1478
1478
|
}, useLazyGetCatalogSearchQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
1479
1479
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1480
1480
|
originalArgs?: undefined | undefined;
|
|
@@ -1523,7 +1523,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1523
1523
|
tenant?: string;
|
|
1524
1524
|
topics?: Array<string>;
|
|
1525
1525
|
updateFacet?: string;
|
|
1526
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1526
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1527
1527
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1528
1528
|
isUninitialized: false;
|
|
1529
1529
|
isLoading: false;
|
|
@@ -1568,7 +1568,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1568
1568
|
tenant?: string;
|
|
1569
1569
|
topics?: Array<string>;
|
|
1570
1570
|
updateFacet?: string;
|
|
1571
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1571
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1572
1572
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1573
1573
|
isUninitialized: false;
|
|
1574
1574
|
isLoading: false;
|
|
@@ -1609,7 +1609,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1609
1609
|
tenant?: string;
|
|
1610
1610
|
topics?: Array<string>;
|
|
1611
1611
|
updateFacet?: string;
|
|
1612
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1612
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1613
1613
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1614
1614
|
isUninitialized: false;
|
|
1615
1615
|
isLoading: false;
|
|
@@ -1648,7 +1648,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1648
1648
|
tenant?: string;
|
|
1649
1649
|
topics?: Array<string>;
|
|
1650
1650
|
updateFacet?: string;
|
|
1651
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1651
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1652
1652
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1653
1653
|
isUninitialized: false;
|
|
1654
1654
|
isLoading: false;
|
|
@@ -1707,7 +1707,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1707
1707
|
tenant?: string;
|
|
1708
1708
|
topics?: Array<string>;
|
|
1709
1709
|
updateFacet?: string;
|
|
1710
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1710
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1711
1711
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1712
1712
|
isUninitialized: false;
|
|
1713
1713
|
isLoading: false;
|
|
@@ -1752,7 +1752,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1752
1752
|
tenant?: string;
|
|
1753
1753
|
topics?: Array<string>;
|
|
1754
1754
|
updateFacet?: string;
|
|
1755
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1755
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1756
1756
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1757
1757
|
isUninitialized: false;
|
|
1758
1758
|
isLoading: false;
|
|
@@ -1793,7 +1793,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1793
1793
|
tenant?: string;
|
|
1794
1794
|
topics?: Array<string>;
|
|
1795
1795
|
updateFacet?: string;
|
|
1796
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1796
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1797
1797
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1798
1798
|
isUninitialized: false;
|
|
1799
1799
|
isLoading: false;
|
|
@@ -1832,7 +1832,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1832
1832
|
tenant?: string;
|
|
1833
1833
|
topics?: Array<string>;
|
|
1834
1834
|
updateFacet?: string;
|
|
1835
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1835
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1836
1836
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1837
1837
|
isUninitialized: false;
|
|
1838
1838
|
isLoading: false;
|
|
@@ -1902,7 +1902,7 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1902
1902
|
tenant?: string;
|
|
1903
1903
|
topics?: Array<string>;
|
|
1904
1904
|
updateFacet?: string;
|
|
1905
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1905
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>>, [R][R extends any ? 0 : never] & {
|
|
1906
1906
|
reset: () => void;
|
|
1907
1907
|
}, {
|
|
1908
1908
|
lastArg: [{
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SERVICES } from '@data-layer/constants';
|
|
2
|
+
export declare const CUSTOM_AI_SEARCH_REDUCER_PATH = "customAiSearchApiSlicePath";
|
|
3
|
+
export declare const CUSTOM_AI_SEARCH_ENDPOINTS: {
|
|
4
|
+
GET_RECOMMENDATIONS_AI_SEARCH: {
|
|
5
|
+
service: SERVICES;
|
|
6
|
+
path: () => string;
|
|
7
|
+
};
|
|
8
|
+
GET_RECOMMENDED_PROMPTS_LIST: {
|
|
9
|
+
service: SERVICES;
|
|
10
|
+
path: () => string;
|
|
11
|
+
};
|
|
12
|
+
CREATE_RECOMMENDED_PROMPT: {
|
|
13
|
+
service: SERVICES;
|
|
14
|
+
path: () => string;
|
|
15
|
+
};
|
|
16
|
+
UPDATE_RECOMMENDED_PROMPT: {
|
|
17
|
+
service: SERVICES;
|
|
18
|
+
path: () => string;
|
|
19
|
+
};
|
|
20
|
+
DELETE_RECOMMENDED_PROMPT: {
|
|
21
|
+
service: SERVICES;
|
|
22
|
+
path: () => string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const CUSTOM_AI_SEARCH_QUERY_KEYS: {
|
|
26
|
+
GET_RECOMMENDATIONS_AI_SEARCH: () => string[];
|
|
27
|
+
GET_PROMPTS_LIST: () => string[];
|
|
28
|
+
CREATE_PROMPT: () => string[];
|
|
29
|
+
UPDATE_PROMPT: () => string[];
|
|
30
|
+
DELETE_PROMPT: () => string[];
|
|
31
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export interface GetRecommendationsAiSearchArgs {
|
|
2
|
+
params: {
|
|
3
|
+
platform_key: string;
|
|
4
|
+
platform_org?: string;
|
|
5
|
+
recommendation_type: recommendationPromptTypeEnum;
|
|
6
|
+
use_llm_ranking?: boolean;
|
|
7
|
+
ranking_strategy?: 'relevance' | 'difficulty' | 'personalized' | 'custom';
|
|
8
|
+
include_main_catalog?: boolean;
|
|
9
|
+
limit?: number;
|
|
10
|
+
search_terms?: string;
|
|
11
|
+
domains?: string[];
|
|
12
|
+
difficulty_levels?: string[];
|
|
13
|
+
spa_url?: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export declare enum recommendationPromptTypeEnum {
|
|
17
|
+
mentors = "mentors",
|
|
18
|
+
catalog = "catalog"
|
|
19
|
+
}
|
|
20
|
+
export interface RecommendationItem {
|
|
21
|
+
course_id: string;
|
|
22
|
+
course_title: string;
|
|
23
|
+
reason: string;
|
|
24
|
+
domain: string;
|
|
25
|
+
difficulty_level: string;
|
|
26
|
+
estimated_hours: number;
|
|
27
|
+
confidence_score: number;
|
|
28
|
+
platform_key: string;
|
|
29
|
+
description: string;
|
|
30
|
+
}
|
|
31
|
+
export interface RecommendationSystemUserContext {
|
|
32
|
+
completed_courses: string[];
|
|
33
|
+
strong_domains: string[];
|
|
34
|
+
average_completion_rate: number;
|
|
35
|
+
}
|
|
36
|
+
export interface GetRecommendationsAiSearchResponse {
|
|
37
|
+
success: boolean;
|
|
38
|
+
recommendations: RecommendationItem[];
|
|
39
|
+
user_context: RecommendationSystemUserContext;
|
|
40
|
+
recommendation_id: string;
|
|
41
|
+
generated_at: string;
|
|
42
|
+
platform_key: string;
|
|
43
|
+
method_used: string;
|
|
44
|
+
search_query_used: string;
|
|
45
|
+
candidates_retrieved: number;
|
|
46
|
+
processing_time_seconds: number;
|
|
47
|
+
}
|
|
48
|
+
export interface RecommendedPromptDetailResponse {
|
|
49
|
+
id: number | null;
|
|
50
|
+
platform_key: string;
|
|
51
|
+
prompt_text: string;
|
|
52
|
+
recommendation_type: string;
|
|
53
|
+
spa_url?: string;
|
|
54
|
+
active: boolean;
|
|
55
|
+
created_at: string;
|
|
56
|
+
updated_at: string;
|
|
57
|
+
created_by?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface GetRecommendedPromptsListArgs {
|
|
60
|
+
params: {
|
|
61
|
+
platform_key: string;
|
|
62
|
+
recommendation_type?: recommendationPromptTypeEnum;
|
|
63
|
+
active_only?: boolean;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export interface CreateRecommendedPromptArgs {
|
|
67
|
+
requestBody: {
|
|
68
|
+
platform_key: string;
|
|
69
|
+
recommendation_type: recommendationPromptTypeEnum;
|
|
70
|
+
spa_url?: string;
|
|
71
|
+
prompt_text: string;
|
|
72
|
+
active: boolean;
|
|
73
|
+
ranking_strategy: 'relevance' | 'difficulty' | 'personalized' | 'custom';
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export interface UpdateRecommendedPromptArgs {
|
|
77
|
+
requestBody: {
|
|
78
|
+
prompt_text: string;
|
|
79
|
+
active: boolean;
|
|
80
|
+
};
|
|
81
|
+
prompt_id: number;
|
|
82
|
+
platform_key: string;
|
|
83
|
+
}
|
|
84
|
+
export interface DeleteRecommendedPromptArgs {
|
|
85
|
+
params: {
|
|
86
|
+
prompt_id: number;
|
|
87
|
+
platform_key: string;
|
|
88
|
+
};
|
|
89
|
+
}
|