@stack-spot/portal-network 0.191.0 → 0.192.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.
Files changed (54) hide show
  1. package/CHANGELOG.md +161 -0
  2. package/dist/api/account.d.ts +4 -116
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +9 -95
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/ai.d.ts +189 -86
  7. package/dist/api/ai.d.ts.map +1 -1
  8. package/dist/api/ai.js +238 -142
  9. package/dist/api/ai.js.map +1 -1
  10. package/dist/api/cloudPlatform.d.ts +364 -248
  11. package/dist/api/cloudPlatform.d.ts.map +1 -1
  12. package/dist/api/cloudPlatform.js +289 -109
  13. package/dist/api/cloudPlatform.js.map +1 -1
  14. package/dist/api/codeShift.d.ts +109 -39
  15. package/dist/api/codeShift.d.ts.map +1 -1
  16. package/dist/api/codeShift.js +51 -10
  17. package/dist/api/codeShift.js.map +1 -1
  18. package/dist/api/genAiInference.d.ts +22 -2
  19. package/dist/api/genAiInference.d.ts.map +1 -1
  20. package/dist/api/genAiInference.js +22 -3
  21. package/dist/api/genAiInference.js.map +1 -1
  22. package/dist/client/account.d.ts +33 -19
  23. package/dist/client/account.d.ts.map +1 -1
  24. package/dist/client/account.js +33 -15
  25. package/dist/client/account.js.map +1 -1
  26. package/dist/client/ai.d.ts +46 -0
  27. package/dist/client/ai.d.ts.map +1 -1
  28. package/dist/client/ai.js +140 -15
  29. package/dist/client/ai.js.map +1 -1
  30. package/dist/client/cloud-platform.d.ts +195 -43
  31. package/dist/client/cloud-platform.d.ts.map +1 -1
  32. package/dist/client/cloud-platform.js +159 -42
  33. package/dist/client/cloud-platform.js.map +1 -1
  34. package/dist/client/code-shift.d.ts +36 -3
  35. package/dist/client/code-shift.d.ts.map +1 -1
  36. package/dist/client/code-shift.js +37 -1
  37. package/dist/client/code-shift.js.map +1 -1
  38. package/dist/client/types.d.ts +26 -5
  39. package/dist/client/types.d.ts.map +1 -1
  40. package/package.json +3 -3
  41. package/readme.md +2 -1
  42. package/src/api/account.ts +21 -192
  43. package/src/api/agent-tools.ts +3 -0
  44. package/src/api/agent.ts +2 -0
  45. package/src/api/ai.ts +364 -157
  46. package/src/api/cloudPlatform.ts +698 -398
  47. package/src/api/codeShift.ts +189 -44
  48. package/src/api/genAiInference.ts +47 -4
  49. package/src/api/notification.ts +2 -0
  50. package/src/client/account.ts +36 -17
  51. package/src/client/ai.ts +136 -13
  52. package/src/client/cloud-platform.ts +92 -27
  53. package/src/client/code-shift.ts +20 -1
  54. package/src/client/types.ts +27 -5
package/dist/api/ai.d.ts CHANGED
@@ -159,14 +159,6 @@ export type AutoCompleteResult = {
159
159
  code: string;
160
160
  };
161
161
  export type EventTypeEnum = "code_injected" | "code_copied" | "custom_quick_command_execution" | "user_feedback_provided" | "copied_all";
