@stack-spot/portal-network 0.195.0 → 0.196.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 (92) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/dist/api/agent-tools.d.ts +135 -148
  3. package/dist/api/agent-tools.d.ts.map +1 -1
  4. package/dist/api/agent-tools.js +41 -4
  5. package/dist/api/agent-tools.js.map +1 -1
  6. package/dist/api/agent.d.ts +55 -55
  7. package/dist/api/agent.d.ts.map +1 -1
  8. package/dist/api/ai.d.ts +377 -103
  9. package/dist/api/ai.d.ts.map +1 -1
  10. package/dist/api/ai.js +383 -156
  11. package/dist/api/ai.js.map +1 -1
  12. package/dist/api/cloudPlatformHorizon.d.ts +178 -9
  13. package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
  14. package/dist/api/cloudPlatformHorizon.js +69 -1
  15. package/dist/api/cloudPlatformHorizon.js.map +1 -1
  16. package/dist/api/codeShift.d.ts +315 -62
  17. package/dist/api/codeShift.d.ts.map +1 -1
  18. package/dist/api/codeShift.js +153 -12
  19. package/dist/api/codeShift.js.map +1 -1
  20. package/dist/api/discover.d.ts +23 -12
  21. package/dist/api/discover.d.ts.map +1 -1
  22. package/dist/api/discover.js +10 -0
  23. package/dist/api/discover.js.map +1 -1
  24. package/dist/api-addresses.d.ts.map +1 -1
  25. package/dist/client/account.d.ts +233 -233
  26. package/dist/client/account.d.ts.map +1 -1
  27. package/dist/client/agent-tools.d.ts +152 -126
  28. package/dist/client/agent-tools.d.ts.map +1 -1
  29. package/dist/client/agent-tools.js +29 -2
  30. package/dist/client/agent-tools.js.map +1 -1
  31. package/dist/client/agent.d.ts +46 -46
  32. package/dist/client/agent.d.ts.map +1 -1
  33. package/dist/client/ai.d.ts +120 -81
  34. package/dist/client/ai.d.ts.map +1 -1
  35. package/dist/client/ai.js +29 -2
  36. package/dist/client/ai.js.map +1 -1
  37. package/dist/client/api-management.d.ts +2 -2
  38. package/dist/client/cloud-account.d.ts +13 -13
  39. package/dist/client/cloud-platform-horizon.d.ts +38 -19
  40. package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
  41. package/dist/client/cloud-platform-horizon.js +19 -1
  42. package/dist/client/cloud-platform-horizon.js.map +1 -1
  43. package/dist/client/cloud-platform.d.ts +50 -50
  44. package/dist/client/cloud-runtimes.d.ts +4 -4
  45. package/dist/client/cloud-services.d.ts +17 -17
  46. package/dist/client/cloud-services.d.ts.map +1 -1
  47. package/dist/client/code-shift.d.ts +349 -258
  48. package/dist/client/code-shift.d.ts.map +1 -1
  49. package/dist/client/code-shift.js +82 -1
  50. package/dist/client/code-shift.js.map +1 -1
  51. package/dist/client/content.d.ts +127 -132
  52. package/dist/client/content.d.ts.map +1 -1
  53. package/dist/client/data-integration.d.ts +55 -55
  54. package/dist/client/data-integration.d.ts.map +1 -1
  55. package/dist/client/discover.d.ts +15 -9
  56. package/dist/client/discover.d.ts.map +1 -1
  57. package/dist/client/discover.js +208 -0
  58. package/dist/client/discover.js.map +1 -1
  59. package/dist/client/event-bus.d.ts.map +1 -1
  60. package/dist/client/gen-ai-inference.d.ts +20 -20
  61. package/dist/client/insights.d.ts +7 -7
  62. package/dist/client/notification.d.ts +10 -10
  63. package/dist/client/runtime-manager.d.ts +8 -8
  64. package/dist/client/types.d.ts +14 -0
  65. package/dist/client/types.d.ts.map +1 -1
  66. package/dist/client/workflow.d.ts +10 -10
  67. package/dist/client/workspace-ai.d.ts +53 -53
  68. package/dist/client/workspace-manager.d.ts +77 -77
  69. package/dist/client/workspace-search.d.ts +2 -2
  70. package/dist/client/workspace.d.ts +58 -105
  71. package/dist/client/workspace.d.ts.map +1 -1
  72. package/dist/error/dictionary/cloud-platform.d.ts +6 -0
  73. package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
  74. package/dist/error/dictionary/cloud-platform.js +6 -0
  75. package/dist/error/dictionary/cloud-platform.js.map +1 -1
  76. package/dist/utils/StreamedJson.d.ts.map +1 -1
  77. package/dist/utils/StreamedJson.js +9 -1
  78. package/dist/utils/StreamedJson.js.map +1 -1
  79. package/package.json +2 -2
  80. package/src/api/agent-tools.ts +182 -150
  81. package/src/api/ai.ts +733 -185
  82. package/src/api/cloudPlatformHorizon.ts +412 -9
  83. package/src/api/codeShift.ts +607 -69
  84. package/src/api/discover.ts +35 -12
  85. package/src/client/agent-tools.ts +20 -2
  86. package/src/client/ai.ts +25 -10
  87. package/src/client/cloud-platform-horizon.ts +12 -4
  88. package/src/client/code-shift.ts +50 -1
  89. package/src/client/discover.ts +220 -3
  90. package/src/client/types.ts +17 -2
  91. package/src/error/dictionary/cloud-platform.ts +6 -0
  92. package/src/utils/StreamedJson.tsx +9 -2
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 | SourceProjectFile2 | KnowledgeSourceEvent)[] | null;
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 = {
@@ -423,6 +416,12 @@ export type QuickCommandsStepRouterRequest = {
423
416
  routes: RouterStepRoute[];
424
417
  max_executions: number;
425
418
  };
419
+ export type QuickCommandsStepScriptRequest = {
420
+ slug: string;
421
+ script: string;
422
+ use_uploaded_files: boolean;
423
+ next_step_slug?: string | null;
424
+ };
426
425
  export type CustomInputRequest = {
427
426
  slug: string;
428
427
  question: string;
@@ -434,7 +433,7 @@ export type QuickCommandsCreateRequest = {
434
433
  "type"?: QuickCommandTypeRequest;
435
434
  description: string;
436
435
  final_result: string;
437
- steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest)[];
436
+ steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[];
438
437
  return_type?: QuickCommandsReturnType | null;
439
438
  preserve_conversation?: boolean;
440
439
  custom_inputs?: CustomInputRequest[] | null;
@@ -446,11 +445,12 @@ export type QuickCommandsCreateRequest = {
446
445
  export type QuickCommandsUpdateRequest = {
447
446
  name?: string | null;
448
447
  description?: string | null;
449
- steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest)[] | null;
448
+ steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[] | null;
450
449
  return_type?: QuickCommandsReturnType | null;
451
450
  knowledge_source_slugs?: string[] | null;
452
451
  final_result?: string | null;
453
452
  preserve_conversation?: boolean;
453
+ share_context_between_steps?: boolean;
454
454
  custom_inputs?: CustomInputRequest[] | null;
455
455
  flow?: {
456
456
  [key: string]: any;
@@ -458,7 +458,7 @@ export type QuickCommandsUpdateRequest = {
458
458
  use_only?: boolean | null;
459
459
  use_uploaded_files?: boolean | null;
460
460
  };
461
- export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER";
461
+ export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER" | "SCRIPT";
462
462
  export type Method2 = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
463
463
  export type QuickCommandStepFetchResponse = {
464
464
  slug: string;
@@ -515,6 +515,7 @@ export type QuickCommandStepLlmResponse = {
515
515
  agent_built_in?: boolean | null;
516
516
  agent_data?: AgentDefinitionResponse | null;
517
517
  next_step_slug?: string | null;
518
+ next_failure_step_slug?: string | null;
518
519
  use_uploaded_files?: boolean;
519
520
  allow_use_current_workspace?: boolean;
520
521
  };
@@ -540,6 +541,12 @@ export type QuickCommandsStepRouterResponse = {
540
541
  routes: RouterStepRoute2[];
541
542
  max_executions: number;
542
543
  };
544
+ export type QuickCommandsStepScriptResponse = {
545
+ slug: string;
546
+ "type": QuickCommandStepType;
547
+ script: string;
548
+ use_uploaded_files: boolean;
549
+ };
543
550
  export type CustomInputResponse = {
544
551
  slug: string;
545
552
  question: string;
@@ -553,7 +560,7 @@ export type QuickCommandResponse = {
553
560
  studio_id?: string | null;
554
561
  return_type?: QuickCommandsReturnType | null;
555
562
  final_result?: string | null;
556
- steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse)[] | null;
563
+ steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse | QuickCommandsStepScriptResponse)[] | null;
557
564
  flow?: {
558
565
  [key: string]: any;
559
566
  } | null;
@@ -574,9 +581,17 @@ export type QuickCommandsMakeACopyRequest = {
574
581
  name: string;
575
582
  description: string;
576
583
  };
584
+ export type QuickCommandAnswerStatusResponse = {
585
+ success: boolean;
586
+ next_step_slug?: string | null;
587
+ failure_message?: string | null;
588
+ input_tokens?: number | null;
589
+ output_tokens?: number | null;
590
+ };
577
591
  export type QuickCommandPromptResponse = {
578
592
  answer: string;
579
- sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2 | KnowledgeSourceEvent)[] | null;
593
+ sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
594
+ answer_status?: QuickCommandAnswerStatusResponse | null;
580
595
  };
581
596
  export type QuickCommandFetchResponseResult = {
582
597
  headers?: {
@@ -585,6 +600,16 @@ export type QuickCommandFetchResponseResult = {
585
600
  data?: string | null;
586
601
  status: number;
587
602
  };
603
+ export type QuickCommandStepScriptStatus = "queued" | "running" | "success" | "failure";
604
+ export type QuickCommandScriptExecutionResponse = {
605
+ status: QuickCommandStepScriptStatus;
606
+ duration?: number | null;
607
+ result?: {
608
+ [key: string]: any;
609
+ } | null;
610
+ logs?: string | null;
611
+ };
612
+ export type QuickCommandStepResult = QuickCommandPromptResponse | QuickCommandFetchResponseResult | QuickCommandScriptExecutionResponse;
588
613
  export type QuickCommandsExecutionRequest = {
589
614
  context?: {
590
615
  [key: string]: any;
@@ -593,7 +618,7 @@ export type QuickCommandsExecutionRequest = {
593
618
  code_selection?: string | null;
594
619
  input_data?: string | null;
595
620
  slugs_executions?: {
596
- [key: string]: string | QuickCommandPromptResponse | QuickCommandFetchResponseResult;
621
+ [key: string]: string | QuickCommandStepResult;
597
622
  } | null;
598
623
  qc_execution_id?: string | null;
599
624
  };
@@ -607,7 +632,7 @@ export type QuickCommandEvaluateStepRouterRequest = {
607
632
  } | null;
608
633
  selected_code?: string | null;
609
634
  slugs_executions: {
610
- [key: string]: QuickCommandPromptResponse | QuickCommandFetchResponseResult;
635
+ [key: string]: QuickCommandStepResult;
611
636
  } | null;
612
637
  };
613
638
  export type QuickCommandEvaluateStepRouterResponse = {
@@ -639,6 +664,7 @@ export type Progress = {
639
664
  status: string;
640
665
  };
641
666
  export type StepFetch = {
667
+ duration?: number | null;
642
668
  status_code: number;
643
669
  headers?: {
644
670
  [key: string]: string;
@@ -648,12 +674,22 @@ export type StepFetch = {
648
674
  [key: string]: any;
649
675
  } | null;
650
676
  };
677
+ export type AnswerStatus = {
678
+ success: boolean;
679
+ failure_message?: string | null;
680
+ input_tokens?: number | null;
681
+ output_tokens?: number | null;
682
+ attempt?: number | null;
683
+ };
651
684
  export type StepLlm = {
652
- answer: string;
685
+ duration?: number | null;
686
+ answer?: string | null;
687
+ answer_status?: AnswerStatus | null;
653
688
  sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[];
654
689
  tools?: string[];
655
690
  };
656
691
  export type StepRouter = {
692
+ duration?: number | null;
657
693
  next_step_slug: string;
658
694
  condition?: ConditionExpr2 | null;
659
695
  "default"?: boolean;
@@ -663,6 +699,7 @@ export type Step = {
663
699
  execution_order: number;
664
700
  "type": QuickCommandStepType;
665
701
  step_result: StepFetch | StepLlm | StepRouter | null;
702
+ status?: string;
666
703
  };
667
704
  export type QuickCommandExecutionResponse = {
668
705
  execution_id: string;
@@ -673,6 +710,21 @@ export type QuickCommandExecutionResponse = {
673
710
  steps?: Step[] | null;
674
711
  result?: string | null;
675
712
  };
713
+ export type QuickCommandStartScriptRequest = {
714
+ context?: {
715
+ [key: string]: any;
716
+ } | null;
717
+ input_data?: string | {
718
+ [key: string]: any;
719
+ } | null;
720
+ selected_code?: string | null;
721
+ slugs_executions: {
722
+ [key: string]: QuickCommandStepResult;
723
+ } | null;
724
+ };
725
+ export type QuickCommandStartScriptResponse = {
726
+ script_execution_id: string;
727
+ };
676
728
  export type ConversationHistoryAgentEnum = "AI" | "USER";
677
729
  export type ConversationHistoryResponse = {
678
730
  message_id: string;
@@ -721,18 +773,53 @@ export type DependencyResponse = {
721
773
  delete_contents?: ContentDependencyResponse[] | null;
722
774
  missing_list?: ContentDependencyResponse[] | null;
723
775
  };
724
- export type SourceProjectFile3 = {
776
+ export type SortDirection = "ASC" | "DESC";
777
+ export type FilterMode = "MATCH" | "CONTAINS" | "IN";
778
+ export type ReviewAnswers = {
779
+ id: string;
780
+ memberId: string;
781
+ comment: string;
782
+ createdAt: string;
783
+ updatedAt?: string | null;
784
+ };
785
+ export type Review = {
786
+ id: string;
787
+ memberId: string;
788
+ rating: number;
789
+ comment: string;
790
+ resourceType: string;
791
+ resourceSlug: string;
792
+ createdAt: string;
793
+ updatedAt?: string | null;
794
+ reviewAnswers?: ReviewAnswers[];
795
+ };
796
+ export type ResourceReviewResponse = {
797
+ items: Review[];
798
+ totalElements: number;
799
+ page: number;
800
+ size: number;
801
+ totalPages: number;
802
+ };
803
+ export type ResourceReviewRequest = {
804
+ rating: number;
805
+ comment?: string | null;
806
+ };
807
+ export type ReviewAnswer = {
808
+ answer: string;
809
+ };
810
+ export type SourceProjectFile2 = {
725
811
  "type": "project_file";
726
812
  path: string;
727
813
  document_score: number;
728
814
  };
729
815
  export type ChatResponse2 = {
730
816
  answer: string;
731
- sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
817
+ sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2)[];
732
818
  };
733
819
  export type QuickCommandPromptResponse2 = {
734
820
  answer: string;
735
821
  sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
822
+ answer_status?: QuickCommandAnswerStatusResponse | null;
736
823
  };
737
824
  export type ChatRequest = {
738
825
  context?: {
@@ -741,14 +828,14 @@ export type ChatRequest = {
741
828
  user_prompt: string;
742
829
  project_id?: string | null;
743
830
  };
744
- export type SourceProjectFile4 = {
831
+ export type SourceProjectFile3 = {
745
832
  "type": "project_file";
746
833
  path: string;
747
834
  document_score: number;
748
835
  };
749
836
  export type ChatResponse3 = {
750
837
  answer: string;
751
- sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile4)[];
838
+ sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
752
839
  message_id: string | null;
753
840
  };
754
841
  /**
@@ -765,10 +852,11 @@ export function metricsMetricsGet(opts?: Oazapfts.RequestOpts) {
765
852
  /**
766
853
  * Workspace Fork
767
854
  */
768
- export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceForkRequest }: {
855
+ export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceForkRequest }: {
769
856
  authorization: string;
770
857
  xAccountId?: string | null;
771
858
  xMemberId?: string | null;
859
+ xUsername?: string | null;
772
860
  aiStackWorkspaceForkRequest: AiStackWorkspaceForkRequest;
773
861
  }, opts?: Oazapfts.RequestOpts) {
774
862
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -786,17 +874,19 @@ export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccou
786
874
  headers: oazapfts.mergeHeaders(opts?.headers, {
787
875
  authorization,
788
876
  "x-account-id": xAccountId,
789
- "x-member-id": xMemberId
877
+ "x-member-id": xMemberId,
878
+ "x-username": xUsername
790
879
  })
791
880
  })));
792
881
  }
793
882
  /**
794
883
  * Workspace Delete Fork
795
884
  */
796
- export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, aiStackWorkspaceDeleteRequest }: {
885
+ export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceDeleteRequest }: {
797
886
  authorization: string;
798
887
  xAccountId?: string | null;
799
888
  xMemberId?: string | null;
889
+ xUsername?: string | null;
800
890
  aiStackWorkspaceDeleteRequest: AiStackWorkspaceDeleteRequest;
801
891
  }, opts?: Oazapfts.RequestOpts) {
802
892
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -813,17 +903,19 @@ export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization
813
903
  headers: oazapfts.mergeHeaders(opts?.headers, {
814
904
  authorization,
815
905
  "x-account-id": xAccountId,
816
- "x-member-id": xMemberId
906
+ "x-member-id": xMemberId,
907
+ "x-username": xUsername
817
908
  })
818
909
  })));
819
910
  }
820
911
  /**
821
912
  * Workspace List
822
913
  */
823
- export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceListRequest }: {
914
+ export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceListRequest }: {
824
915
  authorization: string;
825
916
  xAccountId?: string | null;
826
917
  xMemberId?: string | null;
918
+ xUsername?: string | null;
827
919
  aiStackWorkspaceListRequest: AiStackWorkspaceListRequest;
828
920
  }, opts?: Oazapfts.RequestOpts) {
829
921
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -841,18 +933,20 @@ export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccou
841
933
  headers: oazapfts.mergeHeaders(opts?.headers, {
842
934
  authorization,
843
935
  "x-account-id": xAccountId,
844
- "x-member-id": xMemberId
936
+ "x-member-id": xMemberId,
937
+ "x-username": xUsername
845
938
  })
846
939
  })));
