@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
|
-
import { SERVICES } from
|
|
1
|
+
import { SERVICES } from '../../constants';
|
|
2
2
|
export declare const USERS_ENDPOINTS: {
|
|
3
3
|
GET_USER_METADATA: {
|
|
4
4
|
service: SERVICES;
|
|
@@ -35,6 +35,8 @@ export declare const USERS_QUERY_KEYS: {
|
|
|
35
35
|
RESET_PASSWORD: () => string[];
|
|
36
36
|
UPDATE_USER_ROLES: () => string[];
|
|
37
37
|
UPLOAD_PROFILE_IMAGE: () => string[];
|
|
38
|
+
EDX_UPDATE_USER_METADATA: () => string[];
|
|
39
|
+
EDX_GET_USER_METADATA: () => string[];
|
|
38
40
|
REMOVE_PROFILE_IMAGE: () => string[];
|
|
39
41
|
};
|
|
40
42
|
export declare const USERS_REDUCER_PATH = "userApiSlice";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const userInvitationsApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
1
|
+
export declare const userInvitationsApiSlice: 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
|
getUserInvitations: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
3
3
|
active?: boolean;
|
|
4
4
|
email?: string;
|
|
@@ -10,7 +10,7 @@ export declare const userInvitationsApiSlice: import("@reduxjs/toolkit/query").A
|
|
|
10
10
|
source?: string;
|
|
11
11
|
username?: string;
|
|
12
12
|
verbose?: boolean;
|
|
13
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
13
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>;
|
|
14
14
|
createUserInvitation: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
15
15
|
requestBody: import("@iblai/iblai-api").PlatformInvitationCreate;
|
|
16
16
|
active?: boolean;
|
|
@@ -23,7 +23,7 @@ export declare const userInvitationsApiSlice: import("@reduxjs/toolkit/query").A
|
|
|
23
23
|
source?: string;
|
|
24
24
|
username?: string;
|
|
25
25
|
verbose?: boolean;
|
|
26
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
26
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PlatformInvitationDetail, "userInvitationsApiSlice", any>;
|
|
27
27
|
}, "userInvitationsApiSlice", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
28
28
|
export declare const useGetUserInvitationsQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
29
29
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
@@ -54,7 +54,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
54
54
|
source?: string;
|
|
55
55
|
username?: string;
|
|
56
56
|
verbose?: boolean;
|
|
57
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
57
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
58
58
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
59
59
|
isUninitialized: false;
|
|
60
60
|
isLoading: false;
|
|
@@ -80,7 +80,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
80
80
|
source?: string;
|
|
81
81
|
username?: string;
|
|
82
82
|
verbose?: boolean;
|
|
83
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
83
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
84
84
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
85
85
|
isUninitialized: false;
|
|
86
86
|
isLoading: false;
|
|
@@ -102,7 +102,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
102
102
|
source?: string;
|
|
103
103
|
username?: string;
|
|
104
104
|
verbose?: boolean;
|
|
105
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
105
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
106
106
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
107
107
|
isUninitialized: false;
|
|
108
108
|
isLoading: false;
|
|
@@ -122,7 +122,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
122
122
|
source?: string;
|
|
123
123
|
username?: string;
|
|
124
124
|
verbose?: boolean;
|
|
125
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
125
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
126
126
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
127
127
|
isUninitialized: false;
|
|
128
128
|
isLoading: false;
|
|
@@ -176,7 +176,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
176
176
|
source?: string;
|
|
177
177
|
username?: string;
|
|
178
178
|
verbose?: boolean;
|
|
179
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
179
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
180
180
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
181
181
|
isUninitialized: false;
|
|
182
182
|
isLoading: false;
|
|
@@ -202,7 +202,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
202
202
|
source?: string;
|
|
203
203
|
username?: string;
|
|
204
204
|
verbose?: boolean;
|
|
205
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
205
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
206
206
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
207
207
|
isUninitialized: false;
|
|
208
208
|
isLoading: false;
|
|
@@ -224,7 +224,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
224
224
|
source?: string;
|
|
225
225
|
username?: string;
|
|
226
226
|
verbose?: boolean;
|
|
227
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
227
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
228
228
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
229
229
|
isUninitialized: false;
|
|
230
230
|
isLoading: false;
|
|
@@ -244,7 +244,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
244
244
|
source?: string;
|
|
245
245
|
username?: string;
|
|
246
246
|
verbose?: boolean;
|
|
247
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
247
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
248
248
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
249
249
|
isUninitialized: false;
|
|
250
250
|
isLoading: false;
|
|
@@ -266,7 +266,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
266
266
|
source?: string;
|
|
267
267
|
username?: string;
|
|
268
268
|
verbose?: boolean;
|
|
269
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
269
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>>;
|
|
270
270
|
}, useLazyGetUserInvitationsQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
271
271
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
272
272
|
originalArgs?: undefined | undefined;
|
|
@@ -296,7 +296,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
296
296
|
source?: string;
|
|
297
297
|
username?: string;
|
|
298
298
|
verbose?: boolean;
|
|
299
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
299
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
300
300
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
301
301
|
isUninitialized: false;
|
|
302
302
|
isLoading: false;
|
|
@@ -322,7 +322,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
322
322
|
source?: string;
|
|
323
323
|
username?: string;
|
|
324
324
|
verbose?: boolean;
|
|
325
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
325
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
326
326
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
327
327
|
isUninitialized: false;
|
|
328
328
|
isLoading: false;
|
|
@@ -344,7 +344,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
344
344
|
source?: string;
|
|
345
345
|
username?: string;
|
|
346
346
|
verbose?: boolean;
|
|
347
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
347
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
348
348
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
349
349
|
isUninitialized: false;
|
|
350
350
|
isLoading: false;
|
|
@@ -364,7 +364,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
364
364
|
source?: string;
|
|
365
365
|
username?: string;
|
|
366
366
|
verbose?: boolean;
|
|
367
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
367
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
368
368
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
369
369
|
isUninitialized: false;
|
|
370
370
|
isLoading: false;
|
|
@@ -404,7 +404,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
404
404
|
source?: string;
|
|
405
405
|
username?: string;
|
|
406
406
|
verbose?: boolean;
|
|
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, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
408
408
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
409
409
|
isUninitialized: false;
|
|
410
410
|
isLoading: false;
|
|
@@ -430,7 +430,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
430
430
|
source?: string;
|
|
431
431
|
username?: string;
|
|
432
432
|
verbose?: boolean;
|
|
433
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
433
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
434
434
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
435
435
|
isUninitialized: false;
|
|
436
436
|
isLoading: false;
|
|
@@ -452,7 +452,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
452
452
|
source?: string;
|
|
453
453
|
username?: string;
|
|
454
454
|
verbose?: boolean;
|
|
455
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
455
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
456
456
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
457
457
|
isUninitialized: false;
|
|
458
458
|
isLoading: false;
|
|
@@ -472,7 +472,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
472
472
|
source?: string;
|
|
473
473
|
username?: string;
|
|
474
474
|
verbose?: boolean;
|
|
475
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
475
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>> & {
|
|
476
476
|
currentData?: import("@iblai/iblai-api").PaginatedPlatformInvitation | undefined;
|
|
477
477
|
isUninitialized: false;
|
|
478
478
|
isLoading: false;
|
|
@@ -504,7 +504,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
504
504
|
source?: string;
|
|
505
505
|
username?: string;
|
|
506
506
|
verbose?: boolean;
|
|
507
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
507
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PaginatedPlatformInvitation, "userInvitationsApiSlice", any>>, [R][R extends any ? 0 : never] & {
|
|
508
508
|
reset: () => void;
|
|
509
509
|
}, {
|
|
510
510
|
lastArg: {
|
|
@@ -700,7 +700,7 @@ export declare const useGetUserInvitationsQuery: <R extends Record<string, any>
|
|
|
700
700
|
source?: string;
|
|
701
701
|
username?: string;
|
|
702
702
|
verbose?: boolean;
|
|
703
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<
|
|
703
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, import("@iblai/iblai-api").PlatformInvitationDetail, "userInvitationsApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
704
704
|
originalArgs?: {
|
|
705
705
|
requestBody: import("@iblai/iblai-api").PlatformInvitationCreate;
|
|
706
706
|
active?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { SERVICES } from
|
|
2
|
-
|
|
1
|
+
import { SERVICES } from '../constants';
|
|
2
|
+
export { SERVICES };
|
|
3
|
+
import { type BaseQueryFn, type FetchArgs, type FetchBaseQueryError, type FetchBaseQueryMeta } from '@reduxjs/toolkit/query';
|
|
3
4
|
type CustomError = {
|
|
4
5
|
status: number;
|
|
5
6
|
error: string | object;
|
|
@@ -13,7 +14,7 @@ export declare const getServiceUrl: (service: SERVICES) => string;
|
|
|
13
14
|
*/
|
|
14
15
|
export declare const getHeaders: (service: SERVICES) => Promise<{
|
|
15
16
|
Authorization: string;
|
|
16
|
-
} |
|
|
17
|
+
} | undefined>;
|
|
17
18
|
/**
|
|
18
19
|
* Build a generic RTK Query endpoint from a service function.
|
|
19
20
|
*/
|
|
@@ -32,16 +33,19 @@ export declare const buildEndpointFromDmService: <Args extends Record<string, un
|
|
|
32
33
|
export declare const buildEndpointFromAxdService: <Args extends Record<string, unknown>, Result>(serviceFn: (args: Args) => Promise<Result>) => {
|
|
33
34
|
queryFn: BaseQueryFn<Args, Result, FetchBaseQueryError | CustomError>;
|
|
34
35
|
};
|
|
35
|
-
export interface CustomQueryArgs extends Omit<FetchArgs,
|
|
36
|
+
export interface CustomQueryArgs extends Omit<FetchArgs, 'url'> {
|
|
36
37
|
url: string;
|
|
37
38
|
service: SERVICES;
|
|
38
39
|
isJson?: boolean;
|
|
39
40
|
contentType?: string;
|
|
41
|
+
skipAuth?: boolean;
|
|
40
42
|
}
|
|
41
43
|
export type ExtendedFetchBaseQueryError = FetchBaseQueryError & {
|
|
42
44
|
data?: {
|
|
43
45
|
detail?: string;
|
|
44
46
|
message?: string;
|
|
47
|
+
error?: string;
|
|
48
|
+
error_description?: string;
|
|
45
49
|
} | string;
|
|
46
50
|
};
|
|
47
51
|
export declare const iblFetchBaseQuery: BaseQueryFn<CustomQueryArgs, unknown, ExtendedFetchBaseQueryError, Record<string, unknown>, FetchBaseQueryMeta>;
|
|
@@ -63,4 +67,3 @@ export declare const buildEndpointFromDmServiceLegacy: <Args extends any[], Resu
|
|
|
63
67
|
export declare const buildEndpointFromAxdServiceLegacy: <Args extends any[], Result>(serviceFn: (...args: Args) => Promise<Result>) => {
|
|
64
68
|
queryFn: BaseQueryFn<Args, Result, FetchBaseQueryError | CustomError>;
|
|
65
69
|
};
|
|
66
|
-
export {};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,47 +1,78 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
39
|
-
export * from
|
|
40
|
-
export * from
|
|
41
|
-
export * from
|
|
42
|
-
export * from
|
|
43
|
-
export * from
|
|
44
|
-
export * from
|
|
45
|
-
export * from
|
|
46
|
-
export * from
|
|
47
|
-
export * from
|
|
1
|
+
export * from './features/api-keys/api-slice';
|
|
2
|
+
export * from './features/chat-history/api-slice';
|
|
3
|
+
export * from './features/chat/api-slice';
|
|
4
|
+
export * from './features/chat-files/api-slice';
|
|
5
|
+
export * from './features/chat-files/types';
|
|
6
|
+
export * from './features/llms/api-slice';
|
|
7
|
+
export * from './features/mentor/api-slice';
|
|
8
|
+
export * from './features/mentor-categories/api-slice';
|
|
9
|
+
export * from './features/prompts/api-slice';
|
|
10
|
+
export * from './features/auth/api-slice';
|
|
11
|
+
export * from './features/auth/types';
|
|
12
|
+
export * from './features/tenant/api-slice';
|
|
13
|
+
export * from './features/training-documents/api-slice';
|
|
14
|
+
export * from './features/platform/api-slice';
|
|
15
|
+
export * from './features/user/api-slice';
|
|
16
|
+
export * from './features/user/types';
|
|
17
|
+
export * from './features/user/api-slice';
|
|
18
|
+
export * from './features/core/api-slice';
|
|
19
|
+
export * from './features/core/constants';
|
|
20
|
+
export * from './features/skills/api-slice';
|
|
21
|
+
export * from './features/credentials/api-slice';
|
|
22
|
+
export * from './features/credentials/types';
|
|
23
|
+
export * from './features/user-invitations/api-slice';
|
|
24
|
+
export * from './features/apps/api-slice';
|
|
25
|
+
export * from './features/billing/api-slice';
|
|
26
|
+
export * from './features/stripe/types';
|
|
27
|
+
export * from './features/stripe/api-slice';
|
|
28
|
+
export * from './features/sessions/api-slice';
|
|
29
|
+
export * from './features/datasets/api-slice';
|
|
30
|
+
export * from './features/tools/api-slice';
|
|
31
|
+
export * from './features/analytics/api-slice';
|
|
32
|
+
export * from './features/analytics/types';
|
|
33
|
+
export * from './features/reports/api-slice';
|
|
34
|
+
export * from './features/catalog/api-slice';
|
|
35
|
+
export * from './features/per-learner/api-slice';
|
|
36
|
+
export * from './features/search/api-slice';
|
|
37
|
+
export * from './features/career/api-slice';
|
|
38
|
+
export * from './constants';
|
|
39
|
+
export * from './config';
|
|
40
|
+
export * from './services/StorageService';
|
|
41
|
+
export * from './core';
|
|
42
|
+
export * from './features/tenant-logo/api-slice';
|
|
43
|
+
export * from './features/tenant-logo/constants';
|
|
44
|
+
export * from './features/credentials/custom-api-slice';
|
|
45
|
+
export * from './features/credentials/constants';
|
|
46
|
+
export * from './features/notifications/api-slice';
|
|
47
|
+
export * from './features/notifications/custom-api-slice';
|
|
48
|
+
export * from './features/notifications/types';
|
|
49
|
+
export * from './features/notifications/constants';
|
|
50
|
+
export * from './features/mentor/custom-api-slice';
|
|
51
|
+
export * from './features/mentor/constants';
|
|
52
|
+
export * from './features/mentor/types';
|
|
53
|
+
export * from './features/memory/api-slice';
|
|
54
|
+
export * from './features/memory/constants';
|
|
55
|
+
export * from './features/memory/types';
|
|
56
|
+
export * from './features/constants';
|
|
57
|
+
export * from './features/custom-domain/api-slice';
|
|
58
|
+
export * from './features/custom-domain/types';
|
|
59
|
+
export * from './features/custom-domain/constants';
|
|
60
|
+
export * from './features/platform/custom-api-slice';
|
|
61
|
+
export * from './features/platform/constants';
|
|
62
|
+
export * from './features/platform/types';
|
|
63
|
+
export * from './features/core/custom-api-slice';
|
|
64
|
+
export * from './features/core/constants';
|
|
65
|
+
export * from './features/core/types';
|
|
66
|
+
export * from './features/core/custom-public-image-asset-api-slice';
|
|
67
|
+
export * from './features/edx-proctoring/api-slice';
|
|
68
|
+
export * from './features/edx-proctoring/constants';
|
|
69
|
+
export * from './features/edx-proctoring/types';
|
|
70
|
+
export * from './features/disclaimers/api-slice';
|
|
71
|
+
export * from './features/disclaimers/constants';
|
|
72
|
+
export * from './features/disclaimers/types';
|
|
73
|
+
export * from './features/search/ai-search-api-slice';
|
|
74
|
+
export * from './features/search/types';
|
|
75
|
+
export * from './features/search/constants';
|
|
76
|
+
export * from './reducers';
|
|
77
|
+
export * from './utils';
|
|
78
|
+
export type { LLMResponse, MentorSettings } from '@iblai/iblai-api';
|