162
- export type SourceProjectFile2 = {
163
- "type"?: "project_file";
164
- name: string;
165
- slug: string;
166
- document_score: number;
167
- document_id: string;
168
- path: string;
169
- };
170
162
  export type QuickCommandEvent = {
171
163
  slug: string;
172
164
  "type": string;
@@ -188,7 +180,7 @@ export type GenericEventRequest = {
188
180
  chosen_feedback_options?: string[] | null;
189
181
  additional_feedback?: string | null;
190
182
  message_id?: string | null;
191
- knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource | SourceProjectFile2 | KnowledgeSourceEvent)[] | null;
183
+ knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
192
184
  quick_command_event?: QuickCommandEvent | null;
193
185
  context?: {
194
186
  [key: string]: any;
@@ -390,6 +382,7 @@ export type QuickCommandsStepPromptRequest = {
390
382
  use_uploaded_files?: boolean;
391
383
  agent_built_in?: boolean | null;
392
384
  next_step_slug?: string | null;
385
+ next_failure_step_slug?: string | null;
393
386
  };
394
387
  export type OperatorType = "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greater" | "smaller" | "greaterEqual" | "smallerEqual" | "isEmpty" | "isNotEmpty" | "isDefined" | "isUndefined";
395
388
  export type SimpleExpr = {
@@ -446,6 +439,7 @@ export type QuickCommandsUpdateRequest = {
446
439
  knowledge_source_slugs?: string[] | null;
447
440
  final_result?: string | null;
448
441
  preserve_conversation?: boolean;
442
+ share_context_between_steps?: boolean;
449
443
  custom_inputs?: CustomInputRequest[] | null;
450
444
  flow?: {
451
445
  [key: string]: any;
@@ -510,6 +504,7 @@ export type QuickCommandStepLlmResponse = {
510
504
  agent_built_in?: boolean | null;
511
505
  agent_data?: AgentDefinitionResponse | null;
512
506
  next_step_slug?: string | null;
507
+ next_failure_step_slug?: string | null;
513
508
  use_uploaded_files?: boolean;
514
509
  allow_use_current_workspace?: boolean;
515
510
  };
@@ -569,9 +564,17 @@ export type QuickCommandsMakeACopyRequest = {
569
564
  name: string;
570
565
  description: string;
571
566
  };
567
+ export type QuickCommandAnswerStatusResponse = {
568
+ success: boolean;
569
+ next_step_slug: string;
570
+ failure_message?: string | null;
571
+ input_tokens?: number | null;
572
+ output_tokens?: number | null;
573
+ };
572
574
  export type QuickCommandPromptResponse = {
573
575
  answer: string;
574
- sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2 | KnowledgeSourceEvent)[] | null;
576
+ sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
577
+ answer_status?: QuickCommandAnswerStatusResponse | null;
575
578
  };
576
579
  export type QuickCommandFetchResponseResult = {
577
580
  headers?: {
@@ -634,6 +637,7 @@ export type Progress = {
634
637
  status: string;
635
638
  };
636
639
  export type StepFetch = {
640
+ duration?: number | null;
637
641
  status_code: number;
638
642
  headers?: {
639
643
  [key: string]: string;
@@ -643,12 +647,21 @@ export type StepFetch = {
643
647
  [key: string]: any;
644
648
  } | null;
645
649
  };
650
+ export type AnswerStatus = {
651
+ success: boolean;
652
+ failure_message?: string | null;
653
+ input_tokens?: number | null;
654
+ output_tokens?: number | null;
655
+ };
646
656
  export type StepLlm = {
647
- answer: string;
657
+ duration?: number | null;
658
+ answer?: string | null;
659
+ answer_status?: AnswerStatus | null;
648
660
  sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[];
649
661
  tools?: string[];
650
662
  };
651
663
  export type StepRouter = {
664
+ duration?: number | null;
652
665
  next_step_slug: string;
653
666
  condition?: ConditionExpr2 | null;
654
667
  "default"?: boolean;
@@ -658,6 +671,7 @@ export type Step = {
658
671
  execution_order: number;
659
672
  "type": QuickCommandStepType;
660
673
  step_result: StepFetch | StepLlm | StepRouter | null;
674
+ status: string;
661
675
  };
662
676
  export type QuickCommandExecutionResponse = {
663
677
  execution_id: string;
@@ -716,18 +730,19 @@ export type DependencyResponse = {
716
730
  delete_contents?: ContentDependencyResponse[] | null;
717
731
  missing_list?: ContentDependencyResponse[] | null;
718
732
  };
719
- export type SourceProjectFile3 = {
733
+ export type SourceProjectFile2 = {
720
734
  "type": "project_file";
721
735
  path: string;
722
736
  document_score: number;
723
737
  };
724
738
  export type ChatResponse2 = {
725
739
  answer: string;
726
- sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
740
+ sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2)[];
727
741
  };
728
742
  export type QuickCommandPromptResponse2 = {
729
743
  answer: string;
730
744
  sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
745
+ answer_status?: QuickCommandAnswerStatusResponse | null;
731
746
  };
732
747
  export type ChatRequest = {
733
748
  context?: {
@@ -736,14 +751,14 @@ export type ChatRequest = {
736
751
  user_prompt: string;
737
752
  project_id?: string | null;
738
753
  };
739
- export type SourceProjectFile4 = {
754
+ export type SourceProjectFile3 = {
740
755
  "type": "project_file";
741
756
  path: string;
742
757
  document_score: number;
743
758
  };
744
759
  export type ChatResponse3 = {
745
760
  answer: string;
746
- sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile4)[];
761
+ sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
747
762
  message_id: string | null;
748
763
  };
749
764
  /**
@@ -753,130 +768,144 @@ export declare function metricsMetricsGet(opts?: Oazapfts.RequestOpts): Promise<
753
768
  /**
754
769
  * Workspace Fork
755
770
  */
756
- export declare function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceForkRequest }: {
771
+ export declare function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceForkRequest }: {
757
772
  authorization: string;
758
773
  xAccountId?: string | null;
759
774
  xMemberId?: string | null;
775
+ xUsername?: string | null;
760
776
  aiStackWorkspaceForkRequest: AiStackWorkspaceForkRequest;
761
777
  }, opts?: Oazapfts.RequestOpts): Promise<AiStackWorkspaceForkResponse>;
762
778
  /**
763
779
  * Workspace Delete Fork
764
780
  */
765
- export declare function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, aiStackWorkspaceDeleteRequest }: {
781
+ export declare function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceDeleteRequest }: {
766
782
  authorization: string;
767
783
  xAccountId?: string | null;
768
784
  xMemberId?: string | null;
785
+ xUsername?: string | null;
769
786
  aiStackWorkspaceDeleteRequest: AiStackWorkspaceDeleteRequest;
770
787
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
771
788
  /**
772
789
  * Workspace List
773
790
  */
774
- export declare function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceListRequest }: {
791
+ export declare function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceListRequest }: {
775
792
  authorization: string;
776
793
  xAccountId?: string | null;
777
794
  xMemberId?: string | null;
795
+ xUsername?: string | null;
778
796
  aiStackWorkspaceListRequest: AiStackWorkspaceListRequest;
779
797
  }, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse[]>;
780
798
  /**
781
799
  * List Ai Stacks
782
800
  */
783
- export declare function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId }: {
801
+ export declare function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId, xUsername }: {
784
802
  visibility?: VisibilityLevelEnum;
785
803
  authorization: string;
786
804
  xAccountId?: string | null;
787
805
  xMemberId?: string | null;
806
+ xUsername?: string | null;
788
807
  }, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse[]>;
789
808
  /**
790
809
  * Create Ai Stack
791
810
  */
792
- export declare function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, newAiStackRequest }: {
811
+ export declare function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, xUsername, newAiStackRequest }: {
793
812
  authorization: string;
794
813
  xAccountId?: string | null;
795
814
  xMemberId?: string | null;
815
+ xUsername?: string | null;
796
816
  newAiStackRequest: NewAiStackRequest;
797
817
  }, opts?: Oazapfts.RequestOpts): Promise<NewAiStackResponse>;
798
818
  /**
799
819
  * Update Ai Stack
800
820
  */
801
- export declare function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, updateAiStackRequest }: {
821
+ export declare function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, xUsername, updateAiStackRequest }: {
802
822
  stackId: string;
803
823
  authorization: string;
804
824
  xAccountId?: string | null;
805
825
  xMemberId?: string | null;
826
+ xUsername?: string | null;
806
827
  updateAiStackRequest: UpdateAiStackRequest;
807
828
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
808
829
  /**
809
830
  * Get Ai Stack
810
831
  */
811
- export declare function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId }: {
832
+ export declare function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
812
833
  stackId: string;
813
834
  authorization: string;
814
835
  xAccountId?: string | null;
815
836
  xMemberId?: string | null;
837
+ xUsername?: string | null;
816
838
  }, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse>;
817
839
  /**
818
840
  * Remove Ai Stack
819
841
  */
820
- export declare function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId }: {
842
+ export declare function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
821
843
  stackId: string;
822
844
  authorization: string;
823
845
  xAccountId?: string | null;
824
846
  xMemberId?: string | null;
847
+ xUsername?: string | null;
825
848
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
826
849
  /**
827
850
  * Get Ai Stack Exists
828
851
  */
829
- export declare function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId }: {
852
+ export declare function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId, xUsername }: {
830
853
  stackName: string;
831
854
  authorization: string;
832
855
  xAccountId?: string | null;
833
856
  xMemberId?: string | null;
857
+ xUsername?: string | null;
834
858
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
835
859
  /**
836
860
  * Add Favorite
837
861
  */
838
- export declare function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId }: {
862
+ export declare function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
839
863
  stackId: string;
840
864
  authorization: string;
841
865
  xAccountId?: string | null;
842
866
  xMemberId?: string | null;
867
+ xUsername?: string | null;
843
868
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
844
869
  /**
845
870
  * Delete Favorite
846
871
  */
847
- export declare function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId }: {
872
+ export declare function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
848
873
  stackId: string;
849
874
  authorization: string;
850
875
  xAccountId?: string | null;
851
876
  xMemberId?: string | null;
877
+ xUsername?: string | null;
852
878
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
853
879
  /**
854
880
  * Fork
855
881
  */
856
- export declare function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, aiStackForkRequest }: {
882
+ export declare function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackForkRequest }: {
857
883
  stackId: string;
858
884
  authorization: string;
859
885
  xAccountId?: string | null;
860
886
  xMemberId?: string | null;
887
+ xUsername?: string | null;
861
888
  aiStackForkRequest: AiStackForkRequest;
862
889
  }, opts?: Oazapfts.RequestOpts): Promise<NewAiStackResponse>;
863
890
  /**
864
891
  * Share
865
892
  */
866
- export declare function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId }: {
893
+ export declare function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
867
894
  stackId: string;
868
895
  authorization: string;
869
896
  xAccountId?: string | null;
870
897
  xMemberId?: string | null;
898
+ xUsername?: string | null;
871
899
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
872
900
  /**
873
901
  * Publish
874
902
  */
875
- export declare function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, aiStackPublishRequest }: {
903
+ export declare function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackPublishRequest }: {
876
904
  stackId: string;
877
905
  authorization: string;
878
906
  xAccountId?: string | null;
879
907
  xMemberId?: string | null;
908
+ xUsername?: string | null;
880
909
  aiStackPublishRequest?: AiStackPublishRequest;
881
910
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
882
911
  /**
@@ -889,10 +918,11 @@ export declare function projectFilesV1ProjectFilesPost({ authorization, newProje
889
918
  /**
890
919
  * Quick Actions
891
920
  */
892
- export declare function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, quickActionsRequest }: {
921
+ export declare function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, xUsername, quickActionsRequest }: {
893
922
  authorization: string;
894
923
  xAccountId?: string | null;
895
924
  xMemberId?: string | null;
925
+ xUsername?: string | null;
896
926
  quickActionsRequest: QuickActionsRequest;
897
927
  }, opts?: Oazapfts.RequestOpts): Promise<SimpleResponse>;
