@iblai/data-layer 0.2.0 → 0.3.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.
Files changed (86) hide show
  1. package/dist/index.d.ts +41476 -15632
  2. package/dist/index.esm.js +6764 -1863
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.js +6947 -1859
  5. package/dist/index.js.map +1 -1
  6. package/dist/package.json +19 -17
  7. package/dist/src/__tests__/constants.test.d.ts +1 -0
  8. package/dist/src/core/index.d.ts +2 -1
  9. package/dist/src/features/analytics/api-slice.d.ts +1879 -122
  10. package/dist/src/features/analytics/constants.d.ts +56 -1
  11. package/dist/src/features/analytics/types.d.ts +327 -1
  12. package/dist/src/features/api-keys/api-slice.d.ts +25 -36
  13. package/dist/src/features/apps/api-slice.d.ts +25 -36
  14. package/dist/src/features/auth/api-slice.d.ts +504 -2
  15. package/dist/src/features/auth/constants.d.ts +13 -1
  16. package/dist/src/features/auth/types.d.ts +20 -0
  17. package/dist/src/features/billing/api-slice.d.ts +5 -5
  18. package/dist/src/features/career/api-slice.d.ts +2345 -180
  19. package/dist/src/features/catalog/api-slice.d.ts +2260 -244
  20. package/dist/src/features/chat/api-slice.d.ts +68 -68
  21. package/dist/src/features/chat-files/api-slice.d.ts +185 -0
  22. package/dist/src/features/chat-files/types.d.ts +32 -0
  23. package/dist/src/features/chat-history/api-slice.d.ts +60 -60
  24. package/dist/src/features/core/api-slice.d.ts +3793 -26
  25. package/dist/src/features/core/constants.d.ts +43 -0
  26. package/dist/src/features/core/custom-api-slice.d.ts +1458 -0
  27. package/dist/src/features/core/custom-public-image-asset-api-slice.d.ts +333 -0
  28. package/dist/src/features/core/types.d.ts +60 -0
  29. package/dist/src/features/credentials/api-slice.d.ts +766 -105
  30. package/dist/src/features/custom-domain/api-slice.d.ts +602 -0
  31. package/dist/src/features/custom-domain/constants.d.ts +20 -0
  32. package/dist/src/features/custom-domain/types.d.ts +46 -0
  33. package/dist/src/features/datasets/api-slice.d.ts +22 -22
  34. package/dist/src/features/disclaimers/api-slice.d.ts +912 -0
  35. package/dist/src/features/disclaimers/constants.d.ts +27 -0
  36. package/dist/src/features/disclaimers/index.d.ts +3 -0
  37. package/dist/src/features/disclaimers/types.d.ts +67 -0
  38. package/dist/src/features/edx-proctoring/api-slice.d.ts +590 -0
  39. package/dist/src/features/edx-proctoring/constants.d.ts +15 -0
  40. package/dist/src/features/edx-proctoring/types.d.ts +61 -0
  41. package/dist/src/features/llms/api-slice.d.ts +20 -20
  42. package/dist/src/features/memory/api-slice.d.ts +1437 -530
  43. package/dist/src/features/memory/constants.d.ts +50 -0
  44. package/dist/src/features/memory/index.d.ts +3 -0
  45. package/dist/src/features/memory/types.d.ts +122 -0
  46. package/dist/src/features/mentor/api-slice.d.ts +1738 -240
  47. package/dist/src/features/mentor/constants.d.ts +8 -0
  48. package/dist/src/features/mentor/custom-api-slice.d.ts +529 -1
  49. package/dist/src/features/mentor/types.d.ts +39 -0
  50. package/dist/src/features/mentor-categories/api-slice.d.ts +416 -20
  51. package/dist/src/features/notifications/api-slice.d.ts +696 -42
  52. package/dist/src/features/notifications/constants.d.ts +26 -0
  53. package/dist/src/features/notifications/custom-api-slice.d.ts +996 -0
  54. package/dist/src/features/notifications/types.d.ts +69 -0
  55. package/dist/src/features/per-learner/api-slice.d.ts +58 -58
  56. package/dist/src/features/platform/api-slice.d.ts +321 -167
  57. package/dist/src/features/platform/constants.d.ts +17 -0
  58. package/dist/src/features/platform/custom-api-slice.d.ts +493 -0
  59. package/dist/src/features/platform/types.d.ts +48 -0
  60. package/dist/src/features/projects/api-slice.d.ts +2026 -0
  61. package/dist/src/features/projects/constants.d.ts +51 -0
  62. package/dist/src/features/projects/types.d.ts +79 -0
  63. package/dist/src/features/prompts/api-slice.d.ts +105 -83
  64. package/dist/src/features/reports/api-slice.d.ts +814 -0
  65. package/dist/src/features/search/ai-search-api-slice.d.ts +1015 -0
  66. package/dist/src/features/search/api-slice.d.ts +39 -39
  67. package/dist/src/features/search/constants.d.ts +31 -0
  68. package/dist/src/features/search/types.d.ts +89 -0
  69. package/dist/src/features/sessions/api-slice.d.ts +24 -24
  70. package/dist/src/features/skills/api-slice.d.ts +77 -77
  71. package/dist/src/features/stripe/api-slice.d.ts +201 -40
  72. package/dist/src/features/stripe/constants.d.ts +5 -1
  73. package/dist/src/features/stripe/types.d.ts +10 -0
  74. package/dist/src/features/tenant/api-slice.d.ts +43 -52
  75. package/dist/src/features/tenant/types.d.ts +1 -0
  76. package/dist/src/features/tools/api-slice.d.ts +64 -20
  77. package/dist/src/features/training-documents/api-slice.d.ts +534 -27
  78. package/dist/src/features/user/api-slice.d.ts +124 -124
  79. package/dist/src/features/user/constants.d.ts +3 -1
  80. package/dist/src/features/user-invitations/api-slice.d.ts +22 -22
  81. package/dist/src/features/utils.d.ts +8 -5
  82. package/dist/src/index.d.ts +78 -47
  83. package/dist/src/reducers/skills.d.ts +2 -1128
  84. package/dist/src/services/StorageService.d.ts +1 -1
  85. package/dist/tests/setupTests.d.ts +1 -1
  86. package/package.json +26 -21
