@iblai/data-layer 0.0.5 → 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 +23976 -16565
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +24135 -16565
- 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 -1278
- 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
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
export declare const trainingDocumentsApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, {
|
|
2
|
-
getTrainingDocuments: import("@reduxjs/toolkit/query").QueryDefinition<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
getTrainingDocuments: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
3
|
+
org: string;
|
|
4
|
+
pathway: string;
|
|
5
|
+
limit?: number;
|
|
6
|
+
offset?: number;
|
|
7
|
+
search?: string;
|
|
8
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>;
|
|
9
|
+
addTrainingDocument: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
10
|
+
org: string;
|
|
11
|
+
formData: import("@iblai/iblai-api").TrainDocumentViewRequest;
|
|
12
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").TrainDocumentViewResponse, "trainingDocumentsApiSlice", any>;
|
|
13
|
+
editTrainingDocument: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
14
|
+
documentId: string;
|
|
15
|
+
org: string;
|
|
16
|
+
formData: import("@iblai/iblai-api").RetrieverDocumentEmbeddingRequest;
|
|
17
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").RetrieverDocumentEmbedding, "trainingDocumentsApiSlice", any>;
|
|
18
|
+
deleteTrainingDocument: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
19
|
+
documentId: string;
|
|
20
|
+
org: string;
|
|
21
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", void, "trainingDocumentsApiSlice", any>;
|
|
22
|
+
}, "trainingDocumentsApiSlice", "trainingDocuments", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
7
23
|
export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
8
24
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
9
25
|
originalArgs?: undefined | undefined;
|
|
@@ -14,7 +30,7 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
14
30
|
startedTimeStamp?: undefined | undefined;
|
|
15
31
|
fulfilledTimeStamp?: undefined | undefined;
|
|
16
32
|
} & {
|
|
17
|
-
currentData?: import("@iblai/iblai-api").
|
|
33
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
18
34
|
isUninitialized: false;
|
|
19
35
|
isLoading: false;
|
|
20
36
|
isFetching: false;
|
|
@@ -22,8 +38,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
22
38
|
isError: false;
|
|
23
39
|
}, "isUninitialized"> & {
|
|
24
40
|
isUninitialized: true;
|
|
25
|
-
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
26
|
-
|
|
41
|
+
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
42
|
+
org: string;
|
|
43
|
+
pathway: string;
|
|
44
|
+
limit?: number;
|
|
45
|
+
offset?: number;
|
|
46
|
+
search?: string;
|
|
47
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
48
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
27
49
|
isUninitialized: false;
|
|
28
50
|
isLoading: false;
|
|
29
51
|
isFetching: false;
|
|
@@ -37,8 +59,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
37
59
|
isSuccess: true;
|
|
38
60
|
isFetching: true;
|
|
39
61
|
error: undefined;
|
|
40
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
41
|
-
|
|
62
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
63
|
+
org: string;
|
|
64
|
+
pathway: string;
|
|
65
|
+
limit?: number;
|
|
66
|
+
offset?: number;
|
|
67
|
+
search?: string;
|
|
68
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
69
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
42
70
|
isUninitialized: false;
|
|
43
71
|
isLoading: false;
|
|
44
72
|
isFetching: false;
|
|
@@ -48,8 +76,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
48
76
|
isSuccess: true;
|
|
49
77
|
isFetching: false;
|
|
50
78
|
error: undefined;
|
|
51
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
52
|
-
|
|
79
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
80
|
+
org: string;
|
|
81
|
+
pathway: string;
|
|
82
|
+
limit?: number;
|
|
83
|
+
offset?: number;
|
|
84
|
+
search?: string;
|
|
85
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
86
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
53
87
|
isUninitialized: false;
|
|
54
88
|
isLoading: false;
|
|
55
89
|
isFetching: false;
|
|
@@ -57,8 +91,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
57
91
|
isError: false;
|
|
58
92
|
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
|
|
59
93
|
isError: true;
|
|
60
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
61
|
-
|
|
94
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
95
|
+
org: string;
|
|
96
|
+
pathway: string;
|
|
97
|
+
limit?: number;
|
|
98
|
+
offset?: number;
|
|
99
|
+
search?: string;
|
|
100
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
101
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
62
102
|
isUninitialized: false;
|
|
63
103
|
isLoading: false;
|
|
64
104
|
isFetching: false;
|
|
@@ -66,7 +106,13 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
66
106
|
isError: false;
|
|
67
107
|
}, "error">>)>> & {
|
|
68
108
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
69
|
-
}>(arg:
|
|
109
|
+
}>(arg: {
|
|
110
|
+
org: string;
|
|
111
|
+
pathway: string;
|
|
112
|
+
limit?: number;
|
|
113
|
+
offset?: number;
|
|
114
|
+
search?: string;
|
|
115
|
+
} | typeof import("@reduxjs/toolkit/query").skipToken, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
70
116
|
skip?: boolean;
|
|
71
117
|
refetchOnMountOrArgChange?: boolean | number;
|
|
72
118
|
} & {
|
|
@@ -81,7 +127,7 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
81
127
|
startedTimeStamp?: undefined | undefined;
|
|
82
128
|
fulfilledTimeStamp?: undefined | undefined;
|
|
83
129
|
} & {
|
|
84
|
-
currentData?: import("@iblai/iblai-api").
|
|
130
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
85
131
|
isUninitialized: false;
|
|
86
132
|
isLoading: false;
|
|
87
133
|
isFetching: false;
|
|
@@ -89,8 +135,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
89
135
|
isError: false;
|
|
90
136
|
}, "isUninitialized"> & {
|
|
91
137
|
isUninitialized: true;
|
|
92
|
-
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
93
|
-
|
|
138
|
+
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
139
|
+
org: string;
|
|
140
|
+
pathway: string;
|
|
141
|
+
limit?: number;
|
|
142
|
+
offset?: number;
|
|
143
|
+
search?: string;
|
|
144
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
145
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
94
146
|
isUninitialized: false;
|
|
95
147
|
isLoading: false;
|
|
96
148
|
isFetching: false;
|
|
@@ -104,8 +156,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
104
156
|
isSuccess: true;
|
|
105
157
|
isFetching: true;
|
|
106
158
|
error: undefined;
|
|
107
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
108
|
-
|
|
159
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
160
|
+
org: string;
|
|
161
|
+
pathway: string;
|
|
162
|
+
limit?: number;
|
|
163
|
+
offset?: number;
|
|
164
|
+
search?: string;
|
|
165
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
166
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
109
167
|
isUninitialized: false;
|
|
110
168
|
isLoading: false;
|
|
111
169
|
isFetching: false;
|
|
@@ -115,8 +173,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
115
173
|
isSuccess: true;
|
|
116
174
|
isFetching: false;
|
|
117
175
|
error: undefined;
|
|
118
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
119
|
-
|
|
176
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
177
|
+
org: string;
|
|
178
|
+
pathway: string;
|
|
179
|
+
limit?: number;
|
|
180
|
+
offset?: number;
|
|
181
|
+
search?: string;
|
|
182
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
183
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
120
184
|
isUninitialized: false;
|
|
121
185
|
isLoading: false;
|
|
122
186
|
isFetching: false;
|
|
@@ -124,8 +188,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
124
188
|
isError: false;
|
|
125
189
|
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
|
|
126
190
|
isError: true;
|
|
127
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
128
|
-
|
|
191
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
192
|
+
org: string;
|
|
193
|
+
pathway: string;
|
|
194
|
+
limit?: number;
|
|
195
|
+
offset?: number;
|
|
196
|
+
search?: string;
|
|
197
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
198
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
129
199
|
isUninitialized: false;
|
|
130
200
|
isLoading: false;
|
|
131
201
|
isFetching: false;
|
|
@@ -135,7 +205,13 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
135
205
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
136
206
|
}) => R) | undefined;
|
|
137
207
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
138
|
-
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
208
|
+
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
209
|
+
org: string;
|
|
210
|
+
pathway: string;
|
|
211
|
+
limit?: number;
|
|
212
|
+
offset?: number;
|
|
213
|
+
search?: string;
|
|
214
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>>;
|
|
139
215
|
}, useLazyGetTrainingDocumentsQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
140
216
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
141
217
|
originalArgs?: undefined | undefined;
|
|
@@ -146,7 +222,7 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
146
222
|
startedTimeStamp?: undefined | undefined;
|
|
147
223
|
fulfilledTimeStamp?: undefined | undefined;
|
|
148
224
|
} & {
|
|
149
|
-
currentData?: import("@iblai/iblai-api").
|
|
225
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
150
226
|
isUninitialized: false;
|
|
151
227
|
isLoading: false;
|
|
152
228
|
isFetching: false;
|
|
@@ -154,8 +230,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
154
230
|
isError: false;
|
|
155
231
|
}, "isUninitialized"> & {
|
|
156
232
|
isUninitialized: true;
|
|
157
|
-
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
158
|
-
|
|
233
|
+
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
234
|
+
org: string;
|
|
235
|
+
pathway: string;
|
|
236
|
+
limit?: number;
|
|
237
|
+
offset?: number;
|
|
238
|
+
search?: string;
|
|
239
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
240
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
159
241
|
isUninitialized: false;
|
|
160
242
|
isLoading: false;
|
|
161
243
|
isFetching: false;
|
|
@@ -169,8 +251,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
169
251
|
isSuccess: true;
|
|
170
252
|
isFetching: true;
|
|
171
253
|
error: undefined;
|
|
172
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
173
|
-
|
|
254
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
255
|
+
org: string;
|
|
256
|
+
pathway: string;
|
|
257
|
+
limit?: number;
|
|
258
|
+
offset?: number;
|
|
259
|
+
search?: string;
|
|
260
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
261
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
174
262
|
isUninitialized: false;
|
|
175
263
|
isLoading: false;
|
|
176
264
|
isFetching: false;
|
|
@@ -180,8 +268,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
180
268
|
isSuccess: true;
|
|
181
269
|
isFetching: false;
|
|
182
270
|
error: undefined;
|
|
183
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
184
|
-
|
|
271
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
272
|
+
org: string;
|
|
273
|
+
pathway: string;
|
|
274
|
+
limit?: number;
|
|
275
|
+
offset?: number;
|
|
276
|
+
search?: string;
|
|
277
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
278
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
185
279
|
isUninitialized: false;
|
|
186
280
|
isLoading: false;
|
|
187
281
|
isFetching: false;
|
|
@@ -189,8 +283,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
189
283
|
isError: false;
|
|
190
284
|
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
|
|
191
285
|
isError: true;
|
|
192
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
193
|
-
|
|
286
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
287
|
+
org: string;
|
|
288
|
+
pathway: string;
|
|
289
|
+
limit?: number;
|
|
290
|
+
offset?: number;
|
|
291
|
+
search?: string;
|
|
292
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
293
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
194
294
|
isUninitialized: false;
|
|
195
295
|
isLoading: false;
|
|
196
296
|
isFetching: false;
|
|
@@ -210,7 +310,7 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
210
310
|
startedTimeStamp?: undefined | undefined;
|
|
211
311
|
fulfilledTimeStamp?: undefined | undefined;
|
|
212
312
|
} & {
|
|
213
|
-
currentData?: import("@iblai/iblai-api").
|
|
313
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
214
314
|
isUninitialized: false;
|
|
215
315
|
isLoading: false;
|
|
216
316
|
isFetching: false;
|
|
@@ -218,8 +318,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
218
318
|
isError: false;
|
|
219
319
|
}, "isUninitialized"> & {
|
|
220
320
|
isUninitialized: true;
|
|
221
|
-
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
222
|
-
|
|
321
|
+
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
322
|
+
org: string;
|
|
323
|
+
pathway: string;
|
|
324
|
+
limit?: number;
|
|
325
|
+
offset?: number;
|
|
326
|
+
search?: string;
|
|
327
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
328
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
223
329
|
isUninitialized: false;
|
|
224
330
|
isLoading: false;
|
|
225
331
|
isFetching: false;
|
|
@@ -233,8 +339,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
233
339
|
isSuccess: true;
|
|
234
340
|
isFetching: true;
|
|
235
341
|
error: undefined;
|
|
236
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
237
|
-
|
|
342
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
343
|
+
org: string;
|
|
344
|
+
pathway: string;
|
|
345
|
+
limit?: number;
|
|
346
|
+
offset?: number;
|
|
347
|
+
search?: string;
|
|
348
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
349
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
238
350
|
isUninitialized: false;
|
|
239
351
|
isLoading: false;
|
|
240
352
|
isFetching: false;
|
|
@@ -244,8 +356,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
244
356
|
isSuccess: true;
|
|
245
357
|
isFetching: false;
|
|
246
358
|
error: undefined;
|
|
247
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
248
|
-
|
|
359
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
360
|
+
org: string;
|
|
361
|
+
pathway: string;
|
|
362
|
+
limit?: number;
|
|
363
|
+
offset?: number;
|
|
364
|
+
search?: string;
|
|
365
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
366
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
249
367
|
isUninitialized: false;
|
|
250
368
|
isLoading: false;
|
|
251
369
|
isFetching: false;
|
|
@@ -253,8 +371,14 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
253
371
|
isError: false;
|
|
254
372
|
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
|
|
255
373
|
isError: true;
|
|
256
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<
|
|
257
|
-
|
|
374
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
375
|
+
org: string;
|
|
376
|
+
pathway: string;
|
|
377
|
+
limit?: number;
|
|
378
|
+
offset?: number;
|
|
379
|
+
search?: string;
|
|
380
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>> & {
|
|
381
|
+
currentData?: import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList | undefined;
|
|
258
382
|
isUninitialized: false;
|
|
259
383
|
isLoading: false;
|
|
260
384
|
isFetching: false;
|
|
@@ -263,10 +387,28 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
263
387
|
}, "error">>)>> & {
|
|
264
388
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
265
389
|
}) => R) | undefined;
|
|
266
|
-
}, "skip">) | undefined) => [(arg:
|
|
390
|
+
}, "skip">) | undefined) => [(arg: {
|
|
391
|
+
org: string;
|
|
392
|
+
pathway: string;
|
|
393
|
+
limit?: number;
|
|
394
|
+
offset?: number;
|
|
395
|
+
search?: string;
|
|
396
|
+
}, preferCacheValue?: boolean) => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
397
|
+
org: string;
|
|
398
|
+
pathway: string;
|
|
399
|
+
limit?: number;
|
|
400
|
+
offset?: number;
|
|
401
|
+
search?: string;
|
|
402
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").PaginatedRetrieverDocumentEmbeddingList, "trainingDocumentsApiSlice", any>>, [R][R extends any ? 0 : never] & {
|
|
267
403
|
reset: () => void;
|
|
268
404
|
}, {
|
|
269
|
-
lastArg:
|
|
405
|
+
lastArg: {
|
|
406
|
+
org: string;
|
|
407
|
+
pathway: string;
|
|
408
|
+
limit?: number;
|
|
409
|
+
offset?: number;
|
|
410
|
+
search?: string;
|
|
411
|
+
};
|
|
270
412
|
}], useAddTrainingDocumentMutation: <R extends Record<string, any> = ({
|
|
271
413
|
requestId?: undefined;
|
|
272
414
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
@@ -424,8 +566,17 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
424
566
|
isError: true;
|
|
425
567
|
})) => R) | undefined;
|
|
426
568
|
fixedCacheKey?: string;
|
|
427
|
-
} | undefined) => readonly [(arg:
|
|
428
|
-
|
|
569
|
+
} | undefined) => readonly [(arg: {
|
|
570
|
+
org: string;
|
|
571
|
+
formData: import("@iblai/iblai-api").TrainDocumentViewRequest;
|
|
572
|
+
}) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
573
|
+
org: string;
|
|
574
|
+
formData: import("@iblai/iblai-api").TrainDocumentViewRequest;
|
|
575
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").TrainDocumentViewResponse, "trainingDocumentsApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
576
|
+
originalArgs?: {
|
|
577
|
+
org: string;
|
|
578
|
+
formData: import("@iblai/iblai-api").TrainDocumentViewRequest;
|
|
579
|
+
} | undefined;
|
|
429
580
|
reset: () => void;
|
|
430
581
|
}], useEditTrainingDocumentMutation: <R extends Record<string, any> = ({
|
|
431
582
|
requestId?: undefined;
|
|
@@ -584,8 +735,20 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
584
735
|
isError: true;
|
|
585
736
|
})) => R) | undefined;
|
|
586
737
|
fixedCacheKey?: string;
|
|
587
|
-
} | undefined) => readonly [(arg:
|
|
588
|
-
|
|
738
|
+
} | undefined) => readonly [(arg: {
|
|
739
|
+
documentId: string;
|
|
740
|
+
org: string;
|
|
741
|
+
formData: import("@iblai/iblai-api").RetrieverDocumentEmbeddingRequest;
|
|
742
|
+
}) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
743
|
+
documentId: string;
|
|
744
|
+
org: string;
|
|
745
|
+
formData: import("@iblai/iblai-api").RetrieverDocumentEmbeddingRequest;
|
|
746
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", import("@iblai/iblai-api").RetrieverDocumentEmbedding, "trainingDocumentsApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
747
|
+
originalArgs?: {
|
|
748
|
+
documentId: string;
|
|
749
|
+
org: string;
|
|
750
|
+
formData: import("@iblai/iblai-api").RetrieverDocumentEmbeddingRequest;
|
|
751
|
+
} | undefined;
|
|
589
752
|
reset: () => void;
|
|
590
753
|
}], useDeleteTrainingDocumentMutation: <R extends Record<string, any> = ({
|
|
591
754
|
requestId?: undefined;
|
|
@@ -744,7 +907,16 @@ export declare const useGetTrainingDocumentsQuery: <R extends Record<string, any
|
|
|
744
907
|
isError: true;
|
|
745
908
|
})) => R) | undefined;
|
|
746
909
|
fixedCacheKey?: string;
|
|
747
|
-
} | undefined) => readonly [(arg:
|
|
748
|
-
|
|
910
|
+
} | undefined) => readonly [(arg: {
|
|
911
|
+
documentId: string;
|
|
912
|
+
org: string;
|
|
913
|
+
}) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
914
|
+
documentId: string;
|
|
915
|
+
org: string;
|
|
916
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "trainingDocuments", void, "trainingDocumentsApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
917
|
+
originalArgs?: {
|
|
918
|
+
documentId: string;
|
|
919
|
+
org: string;
|
|
920
|
+
} | undefined;
|
|
749
921
|
reset: () => void;
|
|
750
922
|
}];
|