847
940
  }
848
941
  /**
849
942
  * List Ai Stacks
850
943
  */
851
- export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId }: {
944
+ export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId, xUsername }: {
852
945
  visibility?: VisibilityLevelEnum;
853
946
  authorization: string;
854
947
  xAccountId?: string | null;
855
948
  xMemberId?: string | null;
949
+ xUsername?: string | null;
856
950
  }, opts?: Oazapfts.RequestOpts) {
857
951
  return oazapfts.ok(oazapfts.fetchJson<{
858
952
  status: 200;
@@ -869,17 +963,19 @@ export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountI
869
963
  headers: oazapfts.mergeHeaders(opts?.headers, {
870
964
  authorization,
871
965
  "x-account-id": xAccountId,
872
- "x-member-id": xMemberId
966
+ "x-member-id": xMemberId,
967
+ "x-username": xUsername
873
968
  })
874
969
  }));
875
970
  }
876
971
  /**
877
972
  * Create Ai Stack
878
973
  */
879
- export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, newAiStackRequest }: {
974
+ export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, xUsername, newAiStackRequest }: {
880
975
  authorization: string;
881
976
  xAccountId?: string | null;
882
977
  xMemberId?: string | null;
978
+ xUsername?: string | null;
883
979
  newAiStackRequest: NewAiStackRequest;
884
980
  }, opts?: Oazapfts.RequestOpts) {
885
981
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -897,18 +993,20 @@ export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMember
897
993
  headers: oazapfts.mergeHeaders(opts?.headers, {
898
994
  authorization,
899
995
  "x-account-id": xAccountId,
900
- "x-member-id": xMemberId
996
+ "x-member-id": xMemberId,
997
+ "x-username": xUsername
901
998
  })
902
999
  })));
903
1000
  }
904
1001
  /**
905
1002
  * Update Ai Stack
906
1003
  */
907
- export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, updateAiStackRequest }: {
1004
+ export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, xUsername, updateAiStackRequest }: {
908
1005
  stackId: string;
909
1006
  authorization: string;
910
1007
  xAccountId?: string | null;
911
1008
  xMemberId?: string | null;
1009
+ xUsername?: string | null;
912
1010
  updateAiStackRequest: UpdateAiStackRequest;
913
1011
  }, opts?: Oazapfts.RequestOpts) {
914
1012
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -925,18 +1023,20 @@ export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xA
925
1023
  headers: oazapfts.mergeHeaders(opts?.headers, {
926
1024
  authorization,
927
1025
  "x-account-id": xAccountId,
928
- "x-member-id": xMemberId
1026
+ "x-member-id": xMemberId,
1027
+ "x-username": xUsername
929
1028
  })
930
1029
  })));
931
1030
  }
932
1031
  /**
933
1032
  * Get Ai Stack
934
1033
  */
935
- export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId }: {
1034
+ export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
936
1035
  stackId: string;
937
1036
  authorization: string;
938
1037
  xAccountId?: string | null;
939
1038
  xMemberId?: string | null;
1039
+ xUsername?: string | null;
940
1040
  }, opts?: Oazapfts.RequestOpts) {
941
1041
  return oazapfts.ok(oazapfts.fetchJson<{
942
1042
  status: 200;
@@ -951,18 +1051,20 @@ export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccoun
951
1051
  headers: oazapfts.mergeHeaders(opts?.headers, {
952
1052
  authorization,
953
1053
  "x-account-id": xAccountId,
954
- "x-member-id": xMemberId
1054
+ "x-member-id": xMemberId,
1055
+ "x-username": xUsername
955
1056
  })
956
1057
  }));
957
1058
  }
958
1059
  /**
959
1060
  * Remove Ai Stack
960
1061
  */
961
- export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId }: {
1062
+ export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
962
1063
  stackId: string;
963
1064
  authorization: string;
964
1065
  xAccountId?: string | null;
965
1066
  xMemberId?: string | null;
1067
+ xUsername?: string | null;
966
1068
  }, opts?: Oazapfts.RequestOpts) {
967
1069
  return oazapfts.ok(oazapfts.fetchJson<{
968
1070
  status: 200;
@@ -978,18 +1080,20 @@ export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, x
978
1080
  headers: oazapfts.mergeHeaders(opts?.headers, {
979
1081
  authorization,
980
1082
  "x-account-id": xAccountId,
981
- "x-member-id": xMemberId
1083
+ "x-member-id": xMemberId,
1084
+ "x-username": xUsername
982
1085
  })
983
1086
  }));
984
1087
  }
985
1088
  /**
986
1089
  * Get Ai Stack Exists
987
1090
  */
988
- export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId }: {
1091
+ export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId, xUsername }: {
989
1092
  stackName: string;
990
1093
  authorization: string;
991
1094
  xAccountId?: string | null;
992
1095
  xMemberId?: string | null;
1096
+ xUsername?: string | null;
993
1097
  }, opts?: Oazapfts.RequestOpts) {
994
1098
  return oazapfts.ok(oazapfts.fetchJson<{
995
1099
  status: 204;
@@ -1003,18 +1107,20 @@ export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, author
1003
1107
  headers: oazapfts.mergeHeaders(opts?.headers, {
1004
1108
  authorization,
1005
1109
  "x-account-id": xAccountId,
1006
- "x-member-id": xMemberId
1110
+ "x-member-id": xMemberId,
1111
+ "x-username": xUsername
1007
1112
  })
1008
1113
  }));
1009
1114
  }
1010
1115
  /**
1011
1116
  * Add Favorite
1012
1117
  */