898
928
  /**
@@ -902,19 +932,21 @@ export declare function devAssistantV1ChatPost(opts?: Oazapfts.RequestOpts): Pro
902
932
  /**
903
933
  * Autocomplete V1
904
934
  */
905
- export declare function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, autoCompleteRequest }: {
935
+ export declare function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, xUsername, autoCompleteRequest }: {
906
936
  authorization: string;
907
937
  xAccountId?: string | null;
908
938
  xMemberId?: string | null;
939
+ xUsername?: string | null;
909
940
  autoCompleteRequest: AutoCompleteRequest;
910
941
  }, opts?: Oazapfts.RequestOpts): Promise<string | AutoCompleteResult>;
911
942
  /**
912
943
  * Post Event
913
944
  */
914
- export declare function postEventV1EventsPost({ authorization, xAccountId, xMemberId, body }: {
945
+ export declare function postEventV1EventsPost({ authorization, xAccountId, xMemberId, xUsername, body }: {
915
946
  authorization: string;
916
947
  xAccountId?: string | null;
917
948
  xMemberId?: string | null;
949
+ xUsername?: string | null;
918
950
  body: GenericEventRequest[];
919
951
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
920
952
  /**
@@ -945,7 +977,7 @@ export declare function createKnowledgeSourceV1KnowledgeSourcesPost({ authorizat
945
977
  /**
946
978
  * List Knowledge Sources
947
979
  */
948
- export declare function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId }: {
980
+ export declare function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId, xUsername }: {
949
981
  visibility?: VisibilityLevelEnum;
950
982
  order?: OrderEnum;
951
983
  $default?: boolean | null;
@@ -953,6 +985,7 @@ export declare function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility,
953
985
  authorization: string;
954
986
  xAccountId?: string | null;
955
987
  xMemberId?: string | null;
988
+ xUsername?: string | null;
956
989
  }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceItemResponse[]>;
957
990
  /**
958
991
  * Find Knowledge Source
@@ -972,11 +1005,12 @@ export declare function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug,
972
1005
  /**
973
1006
  * Delete Knowledge Source
974
1007
  */
975
- export declare function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
1008
+ export declare function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
976
1009
  slug: string;
977
1010
  authorization: string;
978
1011
  xAccountId?: string | null;
979
1012
  xMemberId?: string | null;
1013
+ xUsername?: string | null;
980
1014
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
981
1015
  /**
982
1016
  * Exists Knowledge Source
@@ -988,13 +1022,14 @@ export declare function existsKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ s
988
1022
  /**
989
1023
  * Search
990
1024
  */
991
- export declare function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId }: {
1025
+ export declare function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId, xUsername }: {
992
1026
  slug: string;
993
1027
  q: string;
994
1028
  size?: number;
995
1029
  authorization: string;
996
1030
  xAccountId?: string | null;
997
1031
  xMemberId?: string | null;
1032
+ xUsername?: string | null;
998
1033
  }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceSimilaritySearchItemResponse[]>;
999
1034
  /**
1000
1035
  * Share Knowledge Source
@@ -1069,11 +1104,12 @@ export declare function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsId
1069
1104
  /**
1070
1105
  * Vectorize Snippet Knowledge Source
1071
1106
  */
1072
- export declare function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, snippetKnowledgeSourceRequest }: {
1107
+ export declare function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, xUsername, snippetKnowledgeSourceRequest }: {
1073
1108
  slug: string;
1074
1109
  authorization: string;
1075
1110
  xAccountId?: string | null;
1076
1111
  xMemberId?: string | null;
1112
+ xUsername?: string | null;
1077
1113
  snippetKnowledgeSourceRequest: SnippetKnowledgeSourceRequest;
1078
1114
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1079
1115
  /**
@@ -1095,11 +1131,12 @@ export declare function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet(
1095
1131
  /**
1096
1132
  * Vectorize Event Knowledge Source
1097
1133
  */
1098
- export declare function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, body }: {
1134
+ export declare function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, xUsername, body }: {
1099
1135
  slug: string;
1100
1136
  authorization: string;
1101
1137
  xAccountId?: string | null;
1102
1138
  xMemberId?: string | null;
1139
+ xUsername?: string | null;
1103
1140
  body: {
1104
1141
  [key: string]: any;
1105
1142
  };
@@ -1115,11 +1152,12 @@ export declare function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet
1115
1152
  /**
1116
1153
  * Vectorize Custom Knowledge Source
1117
1154
  */
1118
- export declare function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, customKnowledgeSourceRequest }: {
1155
+ export declare function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, xUsername, customKnowledgeSourceRequest }: {
1119
1156
  slug: string;
1120
1157
  authorization: string;
1121
1158
  xAccountId?: string | null;
1122
1159
  xMemberId?: string | null;
1160
+ xUsername?: string | null;
1123
1161
  customKnowledgeSourceRequest: CustomKnowledgeSourceRequest;
1124
1162
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1125
1163
  /**
@@ -1136,36 +1174,40 @@ export declare function searchKnowledgeSourcesV1KnowledgeSourcesSearchPost({ aut
1136
1174
  /**
1137
1175
  * Change Llm
1138
1176
  */
1139
- export declare function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeLlmRequest }: {
1177
+ export declare function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLlmRequest }: {
1140
1178
  authorization: string;
1141
1179
  xAccountId?: string | null;
1142
1180
  xMemberId?: string | null;
1181
+ xUsername?: string | null;
1143
1182
  accountSettingsChangeLlmRequest: AccountSettingsChangeLlmRequest;
1144
1183
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1145
1184
  /**
1146
1185
  * Change Limit
1147
1186
  */
1148
- export declare function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, accountSettingsChangeLimitRequest }: {
1187
+ export declare function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLimitRequest }: {
1149
1188
  authorization: string;
1150
1189
  xAccountId?: string | null;
1151
1190
  xMemberId?: string | null;
1191
+ xUsername?: string | null;
1152
1192
  accountSettingsChangeLimitRequest: AccountSettingsChangeLimitRequest;
1153
1193
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1154
1194
  /**
1155
1195
  * Reset Limit
1156
1196
  */
1157
- export declare function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId }: {
1197
+ export declare function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId, xUsername }: {
1158
1198
  authorization: string;
1159
1199
  xAccountId?: string | null;
1160
1200
  xMemberId?: string | null;
1201
+ xUsername?: string | null;
1161
1202
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1162
1203
  /**
1163
1204
  * Change External Rqc
1164
1205
  */
1165
- export declare function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeErqcRequest }: {
1206
+ export declare function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeErqcRequest }: {
1166
1207
  authorization: string;
1167
1208
  xAccountId?: string | null;
1168
1209
  xMemberId?: string | null;
1210
+ xUsername?: string | null;
1169
1211
  accountSettingsChangeErqcRequest: AccountSettingsChangeErqcRequest;
1170
1212
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1171
1213
  /**
@@ -1187,376 +1229,415 @@ export declare function tokensUsageV1AccountsTokensUsageGet(opts?: Oazapfts.Requ
1187
1229
  /**
1188
1230
  * Current
1189
1231
  */
1190
- export declare function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId }: {
1232
+ export declare function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId, xUsername }: {
1191
1233
  authorization: string;
1192
1234
  xAccountId?: string | null;
1193
1235
  xMemberId?: string | null;
1236
+ xUsername?: string | null;
1194
1237
  }, opts?: Oazapfts.RequestOpts): Promise<TokensCurrentUsageResponse>;