@@ -1,4 +1,5 @@
1
- import { SERVICES } from "@data-layer/constants";
1
+ import { SERVICES } from '../../constants';
2
+ import { DetailedFinancialStatsArgs, FinancialStatsArgs, TranscriptsConversationHeadlineArgs, TranscriptsMessagesArgs, TranscriptsMessagesDetailsArgs } from './types';
2
3
  export declare const ANALYTICS_ENDPOINTS: {
3
4
  GET_OVERVIEW_SUMMARY: {
4
5
  service: SERVICES;
@@ -49,6 +50,60 @@ export declare const ANALYTICS_ENDPOINTS: {
49
50
  path: (org: string, userId: string) => string;
50
51
  };
51
52
  };
53
+ export declare const NON_AI_ANALYTICS_ENDPOINTS: {
54
+ GET_TOPICS_STATS: {
55
+ service: SERVICES;
56
+ path: (date_filter: string, platform_key: string, mentor_unique_id?: string) => string;
57
+ };
58
+ GET_USERS_STATS: {
59
+ service: SERVICES;
60
+ path: (date_filter: string, platform_key: string, mentor_unique_id?: string, metric?: string, start_date?: string, end_date?: string) => string;
61
+ };
62
+ GET_SESSION_STATS: {
63
+ service: SERVICES;
64
+ path: (platform_key: string, mentor_unique_id?: string, date_filter?: string, start_date?: string, end_date?: string, metric?: string) => string;
65
+ };
66
+ GET_TOPICS_DETAILS_STATS: {
67
+ service: SERVICES;
68
+ path: (date_filter: string, platform_key: string, mentor_unique_id?: string, start_date?: string, end_date?: string) => string;
69
+ };
70
+ GET_ACCESS_TIME_HEATMAP: {
71
+ service: SERVICES;
72
+ path: (date_filter: string, platform_key: string, mentor_unique_id?: string, start_date?: string, end_date?: string) => string;
73
+ };
74
+ GET_USER_DETAILS_STATS: {
75
+ service: SERVICES;
76
+ path: (date_filter: string, platform_key: string, mentor_unique_id?: string, start_date?: string, end_date?: string, page?: number, limit?: number, search?: string) => string;
77
+ };
78
+ GET_AVERAGE_RATING: {
79
+ service: SERVICES;
80
+ path: (platform_key: string, mentor_unique_id?: string, date_filter?: string, start_date?: string, end_date?: string) => string;
81
+ };
82
+ GET_FINANCIAL_STATS: {
83
+ service: SERVICES;
84
+ path: (args: FinancialStatsArgs) => string;
85
+ };
86
+ GET_DETAILED_FINANCIAL_STATS: {
87
+ service: SERVICES;
88
+ path: (args: DetailedFinancialStatsArgs) => string;
89
+ };
90
+ GET_TRANSCRIPTS_MESSAGES: {
91
+ service: SERVICES;
92
+ path: (args: TranscriptsMessagesArgs) => string;
93
+ };
94
+ GET_TRANSCRIPTS_MESSAGES_DETAILS: {
95
+ service: SERVICES;
96
+ path: (args: TranscriptsMessagesDetailsArgs) => string;
97
+ };
98
+ TIME_UPDATE: {
99
+ service: SERVICES;
100
+ path: (org: string) => string;
101
+ };
102
+ GET_TRANSCRIPTS_CONVERSATION_HEADLINE: {
103
+ service: SERVICES;
104
+ path: (args: TranscriptsConversationHeadlineArgs) => string;
105
+ };
106
+ };
52
107
  export declare const ANALYTICS_QUERY_KEYS: {
53
108
  GET_OVERVIEW_SUMMARY: () => string[];
54
109
  GET_CONVERSATION: () => string[];
@@ -1,4 +1,4 @@
1
- export type AggregationType = "daily" | "hourly" | "weekly" | "monthly";
1
+ export type AggregationType = 'daily' | 'hourly' | 'weekly' | 'monthly';
2
2
  export interface AnalyticsBaseParams {
3
3
  org: string;
4
4
  userId: string;
@@ -46,6 +46,84 @@ export interface TopicStatisticsResponse {
46
46
  avg_rating: string;
47
47
  }>;
48
48
  }
49
+ export interface TranscriptsMessagesArgs {
50
+ mentor_unique_id?: string;
51
+ search?: string;
52
+ topic?: string;
53
+ platform_key: string;
54
+ page?: number;
55
+ limit?: number;
56
+ }
57
+ export interface TranscriptsMessagesDetailsArgs {
58
+ session_id: string;
59
+ platform_key: string;
60
+ mentor_unique_id?: string;
61
+ }
62
+ export interface TranscriptsMessagesDetailsResponse {
63
+ summary: {
64
+ platform_name: string;
65
+ platform_key: string;
66
+ mentor: string;
67
+ mentor_unique_id: string;
68
+ model: string;
69
+ username: string;
70
+ name: string;
71
+ first_user_message: string;
72
+ topics: string[];
73
+ message_count: number;
74
+ user_queries: number;
75
+ assistant_responses: number;
76
+ average_sentiment: number;
77
+ sentiment: string;
78
+ created_at: string;
79
+ platform: number;
80
+ session: string;
81
+ user: number;
82
+ };
83
+ messages: Array<{
84
+ human: string;
85
+ ai: string;
86
+ }>;
87
+ }
88
+ export interface TranscriptsMessagesResponse {
89
+ summary: {
90
+ total_conversations: number;
91
+ user_queries: number;
92
+ assistant_responses: number;
93
+ average_sentiment_score: number;
94
+ };
95
+ results: Array<{
96
+ platform_name: string;
97
+ platform_key: string;
98
+ mentor: string;
99
+ mentor_unique_id: string;
100
+ model: string;
101
+ cost: number;
102
+ username: string;
103
+ name: string;
104
+ first_user_message: string;
105
+ topics: string[];
106
+ message_count: number;
107
+ user_queries: number;
108
+ assistant_responses: number;
109
+ average_sentiment: number;
110
+ sentiment: string;
111
+ created_at: string;
112
+ platform: number;
113
+ session: string;
114
+ user: number;
115
+ }>;
116
+ pagination: {
117
+ page: number;
118
+ limit: number;
119
+ total_pages: number;
120
+ total_records: number;
121
+ has_next: boolean;
122
+ has_previous: boolean;
123
+ next_page: number | null;
124
+ previous_page: number | null;
125
+ };
126
+ }
49
127
  export interface TopicOverviewResponse {
50
128
  total_topics: number;
51
129
  total_topics_change_percentage: number;
@@ -98,3 +176,251 @@ export interface AverageMessagesPerSessionResponse {
98
176
  avg_messages: number;
99
177
  total_sessions: number;
100
178
  }
179
+ export type DateFilter = 'today' | '30d' | '7d' | '90d' | 'all_time' | 'custom';
180
+ export interface TopicsStatsArgs {
181
+ date_filter: DateFilter;
182
+ platform_key: string;
183
+ mentor_unique_id?: string;
184
+ }
185
+ export interface TopicsStatsResponse {
186
+ topics: {
187
+ all_time_total: number;
188
+ this_month: number;
189
+ last_month: number;
190
+ percentage_change: number;
191
+ };
192
+ conversations: {
193
+ all_time_total: number;
194
+ this_month: number;
195
+ last_month: number;
196
+ percentage_change: number;
197
+ };
198
+ messages: {
199
+ all_time_total: number;
200
+ this_month: number;
201
+ last_month: number;
202
+ percentage_change: number;
203
+ };
204
+ }
205
+ export interface UsersStatsResponse {
206
+ points: Array<{
207
+ date: string;
208
+ value: number;
209
+ }>;
210
+ metric: string;
211
+ count: number;
212
+ change: number;
213
+ percentage_change: number;
214
+ }
215
+ export interface UsersStatsArgs {
216
+ date_filter: DateFilter;
217
+ platform_key: string;
218
+ metric?: string;
219
+ start_date?: string;
220
+ end_date?: string;
221
+ mentor_unique_id?: string;
222
+ }
223
+ export interface SessionStatsArgs {
224
+ platform_key: string;
225
+ mentor_unique_id?: string;
226
+ date_filter?: string;
227
+ start_date?: string;
228
+ end_date?: string;
229
+ metric?: string;
230
+ }
231
+ export interface SessionStatsResponse {
232
+ metric: string;
233
+ points: Array<{
234
+ date: string;
235
+ value: number;
236
+ }>;
237
+ avg_messages_per_session?: {
238
+ value: number;
239
+ prev_value: number;
240
+ percentage_change: number;
241
+ };
242
+ avg_rating?: {
243
+ value: number;
244
+ prev_value: number;
245
+ percentage_change: number;
246
+ };
247
+ avg_cost_per_session?: {
248
+ value: number;
249
+ prev_value: number;
250
+ percentage_change: number;
251
+ };
252
+ }
253
+ export interface TopicsDetailsStatsArgs {
254
+ date_filter: string;
255
+ platform_key: string;
256
+ start_date?: string;
257
+ end_date?: string;
258
+ mentor_unique_id?: string;
259
+ }
260
+ export interface TopicsDetailsStatsResponse {
261
+ results: Array<{
262
+ topic_id: number;
263
+ name: string;
264
+ messages: number;
265
+ conversations: number;
266
+ average_rating: string;
267
+ rating_count: number;
268
+ }>;
269
+ pagination: {
270
+ page: number;
271
+ limit: number;
272
+ total_pages: number;
273
+ total_records: number;
274
+ has_next: boolean;
275
+ has_previous: boolean;
276
+ next_page: number;
277
+ previous_page: number;
278
+ };
279
+ }
280
+ export interface AccessTimeHeatmapArgs {
281
+ date_filter: string;
282
+ platform_key: string;
283
+ start_date?: string;
284
+ end_date?: string;
285
+ mentor_unique_id?: string;
286
+ }
287
+ export interface AccessTimeHeatmapResponse {
288
+ metric: string;
289
+ data: Array<{
290
+ day_of_week: number;
291
+ hour: number;
292
+ value: number;
293
+ }>;
294
+ }
295
+ export interface UserDetailsStatsArgs {
296
+ date_filter: string;
297
+ platform_key: string;
298
+ start_date?: string;
299
+ end_date?: string;
300
+ page: number;
301
+ limit?: number;
302
+ mentor_unique_id?: string;
303
+ search?: string;
304
+ }
305
+ export interface UserDetailsStatsResponse {
306
+ results: Array<{
307
+ email: string;
308
+ full_name: string;
309
+ messages: number;
310
+ last_activity: string;
311
+ }>;
312
+ total: number;
313
+ pagination: {
314
+ page: number;
315
+ limit: number;
316
+ total_pages: number;
317
+ has_next: boolean;
318
+ has_previous: boolean;
319
+ start_index: number;
320
+ end_index: number;
321
+ };
322
+ }
323
+ export interface FinancialStatsArgs {
324
+ metric: 'total_costs' | 'weekly_costs' | 'monthly_costs';
325
+ date_filter?: DateFilter;
326
+ platform_key: string;
327
+ mentor_unique_id?: string;
328
+ start_date?: string;
329
+ end_date?: string;
330
+ all_time?: 'true';
331
+ }
332
+ export interface FinancialStatsFilters {
333
+ start_date: string;
334
+ end_date: string;
335
+ granularity: string;
336
+ all_time: boolean;
337
+ }
338
+ export interface FinancialStatsPeriodInfo {
339
+ start_date: string;
340
+ end_date: string;
341
+ period_days: number;
342
+ range_type: string;
343
+ }
344
+ export interface FinancialStatsResponse {
345
+ metric: string;
346
+ filters: FinancialStatsFilters;
347
+ value: number;
348
+ percentage_change: number | undefined;
349
+ overtime: Array<{
350
+ date: string;
351
+ value: number;
352
+ }>;
353
+ period_info: FinancialStatsPeriodInfo;
354
+ comparison_info: Record<string, any>;
355
+ }
356
+ export interface DetailedFinancialStatsArgs {
357
+ metric?: string;
358
+ metrics?: string;
359
+ group_by: 'llm_model' | 'provider' | 'username';
360
+ date_filter: DateFilter;
361
+ platform_key: string;
362
+ mentor_unique_id?: string;
363
+ start_date?: string;
364
+ end_date?: string;
365
+ page?: number;
366
+ limit?: number;
367
+ search?: string;
368
+ }
369
+ export interface DetailedFinancialStatsMetric {
370
+ name: string;
371
+ unit: string;
372
+ description: string;
373
+ }
374
+ export interface DetailedFinancialStatsResponse {
375
+ page: number;
376
+ limit: number;
377
+ total_pages: number;
378
+ total_records: number;
379
+ rows: Record<string, any>[];
380
+ total_cost: number;
381
+ metrics: DetailedFinancialStatsMetric[];
382
+ }
383
+ export interface TimeTrackingRequest {
384
+ timestamp: string;
385
+ url: string;
386
+ org: string;
387
+ count: number;
388
+ course_id?: number;
389
+ block_id?: number;
390
+ session_uuid?: string;
391
+ mentor_uuid?: string;
392
+ }
393
+ export interface TimeTrackingResponse {
394
+ message: string;
395
+ success: true;
396
+ }
397
+ export interface TranscriptsConversationHeadlineArgs {
398
+ platform_key: string;
399
+ metric: string;
400
+ mentor_unique_id?: string;
401
+ start_date?: string;
402
+ end_date?: string;
403
+ date_filter?: string;
404
+ }
405
+ export interface TranscriptsConversationHeadlineResponse {
406
+ metric: 'headline';
407
+ avg_messages_per_conversation: {
408
+ value: number;
409
+ prev_value: number;
410
+ percentage_change: number;
411
+ };
412
+ avg_rating: {
413
+ value: number;
414
+ prev_value: number;
415
+ percentage_change: number;
416
+ };
417
+ avg_cost_per_conversation: {
418
+ value: number;
419
+ prev_value: number;
420
+ percentage_change: number;
421
+ };
422
+ points?: Array<{
423
+ date: string;
424
+ value: number;
425
+ }>;
426
+ }
@@ -1,27 +1,16 @@
1
- export declare const apiKeysApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, {
1
+ export declare const apiKeysApiSlice: 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
  getApiKeys: import("@reduxjs/toolkit/query").QueryDefinition<{
3
3
  platformKey: string;
4
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>;
4
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>;
5
5
  createApiKey: import("@reduxjs/toolkit/query").MutationDefinition<{
6
6
  requestBody: import("@iblai/iblai-api").PlatformApiKey;
7
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey, "apiKeysApiSlice", any>;
7
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey, "apiKeysApiSlice", any>;
8
8
  deleteApiKey: import("@reduxjs/toolkit/query").MutationDefinition<{
9
9
  name: string;
10
10
  platformKey: string;
11
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", void, "apiKeysApiSlice", any>;
11
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", void, "apiKeysApiSlice", any>;
12
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>;
13
+ export declare const apiKeysApiReducer: typeof apiKeysApiSlice.reducer;
25
14
  export declare const useGetApiKeysQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
26
15
  status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
27
16
  originalArgs?: undefined | undefined;
@@ -42,7 +31,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
42
31
  isUninitialized: true;
43
32
  }) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
44
33
  platformKey: string;
45
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
34
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
46
35
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
47
36
  isUninitialized: false;
48
37
  isLoading: false;
@@ -59,7 +48,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
59
48
  error: undefined;
60
49
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
61
50
  platformKey: string;
62
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
51
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
63
52
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
64
53
  isUninitialized: false;
65
54
  isLoading: false;
@@ -72,7 +61,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
72
61
  error: undefined;
73
62
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
74
63
  platformKey: string;
75
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
64
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
76
65
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
77
66
  isUninitialized: false;
78
67
  isLoading: false;
@@ -83,7 +72,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
83
72
  isError: true;
84
73
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
85
74
  platformKey: string;
86
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
75
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
87
76
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
88
77
  isUninitialized: false;
89
78
  isLoading: false;
@@ -119,7 +108,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
119
108
  isUninitialized: true;
120
109
  }) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
121
110
  platformKey: string;
122
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
111
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
123
112
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
124
113
  isUninitialized: false;
125
114
  isLoading: false;
@@ -136,7 +125,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
136
125
  error: undefined;
137
126
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
138
127
  platformKey: string;
139
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
128
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
140
129
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
141
130
  isUninitialized: false;
142
131
  isLoading: false;
@@ -149,7 +138,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
149
138
  error: undefined;
150
139
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
151
140
  platformKey: string;
152
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
141
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
153
142
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
154
143
  isUninitialized: false;
155
144
  isLoading: false;
@@ -160,7 +149,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
160
149
  isError: true;
161
150
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
162
151
  platformKey: string;
163
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
152
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
164
153
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
165
154
  isUninitialized: false;
166
155
  isLoading: false;
@@ -173,7 +162,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
173
162
  }) | undefined) => [R][R extends any ? 0 : never] & {
174
163
  refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
175
164
  platformKey: string;
176
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>>;
165
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>>;
177
166
  }, useLazyGetApiKeysQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
