@stack-spot/portal-network 0.98.0 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/api/ai.d.ts +132 -216
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +150 -211
- package/dist/api/ai.js.map +1 -1
- package/dist/api/codeShift.d.ts +8 -17
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js.map +1 -1
- package/dist/apis.json +0 -8
- package/dist/client/ai.d.ts +25 -3
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +28 -1
- package/dist/client/ai.js.map +1 -1
- package/dist/client/code-shift.d.ts +1 -1
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/ai.ts +319 -475
- package/src/api/codeShift.ts +8 -18
- package/src/apis.json +0 -8
- package/src/client/ai.ts +15 -0
- package/src/index.ts +0 -1
- package/dist/api/codeBuddy.d.ts +0 -1326
- package/dist/api/codeBuddy.d.ts.map +0 -1
- package/dist/api/codeBuddy.js +0 -1199
- package/dist/api/codeBuddy.js.map +0 -1
- package/dist/client/code-buddy.d.ts +0 -34
- package/dist/client/code-buddy.d.ts.map +0 -1
- package/dist/client/code-buddy.js +0 -42
- package/dist/client/code-buddy.js.map +0 -1
- package/src/api/codeBuddy.ts +0 -2822
- package/src/client/code-buddy.ts +0 -33
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.99.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.98.0...portal-network@v0.99.0) (2025-03-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Update swagger ([#812](https://github.com/stack-spot/portal-commons/issues/812)) ([1f1cc5b](https://github.com/stack-spot/portal-commons/commit/1f1cc5b2130e1f46a208fb8281e0b6aaae244657))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Fix 1388 remove duplicated client and upd ai ([#811](https://github.com/stack-spot/portal-commons/issues/811)) ([08014f5](https://github.com/stack-spot/portal-commons/commit/08014f56b0d3f9992e45376b957ca691b9bea6f1))
|
|
14
|
+
|
|
3
15
|
## [0.98.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.97.2...portal-network@v0.98.0) (2025-03-18)
|
|
4
16
|
|
|
5
17
|
|
package/dist/api/ai.d.ts
CHANGED
|
@@ -7,30 +7,7 @@
|
|
|
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
|
-
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
|
-
};
|
|
10
|
+
export type VisibilityLevelEnum = "account" | "personal" | "shared" | "workspace";
|
|
34
11
|
export type GetAiStackResponse = {
|
|
35
12
|
id: string;
|
|
36
13
|
name: string;
|
|
@@ -49,7 +26,14 @@ export type GetAiStackResponse = {
|
|
|
49
26
|
visibility_level: string;
|
|
50
27
|
use_only?: boolean | null;
|
|
51
28
|
};
|
|
52
|
-
export type
|
|
29
|
+
export type ValidationError = {
|
|
30
|
+
loc: (string | number)[];
|
|
31
|
+
msg: string;
|
|
32
|
+
"type": string;
|
|
33
|
+
};
|
|
34
|
+
export type HttpValidationError = {
|
|
35
|
+
detail?: ValidationError[];
|
|
36
|
+
};
|
|
53
37
|
export type NewAiStackRequest = {
|
|
54
38
|
name: string;
|
|
55
39
|
use_case: string;
|
|
@@ -207,22 +191,6 @@ export type FileUploadStatusResponse = {
|
|
|
207
191
|
error_description: string | null;
|
|
208
192
|
summary: SummaryPartResponse | null;
|
|
209
193
|
};
|
|
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
|
-
};
|
|
226
194
|
export type NewKnowledgeSourceRequest = {
|
|
227
195
|
slug: string;
|
|
228
196
|
name: string;
|
|
@@ -258,9 +226,6 @@ export type KnowledgeSourcePatchesRequest = {
|
|
|
258
226
|
description: string;
|
|
259
227
|
use_only?: boolean | null;
|
|
260
228
|
};
|
|
261
|
-
export type KnowledgeSourceDependenciesResponse = {
|
|
262
|
-
workspaces?: string[];
|
|
263
|
-
};
|
|
264
229
|
export type KnowledgeSourceSimilaritySearchItemResponse = {
|
|
265
230
|
doc: string;
|
|
266
231
|
score: number;
|
|
@@ -321,37 +286,7 @@ export type TokensMonthlyUsageResponse = {
|
|
|
321
286
|
export type AddWorkspaceKnowledgeSourceRequest = {
|
|
322
287
|
knowledge_source_slugs: string[];
|
|
323
288
|
};
|
|
324
|
-
export type QuickCommandWorkspaceForkRequest = {
|
|
325
|
-
ids: string[];
|
|
326
|
-
member_id: string;
|
|
327
|
-
};
|
|
328
|
-
export type QuickCommandWorkspaceDeleteRequest = {
|
|
329
|
-
ids: string[];
|
|
330
|
-
};
|
|
331
|
-
export type QuickCommandDependenciesRequest = {
|
|
332
|
-
ids: string[];
|
|
333
|
-
};
|
|
334
|
-
export type QuickCommandWorkspaceListRequest = {
|
|
335
|
-
ids: string[];
|
|
336
|
-
name?: string | null;
|
|
337
|
-
};
|
|
338
289
|
export type QuickCommandTypeRequest = "IDE" | "REMOTE";
|
|
339
|
-
export type QuickCommandsReturnType = "CHAT" | "REPLACE_CODE" | "BEFORE_CODE" | "AFTER_CODE";
|
|
340
|
-
export type QuickCommandListResponse = {
|
|
341
|
-
slug: string;
|
|
342
|
-
name: string;
|
|
343
|
-
"type": QuickCommandTypeRequest;
|
|
344
|
-
description: string;
|
|
345
|
-
studio_id?: string | null;
|
|
346
|
-
flow?: object | null;
|
|
347
|
-
preserve_conversation: boolean;
|
|
348
|
-
use_selected_code: boolean;
|
|
349
|
-
return_type?: QuickCommandsReturnType | null;
|
|
350
|
-
creator: string | null;
|
|
351
|
-
visibility_level: string;
|
|
352
|
-
use_only: boolean;
|
|
353
|
-
id: string;
|
|
354
|
-
};
|
|
355
290
|
export type Method = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
356
291
|
export type QuickCommandsStepFetchRequest = {
|
|
357
292
|
slug: string;
|
|
@@ -372,6 +307,7 @@ export type QuickCommandsStepPromptRequest = {
|
|
|
372
307
|
agent_id?: string | null;
|
|
373
308
|
agent_built_in?: boolean | null;
|
|
374
309
|
};
|
|
310
|
+
export type QuickCommandsReturnType = "CHAT" | "REPLACE_CODE" | "BEFORE_CODE" | "AFTER_CODE";
|
|
375
311
|
export type CustomInputRequest = {
|
|
376
312
|
slug: string;
|
|
377
313
|
question: string;
|
|
@@ -392,6 +328,21 @@ export type QuickCommandsCreateRequest = {
|
|
|
392
328
|
export type BaseContextualRequest = {
|
|
393
329
|
context?: object | null;
|
|
394
330
|
};
|
|
331
|
+
export type QuickCommandListResponse = {
|
|
332
|
+
slug: string;
|
|
333
|
+
name: string;
|
|
334
|
+
"type": QuickCommandTypeRequest;
|
|
335
|
+
description: string;
|
|
336
|
+
studio_id?: string | null;
|
|
337
|
+
flow?: object | null;
|
|
338
|
+
preserve_conversation: boolean;
|
|
339
|
+
use_selected_code: boolean;
|
|
340
|
+
return_type?: QuickCommandsReturnType | null;
|
|
341
|
+
creator: string | null;
|
|
342
|
+
visibility_level: string;
|
|
343
|
+
use_only: boolean;
|
|
344
|
+
id: string;
|
|
345
|
+
};
|
|
395
346
|
export type QuickCommandsUpdateRequest = {
|
|
396
347
|
name?: string | null;
|
|
397
348
|
description?: string | null;
|
|
@@ -490,10 +441,6 @@ export type QuickCommandsMakeACopyRequest = {
|
|
|
490
441
|
name: string;
|
|
491
442
|
description: string;
|
|
492
443
|
};
|
|
493
|
-
export type QuickCommandDependenciesResponse = {
|
|
494
|
-
studios?: string[] | null;
|
|
495
|
-
workspaces?: string[] | null;
|
|
496
|
-
};
|
|
497
444
|
export type QuickCommandPromptResponse = {
|
|
498
445
|
answer: string;
|
|
499
446
|
sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2 | KnowledgeSourceEvent)[] | null;
|
|
@@ -592,11 +539,20 @@ export type ConversationUpdateTitleRequest = {
|
|
|
592
539
|
export type BodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost = {
|
|
593
540
|
objects_zip: Blob;
|
|
594
541
|
};
|
|
542
|
+
export type KnowledgeSourceDependenciesResponse = {
|
|
543
|
+
workspaces?: string[];
|
|
544
|
+
};
|
|
595
545
|
export type FeatureFlagResponse = {
|
|
596
546
|
domain: string;
|
|
597
547
|
action: string;
|
|
598
548
|
active: boolean;
|
|
599
549
|
};
|
|
550
|
+
export type FavoriteTypeEnum = "agent" | "ks" | "qc" | "stack" | "workspace";
|
|
551
|
+
export type FavoriteRequest = {
|
|
552
|
+
id: string;
|
|
553
|
+
"type": FavoriteTypeEnum;
|
|
554
|
+
};
|
|
555
|
+
export type ContentDependencyType = "agent" | "knowledge-source" | "quick-command";
|
|
600
556
|
export type ContentDependencyResponse = {
|
|
601
557
|
id: string;
|
|
602
558
|
slug: string;
|
|
@@ -607,8 +563,8 @@ export type ContentDependencyResponse = {
|
|
|
607
563
|
export type DependencyResponse = {
|
|
608
564
|
promote_contents?: ContentDependencyResponse[] | null;
|
|
609
565
|
promote_error_list?: ContentDependencyResponse[] | null;
|
|
610
|
-
missing_list?: ContentDependencyResponse[] | null;
|
|
611
566
|
delete_contents?: ContentDependencyResponse[] | null;
|
|
567
|
+
missing_list?: ContentDependencyResponse[] | null;
|
|
612
568
|
};
|
|
613
569
|
export type SourceProjectFile3 = {
|
|
614
570
|
"type": "project_file";
|
|
@@ -619,11 +575,6 @@ export type ChatResponse2 = {
|
|
|
619
575
|
answer: string;
|
|
620
576
|
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
|
|
621
577
|
};
|
|
622
|
-
export type QuickCommandDependenciesResponseV2 = {
|
|
623
|
-
ks_names?: string[] | null;
|
|
624
|
-
error_ks_names?: string[] | null;
|
|
625
|
-
missing_ks_id_list?: string[] | null;
|
|
626
|
-
};
|
|
627
578
|
export type ChatRequest = {
|
|
628
579
|
context?: object | null;
|
|
629
580
|
user_prompt: string;
|
|
@@ -643,30 +594,6 @@ export type ChatResponse3 = {
|
|
|
643
594
|
* Metrics
|
|
644
595
|
*/
|
|
645
596
|
export declare function metricsMetricsGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
646
|
-
/**
|
|
647
|
-
* Workspace Fork
|
|
648
|
-
*/
|
|
649
|
-
export declare function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, aiStackWorkspaceForkRequest }: {
|
|
650
|
-
authorization: string;
|
|
651
|
-
xAccountId?: string | null;
|
|
652
|
-
aiStackWorkspaceForkRequest: AiStackWorkspaceForkRequest;
|
|
653
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AiStackWorkspaceForkResponse>;
|
|
654
|
-
/**
|
|
655
|
-
* Workspace Delete Fork
|
|
656
|
-
*/
|
|
657
|
-
export declare function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, aiStackWorkspaceDeleteRequest }: {
|
|
658
|
-
authorization: string;
|
|
659
|
-
xAccountId?: string | null;
|
|
660
|
-
aiStackWorkspaceDeleteRequest: AiStackWorkspaceDeleteRequest;
|
|
661
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
662
|
-
/**
|
|
663
|
-
* Workspace List
|
|
664
|
-
*/
|
|
665
|
-
export declare function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, aiStackWorkspaceListRequest }: {
|
|
666
|
-
authorization: string;
|
|
667
|
-
xAccountId?: string | null;
|
|
668
|
-
aiStackWorkspaceListRequest: AiStackWorkspaceListRequest;
|
|
669
|
-
}, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse[]>;
|
|
670
597
|
/**
|
|
671
598
|
* List Ai Stacks
|
|
672
599
|
*/
|
|
@@ -787,36 +714,11 @@ export declare function getFileUploadStatusV1FileUploadFileUploadIdGet({ fileUpl
|
|
|
787
714
|
* Report Health
|
|
788
715
|
*/
|
|
789
716
|
export declare function reportHealthHealthzGet(opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
790
|
-
/**
|
|
791
|
-
* Workspace Fork
|
|
792
|
-
*/
|
|
793
|
-
export declare function workspaceForkV1KnowledgeSourcesWorkspaceForkPost({ authorization, xAccountId, knowledgeSourcesWorkspaceForkRequest }: {
|
|
794
|
-
authorization: string;
|
|
795
|
-
xAccountId?: string | null;
|
|
796
|
-
knowledgeSourcesWorkspaceForkRequest: KnowledgeSourcesWorkspaceForkRequest;
|
|
797
|
-
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourcesWorkspaceForkResponse>;
|
|
798
|
-
/**
|
|
799
|
-
* Workspace Delete Fork
|
|
800
|
-
*/
|
|
801
|
-
export declare function workspaceDeleteForkV1KnowledgeSourcesWorkspaceForkDelete({ authorization, xAccountId, knowledgeSourcesWorkspaceDeleteRequest }: {
|
|
802
|
-
authorization: string;
|
|
803
|
-
xAccountId?: string | null;
|
|
804
|
-
knowledgeSourcesWorkspaceDeleteRequest: KnowledgeSourcesWorkspaceDeleteRequest;
|
|
805
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
806
|
-
/**
|
|
807
|
-
* Workspace List
|
|
808
|
-
*/
|
|
809
|
-
export declare function workspaceListV1KnowledgeSourcesWorkspaceListPost({ authorization, xAccountId, knowledgeSourcesWorkspaceListRequest }: {
|
|
810
|
-
authorization: string;
|
|
811
|
-
xAccountId?: string | null;
|
|
812
|
-
knowledgeSourcesWorkspaceListRequest: KnowledgeSourcesWorkspaceListRequest;
|
|
813
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
814
717
|
/**
|
|
815
718
|
* Create Knowledge Source
|
|
816
719
|
*/
|
|
817
|
-
export declare function createKnowledgeSourceV1KnowledgeSourcesPost({ authorization,
|
|
720
|
+
export declare function createKnowledgeSourceV1KnowledgeSourcesPost({ authorization, newKnowledgeSourceRequest }: {
|
|
818
721
|
authorization: string;
|
|
819
|
-
xAccountId?: string | null;
|
|
820
722
|
newKnowledgeSourceRequest: NewKnowledgeSourceRequest;
|
|
821
723
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
822
724
|
/**
|
|
@@ -833,18 +735,16 @@ export declare function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility,
|
|
|
833
735
|
/**
|
|
834
736
|
* Find Knowledge Source
|
|
835
737
|
*/
|
|
836
|
-
export declare function findKnowledgeSourceV1KnowledgeSourcesSlugGet({ slug, authorization
|
|
738
|
+
export declare function findKnowledgeSourceV1KnowledgeSourcesSlugGet({ slug, authorization }: {
|
|
837
739
|
slug: string;
|
|
838
740
|
authorization: string;
|
|
839
|
-
xAccountId?: string | null;
|
|
840
741
|
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceResponse>;
|
|
841
742
|
/**
|
|
842
743
|
* Update Knowledge Source
|
|
843
744
|
*/
|
|
844
|
-
export declare function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug, authorization,
|
|
745
|
+
export declare function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug, authorization, knowledgeSourcePatchesRequest }: {
|
|
845
746
|
slug: string;
|
|
846
747
|
authorization: string;
|
|
847
|
-
xAccountId?: string | null;
|
|
848
748
|
knowledgeSourcePatchesRequest: KnowledgeSourcePatchesRequest;
|
|
849
749
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
850
750
|
/**
|
|
@@ -858,19 +758,10 @@ export declare function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug
|
|
|
858
758
|
/**
|
|
859
759
|
* Find Knowledge Source
|
|
860
760
|
*/
|
|
861
|
-
export declare function findKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ slug, authorization
|
|
761
|
+
export declare function findKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ slug, authorization }: {
|
|
862
762
|
slug: string;
|
|
863
763
|
authorization: string;
|
|
864
|
-
xAccountId?: string | null;
|
|
865
764
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
866
|
-
/**
|
|
867
|
-
* Find Knowledge Source Dependencies
|
|
868
|
-
*/
|
|
869
|
-
export declare function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId }: {
|
|
870
|
-
slug: string;
|
|
871
|
-
authorization: string;
|
|
872
|
-
xAccountId?: string | null;
|
|
873
|
-
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceDependenciesResponse>;
|
|
874
765
|
/**
|
|
875
766
|
* Search
|
|
876
767
|
*/
|
|
@@ -884,73 +775,73 @@ export declare function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug,
|
|
|
884
775
|
/**
|
|
885
776
|
* Share Knowledge Source
|
|
886
777
|
*/
|
|
887
|
-
export declare function shareKnowledgeSourceV1KnowledgeSourcesSlugSharePost({ slug, authorization
|
|
778
|
+
export declare function shareKnowledgeSourceV1KnowledgeSourcesSlugSharePost({ slug, authorization }: {
|
|
888
779
|
slug: string;
|
|
889
780
|
authorization: string;
|
|
890
|
-
xAccountId?: string | null;
|
|
891
781
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
892
782
|
/**
|
|
893
783
|
* Publish Knowledge Source
|
|
894
784
|
*/
|
|
895
|
-
export declare function publishKnowledgeSourceV1KnowledgeSourcesSlugPublishPost({ slug, authorization,
|
|
785
|
+
export declare function publishKnowledgeSourceV1KnowledgeSourcesSlugPublishPost({ slug, authorization, knowledgeSourcesPublishRequest }: {
|
|
896
786
|
slug: string;
|
|
897
787
|
authorization: string;
|
|
898
|
-
xAccountId?: string | null;
|
|
899
788
|
knowledgeSourcesPublishRequest?: KnowledgeSourcesPublishRequest;
|
|
900
789
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
901
790
|
/**
|
|
902
791
|
* Publish Knowledge Source In Batch
|
|
903
792
|
*/
|
|
904
|
-
export declare function publishKnowledgeSourceInBatchV1KnowledgeSourcesPublishBatchPost({ authorization,
|
|
793
|
+
export declare function publishKnowledgeSourceInBatchV1KnowledgeSourcesPublishBatchPost({ authorization, knowSourcePublishBatchRequest }: {
|
|
905
794
|
authorization: string;
|
|
906
|
-
xAccountId?: string | null;
|
|
907
795
|
knowSourcePublishBatchRequest: KnowSourcePublishBatchRequest;
|
|
908
796
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
909
797
|
/**
|
|
910
798
|
* Fork Knowledge Source
|
|
911
799
|
*/
|
|
912
|
-
export declare function forkKnowledgeSourceV1KnowledgeSourcesSlugForkPost({ slug, authorization,
|
|
800
|
+
export declare function forkKnowledgeSourceV1KnowledgeSourcesSlugForkPost({ slug, authorization, forkKnowledgeSourceRequest }: {
|
|
913
801
|
slug: string;
|
|
914
802
|
authorization: string;
|
|
915
|
-
xAccountId?: string | null;
|
|
916
803
|
forkKnowledgeSourceRequest: ForkKnowledgeSourceRequest;
|
|
917
804
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
918
805
|
/**
|
|
919
806
|
* List Knowledge Objects
|
|
920
807
|
*/
|
|
921
|
-
export declare function listKnowledgeObjectsV1KnowledgeSourcesSlugObjectsGet({ slug, standalone, authorization
|
|
808
|
+
export declare function listKnowledgeObjectsV1KnowledgeSourcesSlugObjectsGet({ slug, standalone, authorization }: {
|
|
922
809
|
slug: string;
|
|
923
810
|
standalone?: boolean | null;
|
|
924
811
|
authorization: string;
|
|
925
|
-
xAccountId?: string | null;
|
|
926
812
|
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse[]>;
|
|
927
813
|
/**
|
|
928
814
|
* Reset Knowledge Objects
|
|
929
815
|
*/
|
|
930
|
-
export declare function resetKnowledgeObjectsV1KnowledgeSourcesSlugObjectsDelete({ slug, standalone, authorization
|
|
816
|
+
export declare function resetKnowledgeObjectsV1KnowledgeSourcesSlugObjectsDelete({ slug, standalone, authorization }: {
|
|
931
817
|
slug: string;
|
|
932
818
|
standalone?: boolean | null;
|
|
933
819
|
authorization: string;
|
|
934
|
-
xAccountId?: string | null;
|
|
935
820
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
936
821
|
/**
|
|
937
822
|
* Find Knowledge Object By Custom Id
|
|
938
823
|
*/
|
|
939
|
-
export declare function findKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObjectsCustomIdGet({ slug, customId, authorization
|
|
824
|
+
export declare function findKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObjectsCustomIdGet({ slug, customId, authorization }: {
|
|
940
825
|
slug: string;
|
|
941
826
|
customId: string;
|
|
942
827
|
authorization: string;
|
|
943
|
-
xAccountId?: string | null;
|
|
944
828
|
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
945
829
|
/**
|
|
946
830
|
* Delete Knowledge Object By Custom Id
|
|
947
831
|
*/
|
|
948
|
-
export declare function deleteKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObjectsCustomIdDelete({ customId, slug, authorization
|
|
832
|
+
export declare function deleteKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObjectsCustomIdDelete({ customId, slug, authorization }: {
|
|
949
833
|
customId: string;
|
|
950
834
|
slug: string;
|
|
951
835
|
authorization: string;
|
|
952
|
-
xAccountId?: string | null;
|
|
953
836
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
837
|
+
/**
|
|
838
|
+
* Find Snippet Doc By Custom Id
|
|
839
|
+
*/
|
|
840
|
+
export declare function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsIdGet({ slug, id, authorization }: {
|
|
841
|
+
slug: string;
|
|
842
|
+
id: string;
|
|
843
|
+
authorization: string;
|
|
844
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
954
845
|
/**
|
|
955
846
|
* Vectorize Snippet Knowledge Source
|
|
956
847
|
*/
|
|
@@ -960,6 +851,39 @@ export declare function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSni
|
|
|
960
851
|
xAccountId?: string | null;
|
|
961
852
|
snippetKnowledgeSourceRequest: SnippetKnowledgeSourceRequest;
|
|
962
853
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
854
|
+
/**
|
|
855
|
+
* Find Api Doc By Custom Id
|
|
856
|
+
*/
|
|
857
|
+
export declare function findApiDocByCustomIdV1KnowledgeSourcesSlugApisIdGet({ slug, id, authorization }: {
|
|
858
|
+
slug: string;
|
|
859
|
+
id: string;
|
|
860
|
+
authorization: string;
|
|
861
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
862
|
+
/**
|
|
863
|
+
* Find Event Doc By Custom Id
|
|
864
|
+
*/
|
|
865
|
+
export declare function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet({ slug, id, authorization }: {
|
|
866
|
+
slug: string;
|
|
867
|
+
id: string;
|
|
868
|
+
authorization: string;
|
|
869
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
870
|
+
/**
|
|
871
|
+
* Vectorize Event Knowledge Source
|
|
872
|
+
*/
|
|
873
|
+
export declare function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, body }: {
|
|
874
|
+
slug: string;
|
|
875
|
+
authorization: string;
|
|
876
|
+
xAccountId?: string | null;
|
|
877
|
+
body: object;
|
|
878
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
879
|
+
/**
|
|
880
|
+
* Find Custom Doc By Custom Id
|
|
881
|
+
*/
|
|
882
|
+
export declare function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet({ slug, id, authorization }: {
|
|
883
|
+
slug: string;
|
|
884
|
+
id: string;
|
|
885
|
+
authorization: string;
|
|
886
|
+
}, opts?: Oazapfts.RequestOpts): Promise<DocumentResponse>;
|
|
963
887
|
/**
|
|
964
888
|
* Vectorize Custom Knowledge Source
|
|
965
889
|
*/
|
|
@@ -976,9 +900,8 @@ export declare function syncEmbeddingModelV1KnowledgeSourcesSyncPost(opts?: Oaza
|
|
|
976
900
|
/**
|
|
977
901
|
* Search Knowledge Sources
|
|
978
902
|
*/
|
|
979
|
-
export declare function searchKnowledgeSourcesV1KnowledgeSourcesSearchPost({ authorization,
|
|
903
|
+
export declare function searchKnowledgeSourcesV1KnowledgeSourcesSearchPost({ authorization, searchKnowledgeSourcesRequest }: {
|
|
980
904
|
authorization: string;
|
|
981
|
-
xAccountId?: string | null;
|
|
982
905
|
searchKnowledgeSourcesRequest: SearchKnowledgeSourcesRequest;
|
|
983
906
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
984
907
|
/**
|
|
@@ -1074,38 +997,6 @@ export declare function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKn
|
|
|
1074
997
|
authorization: string;
|
|
1075
998
|
xAccountId?: string | null;
|
|
1076
999
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1077
|
-
/**
|
|
1078
|
-
* Workspace Fork
|
|
1079
|
-
*/
|
|
1080
|
-
export declare function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, quickCommandWorkspaceForkRequest }: {
|
|
1081
|
-
authorization: string;
|
|
1082
|
-
xAccountId?: string | null;
|
|
1083
|
-
quickCommandWorkspaceForkRequest: QuickCommandWorkspaceForkRequest;
|
|
1084
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1085
|
-
/**
|
|
1086
|
-
* Workspace Delete Fork
|
|
1087
|
-
*/
|
|
1088
|
-
export declare function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, quickCommandWorkspaceDeleteRequest }: {
|
|
1089
|
-
authorization: string;
|
|
1090
|
-
xAccountId?: string | null;
|
|
1091
|
-
quickCommandWorkspaceDeleteRequest: QuickCommandWorkspaceDeleteRequest;
|
|
1092
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1093
|
-
/**
|
|
1094
|
-
* Qc Dependencies
|
|
1095
|
-
*/
|
|
1096
|
-
export declare function qcDependenciesV1QuickCommandsDependenciesPost({ authorization, xAccountId, quickCommandDependenciesRequest }: {
|
|
1097
|
-
authorization: string;
|
|
1098
|
-
xAccountId?: string | null;
|
|
1099
|
-
quickCommandDependenciesRequest: QuickCommandDependenciesRequest;
|
|
1100
|
-
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1101
|
-
/**
|
|
1102
|
-
* Workspace List
|
|
1103
|
-
*/
|
|
1104
|
-
export declare function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, quickCommandWorkspaceListRequest }: {
|
|
1105
|
-
authorization: string;
|
|
1106
|
-
xAccountId?: string | null;
|
|
1107
|
-
quickCommandWorkspaceListRequest: QuickCommandWorkspaceListRequest;
|
|
1108
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1109
1000
|
/**
|
|
1110
1001
|
* Create Quick Command
|
|
1111
1002
|
*/
|
|
@@ -1210,21 +1101,21 @@ export declare function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet
|
|
|
1210
1101
|
xAccountId?: string | null;
|
|
1211
1102
|
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1212
1103
|
/**
|
|
1213
|
-
*
|
|
1104
|
+
* Disassociate Agent
|
|
1214
1105
|
*/
|
|
1215
|
-
export declare function
|
|
1216
|
-
|
|
1106
|
+
export declare function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId }: {
|
|
1107
|
+
agentId: string;
|
|
1217
1108
|
authorization: string;
|
|
1218
1109
|
xAccountId?: string | null;
|
|
1219
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1110
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1220
1111
|
/**
|
|
1221
|
-
*
|
|
1112
|
+
* List By Workspace Id
|
|
1222
1113
|
*/
|
|
1223
|
-
export declare function
|
|
1224
|
-
|
|
1114
|
+
export declare function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId }: {
|
|
1115
|
+
workspaceId: string;
|
|
1225
1116
|
authorization: string;
|
|
1226
1117
|
xAccountId?: string | null;
|
|
1227
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1118
|
+
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
|
|
1228
1119
|
/**
|
|
1229
1120
|
* Quick Commands Run
|
|
1230
1121
|
*/
|
|
@@ -1350,8 +1241,9 @@ export declare function createKnowledgeSourceV1DefaultKnowledgeSourcesPost({ aut
|
|
|
1350
1241
|
/**
|
|
1351
1242
|
* Delete Knowledge Source
|
|
1352
1243
|
*/
|
|
1353
|
-
export declare function deleteKnowledgeSourceV1DefaultKnowledgeSourcesSlugDelete({ slug }: {
|
|
1244
|
+
export declare function deleteKnowledgeSourceV1DefaultKnowledgeSourcesSlugDelete({ slug, authorization }: {
|
|
1354
1245
|
slug: string;
|
|
1246
|
+
authorization: string;
|
|
1355
1247
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1356
1248
|
/**
|
|
1357
1249
|
* Upload Knowledge Objects Zip
|
|
@@ -1361,15 +1253,47 @@ export declare function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugOb
|
|
|
1361
1253
|
autoDelete?: boolean;
|
|
1362
1254
|
bodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost: BodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost;
|
|
1363
1255
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Find Knowledge Source Dependencies
|
|
1258
|
+
*/
|
|
1259
|
+
export declare function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId }: {
|
|
1260
|
+
slug: string;
|
|
1261
|
+
authorization: string;
|
|
1262
|
+
xAccountId?: string | null;
|
|
1263
|
+
}, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceDependenciesResponse>;
|
|
1364
1264
|
/**
|
|
1365
1265
|
* Get Flags
|
|
1366
1266
|
*/
|
|
1367
1267
|
export declare function getFlagsV1FlagsGet(opts?: Oazapfts.RequestOpts): Promise<FeatureFlagResponse[]>;
|
|
1268
|
+
/**
|
|
1269
|
+
* Get Favorites By Type
|
|
1270
|
+
*/
|
|
1271
|
+
export declare function getFavoritesByTypeV1FavoritesGet({ $type, authorization, xAccountId }: {
|
|
1272
|
+
$type: FavoriteTypeEnum;
|
|
1273
|
+
authorization: string;
|
|
1274
|
+
xAccountId?: string | null;
|
|
1275
|
+
}, opts?: Oazapfts.RequestOpts): Promise<string[]>;
|
|
1276
|
+
/**
|
|
1277
|
+
* Add Favorite
|
|
1278
|
+
*/
|
|
1279
|
+
export declare function addFavoriteV1FavoritesPost({ authorization, xAccountId, favoriteRequest }: {
|
|
1280
|
+
authorization: string;
|
|
1281
|
+
xAccountId?: string | null;
|
|
1282
|
+
favoriteRequest: FavoriteRequest;
|
|
1283
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Delete Favorite
|
|
1286
|
+
*/
|
|
1287
|
+
export declare function deleteFavoriteV1FavoritesDelete({ authorization, xAccountId, favoriteRequest }: {
|
|
1288
|
+
authorization: string;
|
|
1289
|
+
xAccountId?: string | null;
|
|
1290
|
+
favoriteRequest: FavoriteRequest;
|
|
1291
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1368
1292
|
/**
|
|
1369
1293
|
* Get Content Dependencies
|
|
1370
1294
|
*/
|
|
1371
1295
|
export declare function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId }: {
|
|
1372
|
-
contentType:
|
|
1296
|
+
contentType: ContentDependencyType;
|
|
1373
1297
|
contentId: string;
|
|
1374
1298
|
authorization: string;
|
|
1375
1299
|
xAccountId?: string | null;
|
|
@@ -1391,14 +1315,6 @@ export declare function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPos
|
|
|
1391
1315
|
xAccountId?: string | null;
|
|
1392
1316
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
1393
1317
|
}, opts?: Oazapfts.RequestOpts): Promise<string | QuickCommandPromptResponse2>;
|
|
1394
|
-
/**
|
|
1395
|
-
* Get Dependencies
|
|
1396
|
-
*/
|
|
1397
|
-
export declare function getDependenciesV2QuickCommandsSlugDependenciesGet({ slug, authorization, xAccountId }: {
|
|
1398
|
-
slug: string;
|
|
1399
|
-
authorization: string;
|
|
1400
|
-
xAccountId?: string | null;
|
|
1401
|
-
}, opts?: Oazapfts.RequestOpts): Promise<QuickCommandDependenciesResponseV2>;
|
|
1402
1318
|
/**
|
|
1403
1319
|
* Dev Assistant V3
|
|
1404
1320
|
*/
|