1195
1238
  /**
1196
1239
  * Current
1197
1240
  */
1198
- export declare function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId }: {
1241
+ export declare function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
1199
1242
  year: number;
1200
1243
  month: number;
1201
1244
  authorization: string;
1202
1245
  xAccountId?: string | null;
1203
1246
  xMemberId?: string | null;
1247
+ xUsername?: string | null;
1204
1248
  }, opts?: Oazapfts.RequestOpts): Promise<TokensCurrentUsageResponse>;
1205
1249
  /**
1206
1250
  * Monthly
1207
1251
  */
1208
- export declare function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId }: {
1252
+ export declare function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId, xUsername }: {
1209
1253
  year: number;
1210
1254
  authorization: string;
1211
1255
  xAccountId?: string | null;
1212
1256
  xMemberId?: string | null;
1257
+ xUsername?: string | null;
1213
1258
  }, opts?: Oazapfts.RequestOpts): Promise<TokensMonthlyUsageResponse[]>;
1214
1259
  /**
1215
1260
  * Top Users
1216
1261
  */
1217
- export declare function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId }: {
1262
+ export declare function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
1218
1263
  year: number;
1219
1264
  month: number;
1220
1265
  authorization: string;
1221
1266
  xAccountId?: string | null;
1222
1267
  xMemberId?: string | null;
1268
+ xUsername?: string | null;
1223
1269
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1224
1270
  /**
1225
1271
  * Add Association
1226
1272
  */
1227
- export declare function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, addWorkspaceKnowledgeSourceRequest }: {
1273
+ export declare function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, xUsername, addWorkspaceKnowledgeSourceRequest }: {
1228
1274
  workspaceId: string;
1229
1275
  authorization: string;
1230
1276
  xAccountId?: string | null;
1231
1277
  xMemberId?: string | null;
1278
+ xUsername?: string | null;
1232
1279
  addWorkspaceKnowledgeSourceRequest: AddWorkspaceKnowledgeSourceRequest;
1233
1280
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1234
1281
  /**
1235
1282
  * List Association
1236
1283
  */
1237
- export declare function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
1284
+ export declare function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
1238
1285
  workspaceId: string;
1239
1286
  authorization: string;
1240
1287
  xAccountId?: string | null;
1241
1288
  xMemberId?: string | null;
1289
+ xUsername?: string | null;
1242
1290
  }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceResponse[]>;
