@stack-spot/portal-network 0.82.0 → 0.82.2
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/CHANGELOG.md +14 -0
- package/dist/api/ai.d.ts +224 -181
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +223 -204
- package/dist/api/ai.js.map +1 -1
- package/dist/client/ai.d.ts +0 -1
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/types.d.ts +5 -2
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workspace-ai.d.ts +2 -2
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +5 -1
- package/dist/client/workspace-ai.js.map +1 -1
- package/package.json +1 -1
- package/src/api/ai.ts +507 -445
- package/src/client/types.ts +6 -2
- package/src/client/workspace-ai.ts +12 -2
package/dist/api/ai.d.ts
CHANGED
|
@@ -7,8 +7,30 @@
|
|
|
7
7
|
import * as Oazapfts from "@oazapfts/runtime";
|
|
8
8
|
export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
|
|
9
9
|
export declare const servers: {};
|
|
10
|
-
export type
|
|
11
|
-
|
|
10
|
+
export type AiStackWorkspaceForkRequest = {
|
|
11
|
+
ids: string[];
|
|
12
|
+
member_id: string;
|
|
13
|
+
};
|
|
14
|
+
export type AiStackWorkspaceForkResponse = {
|
|
15
|
+
stack_ids: string[];
|
|
16
|
+
stack_ids_account: string[];
|
|
17
|
+
error_ids: string[];
|
|
18
|
+
};
|
|
19
|
+
export type ValidationError = {
|
|
20
|
+
loc: (string | number)[];
|
|
21
|
+
msg: string;
|
|
22
|
+
"type": string;
|
|
23
|
+
};
|
|
24
|
+
export type HttpValidationError = {
|
|
25
|
+
detail?: ValidationError[];
|
|
26
|
+
};
|
|
27
|
+
export type AiStackWorkspaceDeleteRequest = {
|
|
28
|
+
ids: string[];
|
|
29
|
+
};
|
|
30
|
+
export type AiStackWorkspaceListRequest = {
|
|
31
|
+
ids: string[];
|
|
32
|
+
name?: string | null;
|
|
33
|
+
};
|
|
12
34
|
export type GetAiStackResponse = {
|
|
13
35
|
id: string;
|
|
14
36
|
name: string;
|
|
@@ -25,15 +47,9 @@ export type GetAiStackResponse = {
|
|
|
25
47
|
cloud_attributes: string[] | null;
|
|
26
48
|
creator: string | null;
|
|
27
49
|
visibility_level: string;
|
|
50
|
+
use_only?: boolean | null;
|
|
28
51
|
};
|
|
29
|
-
export type
|
|
30
|
-
loc: (string | number)[];
|
|
31
|
-
msg: string;
|
|
32
|
-
"type": string;
|
|
33
|
-
};
|
|
34
|
-
export type HttpValidationError = {
|
|
35
|
-
detail?: ValidationError[];
|
|
36
|
-
};
|
|
52
|
+
export type VisibilityLevelEnum = "account" | "personal" | "shared" | "workspace";
|
|
37
53
|
export type NewAiStackRequest = {
|
|
38
54
|
name: string;
|
|
39
55
|
use_case: string;
|
|
@@ -62,11 +78,15 @@ export type UpdateAiStackRequest = {
|
|
|
62
78
|
image: string | null;
|
|
63
79
|
cloud_provider: string | null;
|
|
64
80
|
cloud_attributes: string[] | null;
|
|
81
|
+
use_only?: boolean | null;
|
|
65
82
|
};
|
|
66
83
|
export type AiStackForkRequest = {
|
|
67
84
|
name: string;
|
|
68
85
|
description: string | null;
|
|
69
86
|
};
|
|
87
|
+
export type AiStackPublishRequest = {
|
|
88
|
+
use_only?: boolean | null;
|
|
89
|
+
};
|
|
70
90
|
export type NewProjectFilesRequest = {
|
|
71
91
|
context?: object | null;
|
|
72
92
|
project_id: string;
|
|
@@ -84,11 +104,6 @@ export type SimpleResponse = {
|
|
|
84
104
|
completion_tokens: number;
|
|
85
105
|
total_cost?: string | null;
|
|
86
106
|
};
|
|
87
|
-
export type ChatRequest = {
|
|
88
|
-
context?: object | null;
|
|
89
|
-
user_prompt: string;
|
|
90
|
-
project_id?: string | null;
|
|
91
|
-
};
|
|
92
107
|
export type SourceStackAi = {
|
|
93
108
|
"type": "ai_stack";
|
|
94
109
|
name: string;
|
|
@@ -167,10 +182,6 @@ export type NewFileUploadUrlRequest = {
|
|
|
167
182
|
target_type: FileUploadType;
|
|
168
183
|
expiration?: number | null;
|
|
169
184
|
};
|
|
170
|
-
export type NewFileUploadUrlResponse = {
|
|
171
|
-
id: string;
|
|
172
|
-
upload_url: string;
|
|
173
|
-
};
|
|
174
185
|
export type NewFileUploadFormResponse = {
|
|
175
186
|
id: string;
|
|
176
187
|
url: string;
|
|
@@ -196,12 +207,29 @@ export type FileUploadStatusResponse = {
|
|
|
196
207
|
error_description: string | null;
|
|
197
208
|
summary: SummaryPartResponse | null;
|
|
198
209
|
};
|
|
210
|
+
export type KnowledgeSourcesWorkspaceForkRequest = {
|
|
211
|
+
ids: string[];
|
|
212
|
+
member_id: string;
|
|
213
|
+
};
|
|
214
|
+
export type KnowledgeSourcesWorkspaceForkResponse = {
|
|
215
|
+
ks_ids: string[];
|
|
216
|
+
ks_ids_account: string[];
|
|
217
|
+
error_ids: string[];
|
|
218
|
+
};
|
|
219
|
+
export type KnowledgeSourcesWorkspaceDeleteRequest = {
|
|
220
|
+
ids: string[];
|
|
221
|
+
};
|
|
222
|
+
export type KnowledgeSourcesWorkspaceListRequest = {
|
|
223
|
+
ids: string[];
|
|
224
|
+
name?: string | null;
|
|
225
|
+
};
|
|
199
226
|
export type NewKnowledgeSourceRequest = {
|
|
200
227
|
slug: string;
|
|
201
228
|
name: string;
|
|
202
229
|
description: string;
|
|
203
230
|
"type": "API" | "SNIPPET" | "CUSTOM";
|
|
204
231
|
};
|
|
232
|
+
export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
|
|
205
233
|
export type KnowledgeSourceTypeEnum = "snippet" | "api" | "event" | "custom" | "project_file" | "memory";
|
|
206
234
|
export type KnowledgeSourceItemResponse = {
|
|
207
235
|
id: string;
|
|
@@ -212,6 +240,7 @@ export type KnowledgeSourceItemResponse = {
|
|
|
212
240
|
object_count: number;
|
|
213
241
|
creator: string | null;
|
|
214
242
|
visibility_level: string;
|
|
243
|
+
use_only: boolean;
|
|
215
244
|
};
|
|
216
245
|
export type KnowledgeSourceResponse = {
|
|
217
246
|
slug: string;
|
|
@@ -221,10 +250,13 @@ export type KnowledgeSourceResponse = {
|
|
|
221
250
|
creator: string | null;
|
|
222
251
|
"default": boolean;
|
|
223
252
|
visibility_level: string;
|
|
253
|
+
use_only: boolean;
|
|
254
|
+
id: string;
|
|
224
255
|
};
|
|
225
256
|
export type KnowledgeSourcePatchesRequest = {
|
|
226
257
|
name: string;
|
|
227
258
|
description: string;
|
|
259
|
+
use_only?: boolean | null;
|
|
228
260
|
};
|
|
229
261
|
export type KnowledgeSourceDependenciesResponse = {
|
|
230
262
|
workspaces?: string[];
|
|
@@ -234,6 +266,9 @@ export type KnowledgeSourceSimilaritySearchItemResponse = {
|
|
|
234
266
|
score: number;
|
|
235
267
|
file_path: string | null;
|
|
236
268
|
};
|
|
269
|
+
export type KnowledgeSourcesPublishRequest = {
|
|
270
|
+
use_only?: boolean;
|
|
271
|
+
};
|
|
237
272
|
export type KnowSourcePublishBatchRequest = {
|
|
238
273
|
ids: string[];
|
|
239
274
|
};
|
|
@@ -242,16 +277,10 @@ export type ForkKnowledgeSourceRequest = {
|
|
|
242
277
|
name: string;
|
|
243
278
|
description: string;
|
|
244
279
|
};
|
|
245
|
-
export type BodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost = {
|
|
246
|
-
upload: Blob;
|
|
247
|
-
};
|
|
248
280
|
export type DocumentResponse = {
|
|
249
281
|
page_content: string;
|
|
250
282
|
metadata: object;
|
|
251
283
|
};
|
|
252
|
-
export type BodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost = {
|
|
253
|
-
objects_zip: Blob;
|
|
254
|
-
};
|
|
255
284
|
export type SnippetKnowledgeSourceRequest = {
|
|
256
285
|
use_case: string;
|
|
257
286
|
code: string;
|
|
@@ -300,7 +329,37 @@ export type TokensMonthlyUsageResponse = {
|
|
|
300
329
|
export type AddWorkspaceKnowledgeSourceRequest = {
|
|
301
330
|
knowledge_source_slugs: string[];
|
|
302
331
|
};
|
|
332
|
+
export type QuickCommandWorkspaceForkRequest = {
|
|
333
|
+
ids: string[];
|
|
334
|
+
member_id: string;
|
|
335
|
+
};
|
|
336
|
+
export type QuickCommandWorkspaceDeleteRequest = {
|
|
337
|
+
ids: string[];
|
|
338
|
+
};
|
|
339
|
+
export type QuickCommandDependenciesRequest = {
|
|
340
|
+
ids: string[];
|
|
341
|
+
};
|
|
342
|
+
export type QuickCommandWorkspaceListRequest = {
|
|
343
|
+
ids: string[];
|
|
344
|
+
name?: string | null;
|
|
345
|
+
};
|
|
303
346
|
export type QuickCommandTypeRequest = "IDE" | "REMOTE";
|
|
347
|
+
export type QuickCommandsReturnType = "CHAT" | "REPLACE_CODE" | "BEFORE_CODE" | "AFTER_CODE";
|
|
348
|
+
export type QuickCommandListResponse = {
|
|
349
|
+
slug: string;
|
|
350
|
+
name: string;
|
|
351
|
+
"type": QuickCommandTypeRequest;
|
|
352
|
+
description: string;
|
|
353
|
+
studio_id?: string | null;
|
|
354
|
+
flow?: object | null;
|
|
355
|
+
preserve_conversation: boolean;
|
|
356
|
+
use_selected_code: boolean;
|
|
357
|
+
return_type?: QuickCommandsReturnType | null;
|
|
358
|
+
creator: string | null;
|
|
359
|
+
visibility_level: string;
|
|
360
|
+
use_only: boolean;
|
|
361
|
+
id: string;
|
|
362
|
+
};
|
|
304
363
|
export type Method = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
305
364
|
export type QuickCommandsStepFetchRequest = {
|
|
306
365
|
slug: string;
|
|
@@ -316,11 +375,11 @@ export type QuickCommandsStepPromptRequest = {
|
|
|
316
375
|
prompt: string;
|
|
317
376
|
use_stack?: boolean;
|
|
318
377
|
use_project_files?: boolean;
|
|
378
|
+
allow_use_current_workspace?: boolean;
|
|
319
379
|
knowledge_source_slugs?: string[] | null;
|
|
320
380
|
agent_id?: string | null;
|
|
321
381
|
agent_built_in?: boolean | null;
|
|
322
382
|
};
|
|
323
|
-
export type QuickCommandsReturnType = "CHAT" | "REPLACE_CODE" | "BEFORE_CODE" | "AFTER_CODE";
|
|
324
383
|
export type CustomInputRequest = {
|
|
325
384
|
slug: string;
|
|
326
385
|
question: string;
|
|
@@ -341,20 +400,6 @@ export type QuickCommandsCreateRequest = {
|
|
|
341
400
|
export type BaseContextualRequest = {
|
|
342
401
|
context?: object | null;
|
|
343
402
|
};
|
|
344
|
-
export type QuickCommandListResponse = {
|
|
345
|
-
slug: string;
|
|
346
|
-
name: string;
|
|
347
|
-
"type": QuickCommandTypeRequest;
|
|
348
|
-
description: string;
|
|
349
|
-
studio_id?: string | null;
|
|
350
|
-
flow?: object | null;
|
|
351
|
-
preserve_conversation: boolean;
|
|
352
|
-
use_selected_code: boolean;
|
|
353
|
-
return_type?: QuickCommandsReturnType | null;
|
|
354
|
-
creator: string | null;
|
|
355
|
-
visibility_level: string;
|
|
356
|
-
id: string;
|
|
357
|
-
};
|
|
358
403
|
export type QuickCommandsUpdateRequest = {
|
|
359
404
|
name?: string | null;
|
|
360
405
|
description?: string | null;
|
|
@@ -365,6 +410,7 @@ export type QuickCommandsUpdateRequest = {
|
|
|
365
410
|
preserve_conversation?: boolean;
|
|
366
411
|
custom_inputs?: CustomInputRequest[] | null;
|
|
367
412
|
flow?: object | null;
|
|
413
|
+
use_only?: boolean | null;
|
|
368
414
|
};
|
|
369
415
|
export type QuickCommandStepType = "LLM" | "FETCH";
|
|
370
416
|
export type Method2 = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -440,9 +486,13 @@ export type QuickCommandResponse = {
|
|
|
440
486
|
use_selected_code?: boolean | null;
|
|
441
487
|
creator: string | null;
|
|
442
488
|
visibility_level: string;
|
|
489
|
+
use_only: boolean;
|
|
443
490
|
custom_inputs?: CustomInputResponse[] | null;
|
|
444
491
|
id: string;
|
|
445
492
|
};
|
|
493
|
+
export type QuickCommandPublishRequest = {
|
|
494
|
+
use_only?: boolean | null;
|
|
495
|
+
};
|
|
446
496
|
export type QuickCommandsMakeACopyRequest = {
|
|
447
497
|
suggested_slug: string;
|
|
448
498
|
name: string;
|
|
@@ -550,10 +600,10 @@ export type ConversationUpdateTitleRequest = {
|
|
|
550
600
|
export type BodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost = {
|
|
551
601
|
objects_zip: Blob;
|
|
552
602
|
};
|
|
553
|
-
export type
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
603
|
+
export type FeatureFlagResponse = {
|
|
604
|
+
domain: string;
|
|
605
|
+
action: string;
|
|
606
|
+
active: boolean;
|
|
557
607
|
};
|
|
558
608
|
export type SourceProjectFile3 = {
|
|
559
609
|
"type": "project_file";
|
|
@@ -569,11 +619,10 @@ export type QuickCommandDependenciesResponseV2 = {
|
|
|
569
619
|
error_ks_names?: string[] | null;
|
|
570
620
|
missing_ks_id_list?: string[] | null;
|
|
571
621
|
};
|
|
572
|
-
export type
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
objects_zip: Blob;
|
|
622
|
+
export type ChatRequest = {
|
|
623
|
+
context?: object | null;
|
|
624
|
+
user_prompt: string;
|
|
625
|
+
project_id?: string | null;
|
|
577
626
|
};
|
|
578
627
|
export type SourceProjectFile4 = {
|
|
579
628
|
"type": "project_file";
|
|
@@ -589,12 +638,35 @@ export type ChatResponse3 = {
|
|
|
589
638
|
* Metrics
|
|
590
639
|
*/
|
|
591
640
|
export declare function metricsMetricsGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
641
|
+
/**
|
|
642
|
+
* Workspace Fork
|
|
643
|
+
*/
|
|
644
|
+
export declare function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, aiStackWorkspaceForkRequest }: {
|
|
645
|
+
authorization: string;
|
|
646
|
+
xAccountId?: string | null;
|
|
647
|
+
aiStackWorkspaceForkRequest: AiStackWorkspaceForkRequest;
|
|
648
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AiStackWorkspaceForkResponse>;
|
|
649
|
+
/**
|
|
650
|
+
* Workspace Delete Fork
|
|
651
|
+
*/
|
|
652
|
+
export declare function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, aiStackWorkspaceDeleteRequest }: {
|
|
653
|
+
authorization: string;
|
|
654
|
+
xAccountId?: string | null;
|
|
655
|
+
aiStackWorkspaceDeleteRequest: AiStackWorkspaceDeleteRequest;
|
|
656
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
657
|
+
/**
|
|
658
|
+
* Workspace List
|
|
659
|
+
*/
|
|
660
|
+
export declare function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, aiStackWorkspaceListRequest }: {
|
|
661
|
+
authorization: string;
|
|
662
|
+
xAccountId?: string | null;
|
|
663
|
+
aiStackWorkspaceListRequest: AiStackWorkspaceListRequest;
|
|
664
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse[]>;
|
|
592
665
|
/**
|
|
593
666
|
* List Ai Stacks
|
|
594
667
|
*/
|
|
595
|
-
export declare function listAiStacksV1AiStacksGet({ visibility,
|
|
668
|
+
export declare function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId }: {
|
|
596
669
|
visibility?: VisibilityLevelEnum;
|
|
597
|
-
order?: OrderEnum;
|
|
598
670
|
authorization: string;
|
|
599
671
|
xAccountId?: string | null;
|
|
600
672
|
}, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse[]>;
|
|
@@ -659,17 +731,17 @@ export declare function shareV1AiStacksStackIdSharePost({ stackId, authorization
|
|
|
659
731
|
/**
|
|
660
732
|
* Publish
|
|
661
733
|
*/
|
|
662
|
-
export declare function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId }: {
|
|
734
|
+
export declare function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, aiStackPublishRequest }: {
|
|
663
735
|
stackId: string;
|
|
664
736
|
authorization: string;
|
|
665
737
|
xAccountId?: string | null;
|
|
738
|
+
aiStackPublishRequest?: AiStackPublishRequest;
|
|
666
739
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
667
740
|
/**
|
|
668
741
|
* Project Files
|
|
669
742
|
*/
|
|
670
|
-
export declare function projectFilesV1ProjectFilesPost({ authorization,
|
|
743
|
+
export declare function projectFilesV1ProjectFilesPost({ authorization, newProjectFilesRequest }: {
|
|
671
744
|
authorization: string;
|
|
672
|
-
xAccountId?: string | null;
|
|
673
745
|
newProjectFilesRequest: NewProjectFilesRequest;
|
|
674
746
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
675
747
|
/**
|
|
@@ -683,11 +755,7 @@ export declare function quickActionsV1QuickActionsPost({ authorization, xAccount
|
|
|
683
755
|
/**
|
|
684
756
|
* Dev Assistant
|
|
685
757
|
*/
|
|
686
|
-
export declare function devAssistantV1ChatPost(
|
|
687
|
-
authorization: string;
|
|
688
|
-
xAccountId?: string | null;
|
|
689
|
-
codeBuddyApiV1SchemasChatRequest: ChatRequest;
|
|
690
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ChatResponse>;
|
|
758
|
+
export declare function devAssistantV1ChatPost(opts?: Oazapfts.RequestOpts): Promise<ChatResponse>;
|
|
691
759
|
/**
|
|
692
760
|
* Post Event
|
|
693
761
|
*/
|
|
@@ -696,34 +764,48 @@ export declare function postEventV1EventsPost({ authorization, xAccountId, body
|
|
|
696
764
|
xAccountId?: string | null;
|
|
697
765
|
body: GenericEventRequest[];
|
|
698
766
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
699
|
-
/**
|
|
700
|
-
* Get Upload Url
|
|
701
|
-
*/
|
|
702
|
-
export declare function getUploadUrlV1FileUploadUrlPost({ authorization, xAccountId, newFileUploadUrlRequest }: {
|
|
703
|
-
authorization: string;
|
|
704
|
-
xAccountId?: string | null;
|
|
705
|
-
newFileUploadUrlRequest: NewFileUploadUrlRequest;
|
|
706
|
-
}, opts?: Oazapfts.RequestOpts): Promise<NewFileUploadUrlResponse>;
|
|
707
767
|
/**
|
|
708
768
|
* Get Upload Form
|
|
709
769
|
*/
|
|
710
|
-
export declare function getUploadFormV1FileUploadFormPost({ authorization,
|
|
770
|
+
export declare function getUploadFormV1FileUploadFormPost({ authorization, newFileUploadUrlRequest }: {
|
|
711
771
|
authorization: string;
|
|
712
|
-
xAccountId?: string | null;
|
|
713
772
|
newFileUploadUrlRequest: NewFileUploadUrlRequest;
|
|
714
773
|
}, opts?: Oazapfts.RequestOpts): Promise<NewFileUploadFormResponse>;
|
|
715
774
|
/**
|
|
716
775
|
* Get File Upload Status
|
|
717
776
|
*/
|
|
718
|
-
export declare function getFileUploadStatusV1FileUploadFileUploadIdGet({ fileUploadId, authorization
|
|
777
|
+
export declare function getFileUploadStatusV1FileUploadFileUploadIdGet({ fileUploadId, authorization }: {
|
|
719
778
|
fileUploadId: string;
|
|
720
779
|
authorization: string;
|
|
721
|
-
xAccountId?: string | null;
|
|
722
780
|
}, opts?: Oazapfts.RequestOpts): Promise<FileUploadStatusResponse>;
|
|
723
781
|
/**
|
|
724
782
|
* Report Health
|
|
725
783
|
*/
|
|
726
784
|
export declare function reportHealthHealthzGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
785
|
+
/**
|
|
786
|
+
* Workspace Fork
|
|
787
|
+
*/
|
|
788
|
+
export declare function workspaceForkV1KnowledgeSourcesWorkspaceForkPost({ authorization, xAccountId, knowledgeSourcesWorkspaceForkRequest }: {
|
|
789
|
+
authorization: string;
|
|
790
|
+
xAccountId?: string | null;
|
|
791
|
+
knowledgeSourcesWorkspaceForkRequest: KnowledgeSourcesWorkspaceForkRequest;
|
|
792
|
+
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourcesWorkspaceForkResponse>;
|
|
793
|
+
/**
|
|
794
|
+
* Workspace Delete Fork
|
|
795
|
+
*/
|
|
796
|
+
export declare function workspaceDeleteForkV1KnowledgeSourcesWorkspaceForkDelete({ authorization, xAccountId, knowledgeSourcesWorkspaceDeleteRequest }: {
|
|
797
|
+
authorization: string;
|
|
798
|
+
xAccountId?: string | null;
|
|
799
|
+
knowledgeSourcesWorkspaceDeleteRequest: KnowledgeSourcesWorkspaceDeleteRequest;
|
|
800
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
801
|
+
/**
|
|
802
|
+
* Workspace List
|
|
803
|
+
*/
|
|
804
|
+
export declare function workspaceListV1KnowledgeSourcesWorkspaceListPost({ authorization, xAccountId, knowledgeSourcesWorkspaceListRequest }: {
|
|
805
|
+
authorization: string;
|
|
806
|
+
xAccountId?: string | null;
|
|
807
|
+
knowledgeSourcesWorkspaceListRequest: KnowledgeSourcesWorkspaceListRequest;
|
|
808
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
727
809
|
/**
|
|
728
810
|
* Create Knowledge Source
|
|
729
811
|
*/
|
|
@@ -768,6 +850,14 @@ export declare function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug
|
|
|
768
850
|
authorization: string;
|
|
769
851
|
xAccountId?: string | null;
|
|
770
852
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
853
|
+
/**
|
|
854
|
+
* Find Knowledge Source
|
|
855
|
+
*/
|
|
856
|
+
export declare function findKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ slug, authorization, xAccountId }: {
|
|
857
|
+
slug: string;
|
|
858
|
+
authorization: string;
|
|
859
|
+
xAccountId?: string | null;
|
|
860
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
771
861
|
/**
|
|
772
862
|
* Find Knowledge Source Dependencies
|
|
773
863
|
*/
|
|
@@ -797,10 +887,11 @@ export declare function shareKnowledgeSourceV1KnowledgeSourcesSlugSharePost({ sl
|
|
|
797
887
|
/**
|
|
798
888
|
* Publish Knowledge Source
|
|
799
889
|
*/
|
|
800
|
-
export declare function publishKnowledgeSourceV1KnowledgeSourcesSlugPublishPost({ slug, authorization, xAccountId }: {
|
|
890
|
+
export declare function publishKnowledgeSourceV1KnowledgeSourcesSlugPublishPost({ slug, authorization, xAccountId, knowledgeSourcesPublishRequest }: {
|
|
801
891
|
slug: string;
|
|
802
892
|
authorization: string;
|
|
803
893
|
xAccountId?: string | null;
|
|
894
|
+
knowledgeSourcesPublishRequest?: KnowledgeSourcesPublishRequest;
|
|
804
895
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
805
896
|
/**
|
|
806
897
|
* Publish Knowledge Source In Batch
|
|
@@ -810,15 +901,6 @@ export declare function publishKnowledgeSourceInBatchV1KnowledgeSourcesPublishBa
|
|
|
810
901
|
xAccountId?: string | null;
|
|
811
902
|
knowSourcePublishBatchRequest: KnowSourcePublishBatchRequest;
|
|
812
903
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
813
|
-
/**
|
|
814
|
-
* Configure Knowledge Source Default Flag
|
|
815
|
-
*/
|
|
816
|
-
export declare function configureKnowledgeSourceDefaultFlagV1KnowledgeSourcesSlugDefaultPut({ slug, value, authorization, xAccountId }: {
|
|
817
|
-
slug: string;
|
|
818
|
-
value: boolean;
|
|
819
|
-
authorization: string;
|
|
820
|
-
xAccountId?: string | null;
|
|
821
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
822
904
|
/**
|
|
823
905
|
* Fork Knowledge Source
|
|
824
906
|
*/
|
|
@@ -828,15 +910,6 @@ export declare function forkKnowledgeSourceV1KnowledgeSourcesSlugForkPost({ slug
|
|
|
828
910
|
xAccountId?: string | null;
|
|
829
911
|
forkKnowledgeSourceRequest: ForkKnowledgeSourceRequest;
|
|
830
912
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
831
|
-
/**
|
|
832
|
-
* Vectorize Objects From File
|
|
833
|
-
*/
|
|
834
|
-
export declare function vectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost({ slug, authorization, xAccountId, bodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost }: {
|
|
835
|
-
slug: string;
|
|
836
|
-
authorization: string;
|
|
837
|
-
xAccountId?: string | null;
|
|
838
|
-
bodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost: BodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost;
|
|
839
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
840
913
|
/**
|
|
841
914
|
* List Knowledge Objects
|
|
842
915
|
*/
|
|
@@ -855,16 +928,6 @@ export declare function resetKnowledgeObjectsV1KnowledgeSourcesSlugObjectsDelete
|
|
|
855
928
|
authorization: string;
|
|
856
929
|
xAccountId?: string | null;
|
|
857
930
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
858
|
-
/**
|
|
859
|
-
* Upload Knowledge Objects Zip
|
|
860
|
-
*/
|
|
861
|
-
export declare function uploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost({ slug, autoDelete, authorization, xAccountId, bodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost }: {
|
|
862
|
-
slug: string;
|
|
863
|
-
autoDelete?: boolean;
|
|
864
|
-
authorization: string;
|
|
865
|
-
xAccountId?: string | null;
|
|
866
|
-
bodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost: BodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost;
|
|
867
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
868
931
|
/**
|
|
869
932
|
* Find Knowledge Object By Custom Id
|
|
870
933
|
*/
|
|
@@ -883,15 +946,6 @@ export declare function deleteKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObj
|
|
|
883
946
|
authorization: string;
|
|
884
947
|
xAccountId?: string | null;
|
|
885
948
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
886
|
-
/**
|
|
887
|
-
* Find Snippet Doc By Custom Id
|
|
888
|
-
*/
|
|
889
|
-
export declare function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsIdGet({ slug, id, authorization, xAccountId }: {
|
|
890
|
-
slug: string;
|
|
891
|
-
id: string;
|
|
892
|
-
authorization: string;
|
|
893
|
-
xAccountId?: string | null;
|
|
894
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
895
949
|
/**
|
|
896
950
|
* Vectorize Snippet Knowledge Source
|
|
897
951
|
*/
|
|
@@ -901,51 +955,6 @@ export declare function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSni
|
|
|
901
955
|
xAccountId?: string | null;
|
|
902
956
|
snippetKnowledgeSourceRequest: SnippetKnowledgeSourceRequest;
|
|
903
957
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
904
|
-
/**
|
|
905
|
-
* Find Api Doc By Custom Id
|
|
906
|
-
*/
|
|
907
|
-
export declare function findApiDocByCustomIdV1KnowledgeSourcesSlugApisIdGet({ slug, id, authorization, xAccountId }: {
|
|
908
|
-
slug: string;
|
|
909
|
-
id: string;
|
|
910
|
-
authorization: string;
|
|
911
|
-
xAccountId?: string | null;
|
|
912
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
913
|
-
/**
|
|
914
|
-
* Vectorize Api Knowledge Source
|
|
915
|
-
*/
|
|
916
|
-
export declare function vectorizeApiKnowledgeSourceV1KnowledgeSourcesSlugApisPost({ slug, authorization, xAccountId, body }: {
|
|
917
|
-
slug: string;
|
|
918
|
-
authorization: string;
|
|
919
|
-
xAccountId?: string | null;
|
|
920
|
-
body: object;
|
|
921
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
922
|
-
/**
|
|
923
|
-
* Find Event Doc By Custom Id
|
|
924
|
-
*/
|
|
925
|
-
export declare function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet({ slug, id, authorization, xAccountId }: {
|
|
926
|
-
slug: string;
|
|
927
|
-
id: string;
|
|
928
|
-
authorization: string;
|
|
929
|
-
xAccountId?: string | null;
|
|
930
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
931
|
-
/**
|
|
932
|
-
* Vectorize Event Knowledge Source
|
|
933
|
-
*/
|
|
934
|
-
export declare function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, body }: {
|
|
935
|
-
slug: string;
|
|
936
|
-
authorization: string;
|
|
937
|
-
xAccountId?: string | null;
|
|
938
|
-
body: object;
|
|
939
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
940
|
-
/**
|
|
941
|
-
* Find Custom Doc By Custom Id
|
|
942
|
-
*/
|
|
943
|
-
export declare function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet({ slug, id, authorization, xAccountId }: {
|
|
944
|
-
slug: string;
|
|
945
|
-
id: string;
|
|
946
|
-
authorization: string;
|
|
947
|
-
xAccountId?: string | null;
|
|
948
|
-
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
949
958
|
/**
|
|
950
959
|
* Vectorize Custom Knowledge Source
|
|
951
960
|
*/
|
|
@@ -1006,6 +1015,16 @@ export declare function changeExternalRqcV1AccountsExternalRqcPatch({ authorizat
|
|
|
1006
1015
|
xAccountId?: string | null;
|
|
1007
1016
|
accountSettingsChangeErqcRequest: AccountSettingsChangeErqcRequest;
|
|
1008
1017
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Get External Configs
|
|
1020
|
+
*/
|
|
1021
|
+
export declare function getExternalConfigsV1AccountsExternalConfigGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1022
|
+
/**
|
|
1023
|
+
* Change External Configs
|
|
1024
|
+
*/
|
|
1025
|
+
export declare function changeExternalConfigsV1AccountsExternalConfigPatch({ body }: {
|
|
1026
|
+
body: object;
|
|
1027
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1009
1028
|
/**
|
|
1010
1029
|
* Current
|
|
1011
1030
|
*/
|
|
@@ -1058,6 +1077,38 @@ export declare function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKn
|
|
|
1058
1077
|
authorization: string;
|
|
1059
1078
|
xAccountId?: string | null;
|
|
1060
1079
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Workspace Fork
|
|
1082
|
+
*/
|
|
1083
|
+
export declare function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, quickCommandWorkspaceForkRequest }: {
|
|
1084
|
+
authorization: string;
|
|
1085
|
+
xAccountId?: string | null;
|
|
1086
|
+
quickCommandWorkspaceForkRequest: QuickCommandWorkspaceForkRequest;
|
|
1087
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1088
|
+
/**
|
|
1089
|
+
* Workspace Delete Fork
|
|
1090
|
+
*/
|
|
1091
|
+
export declare function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, quickCommandWorkspaceDeleteRequest }: {
|
|
1092
|
+
authorization: string;
|
|
1093
|
+
xAccountId?: string | null;
|
|
1094
|
+
quickCommandWorkspaceDeleteRequest: QuickCommandWorkspaceDeleteRequest;
|
|
1095
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1096
|
+
/**
|
|
1097
|
+
* Qc Dependencies
|
|
1098
|
+
*/
|
|
1099
|
+
export declare function qcDependenciesV1QuickCommandsDependenciesPost({ authorization, xAccountId, quickCommandDependenciesRequest }: {
|
|
1100
|
+
authorization: string;
|
|
1101
|
+
xAccountId?: string | null;
|
|
1102
|
+
quickCommandDependenciesRequest: QuickCommandDependenciesRequest;
|
|
1103
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Workspace List
|
|
1106
|
+
*/
|
|
1107
|
+
export declare function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, quickCommandWorkspaceListRequest }: {
|
|
1108
|
+
authorization: string;
|
|
1109
|
+
xAccountId?: string | null;
|
|
1110
|
+
quickCommandWorkspaceListRequest: QuickCommandWorkspaceListRequest;
|
|
1111
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1061
1112
|
/**
|
|
1062
1113
|
* Create Quick Command
|
|
1063
1114
|
*/
|
|
@@ -1122,10 +1173,11 @@ export declare function shareV1QuickCommandsSlugSharePost({ slug, authorization,
|
|
|
1122
1173
|
/**
|
|
1123
1174
|
* Publish
|
|
1124
1175
|
*/
|
|
1125
|
-
export declare function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId }: {
|
|
1176
|
+
export declare function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, quickCommandPublishRequest }: {
|
|
1126
1177
|
slug: string;
|
|
1127
1178
|
authorization: string;
|
|
1128
1179
|
xAccountId?: string | null;
|
|
1180
|
+
quickCommandPublishRequest?: QuickCommandPublishRequest;
|
|
1129
1181
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1130
1182
|
/**
|
|
1131
1183
|
* Fork
|
|
@@ -1136,6 +1188,14 @@ export declare function forkV1QuickCommandsSlugForkPost({ slug, authorization, x
|
|
|
1136
1188
|
xAccountId?: string | null;
|
|
1137
1189
|
quickCommandsMakeACopyRequest: QuickCommandsMakeACopyRequest;
|
|
1138
1190
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Get Quick Command
|
|
1193
|
+
*/
|
|
1194
|
+
export declare function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId }: {
|
|
1195
|
+
slug: string;
|
|
1196
|
+
authorization: string;
|
|
1197
|
+
xAccountId?: string | null;
|
|
1198
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1139
1199
|
/**
|
|
1140
1200
|
* Get Quick Command By Ks Slug
|
|
1141
1201
|
*/
|
|
@@ -1286,7 +1346,8 @@ export declare function downloadConversationV1ConversationsConversationIdDownloa
|
|
|
1286
1346
|
/**
|
|
1287
1347
|
* Create Knowledge Source
|
|
1288
1348
|
*/
|
|
1289
|
-
export declare function createKnowledgeSourceV1DefaultKnowledgeSourcesPost({ newKnowledgeSourceRequest }: {
|
|
1349
|
+
export declare function createKnowledgeSourceV1DefaultKnowledgeSourcesPost({ authorization, newKnowledgeSourceRequest }: {
|
|
1350
|
+
authorization: string;
|
|
1290
1351
|
newKnowledgeSourceRequest: NewKnowledgeSourceRequest;
|
|
1291
1352
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1292
1353
|
/**
|
|
@@ -1303,14 +1364,15 @@ export declare function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugOb
|
|
|
1303
1364
|
autoDelete?: boolean;
|
|
1304
1365
|
bodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost: BodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost;
|
|
1305
1366
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1367
|
+
/**
|
|
1368
|
+
* Get Flags
|
|
1369
|
+
*/
|
|
1370
|
+
export declare function getFlagsV1FlagsGet(opts?: Oazapfts.RequestOpts): Promise<FeatureFlagResponse[]>;
|
|
1306
1371
|
/**
|
|
1307
1372
|
* Dev Assistant V2
|
|
1308
1373
|
*/
|
|
1309
|
-
export declare function devAssistantV2V2ChatPost({ accept
|
|
1374
|
+
export declare function devAssistantV2V2ChatPost({ accept }: {
|
|
1310
1375
|
accept?: string | null;
|
|
1311
|
-
authorization: string;
|
|
1312
|
-
xAccountId?: string | null;
|
|
1313
|
-
codeBuddyApiV2SchemasChatRequest: ChatRequest2;
|
|
1314
1376
|
}, opts?: Oazapfts.RequestOpts): Promise<string | ChatResponse2>;
|
|
1315
1377
|
/**
|
|
1316
1378
|
* Quick Commands Run V2
|
|
@@ -1331,31 +1393,12 @@ export declare function getDependenciesV2QuickCommandsSlugDependenciesGet({ slug
|
|
|
1331
1393
|
authorization: string;
|
|
1332
1394
|
xAccountId?: string | null;
|
|
1333
1395
|
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandDependenciesResponseV2>;
|
|
1334
|
-
/**
|
|
1335
|
-
* Vectorize Objects From File
|
|
1336
|
-
*/
|
|
1337
|
-
export declare function vectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost({ slug, authorization, xAccountId, bodyVectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost }: {
|
|
1338
|
-
slug: string;
|
|
1339
|
-
authorization: string;
|
|
1340
|
-
xAccountId?: string | null;
|
|
1341
|
-
bodyVectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost: BodyVectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost;
|
|
1342
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1343
|
-
/**
|
|
1344
|
-
* Upload Knowledge Objects Zip
|
|
1345
|
-
*/
|
|
1346
|
-
export declare function uploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost({ slug, autoDelete, authorization, xAccountId, bodyUploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost }: {
|
|
1347
|
-
slug: string;
|
|
1348
|
-
autoDelete?: boolean;
|
|
1349
|
-
authorization: string;
|
|
1350
|
-
xAccountId?: string | null;
|
|
1351
|
-
bodyUploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost: BodyUploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost;
|
|
1352
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1353
1396
|
/**
|
|
1354
1397
|
* Dev Assistant V3
|
|
1355
1398
|
*/
|
|
1356
|
-
export declare function devAssistantV3V3ChatPost({ authorization, xAccountId,
|
|
1399
|
+
export declare function devAssistantV3V3ChatPost({ authorization, xAccountId, chatRequest }: {
|
|
1357
1400
|
authorization: string;
|
|
1358
1401
|
xAccountId?: string | null;
|
|
1359
|
-
|
|
1402
|
+
chatRequest: ChatRequest;
|
|
1360
1403
|
}, opts?: Oazapfts.RequestOpts): Promise<string | ChatResponse3>;
|
|
1361
1404
|
//# sourceMappingURL=ai.d.ts.map
|