@stack-spot/portal-network 0.113.7 → 0.115.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 (82) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/api/agent.d.ts +71 -3
  3. package/dist/api/agent.d.ts.map +1 -1
  4. package/dist/api/agent.js +20 -2
  5. package/dist/api/agent.js.map +1 -1
  6. package/dist/api/ai.d.ts +42 -76
  7. package/dist/api/ai.d.ts.map +1 -1
  8. package/dist/api/ai.js +56 -89
  9. package/dist/api/ai.js.map +1 -1
  10. package/dist/api/codeShift.d.ts +12 -5
  11. package/dist/api/codeShift.d.ts.map +1 -1
  12. package/dist/api/codeShift.js +14 -8
  13. package/dist/api/codeShift.js.map +1 -1
  14. package/dist/api/dataIntegration.d.ts +666 -0
  15. package/dist/api/dataIntegration.d.ts.map +1 -0
  16. package/dist/api/dataIntegration.js +639 -0
  17. package/dist/api/dataIntegration.js.map +1 -0
  18. package/dist/api/workspace-ai.d.ts +28 -4
  19. package/dist/api/workspace-ai.d.ts.map +1 -1
  20. package/dist/api/workspace-ai.js +31 -2
  21. package/dist/api/workspace-ai.js.map +1 -1
  22. package/dist/apis.json +8 -0
  23. package/dist/client/agent.d.ts +28 -0
  24. package/dist/client/agent.d.ts.map +1 -1
  25. package/dist/client/agent.js +19 -1
  26. package/dist/client/agent.js.map +1 -1
  27. package/dist/client/ai.d.ts +45 -37
  28. package/dist/client/ai.d.ts.map +1 -1
  29. package/dist/client/ai.js +21 -12
  30. package/dist/client/ai.js.map +1 -1
  31. package/dist/client/cloud-account.d.ts +5 -5
  32. package/dist/client/cloud-account.d.ts.map +1 -1
  33. package/dist/client/cloud-platform-horizon.d.ts +17 -17
  34. package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
  35. package/dist/client/cloud-platform.d.ts +27 -27
  36. package/dist/client/cloud-platform.d.ts.map +1 -1
  37. package/dist/client/cloud-runtimes.d.ts +21 -21
  38. package/dist/client/cloud-runtimes.d.ts.map +1 -1
  39. package/dist/client/code-shift.d.ts +22 -13
  40. package/dist/client/code-shift.d.ts.map +1 -1
  41. package/dist/client/code-shift.js +10 -1
  42. package/dist/client/code-shift.js.map +1 -1
  43. package/dist/client/content.d.ts +6 -6
  44. package/dist/client/content.d.ts.map +1 -1
  45. package/dist/client/data-integration.d.ts +95 -0
  46. package/dist/client/data-integration.d.ts.map +1 -0
  47. package/dist/client/data-integration.js +88 -0
  48. package/dist/client/data-integration.js.map +1 -0
  49. package/dist/client/gen-ai-inference.d.ts +5 -5
  50. package/dist/client/gen-ai-inference.d.ts.map +1 -1
  51. package/dist/client/workflow.d.ts +8 -8
  52. package/dist/client/workflow.d.ts.map +1 -1
  53. package/dist/client/workspace-ai.d.ts +27 -8
  54. package/dist/client/workspace-ai.d.ts.map +1 -1
  55. package/dist/client/workspace-ai.js +19 -1
  56. package/dist/client/workspace-ai.js.map +1 -1
  57. package/dist/index.d.ts +1 -0
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +1 -0
  60. package/dist/index.js.map +1 -1
  61. package/dist/network/NetworkClient.d.ts +1 -1
  62. package/dist/network/NetworkClient.d.ts.map +1 -1
  63. package/dist/network/NetworkClient.js +1 -0
  64. package/dist/network/NetworkClient.js.map +1 -1
  65. package/dist/utils/remove-authorization-param.d.ts +1 -0
  66. package/dist/utils/remove-authorization-param.d.ts.map +1 -1
  67. package/dist/utils/remove-authorization-param.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/api/agent.ts +105 -3
  70. package/src/api/ai.ts +106 -183
  71. package/src/api/codeShift.ts +22 -9
  72. package/src/api/dataIntegration.ts +1494 -0
  73. package/src/api/workspace-ai.ts +63 -4
  74. package/src/apis.json +8 -0
  75. package/src/client/agent.ts +11 -1
  76. package/src/client/ai.ts +19 -14
  77. package/src/client/code-shift.ts +6 -1
  78. package/src/client/data-integration.ts +64 -0
  79. package/src/client/workspace-ai.ts +12 -0
  80. package/src/index.ts +1 -0
  81. package/src/network/NetworkClient.ts +2 -1
  82. package/src/utils/remove-authorization-param.ts +2 -1