1013
- export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId }: {
1118
+ export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
1014
1119
  stackId: string;
1015
1120
  authorization: string;
1016
1121
  xAccountId?: string | null;
1017
1122
  xMemberId?: string | null;
1123
+ xUsername?: string | null;
1018
1124
  }, opts?: Oazapfts.RequestOpts) {
1019
1125
  return oazapfts.ok(oazapfts.fetchJson<{
1020
1126
  status: 204;
@@ -1029,18 +1135,20 @@ export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorizatio
1029
1135
  headers: oazapfts.mergeHeaders(opts?.headers, {
1030
1136
  authorization,
1031
1137
  "x-account-id": xAccountId,
1032
- "x-member-id": xMemberId
1138
+ "x-member-id": xMemberId,
1139
+ "x-username": xUsername
1033
1140
  })
1034
1141
  }));
1035
1142
  }
1036
1143
  /**
1037
1144
  * Delete Favorite
1038
1145
  */
1039
- export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId }: {
1146
+ export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
1040
1147
  stackId: string;
1041
1148
  authorization: string;
1042
1149
  xAccountId?: string | null;
1043
1150
  xMemberId?: string | null;
1151
+ xUsername?: string | null;
1044
1152
  }, opts?: Oazapfts.RequestOpts) {
1045
1153
  return oazapfts.ok(oazapfts.fetchJson<{
1046
1154
  status: 204;
@@ -1055,18 +1163,20 @@ export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authori
1055
1163
  headers: oazapfts.mergeHeaders(opts?.headers, {
1056
1164
  authorization,
1057
1165
  "x-account-id": xAccountId,
1058
- "x-member-id": xMemberId
1166
+ "x-member-id": xMemberId,
1167
+ "x-username": xUsername
1059
1168
  })
1060
1169
  }));
1061
1170
  }
1062
1171
  /**
1063
1172
  * Fork
1064
1173
  */
1065
- export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, aiStackForkRequest }: {
1174
+ export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackForkRequest }: {
1066
1175
  stackId: string;
1067
1176
  authorization: string;
1068
1177
  xAccountId?: string | null;
1069
1178
  xMemberId?: string | null;
1179
+ xUsername?: string | null;
1070
1180
  aiStackForkRequest: AiStackForkRequest;
1071
1181
  }, opts?: Oazapfts.RequestOpts) {
1072
1182
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1084,18 +1194,20 @@ export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccount
1084
1194
  headers: oazapfts.mergeHeaders(opts?.headers, {
1085
1195
  authorization,
1086
1196
  "x-account-id": xAccountId,
1087
- "x-member-id": xMemberId
1197
+ "x-member-id": xMemberId,
1198
+ "x-username": xUsername
1088
1199
  })
1089
1200
  })));
1090
1201
  }
1091
1202
  /**
1092
1203
  * Share
1093
1204
  */
1094
- export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId }: {
1205
+ export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
1095
1206
  stackId: string;
1096
1207
  authorization: string;
1097
1208
  xAccountId?: string | null;
1098
1209
  xMemberId?: string | null;
1210
+ xUsername?: string | null;
1099
1211
  }, opts?: Oazapfts.RequestOpts) {
1100
1212
  return oazapfts.ok(oazapfts.fetchJson<{
1101
1213
  status: 204;
@@ -1110,18 +1222,20 @@ export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccou
1110
1222
  headers: oazapfts.mergeHeaders(opts?.headers, {
1111
1223
  authorization,
1112
1224
  "x-account-id": xAccountId,
1113
- "x-member-id": xMemberId
1225
+ "x-member-id": xMemberId,
1226
+ "x-username": xUsername
1114
1227
  })
1115
1228
  }));
1116
1229
  }
1117
1230
  /**
1118
1231
  * Publish
1119
1232
  */
1120
- export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, aiStackPublishRequest }: {
1233
+ export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackPublishRequest }: {
1121
1234
  stackId: string;
1122
1235
  authorization: string;
1123
1236
  xAccountId?: string | null;
1124
1237
  xMemberId?: string | null;
1238
+ xUsername?: string | null;
1125
1239
  aiStackPublishRequest?: AiStackPublishRequest;
1126
1240
  }, opts?: Oazapfts.RequestOpts) {
1127
1241
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1138,7 +1252,8 @@ export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xA
1138
1252
  headers: oazapfts.mergeHeaders(opts?.headers, {
1139
1253
  authorization,
1140
1254
  "x-account-id": xAccountId,
1141
- "x-member-id": xMemberId
1255
+ "x-member-id": xMemberId,
1256
+ "x-username": xUsername
1142
1257
  })
1143
1258
  })));
1144
1259
  }
@@ -1169,10 +1284,11 @@ export function projectFilesV1ProjectFilesPost({ authorization, newProjectFilesR
1169
1284
  /**
1170
1285
  * Quick Actions
1171
1286
  */
1172
- export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, quickActionsRequest }: {
1287
+ export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, xUsername, quickActionsRequest }: {
1173
1288
  authorization: string;
1174
1289
  xAccountId?: string | null;
1175
1290
  xMemberId?: string | null;
1291
+ xUsername?: string | null;
1176
1292
  quickActionsRequest: QuickActionsRequest;
1177
1293
  }, opts?: Oazapfts.RequestOpts) {
1178
1294
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1190,7 +1306,8 @@ export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMem
1190
1306
  headers: oazapfts.mergeHeaders(opts?.headers, {
1191
1307
  authorization,
1192
1308
  "x-account-id": xAccountId,
1193
- "x-member-id": xMemberId
1309
+ "x-member-id": xMemberId,
1310
+ "x-username": xUsername
1194
1311
  })
1195
1312
  })));
1196
1313
  }
@@ -1211,10 +1328,11 @@ export function devAssistantV1ChatPost(opts?: Oazapfts.RequestOpts) {
1211
1328
  /**
1212
1329
  * Autocomplete V1
1213
1330
  */
1214
- export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, autoCompleteRequest }: {
1331
+ export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, xUsername, autoCompleteRequest }: {
1215
1332
  authorization: string;
1216
1333
  xAccountId?: string | null;
1217
1334
  xMemberId?: string | null;
1335
+ xUsername?: string | null;
1218
1336
  autoCompleteRequest: AutoCompleteRequest;
1219
1337
  }, opts?: Oazapfts.RequestOpts) {
1220
1338
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1232,17 +1350,19 @@ export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xM
1232
1350
  headers: oazapfts.mergeHeaders(opts?.headers, {
1233
1351
  authorization,
1234
1352
  "x-account-id": xAccountId,
1235
- "x-member-id": xMemberId
1353
+ "x-member-id": xMemberId,
1354
+ "x-username": xUsername
1236
1355
  })
1237
1356
  })));
1238
1357
  }
1239
1358
  /**
1240
1359
  * Post Event
1241
1360
  */
1242
- export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, body }: {
1361
+ export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, xUsername, body }: {
1243
1362
  authorization: string;
1244
1363
  xAccountId?: string | null;
1245
1364
  xMemberId?: string | null;
1365
+ xUsername?: string | null;
1246
1366
  body: GenericEventRequest[];
1247
1367
  }, opts?: Oazapfts.RequestOpts) {
1248
1368
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1259,7 +1379,8 @@ export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, bo
1259
1379
  headers: oazapfts.mergeHeaders(opts?.headers, {
1260
1380
  authorization,
1261
1381
  "x-account-id": xAccountId,
1262
- "x-member-id": xMemberId
1382
+ "x-member-id": xMemberId,
1383
+ "x-username": xUsername
1263
1384
  })
1264
1385
  })));
1265
1386
  }
@@ -1348,7 +1469,7 @@ export function createKnowledgeSourceV1KnowledgeSourcesPost({ authorization, new
1348
1469
  /**
1349
1470
  * List Knowledge Sources
1350
1471
  */
1351
- export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId }: {
1472
+ export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId, xUsername }: {
1352
1473
  visibility?: VisibilityLevelEnum;
1353
1474
  order?: OrderEnum;
1354
1475
  $default?: boolean | null;
@@ -1356,6 +1477,7 @@ export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $
1356
1477
  authorization: string;
1357
1478
  xAccountId?: string | null;
1358
1479
  xMemberId?: string | null;
1480
+ xUsername?: string | null;
1359
1481
  }, opts?: Oazapfts.RequestOpts) {
1360
1482
  return oazapfts.ok(oazapfts.fetchJson<{
1361
1483
  status: 200;
@@ -1375,7 +1497,8 @@ export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $
1375
1497
  headers: oazapfts.mergeHeaders(opts?.headers, {
1376
1498
  authorization,
1377
1499
  "x-account-id": xAccountId,
1378
- "x-member-id": xMemberId
1500
+ "x-member-id": xMemberId,
1501
+ "x-username": xUsername
1379
1502
  })
1380
1503
  }));
1381
1504
  }
@@ -1428,11 +1551,12 @@ export function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug, authori
1428
1551
  /**
1429
1552
  * Delete Knowledge Source
1430
1553
  */
1431
- export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
1554
+ export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1432
1555
  slug: string;
1433
1556
  authorization: string;
1434
1557
  xAccountId?: string | null;
1435
1558
  xMemberId?: string | null;
1559
+ xUsername?: string | null;
1436
1560
  }, opts?: Oazapfts.RequestOpts) {
1437
1561
  return oazapfts.ok(oazapfts.fetchJson<{
1438
1562
  status: 204;
@@ -1447,7 +1571,8 @@ export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, author
1447
1571
  headers: oazapfts.mergeHeaders(opts?.headers, {
1448
1572
  authorization,
1449
1573
  "x-account-id": xAccountId,
1450
- "x-member-id": xMemberId
1574
+ "x-member-id": xMemberId,
1575
+ "x-username": xUsername
1451
1576
  })
1452
1577
  }));
1453
1578
  }
@@ -1475,13 +1600,14 @@ export function existsKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ slug, aut
1475
1600
  /**
1476
1601
  * Search
1477
1602
  */
1478
- export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId }: {
1603
+ export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId, xUsername }: {
1479
1604
  slug: string;
1480
1605
  q: string;
1481
1606
  size?: number;
1482
1607
  authorization: string;
1483
1608
  xAccountId?: string | null;
1484
1609
  xMemberId?: string | null;
1610
+ xUsername?: string | null;
1485
1611
  }, opts?: Oazapfts.RequestOpts) {
1486
1612
  return oazapfts.ok(oazapfts.fetchJson<{
1487
1613
  status: 200;
@@ -1499,7 +1625,8 @@ export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size,
1499
1625
  headers: oazapfts.mergeHeaders(opts?.headers, {
1500
1626
  authorization,
1501
1627
  "x-account-id": xAccountId,
1502
- "x-member-id": xMemberId
1628
+ "x-member-id": xMemberId,
1629
+ "x-username": xUsername
1503
1630
  })
1504
1631
  }));
1505
1632
  }
@@ -1718,11 +1845,12 @@ export function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsIdGet({ sl
1718
1845
  /**
1719
1846
  * Vectorize Snippet Knowledge Source
1720
1847
  */
1721
- export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, snippetKnowledgeSourceRequest }: {
1848
+ export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, xUsername, snippetKnowledgeSourceRequest }: {
1722
1849
  slug: string;
1723
1850
  authorization: string;
1724
1851
  xAccountId?: string | null;
1725
1852
  xMemberId?: string | null;
1853
+ xUsername?: string | null;
1726
1854
  snippetKnowledgeSourceRequest: SnippetKnowledgeSourceRequest;
1727
1855
  }, opts?: Oazapfts.RequestOpts) {
1728
1856
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1739,7 +1867,8 @@ export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPos
1739
1867
  headers: oazapfts.mergeHeaders(opts?.headers, {
1740
1868
  authorization,
1741
1869
  "x-account-id": xAccountId,
1742
- "x-member-id": xMemberId
1870
+ "x-member-id": xMemberId,
1871
+ "x-username": xUsername
1743
1872
  })
1744
1873
  })));
1745
1874
  }
@@ -1792,11 +1921,12 @@ export function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet({ slug,
1792
1921
  /**
1793
1922
  * Vectorize Event Knowledge Source
1794
1923
  */
1795
- export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, body }: {
1924
+ export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, xUsername, body }: {
1796
1925
  slug: string;
1797
1926
  authorization: string;
1798
1927
  xAccountId?: string | null;
1799
1928
  xMemberId?: string | null;
1929
+ xUsername?: string | null;
1800
1930
  body: {
1801
1931
  [key: string]: any;
1802
1932
  };
@@ -1815,7 +1945,8 @@ export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({
1815
1945
  headers: oazapfts.mergeHeaders(opts?.headers, {
1816
1946
  authorization,
1817
1947
  "x-account-id": xAccountId,
1818
- "x-member-id": xMemberId
1948
+ "x-member-id": xMemberId,
1949
+ "x-username": xUsername
1819
1950
  })
1820
1951
  })));