178
167
  status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
179
168
  originalArgs?: undefined | undefined;
@@ -194,7 +183,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
194
183
  isUninitialized: true;
195
184
  }) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
196
185
  platformKey: string;
197
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
186
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
198
187
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
199
188
  isUninitialized: false;
200
189
  isLoading: false;
@@ -211,7 +200,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
211
200
  error: undefined;
212
201
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
213
202
  platformKey: string;
214
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
203
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
215
204
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
216
205
  isUninitialized: false;
217
206
  isLoading: false;
@@ -224,7 +213,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
224
213
  error: undefined;
225
214
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
226
215
  platformKey: string;
227
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
216
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
228
217
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
229
218
  isUninitialized: false;
230
219
  isLoading: false;
@@ -235,7 +224,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
235
224
  isError: true;
236
225
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
237
226
  platformKey: string;
238
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
227
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
239
228
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
240
229
  isUninitialized: false;
241
230
  isLoading: false;
@@ -266,7 +255,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
266
255
  isUninitialized: true;
267
256
  }) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
268
257
  platformKey: string;
269
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
258
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
270
259
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
271
260
  isUninitialized: false;
272
261
  isLoading: false;
@@ -283,7 +272,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
283
272
  error: undefined;
284
273
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
285
274
  platformKey: string;
