@stack-spot/portal-network 0.193.0-alpha.1 → 0.193.0-beta.1
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 +170 -0
- package/dist/api/account.d.ts +4 -116
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +9 -95
- package/dist/api/account.js.map +1 -1
- package/dist/api/ai.d.ts +189 -86
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +238 -142
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +73 -126
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +82 -66
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/codeShift.d.ts +171 -40
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +80 -10
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/discover.d.ts +23 -12
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +10 -0
- package/dist/api/discover.js.map +1 -1
- package/dist/apis-itau.json +0 -8
- package/dist/apis.json +0 -8
- package/dist/client/account.d.ts +4 -0
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +10 -1
- package/dist/client/account.js.map +1 -1
- package/dist/client/ai.d.ts +46 -0
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +140 -15
- package/dist/client/ai.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +155 -51
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +146 -47
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/code-shift.d.ts +53 -3
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +55 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/discover.d.ts +7 -1
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +208 -0
- package/dist/client/discover.js.map +1 -1
- package/dist/client/types.d.ts +39 -5
- package/dist/client/types.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.d.ts +6 -0
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +6 -0
- package/dist/error/dictionary/cloud-platform.js.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/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +9 -1
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.json +2 -2
- package/readme.md +2 -1
- package/src/api/account.ts +21 -192
- package/src/api/agent-tools.ts +3 -0
- package/src/api/agent.ts +2 -0
- package/src/api/ai.ts +364 -157
- package/src/api/cloudPlatform.ts +147 -204
- package/src/api/codeShift.ts +284 -45
- package/src/api/discover.ts +35 -12
- package/src/api/notification.ts +2 -0
- package/src/apis-itau.json +0 -8
- package/src/apis.json +0 -8
- package/src/client/account.ts +5 -0
- package/src/client/ai.ts +136 -13
- package/src/client/cloud-platform.ts +84 -29
- package/src/client/code-shift.ts +30 -1
- package/src/client/discover.ts +220 -3
- package/src/client/types.ts +43 -7
- package/src/error/dictionary/cloud-platform.ts +6 -0
- package/src/index.ts +0 -1
- package/src/utils/StreamedJson.tsx +9 -2
- package/dist/api/codeGen.d.ts +0 -51
- package/dist/api/codeGen.d.ts.map +0 -1
- package/dist/api/codeGen.js +0 -49
- package/dist/api/codeGen.js.map +0 -1
- package/dist/client/code-gen.d.ts +0 -14
- package/dist/client/code-gen.d.ts.map +0 -1
- package/dist/client/code-gen.js +0 -35
- package/dist/client/code-gen.js.map +0 -1
- package/src/api/codeGen.ts +0 -92
- package/src/client/code-gen.ts +0 -45
package/src/api/ai.ts
CHANGED
|
@@ -164,14 +164,6 @@ export type AutoCompleteResult = {
|
|
|
164
164
|
code: string;
|
|
165
165
|
};
|
|
166
166
|
export type EventTypeEnum = "code_injected" | "code_copied" | "custom_quick_command_execution" | "user_feedback_provided" | "copied_all";
|
|
167
|
-
export type SourceProjectFile2 = {
|
|
168
|
-
"type"?: "project_file";
|
|
169
|
-
name: string;
|
|
170
|
-
slug: string;
|
|
171
|
-
document_score: number;
|
|
172
|
-
document_id: string;
|
|
173
|
-
path: string;
|
|
174
|
-
};
|
|
175
167
|
export type QuickCommandEvent = {
|
|
176
168
|
slug: string;
|
|
177
169
|
"type": string;
|
|
@@ -193,7 +185,7 @@ export type GenericEventRequest = {
|
|
|
193
185
|
chosen_feedback_options?: string[] | null;
|
|
194
186
|
additional_feedback?: string | null;
|
|
195
187
|
message_id?: string | null;
|
|
196
|
-
knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource |
|
|
188
|
+
knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
|
|
197
189
|
quick_command_event?: QuickCommandEvent | null;
|
|
198
190
|
context?: {
|
|
199
191
|
[key: string]: any;
|
|
@@ -395,6 +387,7 @@ export type QuickCommandsStepPromptRequest = {
|
|
|
395
387
|
use_uploaded_files?: boolean;
|
|
396
388
|
agent_built_in?: boolean | null;
|
|
397
389
|
next_step_slug?: string | null;
|
|
390
|
+
next_failure_step_slug?: string | null;
|
|
398
391
|
};
|
|
399
392
|
export type OperatorType = "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greater" | "smaller" | "greaterEqual" | "smallerEqual" | "isEmpty" | "isNotEmpty" | "isDefined" | "isUndefined";
|
|
400
393
|
export type SimpleExpr = {
|
|
@@ -451,6 +444,7 @@ export type QuickCommandsUpdateRequest = {
|
|
|
451
444
|
knowledge_source_slugs?: string[] | null;
|
|
452
445
|
final_result?: string | null;
|
|
453
446
|
preserve_conversation?: boolean;
|
|
447
|
+
share_context_between_steps?: boolean;
|
|
454
448
|
custom_inputs?: CustomInputRequest[] | null;
|
|
455
449
|
flow?: {
|
|
456
450
|
[key: string]: any;
|
|
@@ -515,6 +509,7 @@ export type QuickCommandStepLlmResponse = {
|
|
|
515
509
|
agent_built_in?: boolean | null;
|
|
516
510
|
agent_data?: AgentDefinitionResponse | null;
|
|
517
511
|
next_step_slug?: string | null;
|
|
512
|
+
next_failure_step_slug?: string | null;
|
|
518
513
|
use_uploaded_files?: boolean;
|
|
519
514
|
allow_use_current_workspace?: boolean;
|
|
520
515
|
};
|
|
@@ -574,9 +569,17 @@ export type QuickCommandsMakeACopyRequest = {
|
|
|
574
569
|
name: string;
|
|
575
570
|
description: string;
|
|
576
571
|
};
|
|
572
|
+
export type QuickCommandAnswerStatusResponse = {
|
|
573
|
+
success: boolean;
|
|
574
|
+
next_step_slug: string;
|
|
575
|
+
failure_message?: string | null;
|
|
576
|
+
input_tokens?: number | null;
|
|
577
|
+
output_tokens?: number | null;
|
|
578
|
+
};
|
|
577
579
|
export type QuickCommandPromptResponse = {
|
|
578
580
|
answer: string;
|
|
579
|
-
sources?: (SourceStackAi | SourceKnowledgeSource |
|
|
581
|
+
sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
|
|
582
|
+
answer_status?: QuickCommandAnswerStatusResponse | null;
|
|
580
583
|
};
|
|
581
584
|
export type QuickCommandFetchResponseResult = {
|
|
582
585
|
headers?: {
|
|
@@ -639,6 +642,7 @@ export type Progress = {
|
|
|
639
642
|
status: string;
|
|
640
643
|
};
|
|
641
644
|
export type StepFetch = {
|
|
645
|
+
duration?: number | null;
|
|
642
646
|
status_code: number;
|
|
643
647
|
headers?: {
|
|
644
648
|
[key: string]: string;
|
|
@@ -648,12 +652,21 @@ export type StepFetch = {
|
|
|
648
652
|
[key: string]: any;
|
|
649
653
|
} | null;
|
|
650
654
|
};
|
|
655
|
+
export type AnswerStatus = {
|
|
656
|
+
success: boolean;
|
|
657
|
+
failure_message?: string | null;
|
|
658
|
+
input_tokens?: number | null;
|
|
659
|
+
output_tokens?: number | null;
|
|
660
|
+
};
|
|
651
661
|
export type StepLlm = {
|
|
652
|
-
|
|
662
|
+
duration?: number | null;
|
|
663
|
+
answer?: string | null;
|
|
664
|
+
answer_status?: AnswerStatus | null;
|
|
653
665
|
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[];
|
|
654
666
|
tools?: string[];
|
|
655
667
|
};
|
|
656
668
|
export type StepRouter = {
|
|
669
|
+
duration?: number | null;
|
|
657
670
|
next_step_slug: string;
|
|
658
671
|
condition?: ConditionExpr2 | null;
|
|
659
672
|
"default"?: boolean;
|
|
@@ -663,6 +676,7 @@ export type Step = {
|
|
|
663
676
|
execution_order: number;
|
|
664
677
|
"type": QuickCommandStepType;
|
|
665
678
|
step_result: StepFetch | StepLlm | StepRouter | null;
|
|
679
|
+
status: string;
|
|
666
680
|
};
|
|
667
681
|
export type QuickCommandExecutionResponse = {
|
|
668
682
|
execution_id: string;
|
|
@@ -721,18 +735,19 @@ export type DependencyResponse = {
|
|
|
721
735
|
delete_contents?: ContentDependencyResponse[] | null;
|
|
722
736
|
missing_list?: ContentDependencyResponse[] | null;
|
|
723
737
|
};
|
|
724
|
-
export type
|
|
738
|
+
export type SourceProjectFile2 = {
|
|
725
739
|
"type": "project_file";
|
|
726
740
|
path: string;
|
|
727
741
|
document_score: number;
|
|
728
742
|
};
|
|
729
743
|
export type ChatResponse2 = {
|
|
730
744
|
answer: string;
|
|
731
|
-
sources: (SourceStackAi | SourceKnowledgeSource |
|
|
745
|
+
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2)[];
|
|
732
746
|
};
|
|
733
747
|
export type QuickCommandPromptResponse2 = {
|
|
734
748
|
answer: string;
|
|
735
749
|
sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
|
|
750
|
+
answer_status?: QuickCommandAnswerStatusResponse | null;
|
|
736
751
|
};
|
|
737
752
|
export type ChatRequest = {
|
|
738
753
|
context?: {
|
|
@@ -741,14 +756,14 @@ export type ChatRequest = {
|
|
|
741
756
|
user_prompt: string;
|
|
742
757
|
project_id?: string | null;
|
|
743
758
|
};
|
|
744
|
-
export type
|
|
759
|
+
export type SourceProjectFile3 = {
|
|
745
760
|
"type": "project_file";
|
|
746
761
|
path: string;
|
|
747
762
|
document_score: number;
|
|
748
763
|
};
|
|
749
764
|
export type ChatResponse3 = {
|
|
750
765
|
answer: string;
|
|
751
|
-
sources: (SourceStackAi | SourceKnowledgeSource |
|
|
766
|
+
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
|
|
752
767
|
message_id: string | null;
|
|
753
768
|
};
|
|
754
769
|
/**
|
|
@@ -765,10 +780,11 @@ export function metricsMetricsGet(opts?: Oazapfts.RequestOpts) {
|
|
|
765
780
|
/**
|
|
766
781
|
* Workspace Fork
|
|
767
782
|
*/
|
|
768
|
-
export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceForkRequest }: {
|
|
783
|
+
export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceForkRequest }: {
|
|
769
784
|
authorization: string;
|
|
770
785
|
xAccountId?: string | null;
|
|
771
786
|
xMemberId?: string | null;
|
|
787
|
+
xUsername?: string | null;
|
|
772
788
|
aiStackWorkspaceForkRequest: AiStackWorkspaceForkRequest;
|
|
773
789
|
}, opts?: Oazapfts.RequestOpts) {
|
|
774
790
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -786,17 +802,19 @@ export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccou
|
|
|
786
802
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
787
803
|
authorization,
|
|
788
804
|
"x-account-id": xAccountId,
|
|
789
|
-
"x-member-id": xMemberId
|
|
805
|
+
"x-member-id": xMemberId,
|
|
806
|
+
"x-username": xUsername
|
|
790
807
|
})
|
|
791
808
|
})));
|
|
792
809
|
}
|
|
793
810
|
/**
|
|
794
811
|
* Workspace Delete Fork
|
|
795
812
|
*/
|
|
796
|
-
export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, aiStackWorkspaceDeleteRequest }: {
|
|
813
|
+
export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceDeleteRequest }: {
|
|
797
814
|
authorization: string;
|
|
798
815
|
xAccountId?: string | null;
|
|
799
816
|
xMemberId?: string | null;
|
|
817
|
+
xUsername?: string | null;
|
|
800
818
|
aiStackWorkspaceDeleteRequest: AiStackWorkspaceDeleteRequest;
|
|
801
819
|
}, opts?: Oazapfts.RequestOpts) {
|
|
802
820
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -813,17 +831,19 @@ export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization
|
|
|
813
831
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
814
832
|
authorization,
|
|
815
833
|
"x-account-id": xAccountId,
|
|
816
|
-
"x-member-id": xMemberId
|
|
834
|
+
"x-member-id": xMemberId,
|
|
835
|
+
"x-username": xUsername
|
|
817
836
|
})
|
|
818
837
|
})));
|
|
819
838
|
}
|
|
820
839
|
/**
|
|
821
840
|
* Workspace List
|
|
822
841
|
*/
|
|
823
|
-
export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceListRequest }: {
|
|
842
|
+
export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceListRequest }: {
|
|
824
843
|
authorization: string;
|
|
825
844
|
xAccountId?: string | null;
|
|
826
845
|
xMemberId?: string | null;
|
|
846
|
+
xUsername?: string | null;
|
|
827
847
|
aiStackWorkspaceListRequest: AiStackWorkspaceListRequest;
|
|
828
848
|
}, opts?: Oazapfts.RequestOpts) {
|
|
829
849
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -841,18 +861,20 @@ export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccou
|
|
|
841
861
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
842
862
|
authorization,
|
|
843
863
|
"x-account-id": xAccountId,
|
|
844
|
-
"x-member-id": xMemberId
|
|
864
|
+
"x-member-id": xMemberId,
|
|
865
|
+
"x-username": xUsername
|
|
845
866
|
})
|
|
846
867
|
})));
|
|
847
868
|
}
|
|
848
869
|
/**
|
|
849
870
|
* List Ai Stacks
|
|
850
871
|
*/
|
|
851
|
-
export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId }: {
|
|
872
|
+
export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId, xUsername }: {
|
|
852
873
|
visibility?: VisibilityLevelEnum;
|
|
853
874
|
authorization: string;
|
|
854
875
|
xAccountId?: string | null;
|
|
855
876
|
xMemberId?: string | null;
|
|
877
|
+
xUsername?: string | null;
|
|
856
878
|
}, opts?: Oazapfts.RequestOpts) {
|
|
857
879
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
858
880
|
status: 200;
|
|
@@ -869,17 +891,19 @@ export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountI
|
|
|
869
891
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
870
892
|
authorization,
|
|
871
893
|
"x-account-id": xAccountId,
|
|
872
|
-
"x-member-id": xMemberId
|
|
894
|
+
"x-member-id": xMemberId,
|
|
895
|
+
"x-username": xUsername
|
|
873
896
|
})
|
|
874
897
|
}));
|
|
875
898
|
}
|
|
876
899
|
/**
|
|
877
900
|
* Create Ai Stack
|
|
878
901
|
*/
|
|
879
|
-
export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, newAiStackRequest }: {
|
|
902
|
+
export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, xUsername, newAiStackRequest }: {
|
|
880
903
|
authorization: string;
|
|
881
904
|
xAccountId?: string | null;
|
|
882
905
|
xMemberId?: string | null;
|
|
906
|
+
xUsername?: string | null;
|
|
883
907
|
newAiStackRequest: NewAiStackRequest;
|
|
884
908
|
}, opts?: Oazapfts.RequestOpts) {
|
|
885
909
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -897,18 +921,20 @@ export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMember
|
|
|
897
921
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
898
922
|
authorization,
|
|
899
923
|
"x-account-id": xAccountId,
|
|
900
|
-
"x-member-id": xMemberId
|
|
924
|
+
"x-member-id": xMemberId,
|
|
925
|
+
"x-username": xUsername
|
|
901
926
|
})
|
|
902
927
|
})));
|
|
903
928
|
}
|
|
904
929
|
/**
|
|
905
930
|
* Update Ai Stack
|
|
906
931
|
*/
|
|
907
|
-
export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, updateAiStackRequest }: {
|
|
932
|
+
export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, xUsername, updateAiStackRequest }: {
|
|
908
933
|
stackId: string;
|
|
909
934
|
authorization: string;
|
|
910
935
|
xAccountId?: string | null;
|
|
911
936
|
xMemberId?: string | null;
|
|
937
|
+
xUsername?: string | null;
|
|
912
938
|
updateAiStackRequest: UpdateAiStackRequest;
|
|
913
939
|
}, opts?: Oazapfts.RequestOpts) {
|
|
914
940
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -925,18 +951,20 @@ export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xA
|
|
|
925
951
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
926
952
|
authorization,
|
|
927
953
|
"x-account-id": xAccountId,
|
|
928
|
-
"x-member-id": xMemberId
|
|
954
|
+
"x-member-id": xMemberId,
|
|
955
|
+
"x-username": xUsername
|
|
929
956
|
})
|
|
930
957
|
})));
|
|
931
958
|
}
|
|
932
959
|
/**
|
|
933
960
|
* Get Ai Stack
|
|
934
961
|
*/
|
|
935
|
-
export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId }: {
|
|
962
|
+
export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
936
963
|
stackId: string;
|
|
937
964
|
authorization: string;
|
|
938
965
|
xAccountId?: string | null;
|
|
939
966
|
xMemberId?: string | null;
|
|
967
|
+
xUsername?: string | null;
|
|
940
968
|
}, opts?: Oazapfts.RequestOpts) {
|
|
941
969
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
942
970
|
status: 200;
|
|
@@ -951,18 +979,20 @@ export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccoun
|
|
|
951
979
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
952
980
|
authorization,
|
|
953
981
|
"x-account-id": xAccountId,
|
|
954
|
-
"x-member-id": xMemberId
|
|
982
|
+
"x-member-id": xMemberId,
|
|
983
|
+
"x-username": xUsername
|
|
955
984
|
})
|
|
956
985
|
}));
|
|
957
986
|
}
|
|
958
987
|
/**
|
|
959
988
|
* Remove Ai Stack
|
|
960
989
|
*/
|
|
961
|
-
export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId }: {
|
|
990
|
+
export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
962
991
|
stackId: string;
|
|
963
992
|
authorization: string;
|
|
964
993
|
xAccountId?: string | null;
|
|
965
994
|
xMemberId?: string | null;
|
|
995
|
+
xUsername?: string | null;
|
|
966
996
|
}, opts?: Oazapfts.RequestOpts) {
|
|
967
997
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
968
998
|
status: 200;
|
|
@@ -978,18 +1008,20 @@ export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, x
|
|
|
978
1008
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
979
1009
|
authorization,
|
|
980
1010
|
"x-account-id": xAccountId,
|
|
981
|
-
"x-member-id": xMemberId
|
|
1011
|
+
"x-member-id": xMemberId,
|
|
1012
|
+
"x-username": xUsername
|
|
982
1013
|
})
|
|
983
1014
|
}));
|
|
984
1015
|
}
|
|
985
1016
|
/**
|
|
986
1017
|
* Get Ai Stack Exists
|
|
987
1018
|
*/
|
|
988
|
-
export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId }: {
|
|
1019
|
+
export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId, xUsername }: {
|
|
989
1020
|
stackName: string;
|
|
990
1021
|
authorization: string;
|
|
991
1022
|
xAccountId?: string | null;
|
|
992
1023
|
xMemberId?: string | null;
|
|
1024
|
+
xUsername?: string | null;
|
|
993
1025
|
}, opts?: Oazapfts.RequestOpts) {
|
|
994
1026
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
995
1027
|
status: 204;
|
|
@@ -1003,18 +1035,20 @@ export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, author
|
|
|
1003
1035
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1004
1036
|
authorization,
|
|
1005
1037
|
"x-account-id": xAccountId,
|
|
1006
|
-
"x-member-id": xMemberId
|
|
1038
|
+
"x-member-id": xMemberId,
|
|
1039
|
+
"x-username": xUsername
|
|
1007
1040
|
})
|
|
1008
1041
|
}));
|
|
1009
1042
|
}
|
|
1010
1043
|
/**
|
|
1011
1044
|
* Add Favorite
|
|
1012
1045
|
*/
|
|
1013
|
-
export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId }: {
|
|
1046
|
+
export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1014
1047
|
stackId: string;
|
|
1015
1048
|
authorization: string;
|
|
1016
1049
|
xAccountId?: string | null;
|
|
1017
1050
|
xMemberId?: string | null;
|
|
1051
|
+
xUsername?: string | null;
|
|
1018
1052
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1019
1053
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1020
1054
|
status: 204;
|
|
@@ -1029,18 +1063,20 @@ export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorizatio
|
|
|
1029
1063
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1030
1064
|
authorization,
|
|
1031
1065
|
"x-account-id": xAccountId,
|
|
1032
|
-
"x-member-id": xMemberId
|
|
1066
|
+
"x-member-id": xMemberId,
|
|
1067
|
+
"x-username": xUsername
|
|
1033
1068
|
})
|
|
1034
1069
|
}));
|
|
1035
1070
|
}
|
|
1036
1071
|
/**
|
|
1037
1072
|
* Delete Favorite
|
|
1038
1073
|
*/
|
|
1039
|
-
export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId }: {
|
|
1074
|
+
export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1040
1075
|
stackId: string;
|
|
1041
1076
|
authorization: string;
|
|
1042
1077
|
xAccountId?: string | null;
|
|
1043
1078
|
xMemberId?: string | null;
|
|
1079
|
+
xUsername?: string | null;
|
|
1044
1080
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1045
1081
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1046
1082
|
status: 204;
|
|
@@ -1055,18 +1091,20 @@ export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authori
|
|
|
1055
1091
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1056
1092
|
authorization,
|
|
1057
1093
|
"x-account-id": xAccountId,
|
|
1058
|
-
"x-member-id": xMemberId
|
|
1094
|
+
"x-member-id": xMemberId,
|
|
1095
|
+
"x-username": xUsername
|
|
1059
1096
|
})
|
|
1060
1097
|
}));
|
|
1061
1098
|
}
|
|
1062
1099
|
/**
|
|
1063
1100
|
* Fork
|
|
1064
1101
|
*/
|
|
1065
|
-
export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, aiStackForkRequest }: {
|
|
1102
|
+
export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackForkRequest }: {
|
|
1066
1103
|
stackId: string;
|
|
1067
1104
|
authorization: string;
|
|
1068
1105
|
xAccountId?: string | null;
|
|
1069
1106
|
xMemberId?: string | null;
|
|
1107
|
+
xUsername?: string | null;
|
|
1070
1108
|
aiStackForkRequest: AiStackForkRequest;
|
|
1071
1109
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1072
1110
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1084,18 +1122,20 @@ export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccount
|
|
|
1084
1122
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1085
1123
|
authorization,
|
|
1086
1124
|
"x-account-id": xAccountId,
|
|
1087
|
-
"x-member-id": xMemberId
|
|
1125
|
+
"x-member-id": xMemberId,
|
|
1126
|
+
"x-username": xUsername
|
|
1088
1127
|
})
|
|
1089
1128
|
})));
|
|
1090
1129
|
}
|
|
1091
1130
|
/**
|
|
1092
1131
|
* Share
|
|
1093
1132
|
*/
|
|
1094
|
-
export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId }: {
|
|
1133
|
+
export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1095
1134
|
stackId: string;
|
|
1096
1135
|
authorization: string;
|
|
1097
1136
|
xAccountId?: string | null;
|
|
1098
1137
|
xMemberId?: string | null;
|
|
1138
|
+
xUsername?: string | null;
|
|
1099
1139
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1100
1140
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1101
1141
|
status: 204;
|
|
@@ -1110,18 +1150,20 @@ export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccou
|
|
|
1110
1150
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1111
1151
|
authorization,
|
|
1112
1152
|
"x-account-id": xAccountId,
|
|
1113
|
-
"x-member-id": xMemberId
|
|
1153
|
+
"x-member-id": xMemberId,
|
|
1154
|
+
"x-username": xUsername
|
|
1114
1155
|
})
|
|
1115
1156
|
}));
|
|
1116
1157
|
}
|
|
1117
1158
|
/**
|
|
1118
1159
|
* Publish
|
|
1119
1160
|
*/
|
|
1120
|
-
export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, aiStackPublishRequest }: {
|
|
1161
|
+
export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackPublishRequest }: {
|
|
1121
1162
|
stackId: string;
|
|
1122
1163
|
authorization: string;
|
|
1123
1164
|
xAccountId?: string | null;
|
|
1124
1165
|
xMemberId?: string | null;
|
|
1166
|
+
xUsername?: string | null;
|
|
1125
1167
|
aiStackPublishRequest?: AiStackPublishRequest;
|
|
1126
1168
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1127
1169
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1138,7 +1180,8 @@ export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xA
|
|
|
1138
1180
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1139
1181
|
authorization,
|
|
1140
1182
|
"x-account-id": xAccountId,
|
|
1141
|
-
"x-member-id": xMemberId
|
|
1183
|
+
"x-member-id": xMemberId,
|
|
1184
|
+
"x-username": xUsername
|
|
1142
1185
|
})
|
|
1143
1186
|
})));
|
|
1144
1187
|
}
|
|
@@ -1169,10 +1212,11 @@ export function projectFilesV1ProjectFilesPost({ authorization, newProjectFilesR
|
|
|
1169
1212
|
/**
|
|
1170
1213
|
* Quick Actions
|
|
1171
1214
|
*/
|
|
1172
|
-
export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, quickActionsRequest }: {
|
|
1215
|
+
export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, xUsername, quickActionsRequest }: {
|
|
1173
1216
|
authorization: string;
|
|
1174
1217
|
xAccountId?: string | null;
|
|
1175
1218
|
xMemberId?: string | null;
|
|
1219
|
+
xUsername?: string | null;
|
|
1176
1220
|
quickActionsRequest: QuickActionsRequest;
|
|
1177
1221
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1178
1222
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1190,7 +1234,8 @@ export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMem
|
|
|
1190
1234
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1191
1235
|
authorization,
|
|
1192
1236
|
"x-account-id": xAccountId,
|
|
1193
|
-
"x-member-id": xMemberId
|
|
1237
|
+
"x-member-id": xMemberId,
|
|
1238
|
+
"x-username": xUsername
|
|
1194
1239
|
})
|
|
1195
1240
|
})));
|
|
1196
1241
|
}
|
|
@@ -1211,10 +1256,11 @@ export function devAssistantV1ChatPost(opts?: Oazapfts.RequestOpts) {
|
|
|
1211
1256
|
/**
|
|
1212
1257
|
* Autocomplete V1
|
|
1213
1258
|
*/
|
|
1214
|
-
export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, autoCompleteRequest }: {
|
|
1259
|
+
export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, xUsername, autoCompleteRequest }: {
|
|
1215
1260
|
authorization: string;
|
|
1216
1261
|
xAccountId?: string | null;
|
|
1217
1262
|
xMemberId?: string | null;
|
|
1263
|
+
xUsername?: string | null;
|
|
1218
1264
|
autoCompleteRequest: AutoCompleteRequest;
|
|
1219
1265
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1220
1266
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1232,17 +1278,19 @@ export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xM
|
|
|
1232
1278
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1233
1279
|
authorization,
|
|
1234
1280
|
"x-account-id": xAccountId,
|
|
1235
|
-
"x-member-id": xMemberId
|
|
1281
|
+
"x-member-id": xMemberId,
|
|
1282
|
+
"x-username": xUsername
|
|
1236
1283
|
})
|
|
1237
1284
|
})));
|
|
1238
1285
|
}
|
|
1239
1286
|
/**
|
|
1240
1287
|
* Post Event
|
|
1241
1288
|
*/
|
|
1242
|
-
export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, body }: {
|
|
1289
|
+
export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, xUsername, body }: {
|
|
1243
1290
|
authorization: string;
|
|
1244
1291
|
xAccountId?: string | null;
|
|
1245
1292
|
xMemberId?: string | null;
|
|
1293
|
+
xUsername?: string | null;
|
|
1246
1294
|
body: GenericEventRequest[];
|
|
1247
1295
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1248
1296
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1259,7 +1307,8 @@ export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, bo
|
|
|
1259
1307
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1260
1308
|
authorization,
|
|
1261
1309
|
"x-account-id": xAccountId,
|
|
1262
|
-
"x-member-id": xMemberId
|
|
1310
|
+
"x-member-id": xMemberId,
|
|
1311
|
+
"x-username": xUsername
|
|
1263
1312
|
})
|
|
1264
1313
|
})));
|
|
1265
1314
|
}
|
|
@@ -1348,7 +1397,7 @@ export function createKnowledgeSourceV1KnowledgeSourcesPost({ authorization, new
|
|
|
1348
1397
|
/**
|
|
1349
1398
|
* List Knowledge Sources
|
|
1350
1399
|
*/
|
|
1351
|
-
export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId }: {
|
|
1400
|
+
export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1352
1401
|
visibility?: VisibilityLevelEnum;
|
|
1353
1402
|
order?: OrderEnum;
|
|
1354
1403
|
$default?: boolean | null;
|
|
@@ -1356,6 +1405,7 @@ export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $
|
|
|
1356
1405
|
authorization: string;
|
|
1357
1406
|
xAccountId?: string | null;
|
|
1358
1407
|
xMemberId?: string | null;
|
|
1408
|
+
xUsername?: string | null;
|
|
1359
1409
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1360
1410
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1361
1411
|
status: 200;
|
|
@@ -1375,7 +1425,8 @@ export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $
|
|
|
1375
1425
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1376
1426
|
authorization,
|
|
1377
1427
|
"x-account-id": xAccountId,
|
|
1378
|
-
"x-member-id": xMemberId
|
|
1428
|
+
"x-member-id": xMemberId,
|
|
1429
|
+
"x-username": xUsername
|
|
1379
1430
|
})
|
|
1380
1431
|
}));
|
|
1381
1432
|
}
|
|
@@ -1428,11 +1479,12 @@ export function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug, authori
|
|
|
1428
1479
|
/**
|
|
1429
1480
|
* Delete Knowledge Source
|
|
1430
1481
|
*/
|
|
1431
|
-
export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
|
|
1482
|
+
export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1432
1483
|
slug: string;
|
|
1433
1484
|
authorization: string;
|
|
1434
1485
|
xAccountId?: string | null;
|
|
1435
1486
|
xMemberId?: string | null;
|
|
1487
|
+
xUsername?: string | null;
|
|
1436
1488
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1437
1489
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1438
1490
|
status: 204;
|
|
@@ -1447,7 +1499,8 @@ export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, author
|
|
|
1447
1499
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1448
1500
|
authorization,
|
|
1449
1501
|
"x-account-id": xAccountId,
|
|
1450
|
-
"x-member-id": xMemberId
|
|
1502
|
+
"x-member-id": xMemberId,
|
|
1503
|
+
"x-username": xUsername
|
|
1451
1504
|
})
|
|
1452
1505
|
}));
|
|
1453
1506
|
}
|
|
@@ -1475,13 +1528,14 @@ export function existsKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ slug, aut
|
|
|
1475
1528
|
/**
|
|
1476
1529
|
* Search
|
|
1477
1530
|
*/
|
|
1478
|
-
export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId }: {
|
|
1531
|
+
export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1479
1532
|
slug: string;
|
|
1480
1533
|
q: string;
|
|
1481
1534
|
size?: number;
|
|
1482
1535
|
authorization: string;
|
|
1483
1536
|
xAccountId?: string | null;
|
|
1484
1537
|
xMemberId?: string | null;
|
|
1538
|
+
xUsername?: string | null;
|
|
1485
1539
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1486
1540
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1487
1541
|
status: 200;
|
|
@@ -1499,7 +1553,8 @@ export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size,
|
|
|
1499
1553
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1500
1554
|
authorization,
|
|
1501
1555
|
"x-account-id": xAccountId,
|
|
1502
|
-
"x-member-id": xMemberId
|
|
1556
|
+
"x-member-id": xMemberId,
|
|
1557
|
+
"x-username": xUsername
|
|
1503
1558
|
})
|
|
1504
1559
|
}));
|
|
1505
1560
|
}
|
|
@@ -1718,11 +1773,12 @@ export function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsIdGet({ sl
|
|
|
1718
1773
|
/**
|
|
1719
1774
|
* Vectorize Snippet Knowledge Source
|
|
1720
1775
|
*/
|
|
1721
|
-
export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, snippetKnowledgeSourceRequest }: {
|
|
1776
|
+
export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, xUsername, snippetKnowledgeSourceRequest }: {
|
|
1722
1777
|
slug: string;
|
|
1723
1778
|
authorization: string;
|
|
1724
1779
|
xAccountId?: string | null;
|
|
1725
1780
|
xMemberId?: string | null;
|
|
1781
|
+
xUsername?: string | null;
|
|
1726
1782
|
snippetKnowledgeSourceRequest: SnippetKnowledgeSourceRequest;
|
|
1727
1783
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1728
1784
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1739,7 +1795,8 @@ export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPos
|
|
|
1739
1795
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1740
1796
|
authorization,
|
|
1741
1797
|
"x-account-id": xAccountId,
|
|
1742
|
-
"x-member-id": xMemberId
|
|
1798
|
+
"x-member-id": xMemberId,
|
|
1799
|
+
"x-username": xUsername
|
|
1743
1800
|
})
|
|
1744
1801
|
})));
|
|
1745
1802
|
}
|
|
@@ -1792,11 +1849,12 @@ export function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet({ slug,
|
|
|
1792
1849
|
/**
|
|
1793
1850
|
* Vectorize Event Knowledge Source
|
|
1794
1851
|
*/
|
|
1795
|
-
export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, body }: {
|
|
1852
|
+
export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, xUsername, body }: {
|
|
1796
1853
|
slug: string;
|
|
1797
1854
|
authorization: string;
|
|
1798
1855
|
xAccountId?: string | null;
|
|
1799
1856
|
xMemberId?: string | null;
|
|
1857
|
+
xUsername?: string | null;
|
|
1800
1858
|
body: {
|
|
1801
1859
|
[key: string]: any;
|
|
1802
1860
|
};
|
|
@@ -1815,7 +1873,8 @@ export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({
|
|
|
1815
1873
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1816
1874
|
authorization,
|
|
1817
1875
|
"x-account-id": xAccountId,
|
|
1818
|
-
"x-member-id": xMemberId
|
|
1876
|
+
"x-member-id": xMemberId,
|
|
1877
|
+
"x-username": xUsername
|
|
1819
1878
|
})
|
|
1820
1879
|
})));
|
|
1821
1880
|
}
|
|
@@ -1845,11 +1904,12 @@ export function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet({ slug,
|
|
|
1845
1904
|
/**
|
|
1846
1905
|
* Vectorize Custom Knowledge Source
|
|
1847
1906
|
*/
|
|
1848
|
-
export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, customKnowledgeSourceRequest }: {
|
|
1907
|
+
export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, xUsername, customKnowledgeSourceRequest }: {
|
|
1849
1908
|
slug: string;
|
|
1850
1909
|
authorization: string;
|
|
1851
1910
|
xAccountId?: string | null;
|
|
1852
1911
|
xMemberId?: string | null;
|
|
1912
|
+
xUsername?: string | null;
|
|
1853
1913
|
customKnowledgeSourceRequest: CustomKnowledgeSourceRequest;
|
|
1854
1914
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1855
1915
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1866,7 +1926,8 @@ export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({
|
|
|
1866
1926
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1867
1927
|
authorization,
|
|
1868
1928
|
"x-account-id": xAccountId,
|
|
1869
|
-
"x-member-id": xMemberId
|
|
1929
|
+
"x-member-id": xMemberId,
|
|
1930
|
+
"x-username": xUsername
|
|
1870
1931
|
})
|
|
1871
1932
|
})));
|
|
1872
1933
|
}
|
|
@@ -1911,10 +1972,11 @@ export function searchKnowledgeSourcesV1KnowledgeSourcesSearchPost({ authorizati
|
|
|
1911
1972
|
/**
|
|
1912
1973
|
* Change Llm
|
|
1913
1974
|
*/
|
|
1914
|
-
export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeLlmRequest }: {
|
|
1975
|
+
export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLlmRequest }: {
|
|
1915
1976
|
authorization: string;
|
|
1916
1977
|
xAccountId?: string | null;
|
|
1917
1978
|
xMemberId?: string | null;
|
|
1979
|
+
xUsername?: string | null;
|
|
1918
1980
|
accountSettingsChangeLlmRequest: AccountSettingsChangeLlmRequest;
|
|
1919
1981
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1920
1982
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1931,17 +1993,19 @@ export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMember
|
|
|
1931
1993
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1932
1994
|
authorization,
|
|
1933
1995
|
"x-account-id": xAccountId,
|
|
1934
|
-
"x-member-id": xMemberId
|
|
1996
|
+
"x-member-id": xMemberId,
|
|
1997
|
+
"x-username": xUsername
|
|
1935
1998
|
})
|
|
1936
1999
|
})));
|
|
1937
2000
|
}
|
|
1938
2001
|
/**
|
|
1939
2002
|
* Change Limit
|
|
1940
2003
|
*/
|
|
1941
|
-
export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, accountSettingsChangeLimitRequest }: {
|
|
2004
|
+
export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLimitRequest }: {
|
|
1942
2005
|
authorization: string;
|
|
1943
2006
|
xAccountId?: string | null;
|
|
1944
2007
|
xMemberId?: string | null;
|
|
2008
|
+
xUsername?: string | null;
|
|
1945
2009
|
accountSettingsChangeLimitRequest: AccountSettingsChangeLimitRequest;
|
|
1946
2010
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1947
2011
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1958,17 +2022,19 @@ export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId,
|
|
|
1958
2022
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1959
2023
|
authorization,
|
|
1960
2024
|
"x-account-id": xAccountId,
|
|
1961
|
-
"x-member-id": xMemberId
|
|
2025
|
+
"x-member-id": xMemberId,
|
|
2026
|
+
"x-username": xUsername
|
|
1962
2027
|
})
|
|
1963
2028
|
})));
|
|
1964
2029
|
}
|
|
1965
2030
|
/**
|
|
1966
2031
|
* Reset Limit
|
|
1967
2032
|
*/
|
|
1968
|
-
export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId }: {
|
|
2033
|
+
export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId, xUsername }: {
|
|
1969
2034
|
authorization: string;
|
|
1970
2035
|
xAccountId?: string | null;
|
|
1971
2036
|
xMemberId?: string | null;
|
|
2037
|
+
xUsername?: string | null;
|
|
1972
2038
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1973
2039
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1974
2040
|
status: 204;
|
|
@@ -1983,17 +2049,19 @@ export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountI
|
|
|
1983
2049
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1984
2050
|
authorization,
|
|
1985
2051
|
"x-account-id": xAccountId,
|
|
1986
|
-
"x-member-id": xMemberId
|
|
2052
|
+
"x-member-id": xMemberId,
|
|
2053
|
+
"x-username": xUsername
|
|
1987
2054
|
})
|
|
1988
2055
|
}));
|
|
1989
2056
|
}
|
|
1990
2057
|
/**
|
|
1991
2058
|
* Change External Rqc
|
|
1992
2059
|
*/
|
|
1993
|
-
export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeErqcRequest }: {
|
|
2060
|
+
export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeErqcRequest }: {
|
|
1994
2061
|
authorization: string;
|
|
1995
2062
|
xAccountId?: string | null;
|
|
1996
2063
|
xMemberId?: string | null;
|
|
2064
|
+
xUsername?: string | null;
|
|
1997
2065
|
accountSettingsChangeErqcRequest: AccountSettingsChangeErqcRequest;
|
|
1998
2066
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1999
2067
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2010,7 +2078,8 @@ export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAc
|
|
|
2010
2078
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2011
2079
|
authorization,
|
|
2012
2080
|
"x-account-id": xAccountId,
|
|
2013
|
-
"x-member-id": xMemberId
|
|
2081
|
+
"x-member-id": xMemberId,
|
|
2082
|
+
"x-username": xUsername
|
|
2014
2083
|
})
|
|
2015
2084
|
})));
|
|
2016
2085
|
}
|
|
@@ -2064,10 +2133,11 @@ export function tokensUsageV1AccountsTokensUsageGet(opts?: Oazapfts.RequestOpts)
|
|
|
2064
2133
|
/**
|
|
2065
2134
|
* Current
|
|
2066
2135
|
*/
|
|
2067
|
-
export function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId }: {
|
|
2136
|
+
export function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId, xUsername }: {
|
|
2068
2137
|
authorization: string;
|
|
2069
2138
|
xAccountId?: string | null;
|
|
2070
2139
|
xMemberId?: string | null;
|
|
2140
|
+
xUsername?: string | null;
|
|
2071
2141
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2072
2142
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2073
2143
|
status: 200;
|
|
@@ -2082,19 +2152,21 @@ export function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMembe
|
|
|
2082
2152
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2083
2153
|
authorization,
|
|
2084
2154
|
"x-account-id": xAccountId,
|
|
2085
|
-
"x-member-id": xMemberId
|
|
2155
|
+
"x-member-id": xMemberId,
|
|
2156
|
+
"x-username": xUsername
|
|
2086
2157
|
})
|
|
2087
2158
|
}));
|
|
2088
2159
|
}
|
|
2089
2160
|
/**
|
|
2090
2161
|
* Current
|
|
2091
2162
|
*/
|
|
2092
|
-
export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId }: {
|
|
2163
|
+
export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2093
2164
|
year: number;
|
|
2094
2165
|
month: number;
|
|
2095
2166
|
authorization: string;
|
|
2096
2167
|
xAccountId?: string | null;
|
|
2097
2168
|
xMemberId?: string | null;
|
|
2169
|
+
xUsername?: string | null;
|
|
2098
2170
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2099
2171
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2100
2172
|
status: 200;
|
|
@@ -2112,18 +2184,20 @@ export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAc
|
|
|
2112
2184
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2113
2185
|
authorization,
|
|
2114
2186
|
"x-account-id": xAccountId,
|
|
2115
|
-
"x-member-id": xMemberId
|
|
2187
|
+
"x-member-id": xMemberId,
|
|
2188
|
+
"x-username": xUsername
|
|
2116
2189
|
})
|
|
2117
2190
|
}));
|
|
2118
2191
|
}
|
|
2119
2192
|
/**
|
|
2120
2193
|
* Monthly
|
|
2121
2194
|
*/
|
|
2122
|
-
export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId }: {
|
|
2195
|
+
export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2123
2196
|
year: number;
|
|
2124
2197
|
authorization: string;
|
|
2125
2198
|
xAccountId?: string | null;
|
|
2126
2199
|
xMemberId?: string | null;
|
|
2200
|
+
xUsername?: string | null;
|
|
2127
2201
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2128
2202
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2129
2203
|
status: 200;
|
|
@@ -2140,19 +2214,21 @@ export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId
|
|
|
2140
2214
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2141
2215
|
authorization,
|
|
2142
2216
|
"x-account-id": xAccountId,
|
|
2143
|
-
"x-member-id": xMemberId
|
|
2217
|
+
"x-member-id": xMemberId,
|
|
2218
|
+
"x-username": xUsername
|
|
2144
2219
|
})
|
|
2145
2220
|
}));
|
|
2146
2221
|
}
|
|
2147
2222
|
/**
|
|
2148
2223
|
* Top Users
|
|
2149
2224
|
*/
|
|
2150
|
-
export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId }: {
|
|
2225
|
+
export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2151
2226
|
year: number;
|
|
2152
2227
|
month: number;
|
|
2153
2228
|
authorization: string;
|
|
2154
2229
|
xAccountId?: string | null;
|
|
2155
2230
|
xMemberId?: string | null;
|
|
2231
|
+
xUsername?: string | null;
|
|
2156
2232
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2157
2233
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2158
2234
|
status: 200;
|
|
@@ -2170,18 +2246,20 @@ export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, x
|
|
|
2170
2246
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2171
2247
|
authorization,
|
|
2172
2248
|
"x-account-id": xAccountId,
|
|
2173
|
-
"x-member-id": xMemberId
|
|
2249
|
+
"x-member-id": xMemberId,
|
|
2250
|
+
"x-username": xUsername
|
|
2174
2251
|
})
|
|
2175
2252
|
}));
|
|
2176
2253
|
}
|
|
2177
2254
|
/**
|
|
2178
2255
|
* Add Association
|
|
2179
2256
|
*/
|
|
2180
|
-
export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, addWorkspaceKnowledgeSourceRequest }: {
|
|
2257
|
+
export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, xUsername, addWorkspaceKnowledgeSourceRequest }: {
|
|
2181
2258
|
workspaceId: string;
|
|
2182
2259
|
authorization: string;
|
|
2183
2260
|
xAccountId?: string | null;
|
|
2184
2261
|
xMemberId?: string | null;
|
|
2262
|
+
xUsername?: string | null;
|
|
2185
2263
|
addWorkspaceKnowledgeSourceRequest: AddWorkspaceKnowledgeSourceRequest;
|
|
2186
2264
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2187
2265
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2198,18 +2276,20 @@ export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authoriz
|
|
|
2198
2276
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2199
2277
|
authorization,
|
|
2200
2278
|
"x-account-id": xAccountId,
|
|
2201
|
-
"x-member-id": xMemberId
|
|
2279
|
+
"x-member-id": xMemberId,
|
|
2280
|
+
"x-username": xUsername
|
|
2202
2281
|
})
|
|
2203
2282
|
})));
|
|
2204
2283
|
}
|
|
2205
2284
|
/**
|
|
2206
2285
|
* List Association
|
|
2207
2286
|
*/
|
|
2208
|
-
export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
|
|
2287
|
+
export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2209
2288
|
workspaceId: string;
|
|
2210
2289
|
authorization: string;
|
|
2211
2290
|
xAccountId?: string | null;
|
|
2212
2291
|
xMemberId?: string | null;
|
|
2292
|
+
xUsername?: string | null;
|
|
2213
2293
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2214
2294
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2215
2295
|
status: 200;
|
|
@@ -2224,19 +2304,21 @@ export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authoriz
|
|
|
2224
2304
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2225
2305
|
authorization,
|
|
2226
2306
|
"x-account-id": xAccountId,
|
|
2227
|
-
"x-member-id": xMemberId
|
|
2307
|
+
"x-member-id": xMemberId,
|
|
2308
|
+
"x-username": xUsername
|
|
2228
2309
|
})
|
|
2229
2310
|
}));
|
|
2230
2311
|
}
|
|
2231
2312
|
/**
|
|
2232
2313
|
* Delete Association
|
|
2233
2314
|
*/
|
|
2234
|
-
export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId }: {
|
|
2315
|
+
export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2235
2316
|
workspaceId: string;
|
|
2236
2317
|
knowledgeSourceSlug: string;
|
|
2237
2318
|
authorization: string;
|
|
2238
2319
|
xAccountId?: string | null;
|
|
2239
2320
|
xMemberId?: string | null;
|
|
2321
|
+
xUsername?: string | null;
|
|
2240
2322
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2241
2323
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2242
2324
|
status: 204;
|
|
@@ -2251,17 +2333,19 @@ export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeS
|
|
|
2251
2333
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2252
2334
|
authorization,
|
|
2253
2335
|
"x-account-id": xAccountId,
|
|
2254
|
-
"x-member-id": xMemberId
|
|
2336
|
+
"x-member-id": xMemberId,
|
|
2337
|
+
"x-username": xUsername
|
|
2255
2338
|
})
|
|
2256
2339
|
}));
|
|
2257
2340
|
}
|
|
2258
2341
|
/**
|
|
2259
2342
|
* Workspace Fork
|
|
2260
2343
|
*/
|
|
2261
|
-
export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceForkRequest }: {
|
|
2344
|
+
export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceForkRequest }: {
|
|
2262
2345
|
authorization: string;
|
|
2263
2346
|
xAccountId?: string | null;
|
|
2264
2347
|
xMemberId?: string | null;
|
|
2348
|
+
xUsername?: string | null;
|
|
2265
2349
|
quickCommandWorkspaceForkRequest: QuickCommandWorkspaceForkRequest;
|
|
2266
2350
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2267
2351
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2279,17 +2363,19 @@ export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, x
|
|
|
2279
2363
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2280
2364
|
authorization,
|
|
2281
2365
|
"x-account-id": xAccountId,
|
|
2282
|
-
"x-member-id": xMemberId
|
|
2366
|
+
"x-member-id": xMemberId,
|
|
2367
|
+
"x-username": xUsername
|
|
2283
2368
|
})
|
|
2284
2369
|
})));
|
|
2285
2370
|
}
|
|
2286
2371
|
/**
|
|
2287
2372
|
* Workspace Delete Fork
|
|
2288
2373
|
*/
|
|
2289
|
-
export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, quickCommandWorkspaceDeleteRequest }: {
|
|
2374
|
+
export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceDeleteRequest }: {
|
|
2290
2375
|
authorization: string;
|
|
2291
2376
|
xAccountId?: string | null;
|
|
2292
2377
|
xMemberId?: string | null;
|
|
2378
|
+
xUsername?: string | null;
|
|
2293
2379
|
quickCommandWorkspaceDeleteRequest: QuickCommandWorkspaceDeleteRequest;
|
|
2294
2380
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2295
2381
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2306,17 +2392,19 @@ export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authoriz
|
|
|
2306
2392
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2307
2393
|
authorization,
|
|
2308
2394
|
"x-account-id": xAccountId,
|
|
2309
|
-
"x-member-id": xMemberId
|
|
2395
|
+
"x-member-id": xMemberId,
|
|
2396
|
+
"x-username": xUsername
|
|
2310
2397
|
})
|
|
2311
2398
|
})));
|
|
2312
2399
|
}
|
|
2313
2400
|
/**
|
|
2314
2401
|
* Workspace List
|
|
2315
2402
|
*/
|
|
2316
|
-
export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceListRequest }: {
|
|
2403
|
+
export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceListRequest }: {
|
|
2317
2404
|
authorization: string;
|
|
2318
2405
|
xAccountId?: string | null;
|
|
2319
2406
|
xMemberId?: string | null;
|
|
2407
|
+
xUsername?: string | null;
|
|
2320
2408
|
quickCommandWorkspaceListRequest: QuickCommandWorkspaceListRequest;
|
|
2321
2409
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2322
2410
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2334,17 +2422,19 @@ export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, x
|
|
|
2334
2422
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2335
2423
|
authorization,
|
|
2336
2424
|
"x-account-id": xAccountId,
|
|
2337
|
-
"x-member-id": xMemberId
|
|
2425
|
+
"x-member-id": xMemberId,
|
|
2426
|
+
"x-username": xUsername
|
|
2338
2427
|
})
|
|
2339
2428
|
})));
|
|
2340
2429
|
}
|
|
2341
2430
|
/**
|
|
2342
2431
|
* Create Quick Command
|
|
2343
2432
|
*/
|
|
2344
|
-
export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, quickCommandsCreateRequest }: {
|
|
2433
|
+
export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandsCreateRequest }: {
|
|
2345
2434
|
authorization: string;
|
|
2346
2435
|
xAccountId?: string | null;
|
|
2347
2436
|
xMemberId?: string | null;
|
|
2437
|
+
xUsername?: string | null;
|
|
2348
2438
|
quickCommandsCreateRequest: QuickCommandsCreateRequest;
|
|
2349
2439
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2350
2440
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2362,20 +2452,22 @@ export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountI
|
|
|
2362
2452
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2363
2453
|
authorization,
|
|
2364
2454
|
"x-account-id": xAccountId,
|
|
2365
|
-
"x-member-id": xMemberId
|
|
2455
|
+
"x-member-id": xMemberId,
|
|
2456
|
+
"x-username": xUsername
|
|
2366
2457
|
})
|
|
2367
2458
|
})));
|
|
2368
2459
|
}
|
|
2369
2460
|
/**
|
|
2370
2461
|
* List All
|
|
2371
2462
|
*/
|
|
2372
|
-
export function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
|
|
2463
|
+
export function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2373
2464
|
visibility?: VisibilityLevelEnum | null;
|
|
2374
2465
|
order?: OrderEnum;
|
|
2375
2466
|
types?: QuickCommandTypeRequest[] | null;
|
|
2376
2467
|
authorization: string;
|
|
2377
2468
|
xAccountId?: string | null;
|
|
2378
2469
|
xMemberId?: string | null;
|
|
2470
|
+
xUsername?: string | null;
|
|
2379
2471
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2380
2472
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2381
2473
|
status: 200;
|
|
@@ -2394,18 +2486,20 @@ export function listAllV1QuickCommandsAllGet({ visibility, order, types, authori
|
|
|
2394
2486
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2395
2487
|
authorization,
|
|
2396
2488
|
"x-account-id": xAccountId,
|
|
2397
|
-
"x-member-id": xMemberId
|
|
2489
|
+
"x-member-id": xMemberId,
|
|
2490
|
+
"x-username": xUsername
|
|
2398
2491
|
})
|
|
2399
2492
|
}));
|
|
2400
2493
|
}
|
|
2401
2494
|
/**
|
|
2402
2495
|
* Update Quick Command
|
|
2403
2496
|
*/
|
|
2404
|
-
export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, quickCommandsUpdateRequest }: {
|
|
2497
|
+
export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsUpdateRequest }: {
|
|
2405
2498
|
slug: string;
|
|
2406
2499
|
authorization: string;
|
|
2407
2500
|
xAccountId?: string | null;
|
|
2408
2501
|
xMemberId?: string | null;
|
|
2502
|
+
xUsername?: string | null;
|
|
2409
2503
|
quickCommandsUpdateRequest: QuickCommandsUpdateRequest;
|
|
2410
2504
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2411
2505
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2422,19 +2516,21 @@ export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization
|
|
|
2422
2516
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2423
2517
|
authorization,
|
|
2424
2518
|
"x-account-id": xAccountId,
|
|
2425
|
-
"x-member-id": xMemberId
|
|
2519
|
+
"x-member-id": xMemberId,
|
|
2520
|
+
"x-username": xUsername
|
|
2426
2521
|
})
|
|
2427
2522
|
})));
|
|
2428
2523
|
}
|
|
2429
2524
|
/**
|
|
2430
2525
|
* Get Quick Command
|
|
2431
2526
|
*/
|
|
2432
|
-
export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId }: {
|
|
2527
|
+
export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2433
2528
|
slug: string;
|
|
2434
2529
|
findAgents?: boolean;
|
|
2435
2530
|
authorization: string;
|
|
2436
2531
|
xAccountId?: string | null;
|
|
2437
2532
|
xMemberId?: string | null;
|
|
2533
|
+
xUsername?: string | null;
|
|
2438
2534
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2439
2535
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2440
2536
|
status: 200;
|
|
@@ -2451,18 +2547,20 @@ export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, author
|
|
|
2451
2547
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2452
2548
|
authorization,
|
|
2453
2549
|
"x-account-id": xAccountId,
|
|
2454
|
-
"x-member-id": xMemberId
|
|
2550
|
+
"x-member-id": xMemberId,
|
|
2551
|
+
"x-username": xUsername
|
|
2455
2552
|
})
|
|
2456
2553
|
}));
|
|
2457
2554
|
}
|
|
2458
2555
|
/**
|
|
2459
2556
|
* Delete Quick Command
|
|
2460
2557
|
*/
|
|
2461
|
-
export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
|
|
2558
|
+
export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2462
2559
|
slug: string;
|
|
2463
2560
|
authorization: string;
|
|
2464
2561
|
xAccountId?: string | null;
|
|
2465
2562
|
xMemberId?: string | null;
|
|
2563
|
+
xUsername?: string | null;
|
|
2466
2564
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2467
2565
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2468
2566
|
status: 204;
|
|
@@ -2477,18 +2575,20 @@ export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorizatio
|
|
|
2477
2575
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2478
2576
|
authorization,
|
|
2479
2577
|
"x-account-id": xAccountId,
|
|
2480
|
-
"x-member-id": xMemberId
|
|
2578
|
+
"x-member-id": xMemberId,
|
|
2579
|
+
"x-username": xUsername
|
|
2481
2580
|
})
|
|
2482
2581
|
}));
|
|
2483
2582
|
}
|
|
2484
2583
|
/**
|
|
2485
2584
|
* Add Favorite
|
|
2486
2585
|
*/
|
|
2487
|
-
export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId }: {
|
|
2586
|
+
export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2488
2587
|
slug: string;
|
|
2489
2588
|
authorization: string;
|
|
2490
2589
|
xAccountId?: string | null;
|
|
2491
2590
|
xMemberId?: string | null;
|
|
2591
|
+
xUsername?: string | null;
|
|
2492
2592
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2493
2593
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2494
2594
|
status: 204;
|
|
@@ -2503,18 +2603,20 @@ export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization
|
|
|
2503
2603
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2504
2604
|
authorization,
|
|
2505
2605
|
"x-account-id": xAccountId,
|
|
2506
|
-
"x-member-id": xMemberId
|
|
2606
|
+
"x-member-id": xMemberId,
|
|
2607
|
+
"x-username": xUsername
|
|
2507
2608
|
})
|
|
2508
2609
|
}));
|
|
2509
2610
|
}
|
|
2510
2611
|
/**
|
|
2511
2612
|
* Delete Favorite
|
|
2512
2613
|
*/
|
|
2513
|
-
export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId }: {
|
|
2614
|
+
export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2514
2615
|
slug: string;
|
|
2515
2616
|
authorization: string;
|
|
2516
2617
|
xAccountId?: string | null;
|
|
2517
2618
|
xMemberId?: string | null;
|
|
2619
|
+
xUsername?: string | null;
|
|
2518
2620
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2519
2621
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2520
2622
|
status: 204;
|
|
@@ -2529,18 +2631,20 @@ export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authoriz
|
|
|
2529
2631
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2530
2632
|
authorization,
|
|
2531
2633
|
"x-account-id": xAccountId,
|
|
2532
|
-
"x-member-id": xMemberId
|
|
2634
|
+
"x-member-id": xMemberId,
|
|
2635
|
+
"x-username": xUsername
|
|
2533
2636
|
})
|
|
2534
2637
|
}));
|
|
2535
2638
|
}
|
|
2536
2639
|
/**
|
|
2537
2640
|
* Share
|
|
2538
2641
|
*/
|
|
2539
|
-
export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId }: {
|
|
2642
|
+
export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2540
2643
|
slug: string;
|
|
2541
2644
|
authorization: string;
|
|
2542
2645
|
xAccountId?: string | null;
|
|
2543
2646
|
xMemberId?: string | null;
|
|
2647
|
+
xUsername?: string | null;
|
|
2544
2648
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2545
2649
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2546
2650
|
status: 204;
|
|
@@ -2555,18 +2659,20 @@ export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccoun
|
|
|
2555
2659
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2556
2660
|
authorization,
|
|
2557
2661
|
"x-account-id": xAccountId,
|
|
2558
|
-
"x-member-id": xMemberId
|
|
2662
|
+
"x-member-id": xMemberId,
|
|
2663
|
+
"x-username": xUsername
|
|
2559
2664
|
})
|
|
2560
2665
|
}));
|
|
2561
2666
|
}
|
|
2562
2667
|
/**
|
|
2563
2668
|
* Publish
|
|
2564
2669
|
*/
|
|
2565
|
-
export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, quickCommandPublishRequest }: {
|
|
2670
|
+
export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }: {
|
|
2566
2671
|
slug: string;
|
|
2567
2672
|
authorization: string;
|
|
2568
2673
|
xAccountId?: string | null;
|
|
2569
2674
|
xMemberId?: string | null;
|
|
2675
|
+
xUsername?: string | null;
|
|
2570
2676
|
quickCommandPublishRequest?: QuickCommandPublishRequest;
|
|
2571
2677
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2572
2678
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2583,18 +2689,20 @@ export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAc
|
|
|
2583
2689
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2584
2690
|
authorization,
|
|
2585
2691
|
"x-account-id": xAccountId,
|
|
2586
|
-
"x-member-id": xMemberId
|
|
2692
|
+
"x-member-id": xMemberId,
|
|
2693
|
+
"x-username": xUsername
|
|
2587
2694
|
})
|
|
2588
2695
|
})));
|
|
2589
2696
|
}
|
|
2590
2697
|
/**
|
|
2591
2698
|
* Fork
|
|
2592
2699
|
*/
|
|
2593
|
-
export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, quickCommandsMakeACopyRequest }: {
|
|
2700
|
+
export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsMakeACopyRequest }: {
|
|
2594
2701
|
slug: string;
|
|
2595
2702
|
authorization: string;
|
|
2596
2703
|
xAccountId?: string | null;
|
|
2597
2704
|
xMemberId?: string | null;
|
|
2705
|
+
xUsername?: string | null;
|
|
2598
2706
|
quickCommandsMakeACopyRequest: QuickCommandsMakeACopyRequest;
|
|
2599
2707
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2600
2708
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2612,18 +2720,20 @@ export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountI
|
|
|
2612
2720
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2613
2721
|
authorization,
|
|
2614
2722
|
"x-account-id": xAccountId,
|
|
2615
|
-
"x-member-id": xMemberId
|
|
2723
|
+
"x-member-id": xMemberId,
|
|
2724
|
+
"x-username": xUsername
|
|
2616
2725
|
})
|
|
2617
2726
|
})));
|
|
2618
2727
|
}
|
|
2619
2728
|
/**
|
|
2620
2729
|
* Get Quick Command
|
|
2621
2730
|
*/
|
|
2622
|
-
export function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId }: {
|
|
2731
|
+
export function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2623
2732
|
slug: string;
|
|
2624
2733
|
authorization: string;
|
|
2625
2734
|
xAccountId?: string | null;
|
|
2626
2735
|
xMemberId?: string | null;
|
|
2736
|
+
xUsername?: string | null;
|
|
2627
2737
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2628
2738
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2629
2739
|
status: 204;
|
|
@@ -2637,18 +2747,20 @@ export function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorizatio
|
|
|
2637
2747
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2638
2748
|
authorization,
|
|
2639
2749
|
"x-account-id": xAccountId,
|
|
2640
|
-
"x-member-id": xMemberId
|
|
2750
|
+
"x-member-id": xMemberId,
|
|
2751
|
+
"x-username": xUsername
|
|
2641
2752
|
})
|
|
2642
2753
|
}));
|
|
2643
2754
|
}
|
|
2644
2755
|
/**
|
|
2645
2756
|
* Get Quick Command By Ks Slug
|
|
2646
2757
|
*/
|
|
2647
|
-
export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId }: {
|
|
2758
|
+
export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2648
2759
|
slug: string;
|
|
2649
2760
|
authorization: string;
|
|
2650
2761
|
xAccountId?: string | null;
|
|
2651
2762
|
xMemberId?: string | null;
|
|
2763
|
+
xUsername?: string | null;
|
|
2652
2764
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2653
2765
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2654
2766
|
status: 200;
|
|
@@ -2663,18 +2775,20 @@ export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({
|
|
|
2663
2775
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2664
2776
|
authorization,
|
|
2665
2777
|
"x-account-id": xAccountId,
|
|
2666
|
-
"x-member-id": xMemberId
|
|
2778
|
+
"x-member-id": xMemberId,
|
|
2779
|
+
"x-username": xUsername
|
|
2667
2780
|
})
|
|
2668
2781
|
}));
|
|
2669
2782
|
}
|
|
2670
2783
|
/**
|
|
2671
2784
|
* Get Quick Commands By Agent Id
|
|
2672
2785
|
*/
|
|
2673
|
-
export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId }: {
|
|
2786
|
+
export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2674
2787
|
agentId: string;
|
|
2675
2788
|
authorization: string;
|
|
2676
2789
|
xAccountId?: string | null;
|
|
2677
2790
|
xMemberId?: string | null;
|
|
2791
|
+
xUsername?: string | null;
|
|
2678
2792
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2679
2793
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2680
2794
|
status: 200;
|
|
@@ -2689,18 +2803,20 @@ export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agent
|
|
|
2689
2803
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2690
2804
|
authorization,
|
|
2691
2805
|
"x-account-id": xAccountId,
|
|
2692
|
-
"x-member-id": xMemberId
|
|
2806
|
+
"x-member-id": xMemberId,
|
|
2807
|
+
"x-username": xUsername
|
|
2693
2808
|
})
|
|
2694
2809
|
}));
|
|
2695
2810
|
}
|
|
2696
2811
|
/**
|
|
2697
2812
|
* Disassociate Agent
|
|
2698
2813
|
*/
|
|
2699
|
-
export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId }: {
|
|
2814
|
+
export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2700
2815
|
agentId: string;
|
|
2701
2816
|
authorization: string;
|
|
2702
2817
|
xAccountId?: string | null;
|
|
2703
2818
|
xMemberId?: string | null;
|
|
2819
|
+
xUsername?: string | null;
|
|
2704
2820
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2705
2821
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2706
2822
|
status: 200;
|
|
@@ -2716,18 +2832,20 @@ export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, a
|
|
|
2716
2832
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2717
2833
|
authorization,
|
|
2718
2834
|
"x-account-id": xAccountId,
|
|
2719
|
-
"x-member-id": xMemberId
|
|
2835
|
+
"x-member-id": xMemberId,
|
|
2836
|
+
"x-username": xUsername
|
|
2720
2837
|
})
|
|
2721
2838
|
}));
|
|
2722
2839
|
}
|
|
2723
2840
|
/**
|
|
2724
2841
|
* List By Workspace Id
|
|
2725
2842
|
*/
|
|
2726
|
-
export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
|
|
2843
|
+
export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2727
2844
|
workspaceId: string;
|
|
2728
2845
|
authorization: string;
|
|
2729
2846
|
xAccountId?: string | null;
|
|
2730
2847
|
xMemberId?: string | null;
|
|
2848
|
+
xUsername?: string | null;
|
|
2731
2849
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2732
2850
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2733
2851
|
status: 200;
|
|
@@ -2742,19 +2860,21 @@ export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ works
|
|
|
2742
2860
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2743
2861
|
authorization,
|
|
2744
2862
|
"x-account-id": xAccountId,
|
|
2745
|
-
"x-member-id": xMemberId
|
|
2863
|
+
"x-member-id": xMemberId,
|
|
2864
|
+
"x-username": xUsername
|
|
2746
2865
|
})
|
|
2747
2866
|
}));
|
|
2748
2867
|
}
|
|
2749
2868
|
/**
|
|
2750
2869
|
* Format Fetch Step
|
|
2751
2870
|
*/
|
|
2752
|
-
export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
|
|
2871
|
+
export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
|
|
2753
2872
|
slug: string;
|
|
2754
2873
|
stepSlug: string;
|
|
2755
2874
|
authorization: string;
|
|
2756
2875
|
xAccountId?: string | null;
|
|
2757
2876
|
xMemberId?: string | null;
|
|
2877
|
+
xUsername?: string | null;
|
|
2758
2878
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
2759
2879
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2760
2880
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2772,18 +2892,20 @@ export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({
|
|
|
2772
2892
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2773
2893
|
authorization,
|
|
2774
2894
|
"x-account-id": xAccountId,
|
|
2775
|
-
"x-member-id": xMemberId
|
|
2895
|
+
"x-member-id": xMemberId,
|
|
2896
|
+
"x-username": xUsername
|
|
2776
2897
|
})
|
|
2777
2898
|
})));
|
|
2778
2899
|
}
|
|
2779
2900
|
/**
|
|
2780
2901
|
* Format Result
|
|
2781
2902
|
*/
|
|
2782
|
-
export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
|
|
2903
|
+
export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
|
|
2783
2904
|
slug: string;
|
|
2784
2905
|
authorization: string;
|
|
2785
2906
|
xAccountId?: string | null;
|
|
2786
2907
|
xMemberId?: string | null;
|
|
2908
|
+
xUsername?: string | null;
|
|
2787
2909
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
2788
2910
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2789
2911
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2801,19 +2923,21 @@ export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authoriz
|
|
|
2801
2923
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2802
2924
|
authorization,
|
|
2803
2925
|
"x-account-id": xAccountId,
|
|
2804
|
-
"x-member-id": xMemberId
|
|
2926
|
+
"x-member-id": xMemberId,
|
|
2927
|
+
"x-username": xUsername
|
|
2805
2928
|
})
|
|
2806
2929
|
})));
|
|
2807
2930
|
}
|
|
2808
2931
|
/**
|
|
2809
2932
|
* Calculates the next route for a ROUTER step
|
|
2810
2933
|
*/
|
|
2811
|
-
export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandEvaluateStepRouterRequest }: {
|
|
2934
|
+
export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandEvaluateStepRouterRequest }: {
|
|
2812
2935
|
slug: string;
|
|
2813
2936
|
stepSlug: string;
|
|
2814
2937
|
authorization: string;
|
|
2815
2938
|
xAccountId?: string | null;
|
|
2816
2939
|
xMemberId?: string | null;
|
|
2940
|
+
xUsername?: string | null;
|
|
2817
2941
|
quickCommandEvaluateStepRouterRequest: QuickCommandEvaluateStepRouterRequest;
|
|
2818
2942
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2819
2943
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2831,19 +2955,21 @@ export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextSt
|
|
|
2831
2955
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2832
2956
|
authorization,
|
|
2833
2957
|
"x-account-id": xAccountId,
|
|
2834
|
-
"x-member-id": xMemberId
|
|
2958
|
+
"x-member-id": xMemberId,
|
|
2959
|
+
"x-username": xUsername
|
|
2835
2960
|
})
|
|
2836
2961
|
})));
|
|
2837
2962
|
}
|
|
2838
2963
|
/**
|
|
2839
2964
|
* Add Workspace
|
|
2840
2965
|
*/
|
|
2841
|
-
export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
|
|
2966
|
+
export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2842
2967
|
slug: string;
|
|
2843
2968
|
workspaceId: string;
|
|
2844
2969
|
authorization: string;
|
|
2845
2970
|
xAccountId?: string | null;
|
|
2846
2971
|
xMemberId?: string | null;
|
|
2972
|
+
xUsername?: string | null;
|
|
2847
2973
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2848
2974
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2849
2975
|
status: 204;
|
|
@@ -2858,19 +2984,21 @@ export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ sl
|
|
|
2858
2984
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2859
2985
|
authorization,
|
|
2860
2986
|
"x-account-id": xAccountId,
|
|
2861
|
-
"x-member-id": xMemberId
|
|
2987
|
+
"x-member-id": xMemberId,
|
|
2988
|
+
"x-username": xUsername
|
|
2862
2989
|
})
|
|
2863
2990
|
}));
|
|
2864
2991
|
}
|
|
2865
2992
|
/**
|
|
2866
2993
|
* Remove Workspace
|
|
2867
2994
|
*/
|
|
2868
|
-
export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
|
|
2995
|
+
export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2869
2996
|
slug: string;
|
|
2870
2997
|
workspaceId: string;
|
|
2871
2998
|
authorization: string;
|
|
2872
2999
|
xAccountId?: string | null;
|
|
2873
3000
|
xMemberId?: string | null;
|
|
3001
|
+
xUsername?: string | null;
|
|
2874
3002
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2875
3003
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2876
3004
|
status: 204;
|
|
@@ -2885,19 +3013,21 @@ export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDel
|
|
|
2885
3013
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2886
3014
|
authorization,
|
|
2887
3015
|
"x-account-id": xAccountId,
|
|
2888
|
-
"x-member-id": xMemberId
|
|
3016
|
+
"x-member-id": xMemberId,
|
|
3017
|
+
"x-username": xUsername
|
|
2889
3018
|
})
|
|
2890
3019
|
}));
|
|
2891
3020
|
}
|
|
2892
3021
|
/**
|
|
2893
3022
|
* Create Execution
|
|
2894
3023
|
*/
|
|
2895
|
-
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, quickCommandCreateRequest }: {
|
|
3024
|
+
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, xUsername, quickCommandCreateRequest }: {
|
|
2896
3025
|
slug: string;
|
|
2897
3026
|
conversationId?: string | null;
|
|
2898
3027
|
authorization: string;
|
|
2899
3028
|
xAccountId?: string | null;
|
|
2900
3029
|
xMemberId?: string | null;
|
|
3030
|
+
xUsername?: string | null;
|
|
2901
3031
|
quickCommandCreateRequest?: QuickCommandCreateRequest;
|
|
2902
3032
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2903
3033
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2917,18 +3047,20 @@ export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, co
|
|
|
2917
3047
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2918
3048
|
authorization,
|
|
2919
3049
|
"x-account-id": xAccountId,
|
|
2920
|
-
"x-member-id": xMemberId
|
|
3050
|
+
"x-member-id": xMemberId,
|
|
3051
|
+
"x-username": xUsername
|
|
2921
3052
|
})
|
|
2922
3053
|
})));
|
|
2923
3054
|
}
|
|
2924
3055
|
/**
|
|
2925
3056
|
* Triggers asynchronous execution of a Remote Quick Command
|
|
2926
3057
|
*/
|
|
2927
|
-
export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, quickCommandExecutionRequest }: {
|
|
3058
|
+
export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, xUsername, quickCommandExecutionRequest }: {
|
|
2928
3059
|
executionId: string;
|
|
2929
3060
|
authorization: string;
|
|
2930
3061
|
xAccountId?: string | null;
|
|
2931
3062
|
xMemberId?: string | null;
|
|
3063
|
+
xUsername?: string | null;
|
|
2932
3064
|
quickCommandExecutionRequest?: QuickCommandExecutionRequest;
|
|
2933
3065
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2934
3066
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2945,18 +3077,20 @@ export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, auth
|
|
|
2945
3077
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2946
3078
|
authorization,
|
|
2947
3079
|
"x-account-id": xAccountId,
|
|
2948
|
-
"x-member-id": xMemberId
|
|
3080
|
+
"x-member-id": xMemberId,
|
|
3081
|
+
"x-username": xUsername
|
|
2949
3082
|
})
|
|
2950
3083
|
})));
|
|
2951
3084
|
}
|
|
2952
3085
|
/**
|
|
2953
3086
|
* Callback
|
|
2954
3087
|
*/
|
|
2955
|
-
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId }: {
|
|
3088
|
+
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2956
3089
|
executionId: string;
|
|
2957
3090
|
authorization: string;
|
|
2958
3091
|
xAccountId?: string | null;
|
|
2959
3092
|
xMemberId?: string | null;
|
|
3093
|
+
xUsername?: string | null;
|
|
2960
3094
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2961
3095
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2962
3096
|
status: 200;
|
|
@@ -2971,19 +3105,21 @@ export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, aut
|
|
|
2971
3105
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2972
3106
|
authorization,
|
|
2973
3107
|
"x-account-id": xAccountId,
|
|
2974
|
-
"x-member-id": xMemberId
|
|
3108
|
+
"x-member-id": xMemberId,
|
|
3109
|
+
"x-username": xUsername
|
|
2975
3110
|
})
|
|
2976
3111
|
}));
|
|
2977
3112
|
}
|
|
2978
3113
|
/**
|
|
2979
3114
|
* Run Fetch Step
|
|
2980
3115
|
*/
|
|
2981
|
-
export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
|
|
3116
|
+
export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
|
|
2982
3117
|
slug: string;
|
|
2983
3118
|
stepSlug: string;
|
|
2984
3119
|
authorization: string;
|
|
2985
3120
|
xAccountId?: string | null;
|
|
2986
3121
|
xMemberId?: string | null;
|
|
3122
|
+
xUsername?: string | null;
|
|
2987
3123
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
2988
3124
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2989
3125
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3001,19 +3137,21 @@ export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug,
|
|
|
3001
3137
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3002
3138
|
authorization,
|
|
3003
3139
|
"x-account-id": xAccountId,
|
|
3004
|
-
"x-member-id": xMemberId
|
|
3140
|
+
"x-member-id": xMemberId,
|
|
3141
|
+
"x-username": xUsername
|
|
3005
3142
|
})
|
|
3006
3143
|
})));
|
|
3007
3144
|
}
|
|
3008
3145
|
/**
|
|
3009
3146
|
* List Conversations
|
|
3010
3147
|
*/
|
|
3011
|
-
export function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId }: {
|
|
3148
|
+
export function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3012
3149
|
size?: number;
|
|
3013
3150
|
page?: number;
|
|
3014
3151
|
authorization: string;
|
|
3015
3152
|
xAccountId?: string | null;
|
|
3016
3153
|
xMemberId?: string | null;
|
|
3154
|
+
xUsername?: string | null;
|
|
3017
3155
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3018
3156
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3019
3157
|
status: 200;
|
|
@@ -3031,18 +3169,20 @@ export function listConversationsV1ConversationsGet({ size, page, authorization,
|
|
|
3031
3169
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3032
3170
|
authorization,
|
|
3033
3171
|
"x-account-id": xAccountId,
|
|
3034
|
-
"x-member-id": xMemberId
|
|
3172
|
+
"x-member-id": xMemberId,
|
|
3173
|
+
"x-username": xUsername
|
|
3035
3174
|
})
|
|
3036
3175
|
}));
|
|
3037
3176
|
}
|
|
3038
3177
|
/**
|
|
3039
3178
|
* Conversation History
|
|
3040
3179
|
*/
|
|
3041
|
-
export function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId }: {
|
|
3180
|
+
export function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3042
3181
|
conversationId: string;
|
|
3043
3182
|
authorization: string;
|
|
3044
3183
|
xAccountId?: string | null;
|
|
3045
3184
|
xMemberId?: string | null;
|
|
3185
|
+
xUsername?: string | null;
|
|
3046
3186
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3047
3187
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3048
3188
|
status: 200;
|
|
@@ -3057,18 +3197,20 @@ export function conversationHistoryV1ConversationsConversationIdGet({ conversati
|
|
|
3057
3197
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3058
3198
|
authorization,
|
|
3059
3199
|
"x-account-id": xAccountId,
|
|
3060
|
-
"x-member-id": xMemberId
|
|
3200
|
+
"x-member-id": xMemberId,
|
|
3201
|
+
"x-username": xUsername
|
|
3061
3202
|
})
|
|
3062
3203
|
}));
|
|
3063
3204
|
}
|
|
3064
3205
|
/**
|
|
3065
3206
|
* Update Title
|
|
3066
3207
|
*/
|
|
3067
|
-
export function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, conversationUpdateTitleRequest }: {
|
|
3208
|
+
export function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, xUsername, conversationUpdateTitleRequest }: {
|
|
3068
3209
|
conversationId: string;
|
|
3069
3210
|
authorization: string;
|
|
3070
3211
|
xAccountId?: string | null;
|
|
3071
3212
|
xMemberId?: string | null;
|
|
3213
|
+
xUsername?: string | null;
|
|
3072
3214
|
conversationUpdateTitleRequest: ConversationUpdateTitleRequest;
|
|
3073
3215
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3074
3216
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3086,18 +3228,20 @@ export function updateTitleV1ConversationsConversationIdPatch({ conversationId,
|
|
|
3086
3228
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3087
3229
|
authorization,
|
|
3088
3230
|
"x-account-id": xAccountId,
|
|
3089
|
-
"x-member-id": xMemberId
|
|
3231
|
+
"x-member-id": xMemberId,
|
|
3232
|
+
"x-username": xUsername
|
|
3090
3233
|
})
|
|
3091
3234
|
})));
|
|
3092
3235
|
}
|
|
3093
3236
|
/**
|
|
3094
3237
|
* Delete Conversation
|
|
3095
3238
|
*/
|
|
3096
|
-
export function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId }: {
|
|
3239
|
+
export function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3097
3240
|
conversationId: string;
|
|
3098
3241
|
authorization: string;
|
|
3099
3242
|
xAccountId?: string | null;
|
|
3100
3243
|
xMemberId?: string | null;
|
|
3244
|
+
xUsername?: string | null;
|
|
3101
3245
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3102
3246
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3103
3247
|
status: 204;
|
|
@@ -3112,18 +3256,20 @@ export function deleteConversationV1ConversationsConversationIdDelete({ conversa
|
|
|
3112
3256
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3113
3257
|
authorization,
|
|
3114
3258
|
"x-account-id": xAccountId,
|
|
3115
|
-
"x-member-id": xMemberId
|
|
3259
|
+
"x-member-id": xMemberId,
|
|
3260
|
+
"x-username": xUsername
|
|
3116
3261
|
})
|
|
3117
3262
|
}));
|
|
3118
3263
|
}
|
|
3119
3264
|
/**
|
|
3120
3265
|
* Download Conversation
|
|
3121
3266
|
*/
|
|
3122
|
-
export function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId }: {
|
|
3267
|
+
export function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3123
3268
|
conversationId: string;
|
|
3124
3269
|
authorization: string;
|
|
3125
3270
|
xAccountId?: string | null;
|
|
3126
3271
|
xMemberId?: string | null;
|
|
3272
|
+
xUsername?: string | null;
|
|
3127
3273
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3128
3274
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3129
3275
|
status: 200;
|
|
@@ -3138,7 +3284,8 @@ export function downloadConversationV1ConversationsConversationIdDownloadGet({ c
|
|
|
3138
3284
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3139
3285
|
authorization,
|
|
3140
3286
|
"x-account-id": xAccountId,
|
|
3141
|
-
"x-member-id": xMemberId
|
|
3287
|
+
"x-member-id": xMemberId,
|
|
3288
|
+
"x-username": xUsername
|
|
3142
3289
|
})
|
|
3143
3290
|
}));
|
|
3144
3291
|
}
|
|
@@ -3213,11 +3360,12 @@ export function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBat
|
|
|
3213
3360
|
/**
|
|
3214
3361
|
* Find Knowledge Source Dependencies
|
|
3215
3362
|
*/
|
|
3216
|
-
export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId }: {
|
|
3363
|
+
export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3217
3364
|
slug: string;
|
|
3218
3365
|
authorization: string;
|
|
3219
3366
|
xAccountId?: string | null;
|
|
3220
3367
|
xMemberId?: string | null;
|
|
3368
|
+
xUsername?: string | null;
|
|
3221
3369
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3222
3370
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3223
3371
|
status: 200;
|
|
@@ -3232,7 +3380,8 @@ export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependencie
|
|
|
3232
3380
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3233
3381
|
authorization,
|
|
3234
3382
|
"x-account-id": xAccountId,
|
|
3235
|
-
"x-member-id": xMemberId
|
|
3383
|
+
"x-member-id": xMemberId,
|
|
3384
|
+
"x-username": xUsername
|
|
3236
3385
|
})
|
|
3237
3386
|
}));
|
|
3238
3387
|
}
|
|
@@ -3250,12 +3399,13 @@ export function getFlagsV1FlagsGet(opts?: Oazapfts.RequestOpts) {
|
|
|
3250
3399
|
/**
|
|
3251
3400
|
* Get Content Dependencies
|
|
3252
3401
|
*/
|
|
3253
|
-
export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId }: {
|
|
3402
|
+
export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3254
3403
|
contentType: ContentDependencyType;
|
|
3255
3404
|
contentId: string;
|
|
3256
3405
|
authorization: string;
|
|
3257
3406
|
xAccountId?: string | null;
|
|
3258
3407
|
xMemberId?: string | null;
|
|
3408
|
+
xUsername?: string | null;
|
|
3259
3409
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3260
3410
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3261
3411
|
status: 200;
|
|
@@ -3270,10 +3420,61 @@ export function getContentDependenciesV1ContentContentTypeContentIdDependenciesG
|
|
|
3270
3420
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3271
3421
|
authorization,
|
|
3272
3422
|
"x-account-id": xAccountId,
|
|
3273
|
-
"x-member-id": xMemberId
|
|
3423
|
+
"x-member-id": xMemberId,
|
|
3424
|
+
"x-username": xUsername
|
|
3274
3425
|
})
|
|
3275
3426
|
}));
|
|
3276
3427
|
}
|
|
3428
|
+
/**
|
|
3429
|
+
* Tokens Daily Usage
|
|
3430
|
+
*/
|
|
3431
|
+
export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, accountSlug }: {
|
|
3432
|
+
month: number;
|
|
3433
|
+
year: number;
|
|
3434
|
+
accountSlug?: string;
|
|
3435
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3436
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3437
|
+
status: 200;
|
|
3438
|
+
data: any;
|
|
3439
|
+
} | {
|
|
3440
|
+
status: 404;
|
|
3441
|
+
} | {
|
|
3442
|
+
status: 422;
|
|
3443
|
+
data: HttpValidationError;
|
|
3444
|
+
}>(`/v1/analytics/tokens/daily-usage${QS.query(QS.explode({
|
|
3445
|
+
month,
|
|
3446
|
+
year,
|
|
3447
|
+
account_slug: accountSlug
|
|
3448
|
+
}))}`, {
|
|
3449
|
+
...opts
|
|
3450
|
+
}));
|
|
3451
|
+
}
|
|
3452
|
+
/**
|
|
3453
|
+
* Tokens By User
|
|
3454
|
+
*/
|
|
3455
|
+
export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, page, pageSize }: {
|
|
3456
|
+
month: number;
|
|
3457
|
+
year: number;
|
|
3458
|
+
page?: number;
|
|
3459
|
+
pageSize?: number;
|
|
3460
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3461
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3462
|
+
status: 200;
|
|
3463
|
+
data: any;
|
|
3464
|
+
} | {
|
|
3465
|
+
status: 404;
|
|
3466
|
+
} | {
|
|
3467
|
+
status: 422;
|
|
3468
|
+
data: HttpValidationError;
|
|
3469
|
+
}>(`/v1/analytics/tokens/by-user${QS.query(QS.explode({
|
|
3470
|
+
month,
|
|
3471
|
+
year,
|
|
3472
|
+
page,
|
|
3473
|
+
page_size: pageSize
|
|
3474
|
+
}))}`, {
|
|
3475
|
+
...opts
|
|
3476
|
+
}));
|
|
3477
|
+
}
|
|
3277
3478
|
/**
|
|
3278
3479
|
* Dev Assistant V2
|
|
3279
3480
|
*/
|
|
@@ -3299,12 +3500,13 @@ export function devAssistantV2V2ChatPost({ accept }: {
|
|
|
3299
3500
|
/**
|
|
3300
3501
|
* Quick Commands Run V2
|
|
3301
3502
|
*/
|
|
3302
|
-
export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
|
|
3503
|
+
export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
|
|
3303
3504
|
slug: string;
|
|
3304
3505
|
stepSlug: string;
|
|
3305
3506
|
authorization: string;
|
|
3306
3507
|
xAccountId?: string | null;
|
|
3307
3508
|
xMemberId?: string | null;
|
|
3509
|
+
xUsername?: string | null;
|
|
3308
3510
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
3309
3511
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3310
3512
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3322,20 +3524,22 @@ export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug
|
|
|
3322
3524
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3323
3525
|
authorization,
|
|
3324
3526
|
"x-account-id": xAccountId,
|
|
3325
|
-
"x-member-id": xMemberId
|
|
3527
|
+
"x-member-id": xMemberId,
|
|
3528
|
+
"x-username": xUsername
|
|
3326
3529
|
})
|
|
3327
3530
|
})));
|
|
3328
3531
|
}
|
|
3329
3532
|
/**
|
|
3330
3533
|
* List All
|
|
3331
3534
|
*/
|
|
3332
|
-
export function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
|
|
3535
|
+
export function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3333
3536
|
visibility?: VisibilityLevelEnum | null;
|
|
3334
3537
|
order?: OrderEnum;
|
|
3335
3538
|
types?: QuickCommandTypeRequest[] | null;
|
|
3336
3539
|
authorization: string;
|
|
3337
3540
|
xAccountId?: string | null;
|
|
3338
3541
|
xMemberId?: string | null;
|
|
3542
|
+
xUsername?: string | null;
|
|
3339
3543
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3340
3544
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3341
3545
|
status: 200;
|
|
@@ -3354,17 +3558,19 @@ export function listAllV2QuickCommandsAllGet({ visibility, order, types, authori
|
|
|
3354
3558
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3355
3559
|
authorization,
|
|
3356
3560
|
"x-account-id": xAccountId,
|
|
3357
|
-
"x-member-id": xMemberId
|
|
3561
|
+
"x-member-id": xMemberId,
|
|
3562
|
+
"x-username": xUsername
|
|
3358
3563
|
})
|
|
3359
3564
|
}));
|
|
3360
3565
|
}
|
|
3361
3566
|
/**
|
|
3362
3567
|
* Dev Assistant V3
|
|
3363
3568
|
*/
|
|
3364
|
-
export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, chatRequest }: {
|
|
3569
|
+
export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, xUsername, chatRequest }: {
|
|
3365
3570
|
authorization: string;
|
|
3366
3571
|
xAccountId?: string | null;
|
|
3367
3572
|
xMemberId?: string | null;
|
|
3573
|
+
xUsername?: string | null;
|
|
3368
3574
|
chatRequest: ChatRequest;
|
|
3369
3575
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3370
3576
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3382,7 +3588,8 @@ export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId,
|
|
|
3382
3588
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3383
3589
|
authorization,
|
|
3384
3590
|
"x-account-id": xAccountId,
|
|
3385
|
-
"x-member-id": xMemberId
|
|
3591
|
+
"x-member-id": xMemberId,
|
|
3592
|
+
"x-username": xUsername
|
|
3386
3593
|
})
|
|
3387
3594
|
})));
|
|
3388
3595
|
}
|