1821
1952
  }
@@ -1845,11 +1976,12 @@ export function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet({ slug,
1845
1976
  /**
1846
1977
  * Vectorize Custom Knowledge Source
1847
1978
  */
1848
- export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, customKnowledgeSourceRequest }: {
1979
+ export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, xUsername, customKnowledgeSourceRequest }: {
1849
1980
  slug: string;
1850
1981
  authorization: string;
1851
1982
  xAccountId?: string | null;
1852
1983
  xMemberId?: string | null;
1984
+ xUsername?: string | null;
1853
1985
  customKnowledgeSourceRequest: CustomKnowledgeSourceRequest;
1854
1986
  }, opts?: Oazapfts.RequestOpts) {
1855
1987
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1866,7 +1998,8 @@ export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({
1866
1998
  headers: oazapfts.mergeHeaders(opts?.headers, {
1867
1999
  authorization,
1868
2000
  "x-account-id": xAccountId,
1869
- "x-member-id": xMemberId
2001
+ "x-member-id": xMemberId,
2002
+ "x-username": xUsername
1870
2003
  })
1871
2004
  })));
1872
2005
  }
@@ -1911,10 +2044,11 @@ export function searchKnowledgeSourcesV1KnowledgeSourcesSearchPost({ authorizati
1911
2044
  /**
1912
2045
  * Change Llm
1913
2046
  */
1914
- export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeLlmRequest }: {
2047
+ export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLlmRequest }: {
1915
2048
  authorization: string;
1916
2049
  xAccountId?: string | null;
1917
2050
  xMemberId?: string | null;
2051
+ xUsername?: string | null;
1918
2052
  accountSettingsChangeLlmRequest: AccountSettingsChangeLlmRequest;
1919
2053
  }, opts?: Oazapfts.RequestOpts) {
1920
2054
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1931,17 +2065,19 @@ export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMember
1931
2065
  headers: oazapfts.mergeHeaders(opts?.headers, {
1932
2066
  authorization,
1933
2067
  "x-account-id": xAccountId,
1934
- "x-member-id": xMemberId
2068
+ "x-member-id": xMemberId,
2069
+ "x-username": xUsername
1935
2070
  })
1936
2071
  })));
1937
2072
  }
1938
2073
  /**
1939
2074
  * Change Limit
1940
2075
  */
1941
- export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, accountSettingsChangeLimitRequest }: {
2076
+ export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLimitRequest }: {
1942
2077
  authorization: string;
1943
2078
  xAccountId?: string | null;
1944
2079
  xMemberId?: string | null;
2080
+ xUsername?: string | null;
1945
2081
  accountSettingsChangeLimitRequest: AccountSettingsChangeLimitRequest;
1946
2082
  }, opts?: Oazapfts.RequestOpts) {
1947
2083
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -1958,17 +2094,19 @@ export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId,
1958
2094
  headers: oazapfts.mergeHeaders(opts?.headers, {
1959
2095
  authorization,
1960
2096
  "x-account-id": xAccountId,
1961
- "x-member-id": xMemberId
2097
+ "x-member-id": xMemberId,
2098
+ "x-username": xUsername
1962
2099
  })
1963
2100
  })));
1964
2101
  }
1965
2102
  /**
1966
2103
  * Reset Limit
1967
2104
  */
1968
- export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId }: {
2105
+ export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId, xUsername }: {
1969
2106
  authorization: string;
1970
2107
  xAccountId?: string | null;
1971
2108
  xMemberId?: string | null;
2109
+ xUsername?: string | null;
1972
2110
  }, opts?: Oazapfts.RequestOpts) {
1973
2111
  return oazapfts.ok(oazapfts.fetchJson<{
1974
2112
  status: 204;
@@ -1983,17 +2121,19 @@ export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountI
1983
2121
  headers: oazapfts.mergeHeaders(opts?.headers, {
1984
2122
  authorization,
1985
2123
  "x-account-id": xAccountId,
1986
- "x-member-id": xMemberId
2124
+ "x-member-id": xMemberId,
2125
+ "x-username": xUsername
1987
2126
  })
1988
2127
  }));
1989
2128
  }
1990
2129
  /**
1991
2130
  * Change External Rqc
1992
2131
  */
1993
- export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeErqcRequest }: {
2132
+ export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeErqcRequest }: {
1994
2133
  authorization: string;
1995
2134
  xAccountId?: string | null;
1996
2135
  xMemberId?: string | null;
2136
+ xUsername?: string | null;
1997
2137
  accountSettingsChangeErqcRequest: AccountSettingsChangeErqcRequest;
1998
2138
  }, opts?: Oazapfts.RequestOpts) {
1999
2139
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2010,7 +2150,8 @@ export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAc
2010
2150
  headers: oazapfts.mergeHeaders(opts?.headers, {
2011
2151
  authorization,
2012
2152
  "x-account-id": xAccountId,
2013
- "x-member-id": xMemberId
2153
+ "x-member-id": xMemberId,
2154
+ "x-username": xUsername
2014
2155
  })
2015
2156
  })));
2016
2157
  }
@@ -2051,23 +2192,38 @@ export function changeExternalConfigsV1AccountsExternalConfigPatch({ body }: {
2051
2192
  /**
2052
2193
  * Tokens Usage
2053
2194
  */
2054
- export function tokensUsageV1AccountsTokensUsageGet(opts?: Oazapfts.RequestOpts) {
2195
+ export function tokensUsageV1AccountsTokensUsageGet({ authorization, xAccountId, xMemberId, xUsername }: {
2196
+ authorization: string;
2197
+ xAccountId?: string | null;
2198
+ xMemberId?: string | null;
2199
+ xUsername?: string | null;
2200
+ }, opts?: Oazapfts.RequestOpts) {
2055
2201
  return oazapfts.ok(oazapfts.fetchJson<{
2056
2202
  status: 200;
2057
2203
  data: AccountTokenUsage;
2058
2204
  } | {
2059
2205
  status: 404;
2206
+ } | {
2207
+ status: 422;
2208
+ data: HttpValidationError;
2060
2209
  }>("/v1/accounts/tokens-usage", {
2061
- ...opts
2210
+ ...opts,
2211
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2212
+ authorization,
2213
+ "x-account-id": xAccountId,
2214
+ "x-member-id": xMemberId,
2215
+ "x-username": xUsername
2216
+ })
2062
2217
  }));
2063
2218
  }
2064
2219
  /**
2065
- * Current
2220
+ * Total
2066
2221
  */
2067
- export function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId }: {
2222
+ export function totalV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId, xUsername }: {
2068
2223
  authorization: string;
2069
2224
  xAccountId?: string | null;
2070
2225
  xMemberId?: string | null;
2226
+ xUsername?: string | null;
2071
2227
  }, opts?: Oazapfts.RequestOpts) {
2072
2228
  return oazapfts.ok(oazapfts.fetchJson<{
2073
2229
  status: 200;
@@ -2082,19 +2238,21 @@ export function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMembe
2082
2238
  headers: oazapfts.mergeHeaders(opts?.headers, {
2083
2239
  authorization,
2084
2240
  "x-account-id": xAccountId,
2085
- "x-member-id": xMemberId
2241
+ "x-member-id": xMemberId,
2242
+ "x-username": xUsername
2086
2243
  })
2087
2244
  }));
2088
2245
  }
2089
2246
  /**
2090
2247
  * Current
2091
2248
  */
2092
- export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId }: {
2093
- year: number;
2094
- month: number;
2249
+ export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
2250
+ year?: number | null;
2251
+ month?: number | null;
2095
2252
  authorization: string;
2096
2253
  xAccountId?: string | null;
2097
2254
  xMemberId?: string | null;
2255
+ xUsername?: string | null;
2098
2256
  }, opts?: Oazapfts.RequestOpts) {
2099
2257
  return oazapfts.ok(oazapfts.fetchJson<{
2100
2258
  status: 200;
@@ -2112,18 +2270,20 @@ export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAc
2112
2270
  headers: oazapfts.mergeHeaders(opts?.headers, {
2113
2271
  authorization,
2114
2272
  "x-account-id": xAccountId,
2115
- "x-member-id": xMemberId
2273
+ "x-member-id": xMemberId,
2274
+ "x-username": xUsername
2116
2275
  })
2117
2276
  }));
2118
2277
  }
2119
2278
  /**
2120
2279
  * Monthly
2121
2280
  */
2122
- export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId }: {
2281
+ export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId, xUsername }: {
2123
2282
  year: number;
2124
2283
  authorization: string;
2125
2284
  xAccountId?: string | null;
2126
2285
  xMemberId?: string | null;
2286
+ xUsername?: string | null;
2127
2287
  }, opts?: Oazapfts.RequestOpts) {
2128
2288
  return oazapfts.ok(oazapfts.fetchJson<{
2129
2289
  status: 200;
@@ -2140,19 +2300,21 @@ export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId
2140
2300
  headers: oazapfts.mergeHeaders(opts?.headers, {
2141
2301
  authorization,
2142
2302
  "x-account-id": xAccountId,
2143
- "x-member-id": xMemberId
2303
+ "x-member-id": xMemberId,
2304
+ "x-username": xUsername
2144
2305
  })
2145
2306
  }));
2146
2307
  }
2147
2308
  /**
2148
2309
  * Top Users
2149
2310
  */
2150
- export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId }: {
2311
+ export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
2151
2312
  year: number;
2152
2313
  month: number;
2153
2314
  authorization: string;
2154
2315
  xAccountId?: string | null;
2155
2316
  xMemberId?: string | null;
2317
+ xUsername?: string | null;
2156
2318
  }, opts?: Oazapfts.RequestOpts) {
2157
2319
  return oazapfts.ok(oazapfts.fetchJson<{
2158
2320
  status: 200;
@@ -2170,18 +2332,20 @@ export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, x
2170
2332
  headers: oazapfts.mergeHeaders(opts?.headers, {
2171
2333
  authorization,
2172
2334
  "x-account-id": xAccountId,
2173
- "x-member-id": xMemberId
2335
+ "x-member-id": xMemberId,
2336
+ "x-username": xUsername
2174
2337
  })
2175
2338
  }));
2176
2339
  }
2177
2340
  /**
2178
2341
  * Add Association
2179
2342
  */
2180
- export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, addWorkspaceKnowledgeSourceRequest }: {
2343
+ export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, xUsername, addWorkspaceKnowledgeSourceRequest }: {
2181
2344
  workspaceId: string;
2182
2345
  authorization: string;
2183
2346
  xAccountId?: string | null;
2184
2347
  xMemberId?: string | null;
2348
+ xUsername?: string | null;
2185
2349
  addWorkspaceKnowledgeSourceRequest: AddWorkspaceKnowledgeSourceRequest;
2186
2350
  }, opts?: Oazapfts.RequestOpts) {
2187
2351
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2198,18 +2362,20 @@ export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authoriz
2198
2362
  headers: oazapfts.mergeHeaders(opts?.headers, {
2199
2363
  authorization,
2200
2364
  "x-account-id": xAccountId,
2201
- "x-member-id": xMemberId
2365
+ "x-member-id": xMemberId,
2366
+ "x-username": xUsername
2202
2367
  })
2203
2368
  })));
2204
2369
  }
2205
2370
  /**
2206
2371
  * List Association
2207
2372
  */
2208
- export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
2373
+ export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
2209
2374
  workspaceId: string;
2210
2375
  authorization: string;
2211
2376
  xAccountId?: string | null;
2212
2377
  xMemberId?: string | null;
2378
+ xUsername?: string | null;
2213
2379
  }, opts?: Oazapfts.RequestOpts) {
2214
2380
  return oazapfts.ok(oazapfts.fetchJson<{
2215
2381
  status: 200;
@@ -2224,19 +2390,21 @@ export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authoriz
2224
2390
  headers: oazapfts.mergeHeaders(opts?.headers, {
2225
2391
  authorization,
2226
2392
  "x-account-id": xAccountId,
2227
- "x-member-id": xMemberId
2393
+ "x-member-id": xMemberId,
2394
+ "x-username": xUsername
2228
2395
  })
2229
2396
  }));
