@iblai/data-layer 1.1.1 → 1.1.3
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 +38680 -21218
- package/dist/index.esm.js +5653 -2107
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5738 -2105
- package/dist/index.js.map +1 -1
- package/dist/package.json +12 -8
- package/dist/src/core/index.d.ts +7 -1
- package/dist/src/features/analytics/constants.d.ts +6 -6
- package/dist/src/features/analytics/types.d.ts +9 -0
- package/dist/src/features/api-keys/api-slice.d.ts +72 -24
- package/dist/src/features/apps/api-slice.d.ts +72 -24
- package/dist/src/features/artifacts/api-slice.d.ts +1798 -0
- package/dist/src/features/artifacts/constants.d.ts +42 -0
- package/dist/src/features/artifacts/index.d.ts +3 -0
- package/dist/src/features/artifacts/types.d.ts +37 -0
- package/dist/src/features/auth/types.d.ts +1 -1
- package/dist/src/features/billing/api-slice.d.ts +15 -5
- package/dist/src/features/billing/constants.d.ts +16 -0
- package/dist/src/features/billing/custom-api-slice.d.ts +634 -0
- package/dist/src/features/billing/types.d.ts +35 -0
- package/dist/src/features/career/api-slice.d.ts +342 -114
- package/dist/src/features/catalog/api-slice.d.ts +1050 -317
- package/dist/src/features/chat/api-slice.d.ts +204 -68
- package/dist/src/features/chat-history/api-slice.d.ts +202 -60
- package/dist/src/features/core/api-slice.d.ts +1253 -134
- package/dist/src/features/core/custom-public-image-asset-api-slice.d.ts +60 -20
- package/dist/src/features/credentials/__tests__/custom-api-slice.test.d.ts +1 -0
- package/dist/src/features/credentials/api-slice.d.ts +3728 -146
- package/dist/src/features/credentials/constants.d.ts +9 -1
- package/dist/src/features/credentials/custom-api-slice.d.ts +535 -2
- package/dist/src/features/credentials/types.d.ts +14 -0
- package/dist/src/features/datasets/api-slice.d.ts +60 -197
- package/dist/src/features/index.d.ts +2 -1
- package/dist/src/features/llms/api-slice.d.ts +60 -20
- package/dist/src/features/mcp/api-slice.d.ts +2613 -0
- package/dist/src/features/mcp/constants.d.ts +57 -0
- package/dist/src/features/mcp/index.d.ts +3 -0
- package/dist/src/features/mcp/types.d.ts +176 -0
- package/dist/src/features/memory/types.d.ts +1 -0
- package/dist/src/features/mentor/api-slice.d.ts +1793 -429
- package/dist/src/features/mentor/constants.d.ts +7 -1
- package/dist/src/features/mentor/custom-api-slice.d.ts +162 -1
- package/dist/src/features/mentor/types.d.ts +7 -1
- package/dist/src/features/mentor-categories/api-slice.d.ts +117 -39
- package/dist/src/features/moderation-logs/api-slice.d.ts +705 -0
- package/dist/src/features/notifications/api-slice.d.ts +214 -86
- package/dist/src/features/per-learner/api-slice.d.ts +174 -58
- package/dist/src/features/platform/api-slice.d.ts +1568 -293
- package/dist/src/features/platform/types.d.ts +13 -0
- package/dist/src/features/prompts/api-slice.d.ts +249 -83
- package/dist/src/features/reports/api-slice.d.ts +145 -41
- package/dist/src/features/search/ai-search-api-slice.d.ts +399 -1
- package/dist/src/features/search/api-slice.d.ts +117 -39
- package/dist/src/features/search/constants.d.ts +10 -0
- package/dist/src/features/search/types.d.ts +72 -0
- package/dist/src/features/sessions/api-slice.d.ts +440 -46
- package/dist/src/features/skills/api-slice.d.ts +231 -77
- package/dist/src/features/tenant/api-slice.d.ts +123 -41
- package/dist/src/features/tools/api-slice.d.ts +60 -20
- package/dist/src/features/training-documents/api-slice.d.ts +141 -47
- package/dist/src/features/user-invitations/api-slice.d.ts +66 -22
- package/dist/src/index.d.ts +6 -0
- package/dist/tests/features/billing/constants.test.d.ts +1 -0
- package/dist/tests/features/billing/custom-api-slice.test.d.ts +1 -0
- package/dist/tests/features/billing/types.test.d.ts +1 -0
- package/package.json +10 -7
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export declare const searchApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1
|
+
export declare const searchApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
2
|
+
attempt?: number;
|
|
3
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, {
|
|
2
4
|
getPersonnalizedSearch: import("@reduxjs/toolkit/query").QueryDefinition<[{
|
|
3
5
|
username: string;
|
|
4
6
|
allowSkillSearch?: boolean;
|
|
@@ -33,7 +35,9 @@ export declare const searchApiSlice: import("@reduxjs/toolkit/query").Api<import
|
|
|
33
35
|
tenant?: string;
|
|
34
36
|
topics?: Array<string>;
|
|
35
37
|
updateFacet?: string;
|
|
36
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
38
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
39
|
+
attempt?: number;
|
|
40
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>;
|
|
37
41
|
getCatalogSearch: import("@reduxjs/toolkit/query").QueryDefinition<[{
|
|
38
42
|
allowSkillSearch?: boolean;
|
|
39
43
|
alphabetical?: boolean;
|
|
@@ -64,7 +68,9 @@ export declare const searchApiSlice: import("@reduxjs/toolkit/query").Api<import
|
|
|
64
68
|
tenant?: string;
|
|
65
69
|
topics?: Array<string>;
|
|
66
70
|
updateFacet?: string;
|
|
67
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
71
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
72
|
+
attempt?: number;
|
|
73
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>;
|
|
68
74
|
}, "searchApiSlice", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
69
75
|
export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
70
76
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
@@ -118,7 +124,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
118
124
|
tenant?: string;
|
|
119
125
|
topics?: Array<string>;
|
|
120
126
|
updateFacet?: string;
|
|
121
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
127
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
128
|
+
attempt?: number;
|
|
129
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
122
130
|
currentData?: Record<string, any> | undefined;
|
|
123
131
|
isUninitialized: false;
|
|
124
132
|
isLoading: false;
|
|
@@ -167,7 +175,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
167
175
|
tenant?: string;
|
|
168
176
|
topics?: Array<string>;
|
|
169
177
|
updateFacet?: string;
|
|
170
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
178
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
179
|
+
attempt?: number;
|
|
180
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
171
181
|
currentData?: Record<string, any> | undefined;
|
|
172
182
|
isUninitialized: false;
|
|
173
183
|
isLoading: false;
|
|
@@ -212,7 +222,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
212
222
|
tenant?: string;
|
|
213
223
|
topics?: Array<string>;
|
|
214
224
|
updateFacet?: string;
|
|
215
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
225
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
226
|
+
attempt?: number;
|
|
227
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
216
228
|
currentData?: Record<string, any> | undefined;
|
|
217
229
|
isUninitialized: false;
|
|
218
230
|
isLoading: false;
|
|
@@ -255,7 +267,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
255
267
|
tenant?: string;
|
|
256
268
|
topics?: Array<string>;
|
|
257
269
|
updateFacet?: string;
|
|
258
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
270
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
271
|
+
attempt?: number;
|
|
272
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
259
273
|
currentData?: Record<string, any> | undefined;
|
|
260
274
|
isUninitialized: false;
|
|
261
275
|
isLoading: false;
|
|
@@ -355,7 +369,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
355
369
|
tenant?: string;
|
|
356
370
|
topics?: Array<string>;
|
|
357
371
|
updateFacet?: string;
|
|
358
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
372
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
373
|
+
attempt?: number;
|
|
374
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
359
375
|
currentData?: Record<string, any> | undefined;
|
|
360
376
|
isUninitialized: false;
|
|
361
377
|
isLoading: false;
|
|
@@ -404,7 +420,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
404
420
|
tenant?: string;
|
|
405
421
|
topics?: Array<string>;
|
|
406
422
|
updateFacet?: string;
|
|
407
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
423
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
424
|
+
attempt?: number;
|
|
425
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
408
426
|
currentData?: Record<string, any> | undefined;
|
|
409
427
|
isUninitialized: false;
|
|
410
428
|
isLoading: false;
|
|
@@ -449,7 +467,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
449
467
|
tenant?: string;
|
|
450
468
|
topics?: Array<string>;
|
|
451
469
|
updateFacet?: string;
|
|
452
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
470
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
471
|
+
attempt?: number;
|
|
472
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
453
473
|
currentData?: Record<string, any> | undefined;
|
|
454
474
|
isUninitialized: false;
|
|
455
475
|
isLoading: false;
|
|
@@ -492,7 +512,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
492
512
|
tenant?: string;
|
|
493
513
|
topics?: Array<string>;
|
|
494
514
|
updateFacet?: string;
|
|
495
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
515
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
516
|
+
attempt?: number;
|
|
517
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
496
518
|
currentData?: Record<string, any> | undefined;
|
|
497
519
|
isUninitialized: false;
|
|
498
520
|
isLoading: false;
|
|
@@ -537,7 +559,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
537
559
|
tenant?: string;
|
|
538
560
|
topics?: Array<string>;
|
|
539
561
|
updateFacet?: string;
|
|
540
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
562
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
563
|
+
attempt?: number;
|
|
564
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>>;
|
|
541
565
|
}, useLazyGetPersonnalizedSearchQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
542
566
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
543
567
|
originalArgs?: undefined | undefined;
|
|
@@ -590,7 +614,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
590
614
|
tenant?: string;
|
|
591
615
|
topics?: Array<string>;
|
|
592
616
|
updateFacet?: string;
|
|
593
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
617
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
618
|
+
attempt?: number;
|
|
619
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
594
620
|
currentData?: Record<string, any> | undefined;
|
|
595
621
|
isUninitialized: false;
|
|
596
622
|
isLoading: false;
|
|
@@ -639,7 +665,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
639
665
|
tenant?: string;
|
|
640
666
|
topics?: Array<string>;
|
|
641
667
|
updateFacet?: string;
|
|
642
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
668
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
669
|
+
attempt?: number;
|
|
670
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
643
671
|
currentData?: Record<string, any> | undefined;
|
|
644
672
|
isUninitialized: false;
|
|
645
673
|
isLoading: false;
|
|
@@ -684,7 +712,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
684
712
|
tenant?: string;
|
|
685
713
|
topics?: Array<string>;
|
|
686
714
|
updateFacet?: string;
|
|
687
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
715
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
716
|
+
attempt?: number;
|
|
717
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
688
718
|
currentData?: Record<string, any> | undefined;
|
|
689
719
|
isUninitialized: false;
|
|
690
720
|
isLoading: false;
|
|
@@ -727,7 +757,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
727
757
|
tenant?: string;
|
|
728
758
|
topics?: Array<string>;
|
|
729
759
|
updateFacet?: string;
|
|
730
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
760
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
761
|
+
attempt?: number;
|
|
762
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
731
763
|
currentData?: Record<string, any> | undefined;
|
|
732
764
|
isUninitialized: false;
|
|
733
765
|
isLoading: false;
|
|
@@ -790,7 +822,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
790
822
|
tenant?: string;
|
|
791
823
|
topics?: Array<string>;
|
|
792
824
|
updateFacet?: string;
|
|
793
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
825
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
826
|
+
attempt?: number;
|
|
827
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
794
828
|
currentData?: Record<string, any> | undefined;
|
|
795
829
|
isUninitialized: false;
|
|
796
830
|
isLoading: false;
|
|
@@ -839,7 +873,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
839
873
|
tenant?: string;
|
|
840
874
|
topics?: Array<string>;
|
|
841
875
|
updateFacet?: string;
|
|
842
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
876
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
877
|
+
attempt?: number;
|
|
878
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
843
879
|
currentData?: Record<string, any> | undefined;
|
|
844
880
|
isUninitialized: false;
|
|
845
881
|
isLoading: false;
|
|
@@ -884,7 +920,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
884
920
|
tenant?: string;
|
|
885
921
|
topics?: Array<string>;
|
|
886
922
|
updateFacet?: string;
|
|
887
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
923
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
924
|
+
attempt?: number;
|
|
925
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
888
926
|
currentData?: Record<string, any> | undefined;
|
|
889
927
|
isUninitialized: false;
|
|
890
928
|
isLoading: false;
|
|
@@ -927,7 +965,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
927
965
|
tenant?: string;
|
|
928
966
|
topics?: Array<string>;
|
|
929
967
|
updateFacet?: string;
|
|
930
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
968
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
969
|
+
attempt?: number;
|
|
970
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>> & {
|
|
931
971
|
currentData?: Record<string, any> | undefined;
|
|
932
972
|
isUninitialized: false;
|
|
933
973
|
isLoading: false;
|
|
@@ -1005,7 +1045,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1005
1045
|
tenant?: string;
|
|
1006
1046
|
topics?: Array<string>;
|
|
1007
1047
|
updateFacet?: string;
|
|
1008
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1048
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1049
|
+
attempt?: number;
|
|
1050
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, Record<string, any>, "searchApiSlice", any>>, [R][R extends any ? 0 : never] & {
|
|
1009
1051
|
reset: () => void;
|
|
1010
1052
|
}, {
|
|
1011
1053
|
lastArg: [{
|
|
@@ -1091,7 +1133,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1091
1133
|
tenant?: string;
|
|
1092
1134
|
topics?: Array<string>;
|
|
1093
1135
|
updateFacet?: string;
|
|
1094
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1136
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1137
|
+
attempt?: number;
|
|
1138
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1095
1139
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1096
1140
|
isUninitialized: false;
|
|
1097
1141
|
isLoading: false;
|
|
@@ -1136,7 +1180,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1136
1180
|
tenant?: string;
|
|
1137
1181
|
topics?: Array<string>;
|
|
1138
1182
|
updateFacet?: string;
|
|
1139
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1183
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1184
|
+
attempt?: number;
|
|
1185
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1140
1186
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1141
1187
|
isUninitialized: false;
|
|
1142
1188
|
isLoading: false;
|
|
@@ -1177,7 +1223,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1177
1223
|
tenant?: string;
|
|
1178
1224
|
topics?: Array<string>;
|
|
1179
1225
|
updateFacet?: string;
|
|
1180
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1226
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1227
|
+
attempt?: number;
|
|
1228
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1181
1229
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1182
1230
|
isUninitialized: false;
|
|
1183
1231
|
isLoading: false;
|
|
@@ -1216,7 +1264,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1216
1264
|
tenant?: string;
|
|
1217
1265
|
topics?: Array<string>;
|
|
1218
1266
|
updateFacet?: string;
|
|
1219
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1267
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1268
|
+
attempt?: number;
|
|
1269
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1220
1270
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1221
1271
|
isUninitialized: false;
|
|
1222
1272
|
isLoading: false;
|
|
@@ -1308,7 +1358,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1308
1358
|
tenant?: string;
|
|
1309
1359
|
topics?: Array<string>;
|
|
1310
1360
|
updateFacet?: string;
|
|
1311
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1361
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1362
|
+
attempt?: number;
|
|
1363
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1312
1364
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1313
1365
|
isUninitialized: false;
|
|
1314
1366
|
isLoading: false;
|
|
@@ -1353,7 +1405,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1353
1405
|
tenant?: string;
|
|
1354
1406
|
topics?: Array<string>;
|
|
1355
1407
|
updateFacet?: string;
|
|
1356
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1408
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1409
|
+
attempt?: number;
|
|
1410
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1357
1411
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1358
1412
|
isUninitialized: false;
|
|
1359
1413
|
isLoading: false;
|
|
@@ -1394,7 +1448,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1394
1448
|
tenant?: string;
|
|
1395
1449
|
topics?: Array<string>;
|
|
1396
1450
|
updateFacet?: string;
|
|
1397
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1451
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1452
|
+
attempt?: number;
|
|
1453
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1398
1454
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1399
1455
|
isUninitialized: false;
|
|
1400
1456
|
isLoading: false;
|
|
@@ -1433,7 +1489,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1433
1489
|
tenant?: string;
|
|
1434
1490
|
topics?: Array<string>;
|
|
1435
1491
|
updateFacet?: string;
|
|
1436
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1492
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1493
|
+
attempt?: number;
|
|
1494
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1437
1495
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1438
1496
|
isUninitialized: false;
|
|
1439
1497
|
isLoading: false;
|
|
@@ -1474,7 +1532,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1474
1532
|
tenant?: string;
|
|
1475
1533
|
topics?: Array<string>;
|
|
1476
1534
|
updateFacet?: string;
|
|
1477
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1535
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1536
|
+
attempt?: number;
|
|
1537
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>>;
|
|
1478
1538
|
}, useLazyGetCatalogSearchQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
1479
1539
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1480
1540
|
originalArgs?: undefined | undefined;
|
|
@@ -1523,7 +1583,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1523
1583
|
tenant?: string;
|
|
1524
1584
|
topics?: Array<string>;
|
|
1525
1585
|
updateFacet?: string;
|
|
1526
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1586
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1587
|
+
attempt?: number;
|
|
1588
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1527
1589
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1528
1590
|
isUninitialized: false;
|
|
1529
1591
|
isLoading: false;
|
|
@@ -1568,7 +1630,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1568
1630
|
tenant?: string;
|
|
1569
1631
|
topics?: Array<string>;
|
|
1570
1632
|
updateFacet?: string;
|
|
1571
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1633
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1634
|
+
attempt?: number;
|
|
1635
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1572
1636
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1573
1637
|
isUninitialized: false;
|
|
1574
1638
|
isLoading: false;
|
|
@@ -1609,7 +1673,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1609
1673
|
tenant?: string;
|
|
1610
1674
|
topics?: Array<string>;
|
|
1611
1675
|
updateFacet?: string;
|
|
1612
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1676
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1677
|
+
attempt?: number;
|
|
1678
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1613
1679
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1614
1680
|
isUninitialized: false;
|
|
1615
1681
|
isLoading: false;
|
|
@@ -1648,7 +1714,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1648
1714
|
tenant?: string;
|
|
1649
1715
|
topics?: Array<string>;
|
|
1650
1716
|
updateFacet?: string;
|
|
1651
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1717
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1718
|
+
attempt?: number;
|
|
1719
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1652
1720
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1653
1721
|
isUninitialized: false;
|
|
1654
1722
|
isLoading: false;
|
|
@@ -1707,7 +1775,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1707
1775
|
tenant?: string;
|
|
1708
1776
|
topics?: Array<string>;
|
|
1709
1777
|
updateFacet?: string;
|
|
1710
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1778
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1779
|
+
attempt?: number;
|
|
1780
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1711
1781
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1712
1782
|
isUninitialized: false;
|
|
1713
1783
|
isLoading: false;
|
|
@@ -1752,7 +1822,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1752
1822
|
tenant?: string;
|
|
1753
1823
|
topics?: Array<string>;
|
|
1754
1824
|
updateFacet?: string;
|
|
1755
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1825
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1826
|
+
attempt?: number;
|
|
1827
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1756
1828
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1757
1829
|
isUninitialized: false;
|
|
1758
1830
|
isLoading: false;
|
|
@@ -1793,7 +1865,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1793
1865
|
tenant?: string;
|
|
1794
1866
|
topics?: Array<string>;
|
|
1795
1867
|
updateFacet?: string;
|
|
1796
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1868
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1869
|
+
attempt?: number;
|
|
1870
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1797
1871
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1798
1872
|
isUninitialized: false;
|
|
1799
1873
|
isLoading: false;
|
|
@@ -1832,7 +1906,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1832
1906
|
tenant?: string;
|
|
1833
1907
|
topics?: Array<string>;
|
|
1834
1908
|
updateFacet?: string;
|
|
1835
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1909
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1910
|
+
attempt?: number;
|
|
1911
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>> & {
|
|
1836
1912
|
currentData?: import("@iblai/iblai-api").GlobalCatalogSearchResponse | undefined;
|
|
1837
1913
|
isUninitialized: false;
|
|
1838
1914
|
isLoading: false;
|
|
@@ -1902,7 +1978,9 @@ export declare const useGetPersonnalizedSearchQuery: <R extends Record<string, a
|
|
|
1902
1978
|
tenant?: string;
|
|
1903
1979
|
topics?: Array<string>;
|
|
1904
1980
|
updateFacet?: string;
|
|
1905
|
-
}], import("@reduxjs/toolkit/query").BaseQueryFn<void,
|
|
1981
|
+
}], import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
|
|
1982
|
+
attempt?: number;
|
|
1983
|
+
} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").GlobalCatalogSearchResponse, "searchApiSlice", any>>, [R][R extends any ? 0 : never] & {
|
|
1906
1984
|
reset: () => void;
|
|
1907
1985
|
}, {
|
|
1908
1986
|
lastArg: [{
|
|
@@ -21,6 +21,14 @@ export declare const CUSTOM_AI_SEARCH_ENDPOINTS: {
|
|
|
21
21
|
service: SERVICES;
|
|
22
22
|
path: () => string;
|
|
23
23
|
};
|
|
24
|
+
GET_MENTORS: {
|
|
25
|
+
service: SERVICES;
|
|
26
|
+
path: () => string;
|
|
27
|
+
};
|
|
28
|
+
GET_PERSONNALIZED_MENTORS: {
|
|
29
|
+
service: SERVICES;
|
|
30
|
+
path: () => string;
|
|
31
|
+
};
|
|
24
32
|
};
|
|
25
33
|
export declare const CUSTOM_AI_SEARCH_QUERY_KEYS: {
|
|
26
34
|
GET_RECOMMENDATIONS_AI_SEARCH: () => string[];
|
|
@@ -28,4 +36,6 @@ export declare const CUSTOM_AI_SEARCH_QUERY_KEYS: {
|
|
|
28
36
|
CREATE_PROMPT: () => string[];
|
|
29
37
|
UPDATE_PROMPT: () => string[];
|
|
30
38
|
DELETE_PROMPT: () => string[];
|
|
39
|
+
GET_MENTORS: () => string[];
|
|
40
|
+
GET_PERSONNALIZED_MENTORS: () => string[];
|
|
31
41
|
};
|
|
@@ -17,6 +17,62 @@ export declare enum recommendationPromptTypeEnum {
|
|
|
17
17
|
mentors = "mentors",
|
|
18
18
|
catalog = "catalog"
|
|
19
19
|
}
|
|
20
|
+
export interface InstructorInfo {
|
|
21
|
+
instructors: Instructor[];
|
|
22
|
+
}
|
|
23
|
+
export interface Instructor {
|
|
24
|
+
name: string;
|
|
25
|
+
bio: string;
|
|
26
|
+
organization: string;
|
|
27
|
+
title: string;
|
|
28
|
+
image: string;
|
|
29
|
+
}
|
|
30
|
+
export interface OutlineNode {
|
|
31
|
+
type: string;
|
|
32
|
+
name: string;
|
|
33
|
+
children: OutlineNode[];
|
|
34
|
+
}
|
|
35
|
+
export interface CourseEdxData {
|
|
36
|
+
title: string;
|
|
37
|
+
effort: string | null;
|
|
38
|
+
license: string | null;
|
|
39
|
+
duration: string;
|
|
40
|
+
end_date: string | null;
|
|
41
|
+
language: string;
|
|
42
|
+
overview: string;
|
|
43
|
+
subtitle: string;
|
|
44
|
+
syllabus: string | null;
|
|
45
|
+
self_paced: boolean;
|
|
46
|
+
start_date: string;
|
|
47
|
+
description: string;
|
|
48
|
+
intro_video: string | null;
|
|
49
|
+
learning_info: string[];
|
|
50
|
+
enrollment_end: string | null;
|
|
51
|
+
instructor_info: InstructorInfo;
|
|
52
|
+
enrollment_start: string | null;
|
|
53
|
+
entrance_exam_id: string;
|
|
54
|
+
banner_image_name: string;
|
|
55
|
+
course_image_name: string;
|
|
56
|
+
short_description: string;
|
|
57
|
+
about_sidebar_html: string;
|
|
58
|
+
entrance_exam_enabled: string;
|
|
59
|
+
pre_requisite_courses: string[];
|
|
60
|
+
banner_image_asset_path: string;
|
|
61
|
+
course_image_asset_path: string;
|
|
62
|
+
certificate_available_date: string | null;
|
|
63
|
+
video_thumbnail_image_name: string;
|
|
64
|
+
certificates_display_behavior: string;
|
|
65
|
+
entrance_exam_minimum_score_pct: string;
|
|
66
|
+
video_thumbnail_image_asset_path: string;
|
|
67
|
+
invitation_only?: boolean;
|
|
68
|
+
catalog_visibility?: string;
|
|
69
|
+
course_outline?: OutlineNode[];
|
|
70
|
+
course_price?: string;
|
|
71
|
+
platform_key?: string;
|
|
72
|
+
display_name?: string;
|
|
73
|
+
mentor_hidden?: boolean;
|
|
74
|
+
mentor_uuid?: string;
|
|
75
|
+
}
|
|
20
76
|
export interface RecommendationItem {
|
|
21
77
|
course_id: string;
|
|
22
78
|
course_title: string;
|
|
@@ -27,6 +83,7 @@ export interface RecommendationItem {
|
|
|
27
83
|
confidence_score: number;
|
|
28
84
|
platform_key: string;
|
|
29
85
|
description: string;
|
|
86
|
+
edx_data?: CourseEdxData;
|
|
30
87
|
}
|
|
31
88
|
export interface RecommendationSystemUserContext {
|
|
32
89
|
completed_courses: string[];
|
|
@@ -87,3 +144,18 @@ export interface DeleteRecommendedPromptArgs {
|
|
|
87
144
|
platform_key: string;
|
|
88
145
|
};
|
|
89
146
|
}
|
|
147
|
+
export interface GetAiSearchMentorsArgs {
|
|
148
|
+
order_direction?: 'asc' | 'desc';
|
|
149
|
+
username?: string;
|
|
150
|
+
platform_key: string;
|
|
151
|
+
query?: string;
|
|
152
|
+
limit?: number;
|
|
153
|
+
offset?: number;
|
|
154
|
+
llm?: string;
|
|
155
|
+
category?: string;
|
|
156
|
+
types?: string;
|
|
157
|
+
subjects?: string;
|
|
158
|
+
include_main_public_mentors?: boolean;
|
|
159
|
+
starred?: boolean;
|
|
160
|
+
featured?: boolean;
|
|
161
|
+
}
|