286
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
275
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
287
276
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
288
277
  isUninitialized: false;
289
278
  isLoading: false;
@@ -296,7 +285,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
296
285
  error: undefined;
297
286
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
298
287
  platformKey: string;
299
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
288
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
300
289
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
301
290
  isUninitialized: false;
302
291
  isLoading: false;
@@ -307,7 +296,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
307
296
  isError: true;
308
297
  } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
309
298
  platformKey: string;
310
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
299
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>> & {
311
300
  currentData?: import("@iblai/iblai-api").PlatformApiKey[] | undefined;
312
301
  isUninitialized: false;
313
302
  isLoading: false;
@@ -321,7 +310,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
321
310
  platformKey: string;
322
311
  }, preferCacheValue?: boolean) => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
323
312
  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] & {
313
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey[], "apiKeysApiSlice", any>>, [R][R extends any ? 0 : never] & {
325
314
  reset: () => void;
326
315
  }, {
327
316
  lastArg: {
@@ -488,7 +477,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
488
477
  requestBody: import("@iblai/iblai-api").PlatformApiKey;
489
478
  }) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<{
490
479
  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> & {
480
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", import("@iblai/iblai-api").PlatformApiKey, "apiKeysApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
492
481
  originalArgs?: {
493
482
  requestBody: import("@iblai/iblai-api").PlatformApiKey;
494
483
  } | undefined;
@@ -656,7 +645,7 @@ export declare const useGetApiKeysQuery: <R extends Record<string, any> = import
656
645
  }) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<{
657
646
  name: string;
658
647
  platformKey: string;
659
- }, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "apiKeys", void, "apiKeysApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
648
+ }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("@reduxjs/toolkit/query")._NEVER, unknown, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, "apiKeys", void, "apiKeysApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
660
649
  originalArgs?: {
661
650
  name: string;
662
651
  platformKey: string;