2230
2397
  }
2231
2398
  /**
2232
2399
  * Delete Association
2233
2400
  */
2234
- export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId }: {
2401
+ export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId, xUsername }: {
2235
2402
  workspaceId: string;
2236
2403
  knowledgeSourceSlug: string;
2237
2404
  authorization: string;
2238
2405
  xAccountId?: string | null;
2239
2406
  xMemberId?: string | null;
2407
+ xUsername?: string | null;
2240
2408
  }, opts?: Oazapfts.RequestOpts) {
2241
2409
  return oazapfts.ok(oazapfts.fetchJson<{
2242
2410
  status: 204;
@@ -2251,17 +2419,19 @@ export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeS
2251
2419
  headers: oazapfts.mergeHeaders(opts?.headers, {
2252
2420
  authorization,
2253
2421
  "x-account-id": xAccountId,
2254
- "x-member-id": xMemberId
2422
+ "x-member-id": xMemberId,
2423
+ "x-username": xUsername
2255
2424
  })
2256
2425
  }));
2257
2426
  }
2258
2427
  /**
2259
2428
  * Workspace Fork
2260
2429
  */
2261
- export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceForkRequest }: {
2430
+ export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceForkRequest }: {
2262
2431
  authorization: string;
2263
2432
  xAccountId?: string | null;
2264
2433
  xMemberId?: string | null;
2434
+ xUsername?: string | null;
2265
2435
  quickCommandWorkspaceForkRequest: QuickCommandWorkspaceForkRequest;
2266
2436
  }, opts?: Oazapfts.RequestOpts) {
2267
2437
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2279,17 +2449,19 @@ export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, x
2279
2449
  headers: oazapfts.mergeHeaders(opts?.headers, {
2280
2450
  authorization,
2281
2451
  "x-account-id": xAccountId,
2282
- "x-member-id": xMemberId
2452
+ "x-member-id": xMemberId,
2453
+ "x-username": xUsername
2283
2454
  })
2284
2455
  })));
2285
2456
  }
2286
2457
  /**
2287
2458
  * Workspace Delete Fork
2288
2459
  */
2289
- export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, quickCommandWorkspaceDeleteRequest }: {
2460
+ export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceDeleteRequest }: {
2290
2461
  authorization: string;
2291
2462
  xAccountId?: string | null;
2292
2463
  xMemberId?: string | null;
2464
+ xUsername?: string | null;
2293
2465
  quickCommandWorkspaceDeleteRequest: QuickCommandWorkspaceDeleteRequest;
2294
2466
  }, opts?: Oazapfts.RequestOpts) {
2295
2467
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2306,17 +2478,19 @@ export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authoriz
2306
2478
  headers: oazapfts.mergeHeaders(opts?.headers, {
2307
2479
  authorization,
2308
2480
  "x-account-id": xAccountId,
2309
- "x-member-id": xMemberId
2481
+ "x-member-id": xMemberId,
2482
+ "x-username": xUsername
2310
2483
  })
2311
2484
  })));
2312
2485
  }
2313
2486
  /**
2314
2487
  * Workspace List
2315
2488
  */
2316
- export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceListRequest }: {
2489
+ export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceListRequest }: {
2317
2490
  authorization: string;
2318
2491
  xAccountId?: string | null;
2319
2492
  xMemberId?: string | null;
2493
+ xUsername?: string | null;
2320
2494
  quickCommandWorkspaceListRequest: QuickCommandWorkspaceListRequest;
2321
2495
  }, opts?: Oazapfts.RequestOpts) {
2322
2496
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2334,17 +2508,19 @@ export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, x
2334
2508
  headers: oazapfts.mergeHeaders(opts?.headers, {
2335
2509
  authorization,
2336
2510
  "x-account-id": xAccountId,
2337
- "x-member-id": xMemberId
2511
+ "x-member-id": xMemberId,
2512
+ "x-username": xUsername
2338
2513
  })
2339
2514
  })));
2340
2515
  }
2341
2516
  /**
2342
2517
  * Create Quick Command
2343
2518
  */
2344
- export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, quickCommandsCreateRequest }: {
2519
+ export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandsCreateRequest }: {
2345
2520
  authorization: string;
2346
2521
  xAccountId?: string | null;
2347
2522
  xMemberId?: string | null;
2523
+ xUsername?: string | null;
2348
2524
  quickCommandsCreateRequest: QuickCommandsCreateRequest;
2349
2525
  }, opts?: Oazapfts.RequestOpts) {
2350
2526
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2362,20 +2538,22 @@ export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountI
2362
2538
  headers: oazapfts.mergeHeaders(opts?.headers, {
2363
2539
  authorization,
2364
2540
  "x-account-id": xAccountId,
2365
- "x-member-id": xMemberId
2541
+ "x-member-id": xMemberId,
2542
+ "x-username": xUsername
2366
2543
  })
2367
2544
  })));
2368
2545
  }
2369
2546
  /**
2370
2547
  * List All
2371
2548
  */
2372
- export function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
2549
+ export function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
2373
2550
  visibility?: VisibilityLevelEnum | null;
2374
2551
  order?: OrderEnum;
2375
2552
  types?: QuickCommandTypeRequest[] | null;
2376
2553
  authorization: string;
2377
2554
  xAccountId?: string | null;
2378
2555
  xMemberId?: string | null;
2556
+ xUsername?: string | null;
2379
2557
  }, opts?: Oazapfts.RequestOpts) {
2380
2558
  return oazapfts.ok(oazapfts.fetchJson<{
2381
2559
  status: 200;
@@ -2394,18 +2572,20 @@ export function listAllV1QuickCommandsAllGet({ visibility, order, types, authori
2394
2572
  headers: oazapfts.mergeHeaders(opts?.headers, {
2395
2573
  authorization,
2396
2574
  "x-account-id": xAccountId,
2397
- "x-member-id": xMemberId
2575
+ "x-member-id": xMemberId,
2576
+ "x-username": xUsername
2398
2577
  })
2399
2578
  }));
2400
2579
  }
2401
2580
  /**
2402
2581
  * Update Quick Command
2403
2582
  */
2404
- export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, quickCommandsUpdateRequest }: {
2583
+ export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsUpdateRequest }: {
2405
2584
  slug: string;
2406
2585
  authorization: string;
2407
2586
  xAccountId?: string | null;
2408
2587
  xMemberId?: string | null;
2588
+ xUsername?: string | null;
2409
2589
  quickCommandsUpdateRequest: QuickCommandsUpdateRequest;
2410
2590
  }, opts?: Oazapfts.RequestOpts) {
2411
2591
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2422,19 +2602,21 @@ export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization
2422
2602
  headers: oazapfts.mergeHeaders(opts?.headers, {
2423
2603
  authorization,
2424
2604
  "x-account-id": xAccountId,
2425
- "x-member-id": xMemberId
2605
+ "x-member-id": xMemberId,
2606
+ "x-username": xUsername
2426
2607
  })
2427
2608
  })));
2428
2609
  }
2429
2610
  /**
2430
2611
  * Get Quick Command
2431
2612
  */
2432
- export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId }: {
2613
+ export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId, xUsername }: {
2433
2614
  slug: string;
2434
2615
  findAgents?: boolean;
2435
2616
  authorization: string;
2436
2617
  xAccountId?: string | null;
2437
2618
  xMemberId?: string | null;
2619
+ xUsername?: string | null;
2438
2620
  }, opts?: Oazapfts.RequestOpts) {
2439
2621
  return oazapfts.ok(oazapfts.fetchJson<{
2440
2622
  status: 200;
@@ -2451,18 +2633,20 @@ export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, author
2451
2633
  headers: oazapfts.mergeHeaders(opts?.headers, {
2452
2634
  authorization,
2453
2635
  "x-account-id": xAccountId,
2454
- "x-member-id": xMemberId
2636
+ "x-member-id": xMemberId,
2637
+ "x-username": xUsername
2455
2638
  })
2456
2639
  }));
2457
2640
  }
2458
2641
  /**
2459
2642
  * Delete Quick Command
2460
2643
  */
2461
- export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
2644
+ export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
2462
2645
  slug: string;
2463
2646
  authorization: string;
2464
2647
  xAccountId?: string | null;
2465
2648
  xMemberId?: string | null;
2649
+ xUsername?: string | null;
2466
2650
  }, opts?: Oazapfts.RequestOpts) {
2467
2651
  return oazapfts.ok(oazapfts.fetchJson<{
2468
2652
  status: 204;
@@ -2477,18 +2661,20 @@ export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorizatio
2477
2661
  headers: oazapfts.mergeHeaders(opts?.headers, {
2478
2662
  authorization,
2479
2663
  "x-account-id": xAccountId,
2480
- "x-member-id": xMemberId
2664
+ "x-member-id": xMemberId,
2665
+ "x-username": xUsername
2481
2666
  })
2482
2667
  }));
2483
2668
  }
2484
2669
  /**
2485
2670
  * Add Favorite
2486
2671
  */
2487
- export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId }: {
2672
+ export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
2488
2673
  slug: string;
2489
2674
  authorization: string;
2490
2675
  xAccountId?: string | null;
2491
2676
  xMemberId?: string | null;
2677
+ xUsername?: string | null;
2492
2678
  }, opts?: Oazapfts.RequestOpts) {
2493
2679
  return oazapfts.ok(oazapfts.fetchJson<{
2494
2680
  status: 204;
@@ -2503,18 +2689,20 @@ export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization
2503
2689
  headers: oazapfts.mergeHeaders(opts?.headers, {
2504
2690
  authorization,
2505
2691
  "x-account-id": xAccountId,
2506
- "x-member-id": xMemberId
2692
+ "x-member-id": xMemberId,
2693
+ "x-username": xUsername
2507
2694
  })
2508
2695
  }));
2509
2696
  }
2510
2697
  /**
2511
2698
  * Delete Favorite
2512
2699
  */
2513
- export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId }: {
2700
+ export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
2514
2701
  slug: string;
2515
2702
  authorization: string;
2516
2703
  xAccountId?: string | null;
2517
2704
  xMemberId?: string | null;
2705
+ xUsername?: string | null;
2518
2706
  }, opts?: Oazapfts.RequestOpts) {
2519
2707
  return oazapfts.ok(oazapfts.fetchJson<{
2520
2708
  status: 204;
@@ -2529,18 +2717,20 @@ export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authoriz
2529
2717
  headers: oazapfts.mergeHeaders(opts?.headers, {
2530
2718
  authorization,
2531
2719
  "x-account-id": xAccountId,
2532
- "x-member-id": xMemberId
2720
+ "x-member-id": xMemberId,
2721
+ "x-username": xUsername
2533
2722
  })
2534
2723
  }));
2535
2724
  }
2536
2725
  /**
2537
2726
  * Share
2538
2727
  */
2539
- export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId }: {
2728
+ export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
2540
2729
  slug: string;
2541
2730
  authorization: string;
2542
2731
  xAccountId?: string | null;
2543
2732
  xMemberId?: string | null;
2733
+ xUsername?: string | null;
2544
2734
  }, opts?: Oazapfts.RequestOpts) {
2545
2735
  return oazapfts.ok(oazapfts.fetchJson<{
2546
2736
  status: 204;
@@ -2555,18 +2745,20 @@ export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccoun
2555
2745
  headers: oazapfts.mergeHeaders(opts?.headers, {
2556
2746
  authorization,
2557
2747
  "x-account-id": xAccountId,
2558
- "x-member-id": xMemberId
2748
+ "x-member-id": xMemberId,
2749
+ "x-username": xUsername
2559
2750
  })
2560
2751
  }));
2561
2752
  }
2562
2753
  /**
2563
2754
  * Publish
2564
2755
  */
