@iblai/data-layer 0.0.4 → 0.2.0
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 +39165 -23
- package/dist/index.esm.js +23977 -16560
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +24138 -16560
- package/dist/index.js.map +1 -1
- package/dist/package.json +82 -0
- package/dist/src/config.d.ts +2 -0
- package/dist/src/constants.d.ts +2 -3
- package/dist/src/features/analytics/api-slice.d.ts +1600 -0
- package/dist/src/features/analytics/constants.d.ts +66 -0
- package/dist/src/features/analytics/types.d.ts +100 -0
- package/dist/src/features/api-keys/api-slice.d.ts +104 -33
- package/dist/src/features/apps/api-slice.d.ts +683 -0
- package/dist/src/features/auth/api-slice.d.ts +137 -0
- package/dist/src/features/auth/constants.d.ts +8 -0
- package/dist/src/features/auth/types.d.ts +13 -0
- package/dist/src/features/billing/api-slice.d.ts +349 -0
- package/dist/{features/api-keys → src/features/career}/api-slice.d.ts +392 -299
- package/dist/src/features/catalog/api-slice.d.ts +6602 -1
- package/dist/src/features/chat/api-slice.d.ts +1566 -31
- package/dist/src/features/chat/chat-slice.d.ts +4 -7
- package/dist/src/features/chat-history/api-slice.d.ts +517 -243
- package/dist/src/features/core/api-slice.d.ts +493 -4
- package/dist/src/features/core/constants.d.ts +4 -0
- package/dist/src/features/credentials/api-slice.d.ts +1661 -63
- package/dist/src/features/credentials/constants.d.ts +28 -0
- package/dist/src/features/credentials/custom-api-slice.d.ts +1284 -0
- package/dist/src/features/credentials/types.d.ts +16 -0
- package/dist/src/features/datasets/api-slice.d.ts +351 -42
- package/dist/src/features/llms/api-slice.d.ts +88 -22
- package/dist/src/features/memory/api-slice.d.ts +1222 -0
- package/dist/src/features/mentor/api-slice.d.ts +2628 -146
- package/dist/src/features/mentor/constants.d.ts +31 -0
- package/dist/src/features/mentor/custom-api-slice.d.ts +268 -0
- package/dist/src/features/mentor/types.d.ts +38 -0
- package/dist/src/features/mentor-categories/api-slice.d.ts +66 -22
- package/dist/src/features/notifications/api-slice.d.ts +946 -0
- package/dist/src/features/per-learner/api-slice.d.ts +1213 -0
- package/dist/src/features/platform/api-slice.d.ts +769 -49
- package/dist/src/features/prompts/api-slice.d.ts +1334 -72
- package/dist/src/features/search/api-slice.d.ts +1939 -0
- package/dist/src/features/sessions/api-slice.d.ts +705 -0
- package/dist/src/features/skills/api-slice.d.ts +504 -64
- package/dist/src/features/stripe/api-slice.d.ts +620 -0
- package/dist/src/features/stripe/constants.d.ts +15 -0
- package/dist/src/features/stripe/types.d.ts +9 -0
- package/dist/src/features/tenant/api-slice.d.ts +268 -45
- package/dist/src/features/tenant/constants.d.ts +1 -1
- package/dist/src/features/tenant-logo/api-slice.d.ts +349 -0
- package/dist/src/features/tenant-logo/constants.d.ts +24 -0
- package/dist/src/features/tools/api-slice.d.ts +88 -22
- package/dist/src/features/training-documents/api-slice.d.ts +223 -51
- package/dist/src/features/user/api-slice.d.ts +1457 -22
- package/dist/src/features/user/constants.d.ts +30 -1
- package/dist/src/features/user/types.d.ts +65 -2
- package/dist/src/features/user-invitations/api-slice.d.ts +345 -55
- package/dist/src/features/utils.d.ts +25 -5
- package/dist/src/index.d.ts +24 -0
- package/dist/src/reducers/index.d.ts +1 -0
- package/dist/src/reducers/mentor.d.ts +2 -120
- package/dist/src/reducers/skills.d.ts +1128 -0
- package/dist/src/utils/index.d.ts +2 -2
- package/dist/tests/features/analytics/constants.test.d.ts +1 -0
- package/dist/tests/features/user/api-slice.test.d.ts +1 -0
- package/dist/tests/features/user/constants.test.d.ts +1 -0
- package/dist/tests/setupTests.d.ts +1 -0
- package/package.json +31 -25
- package/dist/config.d.ts +0 -5
- package/dist/constants.d.ts +0 -31
- package/dist/core/index.d.ts +0 -4
- package/dist/features/chat/api-slice.d.ts +0 -956
- package/dist/features/chat/chat-slice.d.ts +0 -15
- package/dist/features/chat-history/api-slice.d.ts +0 -956
- package/dist/features/chat-history/constants.d.ts +0 -3
- package/dist/features/core/api-slice.d.ts +0 -164
- package/dist/features/credentials/api-slice.d.ts +0 -531
- package/dist/features/datasets/api-slice.d.ts +0 -267
- package/dist/features/index.d.ts +0 -1
- package/dist/features/llms/api-slice.d.ts +0 -267
- package/dist/features/mentor/api-slice.d.ts +0 -1816
- package/dist/features/mentor-categories/api-slice.d.ts +0 -267
- package/dist/features/platform/api-slice.d.ts +0 -735
- package/dist/features/prompts/api-slice.d.ts +0 -1014
- package/dist/features/skills/api-slice.d.ts +0 -795
- package/dist/features/tenant/api-slice.d.ts +0 -536
- package/dist/features/tenant/constants.d.ts +0 -11
- package/dist/features/tenant/types.d.ts +0 -18
- package/dist/features/tools/api-slice.d.ts +0 -267
- package/dist/features/training-documents/api-slice.d.ts +0 -750
- package/dist/features/user/api-slice.d.ts +0 -751
- package/dist/features/user/constants.d.ts +0 -19
- package/dist/features/user/types.d.ts +0 -64
- package/dist/features/user-invitations/api-slice.d.ts +0 -428
- package/dist/features/utils.d.ts +0 -46
- package/dist/node_modules/@iblai/iblai-api/src/core/ApiError.d.ts +0 -10
- package/dist/node_modules/@iblai/iblai-api/src/core/ApiRequestOptions.d.ts +0 -13
- package/dist/node_modules/@iblai/iblai-api/src/core/ApiResult.d.ts +0 -7
- package/dist/node_modules/@iblai/iblai-api/src/core/CancelablePromise.d.ts +0 -20
- package/dist/node_modules/@iblai/iblai-api/src/core/OpenAPI.d.ts +0 -16
- package/dist/node_modules/@iblai/iblai-api/src/core/request.d.ts +0 -30
- package/dist/reducers/index.d.ts +0 -1
- package/dist/reducers/mentor.d.ts +0 -135
- package/dist/services/StorageService.d.ts +0 -5
- package/dist/src/features/chat-history/constants.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -2
- /package/dist/{features → src/features}/constants.d.ts +0 -0
- /package/dist/{features/catalog/api-slice.d.ts → tests/features/analytics/api-slice.test.d.ts} +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { SERVICES } from "@data-layer/constants";
|
|
2
|
+
export declare const ANALYTICS_ENDPOINTS: {
|
|
3
|
+
GET_OVERVIEW_SUMMARY: {
|
|
4
|
+
service: SERVICES;
|
|
5
|
+
path: (org: string, userId: string) => string;
|
|
6
|
+
};
|
|
7
|
+
GET_CONVERSATION: {
|
|
8
|
+
service: SERVICES;
|
|
9
|
+
path: (org: string, userId: string) => string;
|
|
10
|
+
};
|
|
11
|
+
GET_MOST_DISCUSSED_TOPICS: {
|
|
12
|
+
service: SERVICES;
|
|
13
|
+
path: (org: string, userId: string) => string;
|
|
14
|
+
};
|
|
15
|
+
GET_AVERAGE_MESSAGES_PER_SESSION: {
|
|
16
|
+
service: SERVICES;
|
|
17
|
+
path: (org: string, userId: string) => string;
|
|
18
|
+
};
|
|
19
|
+
GET_REGISTERED_USERS_TREND: {
|
|
20
|
+
service: SERVICES;
|
|
21
|
+
path: (org: string, userId: string) => string;
|
|
22
|
+
};
|
|
23
|
+
GET_USER_METRICS: {
|
|
24
|
+
service: SERVICES;
|
|
25
|
+
path: (org: string, userId: string) => string;
|
|
26
|
+
};
|
|
27
|
+
GET_USER_METRICS_PIE_CHART: {
|
|
28
|
+
service: SERVICES;
|
|
29
|
+
path: (org: string, userId: string) => string;
|
|
30
|
+
};
|
|
31
|
+
GET_USER_COHORTS_OVER_TIME: {
|
|
32
|
+
service: SERVICES;
|
|
33
|
+
path: (org: string, userId: string) => string;
|
|
34
|
+
};
|
|
35
|
+
GET_TOP_STUDENTS_BY_CHAT_MESSAGES: {
|
|
36
|
+
service: SERVICES;
|
|
37
|
+
path: (org: string, userId: string) => string;
|
|
38
|
+
};
|
|
39
|
+
GET_TOPIC_OVERVIEW: {
|
|
40
|
+
service: SERVICES;
|
|
41
|
+
path: (org: string, userId: string) => string;
|
|
42
|
+
};
|
|
43
|
+
GET_TOPICS_SUMMARY: {
|
|
44
|
+
service: SERVICES;
|
|
45
|
+
path: (org: string, userId: string) => string;
|
|
46
|
+
};
|
|
47
|
+
GET_TOPIC_STATISTICS: {
|
|
48
|
+
service: SERVICES;
|
|
49
|
+
path: (org: string, userId: string) => string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export declare const ANALYTICS_QUERY_KEYS: {
|
|
53
|
+
GET_OVERVIEW_SUMMARY: () => string[];
|
|
54
|
+
GET_CONVERSATION: () => string[];
|
|
55
|
+
GET_MOST_DISCUSSED_TOPICS: () => string[];
|
|
56
|
+
GET_AVERAGE_MESSAGES_PER_SESSION: () => string[];
|
|
57
|
+
GET_REGISTERED_USERS_TREND: () => string[];
|
|
58
|
+
GET_USER_METRICS: () => string[];
|
|
59
|
+
GET_USER_METRICS_PIE_CHART: () => string[];
|
|
60
|
+
GET_USER_COHORTS_OVER_TIME: () => string[];
|
|
61
|
+
GET_TOP_STUDENTS_BY_CHAT_MESSAGES: () => string[];
|
|
62
|
+
GET_TOPIC_OVERVIEW: () => string[];
|
|
63
|
+
GET_TOPICS_SUMMARY: () => string[];
|
|
64
|
+
GET_TOPIC_STATISTICS: () => string[];
|
|
65
|
+
};
|
|
66
|
+
export declare const ANALYTICS_REDUCER_PATH = "analyticsApiSlice";
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export type AggregationType = "daily" | "hourly" | "weekly" | "monthly";
|
|
2
|
+
export interface AnalyticsBaseParams {
|
|
3
|
+
org: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
mentorId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface AnalyticsDateParams extends AnalyticsBaseParams {
|
|
8
|
+
startDate: string;
|
|
9
|
+
endDate: string;
|
|
10
|
+
aggregation: AggregationType;
|
|
11
|
+
}
|
|
12
|
+
export interface AnalyticsPaginationParams extends AnalyticsDateParams {
|
|
13
|
+
page: number;
|
|
14
|
+
pageSize: number;
|
|
15
|
+
}
|
|
16
|
+
export interface OverviewSummaryResponse {
|
|
17
|
+
conversation_volume: {
|
|
18
|
+
total: number;
|
|
19
|
+
change: number;
|
|
20
|
+
};
|
|
21
|
+
users: {
|
|
22
|
+
total: number;
|
|
23
|
+
change: number;
|
|
24
|
+
};
|
|
25
|
+
topics: {
|
|
26
|
+
total: number;
|
|
27
|
+
change: number;
|
|
28
|
+
};
|
|
29
|
+
user_rating: {
|
|
30
|
+
total: number;
|
|
31
|
+
change: number;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export interface ConversationSummaryResponse {
|
|
35
|
+
date: string;
|
|
36
|
+
conversation_count: number;
|
|
37
|
+
}
|
|
38
|
+
export interface TopicStatisticsResponse {
|
|
39
|
+
count: number;
|
|
40
|
+
next: string | null;
|
|
41
|
+
previous: string | null;
|
|
42
|
+
results: Array<{
|
|
43
|
+
name: string;
|
|
44
|
+
conversations: number;
|
|
45
|
+
messages: number;
|
|
46
|
+
avg_rating: string;
|
|
47
|
+
}>;
|
|
48
|
+
}
|
|
49
|
+
export interface TopicOverviewResponse {
|
|
50
|
+
total_topics: number;
|
|
51
|
+
total_topics_change_percentage: number;
|
|
52
|
+
new_topics: number;
|
|
53
|
+
new_topics_change_percentage: number;
|
|
54
|
+
}
|
|
55
|
+
export interface UserMetricsResponse {
|
|
56
|
+
registered_users: {
|
|
57
|
+
total: number;
|
|
58
|
+
change_percentage: number;
|
|
59
|
+
};
|
|
60
|
+
new_users: {
|
|
61
|
+
total: number;
|
|
62
|
+
change_percentage: number;
|
|
63
|
+
};
|
|
64
|
+
unique_users: {
|
|
65
|
+
total: number;
|
|
66
|
+
change_percentage: number;
|
|
67
|
+
};
|
|
68
|
+
veteran_users: {
|
|
69
|
+
total: number;
|
|
70
|
+
change_percentage: number;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export interface UserMetricsPieChartResponse {
|
|
74
|
+
new_users: {
|
|
75
|
+
count: number;
|
|
76
|
+
percentage: number;
|
|
77
|
+
};
|
|
78
|
+
returning_users: {
|
|
79
|
+
count: number;
|
|
80
|
+
percentage: number;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
export interface UserCohortsOverTimeResponse {
|
|
84
|
+
periods: string[];
|
|
85
|
+
new_users: number[];
|
|
86
|
+
veteran_users: number[];
|
|
87
|
+
}
|
|
88
|
+
export interface TopStudentsResponse {
|
|
89
|
+
username: string;
|
|
90
|
+
chat_message_count: number;
|
|
91
|
+
}
|
|
92
|
+
export interface TopicsSummaryResponse {
|
|
93
|
+
name: string;
|
|
94
|
+
conversation_count: number;
|
|
95
|
+
}
|
|
96
|
+
export interface AverageMessagesPerSessionResponse {
|
|
97
|
+
time: string;
|
|
98
|
+
avg_messages: number;
|
|
99
|
+
total_sessions: number;
|
|
100
|
+
}
|
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
export declare const apiKeysApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, {
|
|
2
|
-
getApiKeys: import("@reduxjs/toolkit/query").QueryDefinition<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
getApiKeys: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
3
|
+
platformKey: string;
|
|
4
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>;
|
|
5
|
+
createApiKey: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
6
|
+
requestBody: import("@iblai/iblai-api").PlatformApiKey;
|
|
7
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey, "apiKeysApiSlice", any>;
|
|
8
|
+
deleteApiKey: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
9
|
+
name: string;
|
|
10
|
+
platformKey: string;
|
|
11
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", void, "apiKeysApiSlice", any>;
|
|
12
|
+
}, "apiKeysApiSlice", "apiKeys", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
13
|
+
export declare const apiKeysApiReducer: import("@reduxjs/toolkit").Reducer<import("@reduxjs/toolkit/query").CombinedState<{
|
|
14
|
+
getApiKeys: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
15
|
+
platformKey: string;
|
|
16
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>;
|
|
17
|
+
createApiKey: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
18
|
+
requestBody: import("@iblai/iblai-api").PlatformApiKey;
|
|
19
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey, "apiKeysApiSlice", any>;
|
|
20
|
+
deleteApiKey: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
21
|
+
name: string;
|
|
22
|
+
platformKey: string;
|
|
23
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", void, "apiKeysApiSlice", any>;
|
|
24
|
+
}, "apiKeys", "apiKeysApiSlice">, import("@reduxjs/toolkit").UnknownAction>;
|
|
11
25
|
export declare const useGetApiKeysQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
12
26
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
13
27
|
originalArgs?: undefined | undefined;
|
|
@@ -26,7 +40,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
26
40
|
isError: false;
|
|
27
41
|
}, "isUninitialized"> & {
|
|
28
42
|
isUninitialized: true;
|
|
29
|
-
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
43
|
+
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
44
|
+
platformKey: string;
|
|
45
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
30
46
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
31
47
|
isUninitialized: false;
|
|
32
48
|
isLoading: false;
|
|
@@ -41,7 +57,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
41
57
|
isSuccess: true;
|
|
42
58
|
isFetching: true;
|
|
43
59
|
error: undefined;
|
|
44
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
60
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
61
|
+
platformKey: string;
|
|
62
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
45
63
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
46
64
|
isUninitialized: false;
|
|
47
65
|
isLoading: false;
|
|
@@ -52,7 +70,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
52
70
|
isSuccess: true;
|
|
53
71
|
isFetching: false;
|
|
54
72
|
error: undefined;
|
|
55
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
73
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
74
|
+
platformKey: string;
|
|
75
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
56
76
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
57
77
|
isUninitialized: false;
|
|
58
78
|
isLoading: false;
|
|
@@ -61,7 +81,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
61
81
|
isError: false;
|
|
62
82
|
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
|
|
63
83
|
isError: true;
|
|
64
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
84
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
85
|
+
platformKey: string;
|
|
86
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
65
87
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
66
88
|
isUninitialized: false;
|
|
67
89
|
isLoading: false;
|
|
@@ -70,7 +92,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
70
92
|
isError: false;
|
|
71
93
|
}, "error">>)>> & {
|
|
72
94
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
73
|
-
}>(arg:
|
|
95
|
+
}>(arg: {
|
|
96
|
+
platformKey: string;
|
|
97
|
+
} | typeof import("@reduxjs/toolkit/query").skipToken, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
74
98
|
skip?: boolean;
|
|
75
99
|
refetchOnMountOrArgChange?: boolean | number;
|
|
76
100
|
} & {
|
|
@@ -93,7 +117,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
93
117
|
isError: false;
|
|
94
118
|
}, "isUninitialized"> & {
|
|
95
119
|
isUninitialized: true;
|
|
96
|
-
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
120
|
+
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
121
|
+
platformKey: string;
|
|
122
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
97
123
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
98
124
|
isUninitialized: false;
|
|
99
125
|
isLoading: false;
|
|
@@ -108,7 +134,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
108
134
|
isSuccess: true;
|
|
109
135
|
isFetching: true;
|
|
110
136
|
error: undefined;
|
|
111
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
137
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
138
|
+
platformKey: string;
|
|
139
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
112
140
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
113
141
|
isUninitialized: false;
|
|
114
142
|
isLoading: false;
|
|
@@ -119,7 +147,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
119
147
|
isSuccess: true;
|
|
120
148
|
isFetching: false;
|
|
121
149
|
error: undefined;
|
|
122
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
150
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
151
|
+
platformKey: string;
|
|
152
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
123
153
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
124
154
|
isUninitialized: false;
|
|
125
155
|
isLoading: false;
|
|
@@ -128,7 +158,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
128
158
|
isError: false;
|
|
129
159
|
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
|
|
130
160
|
isError: true;
|
|
131
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
161
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
162
|
+
platformKey: string;
|
|
163
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
132
164
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
133
165
|
isUninitialized: false;
|
|
134
166
|
isLoading: false;
|
|
@@ -139,7 +171,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
139
171
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
140
172
|
}) => R) | undefined;
|
|
141
173
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
142
|
-
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
174
|
+
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
175
|
+
platformKey: string;
|
|
176
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>>;
|
|
143
177
|
}, useLazyGetApiKeysQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
144
178
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
145
179
|
originalArgs?: undefined | undefined;
|
|
@@ -158,7 +192,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
158
192
|
isError: false;
|
|
159
193
|
}, "isUninitialized"> & {
|
|
160
194
|
isUninitialized: true;
|
|
161
|
-
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
195
|
+
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
196
|
+
platformKey: string;
|
|
197
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
162
198
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
163
199
|
isUninitialized: false;
|
|
164
200
|
isLoading: false;
|
|
@@ -173,7 +209,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
173
209
|
isSuccess: true;
|
|
174
210
|
isFetching: true;
|
|
175
211
|
error: undefined;
|
|
176
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
212
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
213
|
+
platformKey: string;
|
|
214
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
177
215
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
178
216
|
isUninitialized: false;
|
|
179
217
|
isLoading: false;
|
|
@@ -184,7 +222,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
184
222
|
isSuccess: true;
|
|
185
223
|
isFetching: false;
|
|
186
224
|
error: undefined;
|
|
187
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
225
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
226
|
+
platformKey: string;
|
|
227
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
188
228
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
189
229
|
isUninitialized: false;
|
|
190
230
|
isLoading: false;
|
|
@@ -193,7 +233,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
193
233
|
isError: false;
|
|
194
234
|
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
|
|
195
235
|
isError: true;
|
|
196
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
236
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
237
|
+
platformKey: string;
|
|
238
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
197
239
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
198
240
|
isUninitialized: false;
|
|
199
241
|
isLoading: false;
|
|
@@ -222,7 +264,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
222
264
|
isError: false;
|
|
223
265
|
}, "isUninitialized"> & {
|
|
224
266
|
isUninitialized: true;
|
|
225
|
-
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
267
|
+
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
268
|
+
platformKey: string;
|
|
269
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
226
270
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
227
271
|
isUninitialized: false;
|
|
228
272
|
isLoading: false;
|
|
@@ -237,7 +281,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
237
281
|
isSuccess: true;
|
|
238
282
|
isFetching: true;
|
|
239
283
|
error: undefined;
|
|
240
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
284
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
285
|
+
platformKey: string;
|
|
286
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
241
287
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
242
288
|
isUninitialized: false;
|
|
243
289
|
isLoading: false;
|
|
@@ -248,7 +294,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
248
294
|
isSuccess: true;
|
|
249
295
|
isFetching: false;
|
|
250
296
|
error: undefined;
|
|
251
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
297
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
298
|
+
platformKey: string;
|
|
299
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
252
300
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
253
301
|
isUninitialized: false;
|
|
254
302
|
isLoading: false;
|
|
@@ -257,7 +305,9 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
257
305
|
isError: false;
|
|
258
306
|
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
|
|
259
307
|
isError: true;
|
|
260
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
308
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
309
|
+
platformKey: string;
|
|
310
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
|
|
261
311
|
currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
|
|
262
312
|
isUninitialized: false;
|
|
263
313
|
isLoading: false;
|
|
@@ -267,10 +317,16 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
267
317
|
}, "error">>)>> & {
|
|
268
318
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
269
319
|
}) => R) | undefined;
|
|
270
|
-
}, "skip">) | undefined) => [(arg:
|
|
320
|
+
}, "skip">) | undefined) => [(arg: {
|
|
321
|
+
platformKey: string;
|
|
322
|
+
}, preferCacheValue?: boolean) => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
323
|
+
platformKey: string;
|
|
324
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>>, [R][R extends any ? 0 : never] & {
|
|
271
325
|
reset: () => void;
|
|
272
326
|
}, {
|
|
273
|
-
lastArg:
|
|
327
|
+
lastArg: {
|
|
328
|
+
platformKey: string;
|
|
329
|
+
};
|
|
274
330
|
}], useCreateApiKeyMutation: <R extends Record<string, any> = ({
|
|
275
331
|
requestId?: undefined;
|
|
276
332
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
@@ -428,8 +484,14 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
428
484
|
isError: true;
|
|
429
485
|
})) => R) | undefined;
|
|
430
486
|
fixedCacheKey?: string;
|
|
431
|
-
} | undefined) => readonly [(arg:
|
|
432
|
-
|
|
487
|
+
} | undefined) => readonly [(arg: {
|
|
488
|
+
requestBody: import("@iblai/iblai-api").PlatformApiKey;
|
|
489
|
+
}) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
490
|
+
requestBody: import("@iblai/iblai-api").PlatformApiKey;
|
|
491
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey, "apiKeysApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
492
|
+
originalArgs?: {
|
|
493
|
+
requestBody: import("@iblai/iblai-api").PlatformApiKey;
|
|
494
|
+
} | undefined;
|
|
433
495
|
reset: () => void;
|
|
434
496
|
}], useDeleteApiKeyMutation: <R extends Record<string, any> = ({
|
|
435
497
|
requestId?: undefined;
|
|
@@ -588,7 +650,16 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
|
|
|
588
650
|
isError: true;
|
|
589
651
|
})) => R) | undefined;
|
|
590
652
|
fixedCacheKey?: string;
|
|
591
|
-
} | undefined) => readonly [(arg:
|
|
592
|
-
|
|
653
|
+
} | undefined) => readonly [(arg: {
|
|
654
|
+
name: string;
|
|
655
|
+
platformKey: string;
|
|
656
|
+
}) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
657
|
+
name: string;
|
|
658
|
+
platformKey: string;
|
|
659
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", void, "apiKeysApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
660
|
+
originalArgs?: {
|
|
661
|
+
name: string;
|
|
662
|
+
platformKey: string;
|
|
663
|
+
} | undefined;
|
|
593
664
|
reset: () => void;
|
|
594
665
|
}];
|