1243
1291
  /**
1244
1292
  * Delete Association
1245
1293
  */
1246
- export declare function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId }: {
1294
+ export declare function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId, xUsername }: {
1247
1295
  workspaceId: string;
1248
1296
  knowledgeSourceSlug: string;
1249
1297
  authorization: string;
1250
1298
  xAccountId?: string | null;
1251
1299
  xMemberId?: string | null;
1300
+ xUsername?: string | null;
1252
1301
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1253
1302
  /**
1254
1303
  * Workspace Fork
1255
1304
  */
1256
- export declare function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceForkRequest }: {
1305
+ export declare function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceForkRequest }: {
1257
1306
  authorization: string;
1258
1307
  xAccountId?: string | null;
1259
1308
  xMemberId?: string | null;
1309
+ xUsername?: string | null;
1260
1310
  quickCommandWorkspaceForkRequest: QuickCommandWorkspaceForkRequest;
1261
1311
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1262
1312
  /**
1263
1313
  * Workspace Delete Fork
1264
1314
  */
1265
- export declare function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, quickCommandWorkspaceDeleteRequest }: {
1315
+ export declare function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceDeleteRequest }: {
1266
1316
  authorization: string;
1267
1317
  xAccountId?: string | null;
1268
1318
  xMemberId?: string | null;
1319
+ xUsername?: string | null;
1269
1320
  quickCommandWorkspaceDeleteRequest: QuickCommandWorkspaceDeleteRequest;
1270
1321
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1271
1322
  /**
1272
1323
  * Workspace List
1273
1324
  */
1274
- export declare function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceListRequest }: {
1325
+ export declare function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceListRequest }: {
1275
1326
  authorization: string;
1276
1327
  xAccountId?: string | null;
1277
1328
  xMemberId?: string | null;
1329
+ xUsername?: string | null;
1278
1330
  quickCommandWorkspaceListRequest: QuickCommandWorkspaceListRequest;
1279
1331
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1280
1332
  /**
1281
1333
  * Create Quick Command
1282
1334
  */
1283
- export declare function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, quickCommandsCreateRequest }: {
1335
+ export declare function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandsCreateRequest }: {
1284
1336
  authorization: string;
1285
1337
  xAccountId?: string | null;
1286
1338
  xMemberId?: string | null;
1339
+ xUsername?: string | null;
1287
1340
  quickCommandsCreateRequest: QuickCommandsCreateRequest;
1288
1341
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1289
1342
  /**
1290
1343
  * List All
1291
1344
  */
1292
- export declare function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
1345
+ export declare function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
1293
1346
  visibility?: VisibilityLevelEnum | null;
1294
1347
  order?: OrderEnum;
1295
1348
  types?: QuickCommandTypeRequest[] | null;
1296
1349
  authorization: string;
1297
1350
  xAccountId?: string | null;
1298
1351
  xMemberId?: string | null;
1352
+ xUsername?: string | null;
1299
1353
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1300
1354
  /**
1301
1355
  * Update Quick Command
1302
1356
  */
1303
- export declare function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, quickCommandsUpdateRequest }: {
1357
+ export declare function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsUpdateRequest }: {
1304
1358
  slug: string;
1305
1359
  authorization: string;
1306
1360
  xAccountId?: string | null;
1307
1361
  xMemberId?: string | null;
1362
+ xUsername?: string | null;
1308
1363
  quickCommandsUpdateRequest: QuickCommandsUpdateRequest;
1309
1364
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1310
1365
  /**
1311
1366
  * Get Quick Command
1312
1367
  */
1313
- export declare function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId }: {
1368
+ export declare function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId, xUsername }: {
1314
1369
  slug: string;
1315
1370
  findAgents?: boolean;
1316
1371
  authorization: string;
1317
1372
  xAccountId?: string | null;
1318
1373
  xMemberId?: string | null;
1374
+ xUsername?: string | null;
1319
1375
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandResponse>;
1320
1376
  /**
1321
1377
  * Delete Quick Command
1322
1378
  */
1323
- export declare function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
1379
+ export declare function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1324
1380
  slug: string;
1325
1381
  authorization: string;
1326
1382
  xAccountId?: string | null;
1327
1383
  xMemberId?: string | null;
1384
+ xUsername?: string | null;
1328
1385
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1329
1386
  /**
1330
1387
  * Add Favorite
1331
1388
  */
1332
- export declare function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId }: {
1389
+ export declare function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1333
1390
  slug: string;
1334
1391
  authorization: string;
1335
1392
  xAccountId?: string | null;
1336
1393
  xMemberId?: string | null;
1394
+ xUsername?: string | null;
1337
1395
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1338
1396
  /**
1339
1397
  * Delete Favorite
1340
1398
  */
1341
- export declare function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId }: {
1399
+ export declare function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1342
1400
  slug: string;
1343
1401
  authorization: string;
1344
1402
  xAccountId?: string | null;
1345
1403
  xMemberId?: string | null;
1404
+ xUsername?: string | null;
1346
1405
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1347
1406
  /**
1348
1407
  * Share
1349
1408
  */
1350
- export declare function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId }: {
1409
+ export declare function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1351
1410
  slug: string;
1352
1411
  authorization: string;
1353
1412
  xAccountId?: string | null;
1354
1413
  xMemberId?: string | null;
1414
+ xUsername?: string | null;
1355
1415
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1356
1416
  /**
1357
1417
  * Publish
1358
1418
  */
1359
- export declare function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, quickCommandPublishRequest }: {
1419
+ export declare function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }: {
1360
1420
  slug: string;
1361
1421
  authorization: string;
1362
1422
  xAccountId?: string | null;
1363
1423
  xMemberId?: string | null;
1424
+ xUsername?: string | null;
1364
1425
  quickCommandPublishRequest?: QuickCommandPublishRequest;
1365
1426
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1366
1427
  /**
1367
1428
  * Fork
1368
1429
  */
1369
- export declare function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, quickCommandsMakeACopyRequest }: {
1430
+ export declare function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsMakeACopyRequest }: {
1370
1431
  slug: string;
1371
1432
  authorization: string;
1372
1433
  xAccountId?: string | null;
1373
1434
  xMemberId?: string | null;
1435
+ xUsername?: string | null;
1374
1436
  quickCommandsMakeACopyRequest: QuickCommandsMakeACopyRequest;
1375
1437
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1376
1438
  /**
1377
1439
  * Get Quick Command
1378
1440
  */
1379
- export declare function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId }: {
1441
+ export declare function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1380
1442
  slug: string;
1381
1443
  authorization: string;
1382
1444
  xAccountId?: string | null;
1383
1445
  xMemberId?: string | null;
1446
+ xUsername?: string | null;
1384
1447
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1385
1448
  /**
1386
1449
  * Get Quick Command By Ks Slug
1387
1450
  */
1388
- export declare function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId }: {
1451
+ export declare function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1389
1452
  slug: string;
1390
1453
  authorization: string;
1391
1454
  xAccountId?: string | null;
1392
1455
  xMemberId?: string | null;
1456
+ xUsername?: string | null;
1393
1457
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1394
1458
  /**
1395
1459
  * Get Quick Commands By Agent Id
1396
1460
  */
1397
- export declare function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId }: {
1461
+ export declare function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
1398
1462
  agentId: string;
1399
1463
  authorization: string;
1400
1464
  xAccountId?: string | null;
1401
1465
  xMemberId?: string | null;
1466
+ xUsername?: string | null;
1402
1467
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1403
1468
  /**
1404
1469
  * Disassociate Agent
1405
1470
  */
1406
- export declare function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId }: {
1471
+ export declare function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
1407
1472
  agentId: string;
1408
1473
  authorization: string;
1409
1474
  xAccountId?: string | null;
1410
1475
  xMemberId?: string | null;
1476
+ xUsername?: string | null;
1411
1477
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1412
1478
  /**
1413
1479
  * List By Workspace Id
1414
1480
  */
1415
- export declare function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
1481
+ export declare function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
1416
1482
  workspaceId: string;
1417
1483
  authorization: string;
1418
1484
  xAccountId?: string | null;
1419
1485
  xMemberId?: string | null;
1486
+ xUsername?: string | null;
1420
1487
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1421
1488
  /**
1422
1489
  * Format Fetch Step
1423
1490
  */
1424
- export declare function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
1491
+ export declare function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
1425
1492
  slug: string;
1426
1493
  stepSlug: string;
1427
1494
  authorization: string;
1428
1495
  xAccountId?: string | null;
1429
1496
  xMemberId?: string | null;
1497
+ xUsername?: string | null;
1430
1498
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
1431
1499
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandStepFetchResponse>;
1432
1500
  /**
1433
1501
  * Format Result
1434
1502
  */
1435
- export declare function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
1503
+ export declare function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
1436
1504
  slug: string;
1437
1505
  authorization: string;
1438
1506
  xAccountId?: string | null;
1439
1507
  xMemberId?: string | null;
1508
+ xUsername?: string | null;
1440
1509
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
1441
1510
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandFinalResultResponse>;
1442
1511
  /**
1443
1512
  * Calculates the next route for a ROUTER step
1444
1513
  */
1445
- export declare function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandEvaluateStepRouterRequest }: {
1514
+ export declare function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandEvaluateStepRouterRequest }: {
1446
1515
  slug: string;
1447
1516
  stepSlug: string;
1448
1517
  authorization: string;
1449
1518
  xAccountId?: string | null;
1450
1519
  xMemberId?: string | null;
1520
+ xUsername?: string | null;
1451
1521
  quickCommandEvaluateStepRouterRequest: QuickCommandEvaluateStepRouterRequest;
1452
1522
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandEvaluateStepRouterResponse>;
1453
1523
  /**
1454
1524
  * Add Workspace
1455
1525
  */
1456
- export declare function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
1526
+ export declare function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
1457
1527
  slug: string;
1458
1528
  workspaceId: string;
1459
1529
  authorization: string;
1460
1530
  xAccountId?: string | null;
1461
1531
  xMemberId?: string | null;
1532
+ xUsername?: string | null;
1462
1533
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1463
1534
  /**
1464
1535
  * Remove Workspace
1465
1536
  */
1466
- export declare function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
1537
+ export declare function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
1467
1538
  slug: string;
1468
1539
  workspaceId: string;
1469
1540
  authorization: string;
1470
1541
  xAccountId?: string | null;
1471
1542
  xMemberId?: string | null;
1543
+ xUsername?: string | null;
1472
1544
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1473
1545
  /**
1474
1546
  * Create Execution
1475
1547
  */
1476
- export declare function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, quickCommandCreateRequest }: {
1548
+ export declare function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, xUsername, quickCommandCreateRequest }: {
1477
1549
  slug: string;
1478
1550
  conversationId?: string | null;
1479
1551
  authorization: string;
1480
1552
  xAccountId?: string | null;
1481
1553
  xMemberId?: string | null;
1554
+ xUsername?: string | null;
1482
1555
  quickCommandCreateRequest?: QuickCommandCreateRequest;
1483
1556
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1484
1557
  /**
1485
1558
  * Triggers asynchronous execution of a Remote Quick Command
1486
1559
  */
1487
- export declare function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, quickCommandExecutionRequest }: {
1560
+ export declare function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, xUsername, quickCommandExecutionRequest }: {
1488
1561
  executionId: string;
1489
1562
  authorization: string;
1490
1563
  xAccountId?: string | null;
1491
1564
  xMemberId?: string | null;
1565
+ xUsername?: string | null;
1492
1566
  quickCommandExecutionRequest?: QuickCommandExecutionRequest;
1493
1567
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1494
1568
  /**
1495
1569
  * Callback
1496
1570
  */
1497
- export declare function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId }: {
1571
+ export declare function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId, xUsername }: {
1498
1572
  executionId: string;
1499
1573
  authorization: string;
1500
1574
  xAccountId?: string | null;
1501
1575
  xMemberId?: string | null;
1576
+ xUsername?: string | null;
1502
1577
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandExecutionResponse>;
1503
1578
  /**
1504
1579
  * Run Fetch Step
1505
1580
  */
1506
- export declare function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
1581
+ export declare function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
1507
1582
  slug: string;
1508
1583
  stepSlug: string;
1509
1584
  authorization: string;
1510
1585
  xAccountId?: string | null;
1511
1586
  xMemberId?: string | null;
1587
+ xUsername?: string | null;
1512
1588
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
1513
1589
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandStepFetchResponse>;
1514
1590
  /**
1515
1591
  * List Conversations
1516
1592
  */
1517
- export declare function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId }: {
1593
+ export declare function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId, xUsername }: {
1518
1594
  size?: number;
1519
1595
  page?: number;
1520
1596
  authorization: string;
1521
1597
  xAccountId?: string | null;
1522
1598
  xMemberId?: string | null;
1599
+ xUsername?: string | null;
1523
1600
  }, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse[]>;