2565
- export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, quickCommandPublishRequest }: {
2756
+ export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }: {
2566
2757
  slug: string;
2567
2758
  authorization: string;
2568
2759
  xAccountId?: string | null;
2569
2760
  xMemberId?: string | null;
2761
+ xUsername?: string | null;
2570
2762
  quickCommandPublishRequest?: QuickCommandPublishRequest;
2571
2763
  }, opts?: Oazapfts.RequestOpts) {
2572
2764
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2583,18 +2775,20 @@ export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAc
2583
2775
  headers: oazapfts.mergeHeaders(opts?.headers, {
2584
2776
  authorization,
2585
2777
  "x-account-id": xAccountId,
2586
- "x-member-id": xMemberId
2778
+ "x-member-id": xMemberId,
2779
+ "x-username": xUsername
2587
2780
  })
2588
2781
  })));
2589
2782
  }
2590
2783
  /**
2591
2784
  * Fork
2592
2785
  */
2593
- export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, quickCommandsMakeACopyRequest }: {
2786
+ export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsMakeACopyRequest }: {
2594
2787
  slug: string;
2595
2788
  authorization: string;
2596
2789
  xAccountId?: string | null;
2597
2790
  xMemberId?: string | null;
2791
+ xUsername?: string | null;
2598
2792
  quickCommandsMakeACopyRequest: QuickCommandsMakeACopyRequest;
2599
2793
  }, opts?: Oazapfts.RequestOpts) {
2600
2794
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2612,18 +2806,20 @@ export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountI
2612
2806
  headers: oazapfts.mergeHeaders(opts?.headers, {
2613
2807
  authorization,
2614
2808
  "x-account-id": xAccountId,
2615
- "x-member-id": xMemberId
2809
+ "x-member-id": xMemberId,
2810
+ "x-username": xUsername
2616
2811
  })
2617
2812
  })));
2618
2813
  }
2619
2814
  /**
2620
- * Get Quick Command
2815
+ * Check Quick Command Exists
2621
2816
  */
2622
- export function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId }: {
2817
+ export function checkQuickCommandExistsV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
2623
2818
  slug: string;
2624
2819
  authorization: string;
2625
2820
  xAccountId?: string | null;
2626
2821
  xMemberId?: string | null;
2822
+ xUsername?: string | null;
2627
2823
  }, opts?: Oazapfts.RequestOpts) {
2628
2824
  return oazapfts.ok(oazapfts.fetchJson<{
2629
2825
  status: 204;
@@ -2637,18 +2833,20 @@ export function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorizatio
2637
2833
  headers: oazapfts.mergeHeaders(opts?.headers, {
2638
2834
  authorization,
2639
2835
  "x-account-id": xAccountId,
2640
- "x-member-id": xMemberId
2836
+ "x-member-id": xMemberId,
2837
+ "x-username": xUsername
2641
2838
  })
2642
2839
  }));
2643
2840
  }
2644
2841
  /**
2645
2842
  * Get Quick Command By Ks Slug
2646
2843
  */
2647
- export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId }: {
2844
+ export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
2648
2845
  slug: string;
2649
2846
  authorization: string;
2650
2847
  xAccountId?: string | null;
2651
2848
  xMemberId?: string | null;
2849
+ xUsername?: string | null;
2652
2850
  }, opts?: Oazapfts.RequestOpts) {
2653
2851
  return oazapfts.ok(oazapfts.fetchJson<{
2654
2852
  status: 200;
@@ -2663,18 +2861,20 @@ export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({
2663
2861
  headers: oazapfts.mergeHeaders(opts?.headers, {
2664
2862
  authorization,
2665
2863
  "x-account-id": xAccountId,
2666
- "x-member-id": xMemberId
2864
+ "x-member-id": xMemberId,
2865
+ "x-username": xUsername
2667
2866
  })
2668
2867
  }));
2669
2868
  }
2670
2869
  /**
2671
2870
  * Get Quick Commands By Agent Id
2672
2871
  */
2673
- export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId }: {
2872
+ export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
2674
2873
  agentId: string;
2675
2874
  authorization: string;
2676
2875
  xAccountId?: string | null;
2677
2876
  xMemberId?: string | null;
2877
+ xUsername?: string | null;
2678
2878
  }, opts?: Oazapfts.RequestOpts) {
2679
2879
  return oazapfts.ok(oazapfts.fetchJson<{
2680
2880
  status: 200;
@@ -2689,18 +2889,20 @@ export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agent
2689
2889
  headers: oazapfts.mergeHeaders(opts?.headers, {
2690
2890
  authorization,
2691
2891
  "x-account-id": xAccountId,
2692
- "x-member-id": xMemberId
2892
+ "x-member-id": xMemberId,
2893
+ "x-username": xUsername
2693
2894
  })
2694
2895
  }));
2695
2896
  }
2696
2897
  /**
2697
2898
  * Disassociate Agent
2698
2899
  */
2699
- export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId }: {
2900
+ export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
2700
2901
  agentId: string;
2701
2902
  authorization: string;
2702
2903
  xAccountId?: string | null;
2703
2904
  xMemberId?: string | null;
2905
+ xUsername?: string | null;
2704
2906
  }, opts?: Oazapfts.RequestOpts) {
2705
2907
  return oazapfts.ok(oazapfts.fetchJson<{
2706
2908
  status: 200;
@@ -2716,18 +2918,20 @@ export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, a
2716
2918
  headers: oazapfts.mergeHeaders(opts?.headers, {
2717
2919
  authorization,
2718
2920
  "x-account-id": xAccountId,
2719
- "x-member-id": xMemberId
2921
+ "x-member-id": xMemberId,
2922
+ "x-username": xUsername
2720
2923
  })
2721
2924
  }));
2722
2925
  }
2723
2926
  /**
2724
2927
  * List By Workspace Id
2725
2928
  */
2726
- export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
2929
+ export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
2727
2930
  workspaceId: string;
2728
2931
  authorization: string;
2729
2932
  xAccountId?: string | null;
2730
2933
  xMemberId?: string | null;
2934
+ xUsername?: string | null;
2731
2935
  }, opts?: Oazapfts.RequestOpts) {
2732
2936
  return oazapfts.ok(oazapfts.fetchJson<{
2733
2937
  status: 200;
@@ -2742,19 +2946,21 @@ export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ works
2742
2946
  headers: oazapfts.mergeHeaders(opts?.headers, {
2743
2947
  authorization,
2744
2948
  "x-account-id": xAccountId,
2745
- "x-member-id": xMemberId
2949
+ "x-member-id": xMemberId,
2950
+ "x-username": xUsername
2746
2951
  })
2747
2952
  }));
2748
2953
  }
2749
2954
  /**
2750
2955
  * Format Fetch Step
2751
2956
  */
2752
- export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
2957
+ export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
2753
2958
  slug: string;
2754
2959
  stepSlug: string;
2755
2960
  authorization: string;
2756
2961
  xAccountId?: string | null;
2757
2962
  xMemberId?: string | null;
2963
+ xUsername?: string | null;
2758
2964
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
2759
2965
  }, opts?: Oazapfts.RequestOpts) {
2760
2966
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2772,18 +2978,20 @@ export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({
2772
2978
  headers: oazapfts.mergeHeaders(opts?.headers, {
2773
2979
  authorization,
2774
2980
  "x-account-id": xAccountId,
2775
- "x-member-id": xMemberId
2981
+ "x-member-id": xMemberId,
2982
+ "x-username": xUsername
2776
2983
  })
2777
2984
  })));
2778
2985
  }
2779
2986
  /**
2780
2987
  * Format Result
2781
2988
  */
2782
- export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
2989
+ export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
2783
2990
  slug: string;
2784
2991
  authorization: string;
2785
2992
  xAccountId?: string | null;
2786
2993
  xMemberId?: string | null;
2994
+ xUsername?: string | null;
2787
2995
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
2788
2996
  }, opts?: Oazapfts.RequestOpts) {
2789
2997
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2801,19 +3009,21 @@ export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authoriz
2801
3009
  headers: oazapfts.mergeHeaders(opts?.headers, {
2802
3010
  authorization,
2803
3011
  "x-account-id": xAccountId,
2804
- "x-member-id": xMemberId
3012
+ "x-member-id": xMemberId,
3013
+ "x-username": xUsername
2805
3014
  })
2806
3015
  })));
2807
3016
  }
2808
3017
  /**
2809
3018
  * Calculates the next route for a ROUTER step
2810
3019
  */
2811
- export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandEvaluateStepRouterRequest }: {
3020
+ export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandEvaluateStepRouterRequest }: {
2812
3021
  slug: string;
2813
3022
  stepSlug: string;
2814
3023
  authorization: string;
2815
3024
  xAccountId?: string | null;
2816
3025
  xMemberId?: string | null;
3026
+ xUsername?: string | null;
2817
3027
  quickCommandEvaluateStepRouterRequest: QuickCommandEvaluateStepRouterRequest;
2818
3028
  }, opts?: Oazapfts.RequestOpts) {
2819
3029
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2831,19 +3041,21 @@ export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextSt
2831
3041
  headers: oazapfts.mergeHeaders(opts?.headers, {
2832
3042
  authorization,
2833
3043
  "x-account-id": xAccountId,
2834
- "x-member-id": xMemberId
3044
+ "x-member-id": xMemberId,
3045
+ "x-username": xUsername
2835
3046
  })
2836
3047
  })));
2837
3048
  }
2838
3049
  /**
2839
3050
  * Add Workspace
2840
3051
  */
2841
- export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
3052
+ export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
2842
3053
  slug: string;
2843
3054
  workspaceId: string;
2844
3055
  authorization: string;
2845
3056
  xAccountId?: string | null;
2846
3057
  xMemberId?: string | null;
3058
+ xUsername?: string | null;
2847
3059
  }, opts?: Oazapfts.RequestOpts) {
2848
3060
  return oazapfts.ok(oazapfts.fetchJson<{
2849
3061
  status: 204;
@@ -2858,19 +3070,21 @@ export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ sl
2858
3070
  headers: oazapfts.mergeHeaders(opts?.headers, {
2859
3071
  authorization,
2860
3072
  "x-account-id": xAccountId,
2861
- "x-member-id": xMemberId
3073
+ "x-member-id": xMemberId,
3074
+ "x-username": xUsername
2862
3075
  })
2863
3076
  }));
2864
3077
  }
2865
3078
  /**
2866
3079
  * Remove Workspace
2867
3080
  */
2868
- export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
3081
+ export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
2869
3082
  slug: string;
2870
3083
  workspaceId: string;
2871
3084
  authorization: string;
2872
3085
  xAccountId?: string | null;
2873
3086
  xMemberId?: string | null;
3087
+ xUsername?: string | null;
2874
3088
  }, opts?: Oazapfts.RequestOpts) {
2875
3089
  return oazapfts.ok(oazapfts.fetchJson<{
2876
3090
  status: 204;
@@ -2885,19 +3099,17 @@ export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDel
2885
3099
  headers: oazapfts.mergeHeaders(opts?.headers, {
2886
3100
  authorization,
2887
3101
  "x-account-id": xAccountId,
2888
- "x-member-id": xMemberId
3102
+ "x-member-id": xMemberId,
3103
+ "x-username": xUsername
2889
3104
  })
2890
3105
  }));
2891
3106
  }
2892
3107
  /**
2893
3108
  * Create Execution
2894
3109
  */