@@ -0,0 +1,666 @@
1
+ /**
2
+ * FastAPI
3
+ * 0.1.0
4
+ * DO NOT MODIFY - This file has been generated using oazapfts.
5
+ * See https://www.npmjs.com/package/oazapfts
6
+ */
7
+ import * as Oazapfts from "@oazapfts/runtime";
8
+ export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
9
+ export declare const servers: {};
10
+ export type SearchPreProcessing = "multi_query";
11
+ export type SearchPostProcessing = "reranker";
12
+ export type SearchStrategy = "cosine";
13
+ export type SearchMethod = "similarity";
14
+ export type SearchKnowledgeObjectRequest = {
15
+ query: string;
16
+ knowledge_source_ids: string[];
17
+ limit?: number;
18
+ threshold?: number | null;
19
+ pre_processing?: SearchPreProcessing | null;
20
+ post_processing?: SearchPostProcessing | null;
21
+ strategy?: SearchStrategy;
22
+ method?: SearchMethod;
23
+ };
24
+ export type SearchKnowledgeObjectResponse = {
25
+ id: string;
26
+ score: number;
27
+ display_content: string;
28
+ prompt_content: string;
29
+ file_path: string | null;
30
+ ks_id: string;
31
+ ks_name: string;
32
+ ks_slug: string;
33
+ ks_type: string;
34
+ };
35
+ export type ValidationError = {
36
+ loc: (string | number)[];
37
+ msg: string;
38
+ "type": string;
39
+ };
40
+ export type HttpValidationError = {
41
+ detail?: ValidationError[];
42
+ };
43
+ export type SearchCrossAccountKnowledgeObjectRequest = {
44
+ query: string;
45
+ limit?: number;
46
+ threshold?: number | null;
47
+ pre_processing?: SearchPreProcessing | null;
48
+ post_processing?: SearchPostProcessing | null;
49
+ strategy?: SearchStrategy;
50
+ method?: SearchMethod;
51
+ };
52
+ export type NewKnowledgeSourceRequest = {
53
+ slug: string;
54
+ name: string;
55
+ description: string;
56
+ "type": "api" | "custom" | "snippet";
57
+ };
58
+ export type ExceptionType = "DATAINTEGRATION_1000_INVALID_JWT" | "DATAINTEGRATION_1001_DECODE_JWT_ERROR" | "DATAINTEGRATION_1002_KNOWLEDGE_SOURCE_DOES_NOT_EXISTS" | "DATAINTEGRATION_1003_KNOWLEDGE_SOURCE_WRONG_TYPE" | "DATAINTEGRATION_1004_UNSUPPORTED_KNOWLEDGE_SOURCE_TYPE_FOR_UPLOAD" | "DATAINTEGRATION_1005_KNOWLEDGE_OBJECT_NOT_FOUND" | "DATAINTEGRATION_1006_UNSUPPORTED_FILE_TYPE" | "DATAINTEGRATION_1007_KNOWLEDGE_SOURCE_SLUG_ALREADY_EXISTS" | "DATAINTEGRATION_1008_KNOWLEDGE_SOURCE_NOT_FOUND" | "DATAINTEGRATION_1009_KNOWLEDGE_SOURCE_CANNOT_BE_ASSOCIATED" | "DATAINTEGRATION_1010_KNOWLEDGE_SOURCE_NOT_ACCOUNT_VISIBLE" | "DATAINTEGRATION_1011_ACCOUNT_SETTINGS_NOT_FOUND" | "DATAINTEGRATION_1012_SECRET_NOT_FOUND" | "DATAINTEGRATION_1013_STRATEGY_NOT_FOUND" | "DATAINTEGRATION_1014_EMBEDDING_INTEGRATION_ERROR" | "DATAINTEGRATION_1015_KNOWLEDGE_OBJECT_UNEXPECTED_ERROR" | "DATAINTEGRATION_1016_FILE_UPLOAD_DOES_NOT_EXISTS" | "DATAINTEGRATION_1017_INVALID_VISIBILITY_CHANGE" | "DATAINTEGRATION_1018_TOKENS_USAGE_LIMIT_REACHED" | "DATAINTEGRATION_1019_KNOWLEDGE_SOURCE_INVALID_SPLIT_STRATEGY" | "DATAINTEGRATION_1020_FILE_UPLOAD_INVALID_SPLIT_STRATEGY" | "DATAINTEGRATION_1021_FILE_UPLOAD_INDEXED_OR_NOT_SPLITTED" | "DATAINTEGRATION_1022_KNOWLEDGE_GROUP_NOT_FOUND" | "DATAINTEGRATION_2000_LLM_INTEGRATION_ERROR" | "DATAINTEGRATION_2001_LLM_RATE_LIMIT_ERROR" | "DATAINTEGRATION_2002_LLM_PROMPT_TOO_LARGE_ERROR" | "DATAINTEGRATION_2003_LLM_FILE_TOO_LARGE_ERROR" | "DATAINTEGRATION_3000_FEATURE_DISABLED_ERROR" | "DATAINTEGRATION_5000_UNEXPECTED_ERROR" | "DATAINTEGRATION_6000_FORBIDDEN" | "DATAINTEGRATION_8001_ACCOUNT_API_ERROR" | "DATAINTEGRATION_4001_FAVORITE_ALREADY_EXISTS" | "DATAINTEGRATION_4002_FAVORITE_NOT_FOUND";
59
+ export type HttpErrorResponse = {
60
+ "type"?: string;
61
+ status: string;
62
+ code: ExceptionType;
63
+ details: string;
64
+ value?: string | null;
65
+ field?: string | null;
66
+ };
67
+ export type VisibilityLevelEnum = "account" | "personal" | "shared" | "workspace" | "favorite";
68
+ export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
69
+ export type KnowledgeSourceTypeEnum = "snippet" | "api" | "event" | "custom" | "project_file" | "memory";
70
+ export type KnowledgeSourceItemResponse = {
71
+ id: string;
72
+ slug: string;
73
+ name: string;
74
+ description: string;
75
+ "type": KnowledgeSourceTypeEnum;
76
+ creator: string | null;
77
+ "default": boolean;
78
+ visibility_level: VisibilityLevelEnum;
79
+ object_count: number;
80
+ use_only: boolean;
81
+ };
82
+ export type KnowledgeSourceSearchRequest = {
83
+ ids: string[];
84
+ };
85
+ export type KnowledgeSourceResponse = {
86
+ id: string;
87
+ slug: string;
88
+ name: string;
89
+ description: string;
90
+ "type": KnowledgeSourceTypeEnum;
91
+ creator: string | null;
92
+ "default": boolean;
93
+ visibility_level: VisibilityLevelEnum;
94
+ model_name: string;
95
+ use_only: boolean;
96
+ };
97
+ export type KnowledgeSourcePatchesRequest = {
98
+ name: string;
99
+ description: string;
100
+ use_only?: boolean | null;
101
+ };
102
+ export type KnowledgeSourcesPublishRequest = {
103
+ use_only?: boolean;
104
+ };
105
+ export type KnowledgeSourcePublishBatchRequest = {
106
+ ids: string[];
107
+ };
108
+ export type ForkKnowledgeSourceRequest = {
109
+ slug: string;
110
+ name: string;
111
+ description: string;
112
+ };
113
+ export type KnowledgeObjectResponse = {
114
+ content: string;
115
+ id: string;
116
+ standalone: boolean;
117
+ updated: string;
118
+ checksum: string;
119
+ file_path: string | null;
120
+ programming_language: string | null;
121
+ use_case: string | null;
122
+ attributes: object | null;
123
+ };
124
+ export type KnowledgeSourceLastMessageResponse = {
125
+ id: string;
126
+ prompt_content: string;
127
+ ks_id: string;
128
+ };
129
+ export type KnowledgeSourceFilesIngestedResponse = {
130
+ id: string;
131
+ path: string;
132
+ checksum: string;
133
+ status?: string;
134
+ created_at: string;
135
+ updated_at: string;
136
+ count_kos: number;
137
+ };
138
+ export type DeleteIndexedFilesRequest = {
139
+ paths: string[];
140
+ };
141
+ export type FileUploadType = "PROJECT" | "KNOWLEDGE_SOURCE";
142
+ export type FileUploadIndexType = "RELEVANT" | "FULL_INDEX";
143
+ export type NewFileUploadRequest = {
144
+ file_name: string;
145
+ target_id: string;
146
+ target_type: FileUploadType;
147
+ expiration?: number;
148
+ index_type?: FileUploadIndexType | null;
149
+ };
150
+ export type NewFileUploadFormResponse = {
151
+ id: string;
152
+ url: string;
153
+ form: {
154
+ [key: string]: string;
155
+ };
156
+ };
157
+ export type FileUploadStatus = "NEW" | "PROCESSING" | "INDEXED" | "SPLITTED" | "EXPIRED" | "ERROR" | "SPLIT_ERROR" | "INDEXED_BUT_CLEANUP_FAILED";
158
+ export type SummaryPartResponse = {
159
+ added: number;
160
+ preserved: number;
161
+ removed: number;
162
+ errors: {
163
+ [key: string]: string;
164
+ };
165
+ };
166
+ export type FileUploadStatusResponse = {
167
+ id: string;
168
+ file_name: string;
169
+ target_id: string;
170
+ target_type: FileUploadType;
171
+ status: FileUploadStatus;
172
+ error_description: string | null;
173
+ summary: SummaryPartResponse | null;
174
+ };
175
+ export type FileSplitStrategy = "NONE" | "LINES_QUANTITY" | "TOKENS_QUANTITY" | "CHARACTERS_QUANTITY" | "SYNTACTIC" | "ENDPOINT";
176
+ export type FileUploadSaveChunksRequest = {
177
+ split_strategy: FileSplitStrategy;
178
+ };
179
+ export type SyncResultDto = {
180
+ added: number;
181
+ preserved: number;
182
+ removed: number;
183
+ errors: {
184
+ [key: string]: string;
185
+ };
186
+ };
187
+ export type FileUploadUpdateRequest = {
188
+ status: FileUploadStatus;
189
+ summary?: SyncResultDto | null;
190
+ error_description?: string | null;
191
+ };
192
+ export type FileSplitRequest = {
193
+ split_overlap?: number | null;
194
+ split_quantity?: number | null;
195
+ split_strategy: FileSplitStrategy;
196
+ embed_after_split?: boolean;
197
+ };
198
+ export type FileMetadataResponse = {
199
+ id: string;
200
+ file_path: string;
201
+ bucket_name: string;
202
+ target_slug: string;
203
+ target_type: FileUploadType;
204
+ status: FileUploadStatus;
205
+ error_description: string | null;
206
+ user_id_headers: string;
207
+ };
208
+ export type ConsumeTokenRequest = {
209
+ token_quantity: number;
210
+ };
211
+ export type AccountLlmConfigResponse = {
212
+ "type": string | null;
213
+ embedding_max_chunk_size: number;
214
+ };
215
+ export type GetOrCreateKnowledgeGroupRequest = {
216
+ knowledge_source_id: string;
217
+ file_path: string;
218
+ };
219
+ export type KnowledgeGroupResponse = {
220
+ id: string;
221
+ knowledge_source_id: string;
222
+ path: string;
223
+ parent: string | null;
224
+ checksum: string;
225
+ created: string;
226
+ updated: string;
227
+ last_modified: string;
228
+ count_kos?: number | null;
229
+ };
230
+ export type DeleteGroupObjectsRequests = {
231
+ checksums_not_in: string[];
232
+ };
233
+ export type DeletedCountResponse = {
234
+ count: number;
235
+ };
236
+ export type UpdateKnowledgeGroupRequest = {
237
+ checksum: Blob;
238
+ last_modified: string;
239
+ parent_zip?: string | null;
240
+ };
241
+ export type CreateKnowledgeObjectsBatchRequest = {
242
+ knowledge_source_id: string;
243
+ prompt_content: string;
244
+ checksum: string;
245
+ embedding: number[];
246
+ display_content: string;
247
+ model_name: string;
248
+ programming_language?: string | null;
249
+ use_case?: string | null;
250
+ knowledge_group_id?: string | null;
251
+ attributes?: object | null;
252
+ };
253
+ /**
254
+ * Health Check
255
+ */
256
+ export declare function healthCheckHealthzGet(opts?: Oazapfts.RequestOpts): Promise<any>;
257
+ /**
258
+ * Readiness Check
259
+ */
260
+ export declare function readinessCheckReadyzGet(opts?: Oazapfts.RequestOpts): Promise<any>;
261
+ /**
262
+ * Search Objects
263
+ */
264
+ export declare function searchObjectsV1SearchPost({ xAccountId, xUsername, authorization, authorizationHeader, searchKnowledgeObjectRequest }: {
265
+ xAccountId?: string | null;
266
+ xUsername?: string | null;
267
+ authorization?: string | null;
268
+ authorizationHeader: string;
269
+ searchKnowledgeObjectRequest: SearchKnowledgeObjectRequest;
270
+ }, opts?: Oazapfts.RequestOpts): Promise<SearchKnowledgeObjectResponse[]>;
271
+ /**
272
+ * Search Cross Account Objects
273
+ */
274
+ export declare function searchCrossAccountObjectsV1SearchCrossAccountPost({ xAccountId, xUsername, authorization, authorizationHeader, searchCrossAccountKnowledgeObjectRequest }: {
275
+ xAccountId: string;
276
+ xUsername: string;
277
+ authorization?: string | null;
278
+ authorizationHeader: string;
279
+ searchCrossAccountKnowledgeObjectRequest: SearchCrossAccountKnowledgeObjectRequest;
280
+ }, opts?: Oazapfts.RequestOpts): Promise<SearchKnowledgeObjectResponse[]>;
281
+ /**
282
+ * Create Ft Knowledge Source
283
+ */
284
+ export declare function createFtKnowledgeSourceV1FtKnowledgeSourcesPost({ newKnowledgeSourceRequest }: {
285
+ newKnowledgeSourceRequest: NewKnowledgeSourceRequest;
286
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
287
+ /**
288
+ * Delete Ft Knowledge Source
289
+ */
290
+ export declare function deleteFtKnowledgeSourceV1FtKnowledgeSourcesSlugDelete({ slug }: {
291
+ slug: string;
292
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
293
+ /**
294
+ * Create Ks
295
+ */
296
+ export declare function createKsV1KnowledgeSourcesPost({ xAccountId, xUsername, authorization, authorizationHeader, newKnowledgeSourceRequest }: {
297
+ xAccountId?: string | null;
298
+ xUsername?: string | null;
299
+ authorization?: string | null;
300
+ authorizationHeader: string;
301
+ newKnowledgeSourceRequest: NewKnowledgeSourceRequest;
302
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
303
+ /**
304
+ * List Ks
305
+ */
306
+ export declare function listKsV1KnowledgeSourcesGet({ visibility, order, types, xAccountId, xUsername, authorization, authorizationHeader }: {
307
+ visibility?: VisibilityLevelEnum;
308
+ order?: OrderEnum;
309
+ types?: KnowledgeSourceTypeEnum[];
310
+ xAccountId?: string | null;
311
+ xUsername?: string | null;
312
+ authorization?: string | null;
313
+ authorizationHeader: string;
314
+ }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceItemResponse[]>;
315
+ /**
316
+ * Search Ks
317
+ */
318
+ export declare function searchKsV1KnowledgeSourcesSearchPost({ xAccountId, xUsername, authorization, authorizationHeader, knowledgeSourceSearchRequest }: {
319
+ xAccountId?: string | null;
320
+ xUsername?: string | null;
321
+ authorization?: string | null;
322
+ authorizationHeader: string;
323
+ knowledgeSourceSearchRequest: KnowledgeSourceSearchRequest;
324
+ }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceResponse[]>;
325
+ /**
326
+ * Find Ks
327
+ */
328
+ export declare function findKsV1KnowledgeSourcesSlugGet({ slug, xAccountId, xUsername, authorization, authorizationHeader }: {
329
+ slug: string;
330
+ xAccountId?: string | null;
331
+ xUsername?: string | null;
332
+ authorization?: string | null;
333
+ authorizationHeader: string;
334
+ }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceResponse>;
335
+ /**
336
+ * Update Ks
337
+ */
338
+ export declare function updateKsV1KnowledgeSourcesSlugPatch({ slug, xAccountId, xUsername, authorization, authorizationHeader, knowledgeSourcePatchesRequest }: {
339
+ slug: string;
340
+ xAccountId?: string | null;
341
+ xUsername?: string | null;
342
+ authorization?: string | null;
343
+ authorizationHeader: string;
344
+ knowledgeSourcePatchesRequest: KnowledgeSourcePatchesRequest;
345
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
346
+ /**
347
+ * Delete Ks
348
+ */
349
+ export declare function deleteKsV1KnowledgeSourcesSlugDelete({ slug, xAccountId, xUsername, authorization, authorizationHeader }: {
350
+ slug: string;
351
+ xAccountId: string;
352
+ xUsername: string;
353
+ authorization?: string | null;
354
+ authorizationHeader: string;
355
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
356
+ /**
357
+ * Exists Ks
358
+ */
359
+ export declare function existsKsV1KnowledgeSourcesSlugExistsGet({ slug, xAccountId, xUsername, authorization, authorizationHeader }: {
360
+ slug: string;
361
+ xAccountId?: string | null;
362
+ xUsername?: string | null;
363
+ authorization?: string | null;
364
+ authorizationHeader: string;
365
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
366
+ /**
367
+ * Share Ks
368
+ */
369
+ export declare function shareKsV1KnowledgeSourcesSlugSharePost({ slug, xAccountId, xUsername, authorization, authorizationHeader }: {
370
+ slug: string;
371
+ xAccountId?: string | null;
372
+ xUsername?: string | null;
373
+ authorization?: string | null;
374
+ authorizationHeader: string;
375
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
376
+ /**
377
+ * Add Favorite
378
+ */
379
+ export declare function addFavoriteV1KnowledgeSourcesSlugFavoritePost({ slug, xAccountId, xUsername, authorization, authorizationHeader }: {
380
+ slug: string;
381
+ xAccountId?: string | null;
382
+ xUsername?: string | null;
383
+ authorization?: string | null;
384
+ authorizationHeader: string;
385
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
386
+ /**
387
+ * Delete Favorite
388
+ */
389
+ export declare function deleteFavoriteV1KnowledgeSourcesSlugFavoriteDelete({ slug, xAccountId, xUsername, authorization, authorizationHeader }: {
390
+ slug: string;
391
+ xAccountId?: string | null;
392
+ xUsername?: string | null;
393
+ authorization?: string | null;
394
+ authorizationHeader: string;
395
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
396
+ /**
397
+ * Publish Ks
398
+ */
399
+ export declare function publishKsV1KnowledgeSourcesSlugPublishPost({ slug, xAccountId, xUsername, authorization, authorizationHeader, body }: {
400
+ slug: string;
401
+ xAccountId?: string | null;
402
+ xUsername?: string | null;
403
+ authorization?: string | null;
404
+ authorizationHeader: string;
405
+ body?: KnowledgeSourcesPublishRequest | null;
406
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
407
+ /**
408
+ * Publish Ks Batch
409
+ */
410
+ export declare function publishKsBatchV1KnowledgeSourcesPublishBatchPost({ xAccountId, xUsername, authorization, authorizationHeader, knowledgeSourcePublishBatchRequest }: {
411
+ xAccountId?: string | null;
412
+ xUsername?: string | null;
413
+ authorization?: string | null;
414
+ authorizationHeader: string;
415
+ knowledgeSourcePublishBatchRequest: KnowledgeSourcePublishBatchRequest;
416
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
417
+ /**
418
+ * Fork Ks
419
+ */
420
+ export declare function forkKsV1KnowledgeSourcesSlugForkPost({ slug, xAccountId, xUsername, authorization, authorizationHeader, forkKnowledgeSourceRequest }: {
421
+ slug: string;
422
+ xAccountId?: string | null;
423
+ xUsername?: string | null;
424
+ authorization?: string | null;
425
+ authorizationHeader: string;
426
+ forkKnowledgeSourceRequest: ForkKnowledgeSourceRequest;
427
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
428
+ /**
429
+ * List Kos
430
+ */
431
+ export declare function listKosV1KnowledgeSourcesKsSlugObjectsGet({ ksSlug, standalone, xAccountId, xUsername, authorization, authorizationHeader, body }: {
432
+ ksSlug: string;
433
+ standalone?: boolean | null;
434
+ xAccountId?: string | null;
435
+ xUsername?: string | null;
436
+ authorization?: string | null;
437
+ authorizationHeader: string;
438
+ body?: string[] | null;
439
+ }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeObjectResponse[]>;
440
+ /**
441
+ * Reset Kos
442
+ */
443
+ export declare function resetKosV1KnowledgeSourcesKsSlugObjectsDelete({ ksSlug, standalone, xAccountId, xUsername, authorization, authorizationHeader }: {
444
+ ksSlug: string;
445
+ standalone?: boolean | null;
446
+ xAccountId?: string | null;
447
+ xUsername?: string | null;
448
+ authorization?: string | null;
449
+ authorizationHeader: string;
450
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
451
+ /**
452
+ * Vectorize Snippet Ks
453
+ */
454
+ export declare function vectorizeSnippetKsV1KnowledgeSourcesSlugSnippetsPost(opts?: Oazapfts.RequestOpts): Promise<any>;
455
+ /**
456
+ * Vectorize Custom Ks
457
+ */
458
+ export declare function vectorizeCustomKsV1KnowledgeSourcesSlugCustomPost(opts?: Oazapfts.RequestOpts): Promise<any>;
459
+ /**
460
+ * Find Ko By Id
461
+ */
462
+ export declare function findKoByIdV1KnowledgeSourcesKsSlugObjectsKoIdGet({ ksSlug, koId, xAccountId, xUsername, authorization, authorizationHeader }: {
463
+ ksSlug: string;
464
+ koId: string;
465
+ xAccountId?: string | null;
466
+ xUsername?: string | null;
467
+ authorization?: string | null;
468
+ authorizationHeader: string;
469
+ }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeObjectResponse>;
470
+ /**
471
+ * Delete Ko By Id
472
+ */
473
+ export declare function deleteKoByIdV1KnowledgeSourcesKsSlugObjectsKoIdDelete({ ksSlug, koId, xAccountId, xUsername, authorization, authorizationHeader }: {
474
+ ksSlug: string;
475
+ koId: string;
476
+ xAccountId?: string | null;
477
+ xUsername?: string | null;
478
+ authorization?: string | null;
479
+ authorizationHeader: string;
480
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
481
+ /**
482
+ * Get Last Message
483
+ */
484
+ export declare function getLastMessageV1KnowledgeSourcesKsSlugLastMessageGet({ ksSlug, xAccountId, xUsername, authorization, authorizationHeader }: {
485
+ ksSlug: string;
486
+ xAccountId: string;
487
+ xUsername?: string | null;
488
+ authorization?: string | null;
489
+ authorizationHeader: string;
490
+ }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceLastMessageResponse[]>;
491
+ /**
492
+ * Get Indexed Files
493
+ */
494
+ export declare function getIndexedFilesV1KnowledgeSourcesKsSlugFilesGet({ ksSlug, xAccountId, xUsername, authorization, authorizationHeader }: {
495
+ ksSlug: string;
496
+ xAccountId?: string | null;
497
+ xUsername?: string | null;
498
+ authorization?: string | null;
499
+ authorizationHeader: string;
500
+ }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceFilesIngestedResponse[]>;
501
+ /**
502
+ * Delete Indexed Files
503
+ */
504
+ export declare function deleteIndexedFilesV1KnowledgeSourcesKsSlugFilesDelete({ ksSlug, xAccountId, xUsername, authorization, authorizationHeader, deleteIndexedFilesRequest }: {
505
+ ksSlug: string;
506
+ xAccountId?: string | null;
507
+ xUsername?: string | null;
508
+ authorization?: string | null;
509
+ authorizationHeader: string;
510
+ deleteIndexedFilesRequest: DeleteIndexedFilesRequest;
511
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
512
+ /**
513
+ * Get Upload Form
514
+ */
515
+ export declare function getUploadFormV1FileUploadFormPost({ xAccountId, xUsername, authorization, authorizationHeader, newFileUploadRequest }: {
516
+ xAccountId?: string | null;
517
+ xUsername?: string | null;
518
+ authorization?: string | null;
519
+ authorizationHeader: string;
520
+ newFileUploadRequest: NewFileUploadRequest;
521
+ }, opts?: Oazapfts.RequestOpts): Promise<NewFileUploadFormResponse>;
522
+ /**
523
+ * Get File Upload Status
524
+ */
525
+ export declare function getFileUploadStatusV1FileUploadFileUploadIdGet({ fileUploadId, xAccountId, xUsername, authorization, authorizationHeader }: {
526
+ fileUploadId: string;
527
+ xAccountId?: string | null;
528
+ xUsername?: string | null;
529
+ authorization?: string | null;
530
+ authorizationHeader: string;
531
+ }, opts?: Oazapfts.RequestOpts): Promise<FileUploadStatusResponse>;
532
+ /**
533
+ * Save Chunked Files
534
+ */
535
+ export declare function saveChunkedFilesV1FileUploadFileUploadIdPost({ fileUploadId, xAccountId, xUsername, authorization, authorizationHeader, fileUploadSaveChunksRequest }: {
536
+ fileUploadId: string;
537
+ xAccountId?: string | null;
538
+ xUsername?: string | null;
539
+ authorization?: string | null;
540
+ authorizationHeader: string;
541
+ fileUploadSaveChunksRequest: FileUploadSaveChunksRequest;
542
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
543
+ /**
544
+ * Internal Patch File Upload Status
545
+ */
546
+ export declare function internalPatchFileUploadStatusV1FileUploadFileUploadIdPatch({ fileUploadId, xAccountId, xUsername, authorization, authorizationHeader, fileUploadUpdateRequest }: {
547
+ fileUploadId: string;
548
+ xAccountId: string;
549
+ xUsername?: string | null;
550
+ authorization?: string | null;
551
+ authorizationHeader: string;
552
+ fileUploadUpdateRequest: FileUploadUpdateRequest;
553
+ }, opts?: Oazapfts.RequestOpts): Promise<FileUploadStatusResponse>;
554
+ /**
555
+ * Split Uploaded File
556
+ */
557
+ export declare function splitUploadedFileV1FileUploadFileUploadIdSplitPost({ fileUploadId, xAccountId, xUsername, authorization, authorizationHeader, fileSplitRequest }: {
558
+ fileUploadId: string;
559
+ xAccountId?: string | null;
560
+ xUsername?: string | null;
561
+ authorization?: string | null;
562
+ authorizationHeader: string;
563
+ fileSplitRequest: FileSplitRequest;
564
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
565
+ /**
566
+ * Split Uploaded File Preview
567
+ */
568
+ export declare function splitUploadedFilePreviewV1FileUploadFileUploadIdSplitPreviewSplitStrategyGet({ fileUploadId, splitStrategy, xAccountId, xUsername, authorization, authorizationHeader }: {
569
+ fileUploadId: string;
570
+ splitStrategy: FileSplitStrategy;
571
+ xAccountId?: string | null;
572
+ xUsername?: string | null;
573
+ authorization?: string | null;
574
+ authorizationHeader: string;
575
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
576
+ /**
577
+ * Internal Get File Upload Metadata
578
+ */
579
+ export declare function internalGetFileUploadMetadataV1FileUploadFileUploadIdMetadataGet({ fileUploadId, xAccountId, xUsername, authorization, authorizationHeader }: {
580
+ fileUploadId: string;
581
+ xAccountId: string;
582
+ xUsername?: string | null;
583
+ authorization?: string | null;
584
+ authorizationHeader: string;
585
+ }, opts?: Oazapfts.RequestOpts): Promise<FileMetadataResponse>;
586
+ /**
587
+ * Has Limit
588
+ */
589
+ export declare function hasLimitV1TokenUsageHasLimitGet({ xAccountId, xUsername, authorization, authorizationHeader }: {
590
+ xAccountId?: string | null;
591
+ xUsername?: string | null;
592
+ authorization?: string | null;
593
+ authorizationHeader: string;
594
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
595
+ /**
596
+ * Internal Consume Token Usage
597
+ */
598
+ export declare function internalConsumeTokenUsageV1TokenUsageConsumePost({ xAccountId, xUsername, authorization, authorizationHeader, consumeTokenRequest }: {
599
+ xAccountId: string;
600
+ xUsername: string;
601
+ authorization?: string | null;
602
+ authorizationHeader: string;
603
+ consumeTokenRequest: ConsumeTokenRequest;
604
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
605
+ /**
606
+ * Get Upload Form V2
607
+ */
608
+ export declare function getUploadFormV2V2FileUploadFormPost({ xAccountId, xUsername, authorization, authorizationHeader, newFileUploadRequest }: {
609
+ xAccountId?: string | null;
610
+ xUsername?: string | null;
611
+ authorization?: string | null;
612
+ authorizationHeader: string;
613
+ newFileUploadRequest: NewFileUploadRequest;
614
+ }, opts?: Oazapfts.RequestOpts): Promise<NewFileUploadFormResponse>;
615
+ /**
616
+ * Internal Get Llm Config
617
+ */
618
+ export declare function internalGetLlmConfigV1AccountsLlmConfigGet({ xAccountId, xUsername, authorization, authorizationHeader }: {
619
+ xAccountId: string;
620
+ xUsername?: string | null;
621
+ authorization?: string | null;
622
+ authorizationHeader: string;
623
+ }, opts?: Oazapfts.RequestOpts): Promise<AccountLlmConfigResponse>;
624
+ /**
625
+ * Internal Get Or Create Knowledge Group
626
+ */
627
+ export declare function internalGetOrCreateKnowledgeGroupV1KnowledgeGroupsGetOrCreatePut({ xAccountId, xUsername, authorization, authorizationHeader, getOrCreateKnowledgeGroupRequest }: {
628
+ xAccountId: string;
629
+ xUsername?: string | null;
630
+ authorization?: string | null;
631
+ authorizationHeader: string;
632
+ getOrCreateKnowledgeGroupRequest: GetOrCreateKnowledgeGroupRequest;
633
+ }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeGroupResponse>;
634
+ /**
635
+ * Internal Delete By Not Checksums
636
+ */
637
+ export declare function internalDeleteByNotChecksumsV1KnowledgeGroupsGroupIdObjectsDelete({ groupId, xAccountId, xUsername, authorization, authorizationHeader, deleteGroupObjectsRequests }: {
638
+ groupId: string;
639
+ xAccountId: string;
640
+ xUsername?: string | null;
641
+ authorization?: string | null;
642
+ authorizationHeader: string;
643
+ deleteGroupObjectsRequests: DeleteGroupObjectsRequests;
644
+ }, opts?: Oazapfts.RequestOpts): Promise<DeletedCountResponse>;
645
+ /**
646
+ * Internal Update Knowledge Group
647
+ */
648
+ export declare function internalUpdateKnowledgeGroupV1KnowledgeGroupsGroupIdPatch({ groupId, xAccountId, xUsername, authorization, authorizationHeader, updateKnowledgeGroupRequest }: {
649
+ groupId: string;
650
+ xAccountId: string;
651
+ xUsername?: string | null;
652
+ authorization?: string | null;
653
+ authorizationHeader: string;
654
+ updateKnowledgeGroupRequest: UpdateKnowledgeGroupRequest;
655
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
656
+ /**
657
+ * Internal Create Knowledge Objects Batch
658
+ */
659
+ export declare function internalCreateKnowledgeObjectsBatchV1KnowledgeObjectsBatchPost({ xAccountId, xUsername, authorization, authorizationHeader, body }: {
660
+ xAccountId: string;
661
+ xUsername?: string | null;
662
+ authorization?: string | null;
663
+ authorizationHeader: string;
664
+ body: CreateKnowledgeObjectsBatchRequest[];
665
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
666
+ //# sourceMappingURL=dataIntegration.d.ts.map