1524
1601
  /**
1525
1602
  * Conversation History
1526
1603
  */
1527
- export declare function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId }: {
1604
+ export declare function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
1528
1605
  conversationId: string;
1529
1606
  authorization: string;
1530
1607
  xAccountId?: string | null;
1531
1608
  xMemberId?: string | null;
1609
+ xUsername?: string | null;
1532
1610
  }, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse>;
1533
1611
  /**
1534
1612
  * Update Title
1535
1613
  */
1536
- export declare function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, conversationUpdateTitleRequest }: {
1614
+ export declare function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, xUsername, conversationUpdateTitleRequest }: {
1537
1615
  conversationId: string;
1538
1616
  authorization: string;
1539
1617
  xAccountId?: string | null;
1540
1618
  xMemberId?: string | null;
1619
+ xUsername?: string | null;
1541
1620
  conversationUpdateTitleRequest: ConversationUpdateTitleRequest;
1542
1621
  }, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse>;
1543
1622
  /**
1544
1623
  * Delete Conversation
1545
1624
  */
1546
- export declare function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId }: {
1625
+ export declare function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
1547
1626
  conversationId: string;
1548
1627
  authorization: string;
1549
1628
  xAccountId?: string | null;
1550
1629
  xMemberId?: string | null;
1630
+ xUsername?: string | null;
1551
1631
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1552
1632
  /**
1553
1633
  * Download Conversation
1554
1634
  */
1555
- export declare function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId }: {
1635
+ export declare function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
1556
1636
  conversationId: string;
1557
1637
  authorization: string;
1558
1638
  xAccountId?: string | null;
1559
1639
  xMemberId?: string | null;
1640
+ xUsername?: string | null;
1560
1641
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1561
1642
  /**
1562
1643
  * Create Knowledge Source
@@ -1583,11 +1664,12 @@ export declare function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugOb
1583
1664
  /**
1584
1665
  * Find Knowledge Source Dependencies
1585
1666
  */
1586
- export declare function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId }: {
1667
+ export declare function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1587
1668
  slug: string;
1588
1669
  authorization: string;
1589
1670
  xAccountId?: string | null;
1590
1671
  xMemberId?: string | null;
1672
+ xUsername?: string | null;
1591
1673
  }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceDependenciesResponse>;