2895
- export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, quickCommandCreateRequest }: {
3110
+ export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, quickCommandCreateRequest }: {
2896
3111
  slug: string;
2897
3112
  conversationId?: string | null;
2898
- authorization: string;
2899
- xAccountId?: string | null;
2900
- xMemberId?: string | null;
2901
3113
  quickCommandCreateRequest?: QuickCommandCreateRequest;
2902
3114
  }, opts?: Oazapfts.RequestOpts) {
2903
3115
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2913,22 +3125,18 @@ export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, co
2913
3125
  }))}`, oazapfts.json({
2914
3126
  ...opts,
2915
3127
  method: "POST",
2916
- body: quickCommandCreateRequest,
2917
- headers: oazapfts.mergeHeaders(opts?.headers, {
2918
- authorization,
2919
- "x-account-id": xAccountId,
2920
- "x-member-id": xMemberId
2921
- })
3128
+ body: quickCommandCreateRequest
2922
3129
  })));
2923
3130
  }
2924
3131
  /**
2925
3132
  * Triggers asynchronous execution of a Remote Quick Command
2926
3133
  */
2927
- export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, quickCommandExecutionRequest }: {
3134
+ export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, xUsername, quickCommandExecutionRequest }: {
2928
3135
  executionId: string;
2929
3136
  authorization: string;
2930
3137
  xAccountId?: string | null;
2931
3138
  xMemberId?: string | null;
3139
+ xUsername?: string | null;
2932
3140
  quickCommandExecutionRequest?: QuickCommandExecutionRequest;
2933
3141
  }, opts?: Oazapfts.RequestOpts) {
2934
3142
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -2945,18 +3153,16 @@ export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, auth
2945
3153
  headers: oazapfts.mergeHeaders(opts?.headers, {
2946
3154
  authorization,
2947
3155
  "x-account-id": xAccountId,
2948
- "x-member-id": xMemberId
3156
+ "x-member-id": xMemberId,
3157
+ "x-username": xUsername
2949
3158
  })
2950
3159
  })));
2951
3160
  }
2952
3161
  /**
2953
3162
  * Callback
2954
3163
  */
2955
- export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId }: {
3164
+ export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId }: {
2956
3165
  executionId: string;
2957
- authorization: string;
2958
- xAccountId?: string | null;
2959
- xMemberId?: string | null;
2960
3166
  }, opts?: Oazapfts.RequestOpts) {
2961
3167
  return oazapfts.ok(oazapfts.fetchJson<{
2962
3168
  status: 200;
@@ -2967,23 +3173,19 @@ export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, aut
2967
3173
  status: 422;
2968
3174
  data: HttpValidationError;
2969
3175
  }>(`/v1/quick-commands/callback/${encodeURIComponent(executionId)}`, {
2970
- ...opts,
2971
- headers: oazapfts.mergeHeaders(opts?.headers, {
2972
- authorization,
2973
- "x-account-id": xAccountId,
2974
- "x-member-id": xMemberId
2975
- })
3176
+ ...opts
2976
3177
  }));
2977
3178
  }
2978
3179
  /**
2979
3180
  * Run Fetch Step
2980
3181
  */
2981
- export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
3182
+ export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
2982
3183
  slug: string;
2983
3184
  stepSlug: string;
2984
3185
  authorization: string;
2985
3186
  xAccountId?: string | null;
2986
3187
  xMemberId?: string | null;
3188
+ xUsername?: string | null;
2987
3189
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
2988
3190
  }, opts?: Oazapfts.RequestOpts) {
2989
3191
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3001,19 +3203,61 @@ export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug,
3001
3203
  headers: oazapfts.mergeHeaders(opts?.headers, {
3002
3204
  authorization,
3003
3205
  "x-account-id": xAccountId,
3004
- "x-member-id": xMemberId
3206
+ "x-member-id": xMemberId,
3207
+ "x-username": xUsername
3005
3208
  })
3006
3209
  })));
3007
3210
  }
3211
+ /**
3212
+ * Starts the execution of a step with a user defined script
3213
+ */
3214
+ export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({ slug, stepSlug, quickCommandStartScriptRequest }: {
3215
+ slug: string;
3216
+ stepSlug: string;
3217
+ quickCommandStartScriptRequest: QuickCommandStartScriptRequest;
3218
+ }, opts?: Oazapfts.RequestOpts) {
3219
+ return oazapfts.ok(oazapfts.fetchJson<{
3220
+ status: 202;
3221
+ data: QuickCommandStartScriptResponse;
3222
+ } | {
3223
+ status: 404;
3224
+ } | {
3225
+ status: 422;
3226
+ data: HttpValidationError;
3227
+ }>(`/v1/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/start-script`, oazapfts.json({
3228
+ ...opts,
3229
+ method: "POST",
3230
+ body: quickCommandStartScriptRequest
3231
+ })));
3232
+ }
3233
+ /**
3234
+ * Get the status of a script execution step
3235
+ */
3236
+ export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExecutionIdGet({ scriptExecutionId }: {
3237
+ scriptExecutionId: string;
3238
+ }, opts?: Oazapfts.RequestOpts) {
3239
+ return oazapfts.ok(oazapfts.fetchJson<{
3240
+ status: 200;
3241
+ data: QuickCommandScriptExecutionResponse;
3242
+ } | {
3243
+ status: 404;
3244
+ } | {
3245
+ status: 422;
3246
+ data: HttpValidationError;
3247
+ }>(`/v1/quick-commands/script-executions/${encodeURIComponent(scriptExecutionId)}`, {
3248
+ ...opts
3249
+ }));
3250
+ }
3008
3251
  /**
3009
3252
  * List Conversations
3010
3253
  */
3011
- export function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId }: {
3254
+ export function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId, xUsername }: {
3012
3255
  size?: number;
3013
3256
  page?: number;
3014
3257
  authorization: string;
3015
3258
  xAccountId?: string | null;
3016
3259
  xMemberId?: string | null;
3260
+ xUsername?: string | null;
3017
3261
  }, opts?: Oazapfts.RequestOpts) {
3018
3262
  return oazapfts.ok(oazapfts.fetchJson<{
3019
3263
  status: 200;
@@ -3031,18 +3275,20 @@ export function listConversationsV1ConversationsGet({ size, page, authorization,
3031
3275
  headers: oazapfts.mergeHeaders(opts?.headers, {
3032
3276
  authorization,
3033
3277
  "x-account-id": xAccountId,
3034
- "x-member-id": xMemberId
3278
+ "x-member-id": xMemberId,
3279
+ "x-username": xUsername
3035
3280
  })
3036
3281
  }));
3037
3282
  }
3038
3283
  /**
3039
3284
  * Conversation History
3040
3285
  */
3041
- export function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId }: {
3286
+ export function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
3042
3287
  conversationId: string;
3043
3288
  authorization: string;
3044
3289
  xAccountId?: string | null;
3045
3290
  xMemberId?: string | null;
3291
+ xUsername?: string | null;
3046
3292
  }, opts?: Oazapfts.RequestOpts) {
3047
3293
  return oazapfts.ok(oazapfts.fetchJson<{
3048
3294
  status: 200;
@@ -3057,18 +3303,20 @@ export function conversationHistoryV1ConversationsConversationIdGet({ conversati
3057
3303
  headers: oazapfts.mergeHeaders(opts?.headers, {
3058
3304
  authorization,
3059
3305
  "x-account-id": xAccountId,
3060
- "x-member-id": xMemberId
3306
+ "x-member-id": xMemberId,
3307
+ "x-username": xUsername
3061
3308
  })
3062
3309
  }));
3063
3310
  }
3064
3311
  /**
3065
3312
  * Update Title
3066
3313
  */
3067
- export function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, conversationUpdateTitleRequest }: {
3314
+ export function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, xUsername, conversationUpdateTitleRequest }: {
3068
3315
  conversationId: string;
3069
3316
  authorization: string;
3070
3317
  xAccountId?: string | null;
3071
3318
  xMemberId?: string | null;
3319
+ xUsername?: string | null;
3072
3320
  conversationUpdateTitleRequest: ConversationUpdateTitleRequest;
3073
3321
  }, opts?: Oazapfts.RequestOpts) {
3074
3322
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3086,18 +3334,20 @@ export function updateTitleV1ConversationsConversationIdPatch({ conversationId,
3086
3334
  headers: oazapfts.mergeHeaders(opts?.headers, {
3087
3335
  authorization,
3088
3336
  "x-account-id": xAccountId,
3089
- "x-member-id": xMemberId
3337
+ "x-member-id": xMemberId,
3338
+ "x-username": xUsername
3090
3339
  })
3091
3340
  })));
3092
3341
  }
3093
3342
  /**
3094
3343
  * Delete Conversation
3095
3344
  */
3096
- export function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId }: {
3345
+ export function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
3097
3346
  conversationId: string;
3098
3347
  authorization: string;
3099
3348
  xAccountId?: string | null;
3100
3349
  xMemberId?: string | null;
3350
+ xUsername?: string | null;
3101
3351
  }, opts?: Oazapfts.RequestOpts) {
3102
3352
  return oazapfts.ok(oazapfts.fetchJson<{
3103
3353
  status: 204;
@@ -3112,18 +3362,20 @@ export function deleteConversationV1ConversationsConversationIdDelete({ conversa
3112
3362
  headers: oazapfts.mergeHeaders(opts?.headers, {
3113
3363
  authorization,
3114
3364
  "x-account-id": xAccountId,
3115
- "x-member-id": xMemberId
3365
+ "x-member-id": xMemberId,
3366
+ "x-username": xUsername
3116
3367
  })
3117
3368
  }));
3118
3369
  }
3119
3370
  /**
3120
3371
  * Download Conversation
3121
3372
  */
3122
- export function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId }: {
3373
+ export function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
3123
3374
  conversationId: string;
3124
3375
  authorization: string;
3125
3376
  xAccountId?: string | null;
3126
3377
  xMemberId?: string | null;
3378
+ xUsername?: string | null;
3127
3379
  }, opts?: Oazapfts.RequestOpts) {
3128
3380
  return oazapfts.ok(oazapfts.fetchJson<{
3129
3381
  status: 200;
@@ -3138,7 +3390,8 @@ export function downloadConversationV1ConversationsConversationIdDownloadGet({ c
3138
3390
  headers: oazapfts.mergeHeaders(opts?.headers, {
3139
3391
  authorization,
3140
3392
  "x-account-id": xAccountId,
3141
- "x-member-id": xMemberId
3393
+ "x-member-id": xMemberId,
3394
+ "x-username": xUsername
3142
3395
  })
3143
3396
  }));
3144
3397
  }
@@ -3213,11 +3466,12 @@ export function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBat
3213
3466
  /**
3214
3467
  * Find Knowledge Source Dependencies
3215
3468
  */
3216
- export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId }: {
3469
+ export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
3217
3470
  slug: string;
3218
3471
  authorization: string;
3219
3472
  xAccountId?: string | null;
3220
3473
  xMemberId?: string | null;
3474
+ xUsername?: string | null;
3221
3475
  }, opts?: Oazapfts.RequestOpts) {
3222
3476
  return oazapfts.ok(oazapfts.fetchJson<{
3223
3477
  status: 200;
@@ -3232,7 +3486,8 @@ export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependencie
3232
3486
  headers: oazapfts.mergeHeaders(opts?.headers, {
3233
3487
  authorization,
3234
3488
  "x-account-id": xAccountId,
3235
- "x-member-id": xMemberId
3489
+ "x-member-id": xMemberId,
3490
+ "x-username": xUsername
3236
3491
  })
3237
3492
  }));
3238
3493
  }
@@ -3250,12 +3505,13 @@ export function getFlagsV1FlagsGet(opts?: Oazapfts.RequestOpts) {
3250
3505
  /**
3251
3506
  * Get Content Dependencies
3252
3507
  */
3253
- export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId }: {
3508
+ export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId, xUsername }: {
3254
3509
  contentType: ContentDependencyType;
3255
3510
  contentId: string;
3256
3511
  authorization: string;
3257
3512
  xAccountId?: string | null;
3258
3513
  xMemberId?: string | null;
3514
+ xUsername?: string | null;
3259
3515
  }, opts?: Oazapfts.RequestOpts) {
3260
3516
  return oazapfts.ok(oazapfts.fetchJson<{
3261
3517
  status: 200;
@@ -3270,7 +3526,293 @@ export function getContentDependenciesV1ContentContentTypeContentIdDependenciesG
3270
3526
  headers: oazapfts.mergeHeaders(opts?.headers, {
3271
3527
  authorization,
3272
3528
  "x-account-id": xAccountId,
3273
- "x-member-id": xMemberId
3529
+ "x-member-id": xMemberId,
3530
+ "x-username": xUsername
3531
+ })
3532
+ }));
3533
+ }
3534
+ /**
3535
+ * Tokens Daily Usage
3536
+ */
3537
+ export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, accountSlug }: {
3538
+ month: number;
3539
+ year: number;
3540
+ accountSlug?: string;
3541
+ }, opts?: Oazapfts.RequestOpts) {
3542
+ return oazapfts.ok(oazapfts.fetchJson<{
3543
+ status: 200;
3544
+ data: any;
3545
+ } | {
3546
+ status: 404;
3547
+ } | {
3548
+ status: 422;
3549
+ data: HttpValidationError;
3550
+ }>(`/v1/analytics/tokens/daily-usage${QS.query(QS.explode({
3551
+ month,
3552
+ year,
3553
+ account_slug: accountSlug
3554
+ }))}`, {
3555
+ ...opts
3556
+ }));
3557
+ }
3558
+ /**
3559
+ * Tokens By User
3560
+ */
3561
+ export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, page, pageSize }: {
3562
+ month: number;
3563
+ year: number;
3564
+ page?: number;
3565
+ pageSize?: number;
3566
+ }, opts?: Oazapfts.RequestOpts) {
3567
+ return oazapfts.ok(oazapfts.fetchJson<{
3568
+ status: 200;
3569
+ data: any;
3570
+ } | {
3571
+ status: 404;
3572
+ } | {
3573
+ status: 422;
3574
+ data: HttpValidationError;
3575
+ }>(`/v1/analytics/tokens/by-user${QS.query(QS.explode({
3576
+ month,
3577
+ year,
3578
+ page,
3579
+ page_size: pageSize
3580
+ }))}`, {
3581
+ ...opts
3582
+ }));
3583
+ }
3584
+ /**
3585
+ * Get Reviews By Resource
3586
+ */
3587
+ export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugReviewsGet({ resourceSlug, resourceTypeSlug, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, authorization, xAccountId, xMemberId, xUsername }: {
3588
+ resourceSlug: string;
3589
+ resourceTypeSlug: string;
3590
+ size?: number | null;
3591
+ page?: number | null;
3592
+ sort?: string | null;
3593
+ direction?: SortDirection | null;
3594
+ search?: string | null;
3595
+ filterMode?: FilterMode | null;
3596
+ filterBy?: string | null;
3597
+ filterValue?: string | null;
3598
+ multiFilterMode?: string | null;
3599
+ filterIn?: string | null;
3600
+ authorization: string;
3601
+ xAccountId?: string | null;
3602
+ xMemberId?: string | null;
3603
+ xUsername?: string | null;
3604
+ }, opts?: Oazapfts.RequestOpts) {
3605
+ return oazapfts.ok(oazapfts.fetchJson<{
3606
+ status: 200;
3607
+ data: ResourceReviewResponse;
3608
+ } | {
3609
+ status: 404;
3610
+ } | {
3611
+ status: 422;
3612
+ data: HttpValidationError;
3613
+ }>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews${QS.query(QS.explode({
3614
+ size,
3615
+ page,
3616
+ sort,
3617
+ direction,
3618
+ search,
3619
+ filterMode,
3620
+ filterBy,
3621
+ filterValue,
3622
+ multiFilterMode,
3623
+ filterIn
3624
+ }))}`, {
3625
+ ...opts,
3626
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3627
+ authorization,
3628
+ "x-account-id": xAccountId,
3629
+ "x-member-id": xMemberId,
3630
+ "x-username": xUsername
3631
+ })
3632
+ }));
3633
+ }
3634
+ /**
3635
+ * Create Resource Review
3636
+ */
3637
+ export function createResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsPost({ resourceSlug, resourceTypeSlug, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
3638
+ resourceSlug: string;
3639
+ resourceTypeSlug: string;
3640
+ authorization: string;
3641
+ xAccountId?: string | null;
3642
+ xMemberId?: string | null;
3643
+ xUsername?: string | null;
3644
+ resourceReviewRequest: ResourceReviewRequest;
3645
+ }, opts?: Oazapfts.RequestOpts) {
3646
+ return oazapfts.ok(oazapfts.fetchJson<{
3647
+ status: 200;
3648
+ data: any;
3649
+ } | {
3650
+ status: 404;
3651
+ } | {
3652
+ status: 422;
3653
+ data: HttpValidationError;
3654
+ }>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews`, oazapfts.json({
3655
+ ...opts,
3656
+ method: "POST",
3657
+ body: resourceReviewRequest,
3658
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3659
+ authorization,
3660
+ "x-account-id": xAccountId,
3661
+ "x-member-id": xMemberId,
3662
+ "x-username": xUsername
3663
+ })
3664
+ })));
3665
+ }
3666
+ /**
3667
+ * Create Answer For Review
3668
+ */
3669
+ export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersPost({ reviewId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
3670
+ reviewId: string;
3671
+ authorization: string;
3672
+ xAccountId?: string | null;
3673
+ xMemberId?: string | null;
3674
+ xUsername?: string | null;
3675
+ reviewAnswer: ReviewAnswer;
3676
+ }, opts?: Oazapfts.RequestOpts) {
3677
+ return oazapfts.ok(oazapfts.fetchJson<{
3678
+ status: 200;
3679
+ data: any;
3680
+ } | {
3681
+ status: 404;
3682
+ } | {
3683
+ status: 422;
3684
+ data: HttpValidationError;
3685
+ }>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers`, oazapfts.json({
3686
+ ...opts,
3687
+ method: "POST",
3688
+ body: reviewAnswer,
3689
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3690
+ authorization,
3691
+ "x-account-id": xAccountId,
3692
+ "x-member-id": xMemberId,
3693
+ "x-username": xUsername
3694
+ })
3695
+ })));
3696
+ }
3697
+ /**
3698
+ * Update Resource Review
3699
+ */
3700
+ export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdPatch({ reviewId, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
3701
+ reviewId: string;
3702
+ authorization: string;
3703
+ xAccountId?: string | null;
3704
+ xMemberId?: string | null;
3705
+ xUsername?: string | null;
3706
+ resourceReviewRequest: ResourceReviewRequest;
3707
+ }, opts?: Oazapfts.RequestOpts) {
3708
+ return oazapfts.ok(oazapfts.fetchJson<{
3709
+ status: 200;
3710
+ data: any;
3711
+ } | {
3712
+ status: 404;
3713
+ } | {
3714
+ status: 422;
3715
+ data: HttpValidationError;
3716
+ }>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}`, oazapfts.json({
3717
+ ...opts,
3718
+ method: "PATCH",
3719
+ body: resourceReviewRequest,
3720
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3721
+ authorization,
3722
+ "x-account-id": xAccountId,
3723
+ "x-member-id": xMemberId,
3724
+ "x-username": xUsername
3725
+ })
3726
+ })));
3727
+ }
3728
+ /**
3729
+ * Delete Resource Review
3730
+ */
3731
+ export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdDelete({ reviewId, authorization, xAccountId, xMemberId, xUsername }: {
3732
+ reviewId: string;
3733
+ authorization: string;
3734
+ xAccountId?: string | null;
3735
+ xMemberId?: string | null;
3736
+ xUsername?: string | null;
3737
+ }, opts?: Oazapfts.RequestOpts) {
3738
+ return oazapfts.ok(oazapfts.fetchJson<{
3739
+ status: 200;
3740
+ data: any;
3741
+ } | {
3742
+ status: 404;
3743
+ } | {
3744
+ status: 422;
3745
+ data: HttpValidationError;
3746
+ }>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}`, {
3747
+ ...opts,
3748
+ method: "DELETE",
3749
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3750
+ authorization,
3751
+ "x-account-id": xAccountId,
3752
+ "x-member-id": xMemberId,
3753
+ "x-username": xUsername
3754
+ })
3755
+ }));
3756
+ }
3757
+ /**
3758
+ * Update Review Comment
3759
+ */
3760
+ export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdPatch({ reviewId, answerId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
3761
+ reviewId: string;
3762
+ answerId: string;
3763
+ authorization: string;
3764
+ xAccountId?: string | null;
3765
+ xMemberId?: string | null;
3766
+ xUsername?: string | null;
3767
+ reviewAnswer: ReviewAnswer;
3768
+ }, opts?: Oazapfts.RequestOpts) {
3769
+ return oazapfts.ok(oazapfts.fetchJson<{
3770
+ status: 200;
3771
+ data: any;
3772
+ } | {
3773
+ status: 404;
3774
+ } | {
3775
+ status: 422;
3776
+ data: HttpValidationError;
3777
+ }>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, oazapfts.json({
3778
+ ...opts,
3779
+ method: "PATCH",
3780
+ body: reviewAnswer,
3781
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3782
+ authorization,
3783
+ "x-account-id": xAccountId,
3784
+ "x-member-id": xMemberId,
3785
+ "x-username": xUsername
3786
+ })
3787
+ })));
3788
+ }
3789
+ /**
3790
+ * Delete Review Comment
3791
+ */
3792
+ export function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdDelete({ reviewId, answerId, authorization, xAccountId, xMemberId, xUsername }: {
3793
+ reviewId: string;
3794
+ answerId: string;
3795
+ authorization: string;
3796
+ xAccountId?: string | null;
3797
+ xMemberId?: string | null;
3798
+ xUsername?: string | null;
3799
+ }, opts?: Oazapfts.RequestOpts) {
3800
+ return oazapfts.ok(oazapfts.fetchJson<{
3801
+ status: 200;
3802
+ data: any;
3803
+ } | {
3804
+ status: 404;
3805
+ } | {
3806
+ status: 422;
3807
+ data: HttpValidationError;
3808
+ }>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, {
3809
+ ...opts,
3810
+ method: "DELETE",
3811
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3812
+ authorization,
3813
+ "x-account-id": xAccountId,
3814
+ "x-member-id": xMemberId,
3815
+ "x-username": xUsername
3274
3816
  })
3275
3817
  }));