1592
1674
  /**
1593
1675
  * Get Flags
@@ -1596,13 +1678,31 @@ export declare function getFlagsV1FlagsGet(opts?: Oazapfts.RequestOpts): Promise
1596
1678
  /**
1597
1679
  * Get Content Dependencies
1598
1680
  */
1599
- export declare function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId }: {
1681
+ export declare function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId, xUsername }: {
1600
1682
  contentType: ContentDependencyType;
1601
1683
  contentId: string;
1602
1684
  authorization: string;
1603
1685
  xAccountId?: string | null;
1604
1686
  xMemberId?: string | null;
1687
+ xUsername?: string | null;
1605
1688
  }, opts?: Oazapfts.RequestOpts): Promise<DependencyResponse>;
1689
+ /**
1690
+ * Tokens Daily Usage
1691
+ */
1692
+ export declare function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, accountSlug }: {
1693
+ month: number;
1694
+ year: number;
1695
+ accountSlug?: string;
1696
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1697
+ /**
1698
+ * Tokens By User
1699
+ */
1700
+ export declare function tokensByUserV1AnalyticsTokensByUserGet({ month, year, page, pageSize }: {
1701
+ month: number;
1702
+ year: number;
1703
+ page?: number;
1704
+ pageSize?: number;
1705
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1606
1706
  /**
1607
1707
  * Dev Assistant V2
1608
1708
  */
@@ -1612,32 +1712,35 @@ export declare function devAssistantV2V2ChatPost({ accept }: {
1612
1712
  /**
1613
1713
  * Quick Commands Run V2
1614
1714
  */
1615
- export declare function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
1715
+ export declare function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
1616
1716
  slug: string;
1617
1717
  stepSlug: string;
1618
1718
  authorization: string;
1619
1719
  xAccountId?: string | null;
1620
1720
  xMemberId?: string | null;
1721
+ xUsername?: string | null;
1621
1722
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
1622
1723
  }, opts?: Oazapfts.RequestOpts): Promise<string | QuickCommandPromptResponse2>;
1623
1724
  /**
1624
1725
  * List All
1625
1726
  */
1626
- export declare function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
1727
+ export declare function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
1627
1728
  visibility?: VisibilityLevelEnum | null;
1628
1729
  order?: OrderEnum;
1629
1730
  types?: QuickCommandTypeRequest[] | null;
1630
1731
  authorization: string;
1631
1732
  xAccountId?: string | null;
1632
1733
  xMemberId?: string | null;
1734
+ xUsername?: string | null;
1633
1735
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1634
1736
  /**
1635
1737
  * Dev Assistant V3
1636
1738
  */
1637
- export declare function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, chatRequest }: {
1739
+ export declare function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, xUsername, chatRequest }: {
1638
1740
  authorization: string;
1639
1741
  xAccountId?: string | null;
1640
1742
  xMemberId?: string | null;
1743
+ xUsername?: string | null;
1641
1744
  chatRequest: ChatRequest;
1642
1745
  }, opts?: Oazapfts.RequestOpts): Promise<string | ChatResponse3>;
1643
1746
  //# sourceMappingURL=ai.d.ts.map