3276
3818
  }
@@ -3299,12 +3841,13 @@ export function devAssistantV2V2ChatPost({ accept }: {
3299
3841
  /**
3300
3842
  * Quick Commands Run V2
3301
3843
  */
3302
- export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
3844
+ export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
3303
3845
  slug: string;
3304
3846
  stepSlug: string;
3305
3847
  authorization: string;
3306
3848
  xAccountId?: string | null;
3307
3849
  xMemberId?: string | null;
3850
+ xUsername?: string | null;
3308
3851
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
3309
3852
  }, opts?: Oazapfts.RequestOpts) {
3310
3853
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3322,20 +3865,22 @@ export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug
3322
3865
  headers: oazapfts.mergeHeaders(opts?.headers, {
3323
3866
  authorization,
3324
3867
  "x-account-id": xAccountId,
3325
- "x-member-id": xMemberId
3868
+ "x-member-id": xMemberId,
3869
+ "x-username": xUsername
3326
3870
  })
3327
3871
  })));
3328
3872
  }
3329
3873
  /**
3330
3874
  * List All
3331
3875
  */
3332
- export function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
3876
+ export function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
3333
3877
  visibility?: VisibilityLevelEnum | null;
3334
3878
  order?: OrderEnum;
3335
3879
  types?: QuickCommandTypeRequest[] | null;
3336
3880
  authorization: string;
3337
3881
  xAccountId?: string | null;
3338
3882
  xMemberId?: string | null;
3883
+ xUsername?: string | null;
3339
3884
  }, opts?: Oazapfts.RequestOpts) {
3340
3885
  return oazapfts.ok(oazapfts.fetchJson<{
3341
3886
  status: 200;
@@ -3354,17 +3899,19 @@ export function listAllV2QuickCommandsAllGet({ visibility, order, types, authori
3354
3899
  headers: oazapfts.mergeHeaders(opts?.headers, {
3355
3900
  authorization,
3356
3901
  "x-account-id": xAccountId,
3357
- "x-member-id": xMemberId
3902
+ "x-member-id": xMemberId,
3903
+ "x-username": xUsername
3358
3904
  })
3359
3905
  }));
3360
3906
  }
3361
3907
  /**
3362
3908
  * Dev Assistant V3
3363
3909
  */
3364
- export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, chatRequest }: {
3910
+ export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, xUsername, chatRequest }: {
3365
3911
  authorization: string;
3366
3912
  xAccountId?: string | null;
3367
3913
  xMemberId?: string | null;
3914
+ xUsername?: string | null;
3368
3915
  chatRequest: ChatRequest;
3369
3916
  }, opts?: Oazapfts.RequestOpts) {
3370
3917
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -3382,7 +3929,8 @@ export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId,
3382
3929
  headers: oazapfts.mergeHeaders(opts?.headers, {
3383
3930
  authorization,
3384
3931
  "x-account-id": xAccountId,
3385
- "x-member-id": xMemberId
3932
+ "x-member-id": xMemberId,
3933
+ "x-username": xUsername
3386
3934
  })
3387
3935
  })));
3388
3936
  }