@stack-spot/portal-network 1.0.0-betaadp.3 → 1.0.0-dev.1768422812092

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 (215) hide show
  1. package/CHANGELOG.md +633 -0
  2. package/dist/api/account.d.ts +413 -277
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +261 -176
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/accountAssetManager.d.ts +309 -0
  7. package/dist/api/accountAssetManager.d.ts.map +1 -0
  8. package/dist/api/accountAssetManager.js +169 -0
  9. package/dist/api/accountAssetManager.js.map +1 -0
  10. package/dist/api/agent-tools.d.ts +243 -149
  11. package/dist/api/agent-tools.d.ts.map +1 -1
  12. package/dist/api/agent-tools.js +77 -5
  13. package/dist/api/agent-tools.js.map +1 -1
  14. package/dist/api/agent.d.ts +55 -55
  15. package/dist/api/agent.d.ts.map +1 -1
  16. package/dist/api/ai.d.ts +487 -98
  17. package/dist/api/ai.d.ts.map +1 -1
  18. package/dist/api/ai.js +427 -146
  19. package/dist/api/ai.js.map +1 -1
  20. package/dist/api/cloudPlatform.d.ts +374 -221
  21. package/dist/api/cloudPlatform.d.ts.map +1 -1
  22. package/dist/api/cloudPlatform.js +299 -93
  23. package/dist/api/cloudPlatform.js.map +1 -1
  24. package/dist/api/cloudPlatformHorizon.d.ts +178 -9
  25. package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
  26. package/dist/api/cloudPlatformHorizon.js +69 -1
  27. package/dist/api/cloudPlatformHorizon.js.map +1 -1
  28. package/dist/api/codeShift.d.ts +1125 -83
  29. package/dist/api/codeShift.d.ts.map +1 -1
  30. package/dist/api/codeShift.js +538 -16
  31. package/dist/api/codeShift.js.map +1 -1
  32. package/dist/api/dataIntegration.d.ts +291 -1
  33. package/dist/api/dataIntegration.d.ts.map +1 -1
  34. package/dist/api/dataIntegration.js +254 -0
  35. package/dist/api/dataIntegration.js.map +1 -1
  36. package/dist/api/discover.d.ts +98 -12
  37. package/dist/api/discover.d.ts.map +1 -1
  38. package/dist/api/discover.js +78 -2
  39. package/dist/api/discover.js.map +1 -1
  40. package/dist/api/edpBfa.d.ts +215 -0
  41. package/dist/api/edpBfa.d.ts.map +1 -0
  42. package/dist/api/edpBfa.js +87 -0
  43. package/dist/api/edpBfa.js.map +1 -0
  44. package/dist/api/genAiInference.d.ts +22 -2
  45. package/dist/api/genAiInference.d.ts.map +1 -1
  46. package/dist/api/genAiInference.js +22 -3
  47. package/dist/api/genAiInference.js.map +1 -1
  48. package/dist/api/workflows.d.ts +68 -5
  49. package/dist/api/workflows.d.ts.map +1 -1
  50. package/dist/api/workflows.js +16 -0
  51. package/dist/api/workflows.js.map +1 -1
  52. package/dist/api/workspaceManager.d.ts +16 -10
  53. package/dist/api/workspaceManager.d.ts.map +1 -1
  54. package/dist/api/workspaceManager.js +10 -0
  55. package/dist/api/workspaceManager.js.map +1 -1
  56. package/dist/api-addresses.d.ts +20 -18
  57. package/dist/api-addresses.d.ts.map +1 -1
  58. package/dist/api-addresses.js +81 -21
  59. package/dist/api-addresses.js.map +1 -1
  60. package/dist/apis-itau.json +241 -0
  61. package/dist/apis.json +17 -1
  62. package/dist/client/account-asset-manager.d.ts +112 -0
  63. package/dist/client/account-asset-manager.d.ts.map +1 -0
  64. package/dist/client/account-asset-manager.js +160 -0
  65. package/dist/client/account-asset-manager.js.map +1 -0
  66. package/dist/client/account.d.ts +265 -242
  67. package/dist/client/account.d.ts.map +1 -1
  68. package/dist/client/account.js +80 -34
  69. package/dist/client/account.js.map +1 -1
  70. package/dist/client/agent-tools.d.ts +166 -119
  71. package/dist/client/agent-tools.d.ts.map +1 -1
  72. package/dist/client/agent-tools.js +62 -11
  73. package/dist/client/agent-tools.js.map +1 -1
  74. package/dist/client/agent.d.ts +46 -46
  75. package/dist/client/agent.d.ts.map +1 -1
  76. package/dist/client/ai.d.ts +266 -79
  77. package/dist/client/ai.d.ts.map +1 -1
  78. package/dist/client/ai.js +262 -20
  79. package/dist/client/ai.js.map +1 -1
  80. package/dist/client/api-management.d.ts +10 -1
  81. package/dist/client/api-management.d.ts.map +1 -1
  82. package/dist/client/api-management.js +11 -2
  83. package/dist/client/api-management.js.map +1 -1
  84. package/dist/client/cloud-account.d.ts +13 -13
  85. package/dist/client/cloud-platform-horizon.d.ts +38 -19
  86. package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
  87. package/dist/client/cloud-platform-horizon.js +19 -1
  88. package/dist/client/cloud-platform-horizon.js.map +1 -1
  89. package/dist/client/cloud-platform.d.ts +213 -46
  90. package/dist/client/cloud-platform.d.ts.map +1 -1
  91. package/dist/client/cloud-platform.js +168 -33
  92. package/dist/client/cloud-platform.js.map +1 -1
  93. package/dist/client/cloud-runtimes.d.ts +4 -4
  94. package/dist/client/cloud-services.d.ts +17 -17
  95. package/dist/client/cloud-services.d.ts.map +1 -1
  96. package/dist/client/code-shift.d.ts +535 -162
  97. package/dist/client/code-shift.d.ts.map +1 -1
  98. package/dist/client/code-shift.js +296 -7
  99. package/dist/client/code-shift.js.map +1 -1
  100. package/dist/client/content.d.ts +127 -132
  101. package/dist/client/content.d.ts.map +1 -1
  102. package/dist/client/data-integration.d.ts +92 -53
  103. package/dist/client/data-integration.d.ts.map +1 -1
  104. package/dist/client/data-integration.js +38 -2
  105. package/dist/client/data-integration.js.map +1 -1
  106. package/dist/client/discover.d.ts +31 -10
  107. package/dist/client/discover.d.ts.map +1 -1
  108. package/dist/client/discover.js +239 -3
  109. package/dist/client/discover.js.map +1 -1
  110. package/dist/client/edp-bfa.d.ts +16 -0
  111. package/dist/client/edp-bfa.d.ts.map +1 -0
  112. package/dist/client/edp-bfa.js +24 -0
  113. package/dist/client/edp-bfa.js.map +1 -0
  114. package/dist/client/event-bus.d.ts.map +1 -1
  115. package/dist/client/gen-ai-inference.d.ts +20 -20
  116. package/dist/client/insights.d.ts +7 -7
  117. package/dist/client/notification.d.ts +17 -10
  118. package/dist/client/notification.d.ts.map +1 -1
  119. package/dist/client/notification.js +10 -1
  120. package/dist/client/notification.js.map +1 -1
  121. package/dist/client/runtime-manager.d.ts +8 -8
  122. package/dist/client/secrets.d.ts.map +1 -1
  123. package/dist/client/secrets.js +1 -1
  124. package/dist/client/secrets.js.map +1 -1
  125. package/dist/client/types.d.ts +50 -7
  126. package/dist/client/types.d.ts.map +1 -1
  127. package/dist/client/workflow.d.ts +10 -10
  128. package/dist/client/workspace-ai.d.ts +53 -53
  129. package/dist/client/workspace-ai.d.ts.map +1 -1
  130. package/dist/client/workspace-ai.js +3 -7
  131. package/dist/client/workspace-ai.js.map +1 -1
  132. package/dist/client/workspace-manager.d.ts +115 -76
  133. package/dist/client/workspace-manager.d.ts.map +1 -1
  134. package/dist/client/workspace-manager.js +47 -2
  135. package/dist/client/workspace-manager.js.map +1 -1
  136. package/dist/client/workspace-search.d.ts +2 -2
  137. package/dist/client/workspace.d.ts +58 -105
  138. package/dist/client/workspace.d.ts.map +1 -1
  139. package/dist/error/DefaultAPIError.d.ts.map +1 -1
  140. package/dist/error/DefaultAPIError.js.map +1 -1
  141. package/dist/error/StackspotAPIError.d.ts +3 -4
  142. package/dist/error/StackspotAPIError.d.ts.map +1 -1
  143. package/dist/error/StackspotAPIError.js +3 -3
  144. package/dist/error/StackspotAPIError.js.map +1 -1
  145. package/dist/error/dictionary/accountAssetManager.d.ts +11 -0
  146. package/dist/error/dictionary/accountAssetManager.d.ts.map +1 -0
  147. package/dist/error/dictionary/accountAssetManager.js +11 -0
  148. package/dist/error/dictionary/accountAssetManager.js.map +1 -0
  149. package/dist/error/dictionary/cloud-platform.d.ts +76 -8
  150. package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
  151. package/dist/error/dictionary/cloud-platform.js +80 -12
  152. package/dist/error/dictionary/cloud-platform.js.map +1 -1
  153. package/dist/error/dictionary/workspace-ai.d.ts +9 -0
  154. package/dist/error/dictionary/workspace-ai.d.ts.map +1 -0
  155. package/dist/error/dictionary/workspace-ai.js +9 -0
  156. package/dist/error/dictionary/workspace-ai.js.map +1 -0
  157. package/dist/index.d.ts +5 -3
  158. package/dist/index.d.ts.map +1 -1
  159. package/dist/index.js +4 -2
  160. package/dist/index.js.map +1 -1
  161. package/dist/network/NetworkClient.d.ts +4 -2
  162. package/dist/network/NetworkClient.d.ts.map +1 -1
  163. package/dist/network/NetworkClient.js +16 -4
  164. package/dist/network/NetworkClient.js.map +1 -1
  165. package/dist/network/types.d.ts +2 -0
  166. package/dist/network/types.d.ts.map +1 -1
  167. package/dist/utils/StreamedJson.d.ts +3 -1
  168. package/dist/utils/StreamedJson.d.ts.map +1 -1
  169. package/dist/utils/StreamedJson.js +23 -3
  170. package/dist/utils/StreamedJson.js.map +1 -1
  171. package/package.dev.json +3 -0
  172. package/package.json +10 -9
  173. package/package.stg.json +3 -0
  174. package/readme.md +40 -1
  175. package/src/api/account.ts +701 -540
  176. package/src/api/accountAssetManager.ts +771 -0
  177. package/src/api/agent-tools.ts +332 -151
  178. package/src/api/ai.ts +891 -170
  179. package/src/api/cloudPlatform.ts +667 -298
  180. package/src/api/cloudPlatformHorizon.ts +412 -9
  181. package/src/api/codeShift.ts +2088 -97
  182. package/src/api/dataIntegration.ts +635 -1
  183. package/src/api/discover.ts +180 -14
  184. package/src/api/edpBfa.ts +472 -0
  185. package/src/api/genAiInference.ts +47 -4
  186. package/src/api/workflows.ts +100 -5
  187. package/src/api/workspaceManager.ts +25 -10
  188. package/src/api-addresses.ts +113 -38
  189. package/src/apis-itau.json +241 -0
  190. package/src/apis.json +17 -1
  191. package/src/client/account-asset-manager.ts +100 -0
  192. package/src/client/account.ts +71 -40
  193. package/src/client/agent-tools.ts +57 -17
  194. package/src/client/ai.ts +232 -20
  195. package/src/client/api-management.ts +7 -2
  196. package/src/client/cloud-platform-horizon.ts +12 -4
  197. package/src/client/cloud-platform.ts +101 -27
  198. package/src/client/code-shift.ts +196 -8
  199. package/src/client/data-integration.ts +28 -1
  200. package/src/client/discover.ts +238 -5
  201. package/src/client/edp-bfa.ts +24 -0
  202. package/src/client/notification.ts +6 -1
  203. package/src/client/secrets.ts +1 -1
  204. package/src/client/types.ts +55 -9
  205. package/src/client/workspace-ai.ts +19 -23
  206. package/src/client/workspace-manager.ts +31 -2
  207. package/src/error/DefaultAPIError.ts +5 -5
  208. package/src/error/StackspotAPIError.ts +4 -4
  209. package/src/error/dictionary/accountAssetManager.ts +12 -0
  210. package/src/error/dictionary/cloud-platform.ts +80 -12
  211. package/src/error/dictionary/workspace-ai.ts +10 -0
  212. package/src/index.ts +6 -3
  213. package/src/network/NetworkClient.ts +18 -6
  214. package/src/network/types.ts +3 -0
  215. package/src/utils/StreamedJson.tsx +19 -4
package/dist/api/ai.d.ts CHANGED
@@ -159,14 +159,6 @@ export type AutoCompleteResult = {
159
159
  code: string;
160
160
  };
161
161
  export type EventTypeEnum = "code_injected" | "code_copied" | "custom_quick_command_execution" | "user_feedback_provided" | "copied_all";
162
- export type SourceProjectFile2 = {
163
- "type"?: "project_file";
164
- name: string;
165
- slug: string;
166
- document_score: number;
167
- document_id: string;
168
- path: string;
169
- };
170
162
  export type QuickCommandEvent = {
171
163
  slug: string;
172
164
  "type": string;
@@ -188,7 +180,7 @@ export type GenericEventRequest = {
188
180
  chosen_feedback_options?: string[] | null;
189
181
  additional_feedback?: string | null;
190
182
  message_id?: string | null;
191
- knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource | SourceProjectFile2 | KnowledgeSourceEvent)[] | null;
183
+ knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
192
184
  quick_command_event?: QuickCommandEvent | null;
193
185
  context?: {
194
186
  [key: string]: any;
@@ -325,6 +317,8 @@ export type TokensCurrentUsageResponse = {
325
317
  renewal_date: string;
326
318
  embeddings_tokens_usage: number;
327
319
  prompt_tokens_usage: number;
320
+ embeddings_tokens_limit: number;
321
+ prompt_tokens_limit: number;
328
322
  };
329
323
  export type TokensMonthlyUsageResponse = {
330
324
  used: number;
@@ -363,6 +357,7 @@ export type QuickCommandListResponse = {
363
357
  creator: string | null;
364
358
  visibility_level: string;
365
359
  use_only: boolean;
360
+ share_context_between_steps?: boolean;
366
361
  id: string;
367
362
  };
368
363
  export type Method = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -387,6 +382,7 @@ export type QuickCommandsStepPromptRequest = {
387
382
  use_uploaded_files?: boolean;
388
383
  agent_built_in?: boolean | null;
389
384
  next_step_slug?: string | null;
385
+ next_failure_step_slug?: string | null;
390
386
  };
391
387
  export type OperatorType = "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greater" | "smaller" | "greaterEqual" | "smallerEqual" | "isEmpty" | "isNotEmpty" | "isDefined" | "isUndefined";
392
388
  export type SimpleExpr = {
@@ -415,6 +411,12 @@ export type QuickCommandsStepRouterRequest = {
415
411
  routes: RouterStepRoute[];
416
412
  max_executions: number;
417
413
  };
414
+ export type QuickCommandsStepScriptRequest = {
415
+ slug: string;
416
+ script: string;
417
+ use_uploaded_files: boolean;
418
+ next_step_slug?: string | null;
419
+ };
418
420
  export type CustomInputRequest = {
419
421
  slug: string;
420
422
  question: string;
@@ -426,22 +428,24 @@ export type QuickCommandsCreateRequest = {
426
428
  "type"?: QuickCommandTypeRequest;
427
429
  description: string;
428
430
  final_result: string;
429
- steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest)[];
431
+ steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[];
430
432
  return_type?: QuickCommandsReturnType | null;
431
433
  preserve_conversation?: boolean;
432
434
  custom_inputs?: CustomInputRequest[] | null;
433
435
  flow?: {
434
436
  [key: string]: any;
435
437
  } | null;
438
+ share_context_between_steps?: boolean | null;
436
439
  };
437
440
  export type QuickCommandsUpdateRequest = {
438
441
  name?: string | null;
439
442
  description?: string | null;
440
- steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest)[] | null;
443
+ steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[] | null;
441
444
  return_type?: QuickCommandsReturnType | null;
442
445
  knowledge_source_slugs?: string[] | null;
443
446
  final_result?: string | null;
444
447
  preserve_conversation?: boolean;
448
+ share_context_between_steps?: boolean;
445
449
  custom_inputs?: CustomInputRequest[] | null;
446
450
  flow?: {
447
451
  [key: string]: any;
@@ -449,7 +453,7 @@ export type QuickCommandsUpdateRequest = {
449
453
  use_only?: boolean | null;
450
454
  use_uploaded_files?: boolean | null;
451
455
  };
452
- export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER";
456
+ export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER" | "SCRIPT";
453
457
  export type Method2 = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
454
458
  export type QuickCommandStepFetchResponse = {
455
459
  slug: string;
@@ -506,6 +510,7 @@ export type QuickCommandStepLlmResponse = {
506
510
  agent_built_in?: boolean | null;
507
511
  agent_data?: AgentDefinitionResponse | null;
508
512
  next_step_slug?: string | null;
513
+ next_failure_step_slug?: string | null;
509
514
  use_uploaded_files?: boolean;
510
515
  allow_use_current_workspace?: boolean;
511
516
  };
@@ -531,6 +536,13 @@ export type QuickCommandsStepRouterResponse = {
531
536
  routes: RouterStepRoute2[];
532
537
  max_executions: number;
533
538
  };
539
+ export type QuickCommandsStepScriptResponse = {
540
+ slug: string;
541
+ "type": QuickCommandStepType;
542
+ script: string;
543
+ use_uploaded_files: boolean;
544
+ next_step_slug?: string | null;
545
+ };
534
546
  export type CustomInputResponse = {
535
547
  slug: string;
536
548
  question: string;
@@ -544,7 +556,7 @@ export type QuickCommandResponse = {
544
556
  studio_id?: string | null;
545
557
  return_type?: QuickCommandsReturnType | null;
546
558
  final_result?: string | null;
547
- steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse)[] | null;
559
+ steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse | QuickCommandsStepScriptResponse)[] | null;
548
560
  flow?: {
549
561
  [key: string]: any;
550
562
  } | null;
@@ -555,6 +567,7 @@ export type QuickCommandResponse = {
555
567
  use_only: boolean;
556
568
  custom_inputs?: CustomInputResponse[] | null;
557
569
  id: string;
570
+ share_context_between_steps?: boolean | null;
558
571
  };
559
572
  export type QuickCommandPublishRequest = {
560
573
  use_only?: boolean | null;
@@ -564,9 +577,17 @@ export type QuickCommandsMakeACopyRequest = {
564
577
  name: string;
565
578
  description: string;
566
579
  };
580
+ export type QuickCommandAnswerStatusResponse = {
581
+ success: boolean;
582
+ next_step_slug?: string | null;
583
+ failure_message?: string | null;
584
+ input_tokens?: number | null;
585
+ output_tokens?: number | null;
586
+ };
567
587
  export type QuickCommandPromptResponse = {
568
588
  answer: string;
569
- sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2 | KnowledgeSourceEvent)[] | null;
589
+ sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
590
+ answer_status?: QuickCommandAnswerStatusResponse | null;
570
591
  };
571
592
  export type QuickCommandFetchResponseResult = {
572
593
  headers?: {
@@ -575,6 +596,17 @@ export type QuickCommandFetchResponseResult = {
575
596
  data?: string | null;
576
597
  status: number;
577
598
  };
599
+ export type QuickCommandStepScriptStatus = "queued" | "running" | "success" | "failure";
600
+ export type QuickCommandScriptExecutionResponse = {
601
+ status: QuickCommandStepScriptStatus;
602
+ duration?: number | null;
603
+ result?: {
604
+ [key: string]: any;
605
+ } | null;
606
+ logs?: string | null;
607
+ started?: string | null;
608
+ };
609
+ export type QuickCommandStepResult = QuickCommandPromptResponse | QuickCommandFetchResponseResult | QuickCommandScriptExecutionResponse;
578
610
  export type QuickCommandsExecutionRequest = {
579
611
  context?: {
580
612
  [key: string]: any;
@@ -583,7 +615,7 @@ export type QuickCommandsExecutionRequest = {
583
615
  code_selection?: string | null;
584
616
  input_data?: string | null;
585
617
  slugs_executions?: {
586
- [key: string]: string | QuickCommandPromptResponse | QuickCommandFetchResponseResult;
618
+ [key: string]: string | QuickCommandStepResult;
587
619
  } | null;
588
620
  qc_execution_id?: string | null;
589
621
  };
@@ -597,7 +629,7 @@ export type QuickCommandEvaluateStepRouterRequest = {
597
629
  } | null;
598
630
  selected_code?: string | null;
599
631
  slugs_executions: {
600
- [key: string]: QuickCommandPromptResponse | QuickCommandFetchResponseResult;
632
+ [key: string]: QuickCommandStepResult;
601
633
  } | null;
602
634
  };
603
635
  export type QuickCommandEvaluateStepRouterResponse = {
@@ -629,6 +661,7 @@ export type Progress = {
629
661
  status: string;
630
662
  };
631
663
  export type StepFetch = {
664
+ duration?: number | null;
632
665
  status_code: number;
633
666
  headers?: {
634
667
  [key: string]: string;
@@ -638,21 +671,41 @@ export type StepFetch = {
638
671
  [key: string]: any;
639
672
  } | null;
640
673
  };
674
+ export type AnswerStatus = {
675
+ success: boolean;
676
+ failure_message?: string | null;
677
+ input_tokens?: number | null;
678
+ output_tokens?: number | null;
679
+ attempt?: number | null;
680
+ };
641
681
  export type StepLlm = {
642
- answer: string;
682
+ duration?: number | null;
683
+ answer?: string | null;
684
+ answer_status?: AnswerStatus | null;
643
685
  sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[];
644
686
  tools?: string[];
645
687
  };
646
688
  export type StepRouter = {
689
+ duration?: number | null;
647
690
  next_step_slug: string;
648
691
  condition?: ConditionExpr2 | null;
649
692
  "default"?: boolean;
650
693
  };
694
+ export type StepScript = {
695
+ duration?: number | null;
696
+ status: QuickCommandStepScriptStatus;
697
+ result?: {
698
+ [key: string]: any;
699
+ } | null;
700
+ logs?: string | null;
701
+ started?: string | null;
702
+ };
651
703
  export type Step = {
652
704
  step_name: string;
653
705
  execution_order: number;
654
706
  "type": QuickCommandStepType;
655
- step_result: StepFetch | StepLlm | StepRouter | null;
707
+ step_result: StepFetch | StepLlm | StepRouter | StepScript | null;
708
+ status?: string;
656
709
  };
657
710
  export type QuickCommandExecutionResponse = {
658
711
  execution_id: string;
@@ -663,6 +716,23 @@ export type QuickCommandExecutionResponse = {
663
716
  steps?: Step[] | null;
664
717
  result?: string | null;
665
718
  };
719
+ export type QuickCommandStartScriptRequest = {
720
+ context?: {
721
+ [key: string]: any;
722
+ } | null;
723
+ input_data?: string | {
724
+ [key: string]: any;
725
+ } | null;
726
+ custom_inputs?: {
727
+ [key: string]: any;
728
+ } | null;
729
+ slugs_executions: {
730
+ [key: string]: QuickCommandStepResult;
731
+ } | null;
732
+ };
733
+ export type QuickCommandStartScriptResponse = {
734
+ script_execution_id: string;
735
+ };
666
736
  export type ConversationHistoryAgentEnum = "AI" | "USER";
667
737
  export type ConversationHistoryResponse = {
668
738
  message_id: string;
@@ -673,6 +743,7 @@ export type ConversationHistoryResponse = {
673
743
  [key: string]: any;
674
744
  } | null;
675
745
  updated: string;
746
+ agent_info?: any[] | null;
676
747
  };
677
748
  export type ConversationResponse = {
678
749
  id: string;
@@ -711,18 +782,83 @@ export type DependencyResponse = {
711
782
  delete_contents?: ContentDependencyResponse[] | null;
712
783
  missing_list?: ContentDependencyResponse[] | null;
713
784
  };
714
- export type SourceProjectFile3 = {
785
+ export type TokenTypeEnum = "prompt" | "embedding";
786
+ export type AnalyticsTokensDailyUsageResponseSeriesItem = {
787
+ day: number;
788
+ date: string;
789
+ total_tokens: number;
790
+ };
791
+ export type AnalyticsTokensDailyUsageResponse = {
792
+ year: number;
793
+ month: number;
794
+ series: AnalyticsTokensDailyUsageResponseSeriesItem[];
795
+ consumed_tokens: number;
796
+ consumed_tokens_over_last_month?: number | null;
797
+ purchased_token_limit?: number | null;
798
+ purchased_token_limit_over_last_month?: number | null;
799
+ available_tokens?: number | null;
800
+ available_tokens_over_last_month?: number | null;
801
+ limit_consumed?: number | null;
802
+ limit_consumed_over_last_month?: number | null;
803
+ };
804
+ export type AnalyticsTokensRankingUsersResponse = {
805
+ email: string;
806
+ rank: number;
807
+ total_tokens: number;
808
+ total_share: number;
809
+ overage_tokens: number;
810
+ overage_percentage: number;
811
+ };
812
+ export type AnalyticsTokensRankingUsersResponsePaginated = {
813
+ total_pages: number;
814
+ items: AnalyticsTokensRankingUsersResponse[];
815
+ };
816
+ export type SortDirection = "ASC" | "DESC";
817
+ export type ReviewAnswers = {
818
+ id: string;
819
+ memberId: string;
820
+ comment: string;
821
+ createdAt: string;
822
+ updatedAt?: string | null;
823
+ };
824
+ export type Review = {
825
+ id: string;
826
+ memberId: string;
827
+ rating: number;
828
+ comment: string;
829
+ resourceType: string;
830
+ resourceSlug: string;
831
+ createdAt: string;
832
+ updatedAt?: string | null;
833
+ reviewAnswers?: ReviewAnswers[];
834
+ };
835
+ export type ResourceReviewResponse = {
836
+ items: Review[];
837
+ totalElements: number;
838
+ page: number;
839
+ size: number;
840
+ totalPages: number;
841
+ };
842
+ export type ResourceReviewRequest = {
843
+ rating: number;
844
+ comment?: string | null;
845
+ };
846
+ export type ReviewAnswer = {
847
+ answer: string;
848
+ };
849
+ export type SourceProjectFile2 = {
715
850
  "type": "project_file";
716
851
  path: string;
717
852
  document_score: number;
718
853
  };
719
854
  export type ChatResponse2 = {
720
855
  answer: string;
721
- sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
856
+ sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2)[];
722
857
  };
723
858
  export type QuickCommandPromptResponse2 = {
724
859
  answer: string;
725
860
  sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
861
+ answer_status?: QuickCommandAnswerStatusResponse | null;
726
862
  };
727
863
  export type ChatRequest = {
728
864
  context?: {
@@ -731,16 +867,36 @@ export type ChatRequest = {
731
867
  user_prompt: string;
732
868
  project_id?: string | null;
733
869
  };
734
- export type SourceProjectFile4 = {
870
+ export type SourceProjectFile3 = {
735
871
  "type": "project_file";
736
872
  path: string;
737
873
  document_score: number;
738
874
  };
739
875
  export type ChatResponse3 = {
740
876
  answer: string;
741
- sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile4)[];
877
+ sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
742
878
  message_id: string | null;
743
879
  };
880
+ export type QuickCommandListResponseV3 = {
881
+ slug: string;
882
+ name: string;
883
+ "type": QuickCommandTypeRequest;
884
+ description: string;
885
+ studio_id?: string | null;
886
+ preserve_conversation: boolean;
887
+ use_selected_code: boolean;
888
+ return_type?: QuickCommandsReturnType | null;
889
+ creator: string | null;
890
+ visibility_level: string;
891
+ use_only: boolean;
892
+ share_context_between_steps?: boolean;
893
+ is_favorite?: boolean;
894
+ id: string;
895
+ };
896
+ export type PaginatedResponseQuickCommandListResponseV3 = {
897
+ total_pages: number;
898
+ items: QuickCommandListResponseV3[];
899
+ };
744
900
  /**
745
901
  * Metrics
746
902
  */
@@ -748,130 +904,144 @@ export declare function metricsMetricsGet(opts?: Oazapfts.RequestOpts): Promise<
748
904
  /**
749
905
  * Workspace Fork
750
906
  */
751
- export declare function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceForkRequest }: {
907
+ export declare function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceForkRequest }: {
752
908
  authorization: string;
753
909
  xAccountId?: string | null;
754
910
  xMemberId?: string | null;
911
+ xUsername?: string | null;
755
912
  aiStackWorkspaceForkRequest: AiStackWorkspaceForkRequest;
756
913
  }, opts?: Oazapfts.RequestOpts): Promise<AiStackWorkspaceForkResponse>;
757
914
  /**
758
915
  * Workspace Delete Fork
759
916
  */
760
- export declare function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, aiStackWorkspaceDeleteRequest }: {
917
+ export declare function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceDeleteRequest }: {
761
918
  authorization: string;
762
919
  xAccountId?: string | null;
763
920
  xMemberId?: string | null;
921
+ xUsername?: string | null;
764
922
  aiStackWorkspaceDeleteRequest: AiStackWorkspaceDeleteRequest;
765
923
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
766
924
  /**
767
925
  * Workspace List
768
926
  */
769
- export declare function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceListRequest }: {
927
+ export declare function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceListRequest }: {
770
928
  authorization: string;
771
929
  xAccountId?: string | null;
772
930
  xMemberId?: string | null;
931
+ xUsername?: string | null;
773
932
  aiStackWorkspaceListRequest: AiStackWorkspaceListRequest;
774
933
  }, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse[]>;
775
934
  /**
776
935
  * List Ai Stacks
777
936
  */
778
- export declare function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId }: {
937
+ export declare function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId, xUsername }: {
779
938
  visibility?: VisibilityLevelEnum;
780
939
  authorization: string;
781
940
  xAccountId?: string | null;
782
941
  xMemberId?: string | null;
942
+ xUsername?: string | null;
783
943
  }, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse[]>;
784
944
  /**
785
945
  * Create Ai Stack
786
946
  */
787
- export declare function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, newAiStackRequest }: {
947
+ export declare function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, xUsername, newAiStackRequest }: {
788
948
  authorization: string;
789
949
  xAccountId?: string | null;
790
950
  xMemberId?: string | null;
951
+ xUsername?: string | null;
791
952
  newAiStackRequest: NewAiStackRequest;
792
953
  }, opts?: Oazapfts.RequestOpts): Promise<NewAiStackResponse>;
793
954
  /**
794
955
  * Update Ai Stack
795
956
  */
796
- export declare function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, updateAiStackRequest }: {
957
+ export declare function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, xUsername, updateAiStackRequest }: {
797
958
  stackId: string;
798
959
  authorization: string;
799
960
  xAccountId?: string | null;
800
961
  xMemberId?: string | null;
962
+ xUsername?: string | null;
801
963
  updateAiStackRequest: UpdateAiStackRequest;
802
964
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
803
965
  /**
804
966
  * Get Ai Stack
805
967
  */
806
- export declare function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId }: {
968
+ export declare function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
807
969
  stackId: string;
808
970
  authorization: string;
809
971
  xAccountId?: string | null;
810
972
  xMemberId?: string | null;
973
+ xUsername?: string | null;
811
974
  }, opts?: Oazapfts.RequestOpts): Promise<GetAiStackResponse>;
812
975
  /**
813
976
  * Remove Ai Stack
814
977
  */
815
- export declare function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId }: {
978
+ export declare function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
816
979
  stackId: string;
817
980
  authorization: string;
818
981
  xAccountId?: string | null;
819
982
  xMemberId?: string | null;
983
+ xUsername?: string | null;
820
984
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
821
985
  /**
822
986
  * Get Ai Stack Exists
823
987
  */
824
- export declare function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId }: {
988
+ export declare function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId, xUsername }: {
825
989
  stackName: string;
826
990
  authorization: string;
827
991
  xAccountId?: string | null;
828
992
  xMemberId?: string | null;
993
+ xUsername?: string | null;
829
994
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
830
995
  /**
831
996
  * Add Favorite
832
997
  */
833
- export declare function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId }: {
998
+ export declare function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
834
999
  stackId: string;
835
1000
  authorization: string;
836
1001
  xAccountId?: string | null;
837
1002
  xMemberId?: string | null;
1003
+ xUsername?: string | null;
838
1004
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
839
1005
  /**
840
1006
  * Delete Favorite
841
1007
  */
842
- export declare function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId }: {
1008
+ export declare function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
843
1009
  stackId: string;
844
1010
  authorization: string;
845
1011
  xAccountId?: string | null;
846
1012
  xMemberId?: string | null;
1013
+ xUsername?: string | null;
847
1014
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
848
1015
  /**
849
1016
  * Fork
850
1017
  */
851
- export declare function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, aiStackForkRequest }: {
1018
+ export declare function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackForkRequest }: {
852
1019
  stackId: string;
853
1020
  authorization: string;
854
1021
  xAccountId?: string | null;
855
1022
  xMemberId?: string | null;
1023
+ xUsername?: string | null;
856
1024
  aiStackForkRequest: AiStackForkRequest;
857
1025
  }, opts?: Oazapfts.RequestOpts): Promise<NewAiStackResponse>;
858
1026
  /**
859
1027
  * Share
860
1028
  */
861
- export declare function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId }: {
1029
+ export declare function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
862
1030
  stackId: string;
863
1031
  authorization: string;
864
1032
  xAccountId?: string | null;
865
1033
  xMemberId?: string | null;
1034
+ xUsername?: string | null;
866
1035
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
867
1036
  /**
868
1037
  * Publish
869
1038
  */
870
- export declare function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, aiStackPublishRequest }: {
1039
+ export declare function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackPublishRequest }: {
871
1040
  stackId: string;
872
1041
  authorization: string;
873
1042
  xAccountId?: string | null;
874
1043
  xMemberId?: string | null;
1044
+ xUsername?: string | null;
875
1045
  aiStackPublishRequest?: AiStackPublishRequest;
876
1046
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
877
1047
  /**
@@ -884,10 +1054,11 @@ export declare function projectFilesV1ProjectFilesPost({ authorization, newProje
884
1054
  /**
885
1055
  * Quick Actions
886
1056
  */
887
- export declare function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, quickActionsRequest }: {
1057
+ export declare function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, xUsername, quickActionsRequest }: {
888
1058
  authorization: string;
889
1059
  xAccountId?: string | null;
890
1060
  xMemberId?: string | null;
1061
+ xUsername?: string | null;
891
1062
  quickActionsRequest: QuickActionsRequest;
892
1063
  }, opts?: Oazapfts.RequestOpts): Promise<SimpleResponse>;
893
1064
  /**
@@ -897,19 +1068,21 @@ export declare function devAssistantV1ChatPost(opts?: Oazapfts.RequestOpts): Pro
897
1068
  /**
898
1069
  * Autocomplete V1
899
1070
  */
900
- export declare function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, autoCompleteRequest }: {
1071
+ export declare function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, xUsername, autoCompleteRequest }: {
901
1072
  authorization: string;
902
1073
  xAccountId?: string | null;
903
1074
  xMemberId?: string | null;
1075
+ xUsername?: string | null;
904
1076
  autoCompleteRequest: AutoCompleteRequest;
905
1077
  }, opts?: Oazapfts.RequestOpts): Promise<string | AutoCompleteResult>;
906
1078
  /**
907
1079
  * Post Event
908
1080
  */
909
- export declare function postEventV1EventsPost({ authorization, xAccountId, xMemberId, body }: {
1081
+ export declare function postEventV1EventsPost({ authorization, xAccountId, xMemberId, xUsername, body }: {
910
1082
  authorization: string;
911
1083
  xAccountId?: string | null;
912
1084
  xMemberId?: string | null;
1085
+ xUsername?: string | null;
913
1086
  body: GenericEventRequest[];
914
1087
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
915
1088
  /**
@@ -940,7 +1113,7 @@ export declare function createKnowledgeSourceV1KnowledgeSourcesPost({ authorizat
940
1113
  /**
941
1114
  * List Knowledge Sources
942
1115
  */
943
- export declare function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId }: {
1116
+ export declare function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId, xUsername }: {
944
1117
  visibility?: VisibilityLevelEnum;
945
1118
  order?: OrderEnum;
946
1119
  $default?: boolean | null;
@@ -948,6 +1121,7 @@ export declare function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility,
948
1121
  authorization: string;
949
1122
  xAccountId?: string | null;
950
1123
  xMemberId?: string | null;
1124
+ xUsername?: string | null;
951
1125
  }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceItemResponse[]>;
952
1126
  /**
953
1127
  * Find Knowledge Source
@@ -967,11 +1141,12 @@ export declare function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug,
967
1141
  /**
968
1142
  * Delete Knowledge Source
969
1143
  */
970
- export declare function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
1144
+ export declare function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
971
1145
  slug: string;
972
1146
  authorization: string;
973
1147
  xAccountId?: string | null;
974
1148
  xMemberId?: string | null;
1149
+ xUsername?: string | null;
975
1150
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
976
1151
  /**
977
1152
  * Exists Knowledge Source
@@ -983,13 +1158,14 @@ export declare function existsKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ s
983
1158
  /**
984
1159
  * Search
985
1160
  */
986
- export declare function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId }: {
1161
+ export declare function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId, xUsername }: {
987
1162
  slug: string;
988
1163
  q: string;
989
1164
  size?: number;
990
1165
  authorization: string;
991
1166
  xAccountId?: string | null;
992
1167
  xMemberId?: string | null;
1168
+ xUsername?: string | null;
993
1169
  }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceSimilaritySearchItemResponse[]>;
994
1170
  /**
995
1171
  * Share Knowledge Source
@@ -1064,11 +1240,12 @@ export declare function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsId
1064
1240
  /**
1065
1241
  * Vectorize Snippet Knowledge Source
1066
1242
  */
1067
- export declare function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, snippetKnowledgeSourceRequest }: {
1243
+ export declare function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, xUsername, snippetKnowledgeSourceRequest }: {
1068
1244
  slug: string;
1069
1245
  authorization: string;
1070
1246
  xAccountId?: string | null;
1071
1247
  xMemberId?: string | null;
1248
+ xUsername?: string | null;
1072
1249
  snippetKnowledgeSourceRequest: SnippetKnowledgeSourceRequest;
1073
1250
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1074
1251
  /**
@@ -1090,11 +1267,12 @@ export declare function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet(
1090
1267
  /**
1091
1268
  * Vectorize Event Knowledge Source
1092
1269
  */
1093
- export declare function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, body }: {
1270
+ export declare function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, xUsername, body }: {
1094
1271
  slug: string;
1095
1272
  authorization: string;
1096
1273
  xAccountId?: string | null;
1097
1274
  xMemberId?: string | null;
1275
+ xUsername?: string | null;
1098
1276
  body: {
1099
1277
  [key: string]: any;
1100
1278
  };
@@ -1110,11 +1288,12 @@ export declare function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet
1110
1288
  /**
1111
1289
  * Vectorize Custom Knowledge Source
1112
1290
  */
1113
- export declare function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, customKnowledgeSourceRequest }: {
1291
+ export declare function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, xUsername, customKnowledgeSourceRequest }: {
1114
1292
  slug: string;
1115
1293
  authorization: string;
1116
1294
  xAccountId?: string | null;
1117
1295
  xMemberId?: string | null;
1296
+ xUsername?: string | null;
1118
1297
  customKnowledgeSourceRequest: CustomKnowledgeSourceRequest;
1119
1298
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1120
1299
  /**
@@ -1131,36 +1310,40 @@ export declare function searchKnowledgeSourcesV1KnowledgeSourcesSearchPost({ aut
1131
1310
  /**
1132
1311
  * Change Llm
1133
1312
  */
1134
- export declare function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeLlmRequest }: {
1313
+ export declare function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLlmRequest }: {
1135
1314
  authorization: string;
1136
1315
  xAccountId?: string | null;
1137
1316
  xMemberId?: string | null;
1317
+ xUsername?: string | null;
1138
1318
  accountSettingsChangeLlmRequest: AccountSettingsChangeLlmRequest;
1139
1319
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1140
1320
  /**
1141
1321
  * Change Limit
1142
1322
  */
1143
- export declare function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, accountSettingsChangeLimitRequest }: {
1323
+ export declare function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLimitRequest }: {
1144
1324
  authorization: string;
1145
1325
  xAccountId?: string | null;
1146
1326
  xMemberId?: string | null;
1327
+ xUsername?: string | null;
1147
1328
  accountSettingsChangeLimitRequest: AccountSettingsChangeLimitRequest;
1148
1329
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1149
1330
  /**
1150
1331
  * Reset Limit
1151
1332
  */
1152
- export declare function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId }: {
1333
+ export declare function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId, xUsername }: {
1153
1334
  authorization: string;
1154
1335
  xAccountId?: string | null;
1155
1336
  xMemberId?: string | null;
1337
+ xUsername?: string | null;
1156
1338
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1157
1339
  /**
1158
1340
  * Change External Rqc
1159
1341
  */
1160
- export declare function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeErqcRequest }: {
1342
+ export declare function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeErqcRequest }: {
1161
1343
  authorization: string;
1162
1344
  xAccountId?: string | null;
1163
1345
  xMemberId?: string | null;
1346
+ xUsername?: string | null;
1164
1347
  accountSettingsChangeErqcRequest: AccountSettingsChangeErqcRequest;
1165
1348
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1166
1349
  /**
@@ -1178,380 +1361,446 @@ export declare function changeExternalConfigsV1AccountsExternalConfigPatch({ bod
1178
1361
  /**
1179
1362
  * Tokens Usage
1180
1363
  */
1181
- export declare function tokensUsageV1AccountsTokensUsageGet(opts?: Oazapfts.RequestOpts): Promise<AccountTokenUsage>;
1364
+ export declare function tokensUsageV1AccountsTokensUsageGet({ authorization, xAccountId, xMemberId, xUsername }: {
1365
+ authorization: string;
1366
+ xAccountId?: string | null;
1367
+ xMemberId?: string | null;
1368
+ xUsername?: string | null;
1369
+ }, opts?: Oazapfts.RequestOpts): Promise<AccountTokenUsage>;
1182
1370
  /**
1183
- * Current
1371
+ * Total
1184
1372
  */
1185
- export declare function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId }: {
1373
+ export declare function totalV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId, xUsername }: {
1186
1374
  authorization: string;
1187
1375
  xAccountId?: string | null;
1188
1376
  xMemberId?: string | null;
1377
+ xUsername?: string | null;
1189
1378
  }, opts?: Oazapfts.RequestOpts): Promise<TokensCurrentUsageResponse>;
1190
1379
  /**
1191
1380
  * Current
1192
1381
  */
1193
- export declare function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId }: {
1194
- year: number;
1195
- month: number;
1382
+ export declare function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
1383
+ year?: number | null;
1384
+ month?: number | null;
1196
1385
  authorization: string;
1197
1386
  xAccountId?: string | null;
1198
1387
  xMemberId?: string | null;
1388
+ xUsername?: string | null;
1199
1389
  }, opts?: Oazapfts.RequestOpts): Promise<TokensCurrentUsageResponse>;
1200
1390
  /**
1201
1391
  * Monthly
1202
1392
  */
1203
- export declare function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId }: {
1393
+ export declare function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId, xUsername }: {
1204
1394
  year: number;
1205
1395
  authorization: string;
1206
1396
  xAccountId?: string | null;
1207
1397
  xMemberId?: string | null;
1398
+ xUsername?: string | null;
1208
1399
  }, opts?: Oazapfts.RequestOpts): Promise<TokensMonthlyUsageResponse[]>;
1209
1400
  /**
1210
1401
  * Top Users
1211
1402
  */
1212
- export declare function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId }: {
1403
+ export declare function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
1213
1404
  year: number;
1214
1405
  month: number;
1215
1406
  authorization: string;
1216
1407
  xAccountId?: string | null;
1217
1408
  xMemberId?: string | null;
1409
+ xUsername?: string | null;
1218
1410
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1219
1411
  /**
1220
1412
  * Add Association
1221
1413
  */
1222
- export declare function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, addWorkspaceKnowledgeSourceRequest }: {
1414
+ export declare function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, xUsername, addWorkspaceKnowledgeSourceRequest }: {
1223
1415
  workspaceId: string;
1224
1416
  authorization: string;
1225
1417
  xAccountId?: string | null;
1226
1418
  xMemberId?: string | null;
1419
+ xUsername?: string | null;
1227
1420
  addWorkspaceKnowledgeSourceRequest: AddWorkspaceKnowledgeSourceRequest;
1228
1421
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1229
1422
  /**
1230
1423
  * List Association
1231
1424
  */
1232
- export declare function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
1425
+ export declare function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
1233
1426
  workspaceId: string;
1234
1427
  authorization: string;
1235
1428
  xAccountId?: string | null;
1236
1429
  xMemberId?: string | null;
1430
+ xUsername?: string | null;
1237
1431
  }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceResponse[]>;
1238
1432
  /**
1239
1433
  * Delete Association
1240
1434
  */
1241
- export declare function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId }: {
1435
+ export declare function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId, xUsername }: {
1242
1436
  workspaceId: string;
1243
1437
  knowledgeSourceSlug: string;
1244
1438
  authorization: string;
1245
1439
  xAccountId?: string | null;
1246
1440
  xMemberId?: string | null;
1441
+ xUsername?: string | null;
1247
1442
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1248
1443
  /**
1249
1444
  * Workspace Fork
1250
1445
  */
1251
- export declare function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceForkRequest }: {
1446
+ export declare function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceForkRequest }: {
1252
1447
  authorization: string;
1253
1448
  xAccountId?: string | null;
1254
1449
  xMemberId?: string | null;
1450
+ xUsername?: string | null;
1255
1451
  quickCommandWorkspaceForkRequest: QuickCommandWorkspaceForkRequest;
1256
1452
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1257
1453
  /**
1258
1454
  * Workspace Delete Fork
1259
1455
  */
1260
- export declare function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, quickCommandWorkspaceDeleteRequest }: {
1456
+ export declare function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceDeleteRequest }: {
1261
1457
  authorization: string;
1262
1458
  xAccountId?: string | null;
1263
1459
  xMemberId?: string | null;
1460
+ xUsername?: string | null;
1264
1461
  quickCommandWorkspaceDeleteRequest: QuickCommandWorkspaceDeleteRequest;
1265
1462
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1266
1463
  /**
1267
1464
  * Workspace List
1268
1465
  */
1269
- export declare function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceListRequest }: {
1466
+ export declare function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceListRequest }: {
1270
1467
  authorization: string;
1271
1468
  xAccountId?: string | null;
1272
1469
  xMemberId?: string | null;
1470
+ xUsername?: string | null;
1273
1471
  quickCommandWorkspaceListRequest: QuickCommandWorkspaceListRequest;
1274
1472
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1275
1473
  /**
1276
1474
  * Create Quick Command
1277
1475
  */
1278
- export declare function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, quickCommandsCreateRequest }: {
1476
+ export declare function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandsCreateRequest }: {
1279
1477
  authorization: string;
1280
1478
  xAccountId?: string | null;
1281
1479
  xMemberId?: string | null;
1480
+ xUsername?: string | null;
1282
1481
  quickCommandsCreateRequest: QuickCommandsCreateRequest;
1283
1482
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1284
1483
  /**
1285
1484
  * List All
1286
1485
  */
1287
- export declare function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
1486
+ export declare function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
1288
1487
  visibility?: VisibilityLevelEnum | null;
1289
1488
  order?: OrderEnum;
1290
1489
  types?: QuickCommandTypeRequest[] | null;
1291
1490
  authorization: string;
1292
1491
  xAccountId?: string | null;
1293
1492
  xMemberId?: string | null;
1493
+ xUsername?: string | null;
1294
1494
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1295
1495
  /**
1296
1496
  * Update Quick Command
1297
1497
  */
1298
- export declare function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, quickCommandsUpdateRequest }: {
1498
+ export declare function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsUpdateRequest }: {
1299
1499
  slug: string;
1300
1500
  authorization: string;
1301
1501
  xAccountId?: string | null;
1302
1502
  xMemberId?: string | null;
1503
+ xUsername?: string | null;
1303
1504
  quickCommandsUpdateRequest: QuickCommandsUpdateRequest;
1304
1505
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1305
1506
  /**
1306
1507
  * Get Quick Command
1307
1508
  */
1308
- export declare function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId }: {
1509
+ export declare function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId, xUsername }: {
1309
1510
  slug: string;
1310
1511
  findAgents?: boolean;
1311
1512
  authorization: string;
1312
1513
  xAccountId?: string | null;
1313
1514
  xMemberId?: string | null;
1515
+ xUsername?: string | null;
1314
1516
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandResponse>;
1315
1517
  /**
1316
1518
  * Delete Quick Command
1317
1519
  */
1318
- export declare function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
1520
+ export declare function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1319
1521
  slug: string;
1320
1522
  authorization: string;
1321
1523
  xAccountId?: string | null;
1322
1524
  xMemberId?: string | null;
1525
+ xUsername?: string | null;
1323
1526
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1324
1527
  /**
1325
1528
  * Add Favorite
1326
1529
  */
1327
- export declare function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId }: {
1530
+ export declare function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1328
1531
  slug: string;
1329
1532
  authorization: string;
1330
1533
  xAccountId?: string | null;
1331
1534
  xMemberId?: string | null;
1535
+ xUsername?: string | null;
1332
1536
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1333
1537
  /**
1334
1538
  * Delete Favorite
1335
1539
  */
1336
- export declare function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId }: {
1540
+ export declare function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1337
1541
  slug: string;
1338
1542
  authorization: string;
1339
1543
  xAccountId?: string | null;
1340
1544
  xMemberId?: string | null;
1545
+ xUsername?: string | null;
1341
1546
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1342
1547
  /**
1343
1548
  * Share
1344
1549
  */
1345
- export declare function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId }: {
1550
+ export declare function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1346
1551
  slug: string;
1347
1552
  authorization: string;
1348
1553
  xAccountId?: string | null;
1349
1554
  xMemberId?: string | null;
1555
+ xUsername?: string | null;
1350
1556
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1351
1557
  /**
1352
1558
  * Publish
1353
1559
  */
1354
- export declare function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, quickCommandPublishRequest }: {
1560
+ export declare function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }: {
1355
1561
  slug: string;
1356
1562
  authorization: string;
1357
1563
  xAccountId?: string | null;
1358
1564
  xMemberId?: string | null;
1565
+ xUsername?: string | null;
1359
1566
  quickCommandPublishRequest?: QuickCommandPublishRequest;
1360
1567
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1361
1568
  /**
1362
1569
  * Fork
1363
1570
  */
1364
- export declare function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, quickCommandsMakeACopyRequest }: {
1571
+ export declare function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsMakeACopyRequest }: {
1365
1572
  slug: string;
1366
1573
  authorization: string;
1367
1574
  xAccountId?: string | null;
1368
1575
  xMemberId?: string | null;
1576
+ xUsername?: string | null;
1369
1577
  quickCommandsMakeACopyRequest: QuickCommandsMakeACopyRequest;
1370
1578
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1371
1579
  /**
1372
- * Get Quick Command
1580
+ * Check Quick Command Exists
1373
1581
  */
1374
- export declare function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId }: {
1582
+ export declare function checkQuickCommandExistsV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1375
1583
  slug: string;
1376
1584
  authorization: string;
1377
1585
  xAccountId?: string | null;
1378
1586
  xMemberId?: string | null;
1587
+ xUsername?: string | null;
1379
1588
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1380
1589
  /**
1381
1590
  * Get Quick Command By Ks Slug
1382
1591
  */
1383
- export declare function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId }: {
1592
+ export declare function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1384
1593
  slug: string;
1385
1594
  authorization: string;
1386
1595
  xAccountId?: string | null;
1387
1596
  xMemberId?: string | null;
1597
+ xUsername?: string | null;
1388
1598
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1389
1599
  /**
1390
1600
  * Get Quick Commands By Agent Id
1391
1601
  */
1392
- export declare function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId }: {
1602
+ export declare function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
1393
1603
  agentId: string;
1394
1604
  authorization: string;
1395
1605
  xAccountId?: string | null;
1396
1606
  xMemberId?: string | null;
1607
+ xUsername?: string | null;
1397
1608
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1398
1609
  /**
1399
1610
  * Disassociate Agent
1400
1611
  */
1401
- export declare function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId }: {
1612
+ export declare function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
1402
1613
  agentId: string;
1403
1614
  authorization: string;
1404
1615
  xAccountId?: string | null;
1405
1616
  xMemberId?: string | null;
1617
+ xUsername?: string | null;
1406
1618
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1407
1619
  /**
1408
1620
  * List By Workspace Id
1409
1621
  */
1410
- export declare function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
1622
+ export declare function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
1411
1623
  workspaceId: string;
1412
1624
  authorization: string;
1413
1625
  xAccountId?: string | null;
1414
1626
  xMemberId?: string | null;
1627
+ xUsername?: string | null;
1415
1628
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1416
1629
  /**
1417
1630
  * Format Fetch Step
1418
1631
  */
1419
- export declare function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
1632
+ export declare function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
1420
1633
  slug: string;
1421
1634
  stepSlug: string;
1422
1635
  authorization: string;
1423
1636
  xAccountId?: string | null;
1424
1637
  xMemberId?: string | null;
1638
+ xUsername?: string | null;
1425
1639
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
1426
1640
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandStepFetchResponse>;
1427
1641
  /**
1428
1642
  * Format Result
1429
1643
  */
1430
- export declare function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
1644
+ export declare function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
1431
1645
  slug: string;
1432
1646
  authorization: string;
1433
1647
  xAccountId?: string | null;
1434
1648
  xMemberId?: string | null;
1649
+ xUsername?: string | null;
1435
1650
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
1436
1651
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandFinalResultResponse>;
1437
1652
  /**
1438
1653
  * Calculates the next route for a ROUTER step
1439
1654
  */
1440
- export declare function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandEvaluateStepRouterRequest }: {
1655
+ export declare function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandEvaluateStepRouterRequest }: {
1441
1656
  slug: string;
1442
1657
  stepSlug: string;
1443
1658
  authorization: string;
1444
1659
  xAccountId?: string | null;
1445
1660
  xMemberId?: string | null;
1661
+ xUsername?: string | null;
1446
1662
  quickCommandEvaluateStepRouterRequest: QuickCommandEvaluateStepRouterRequest;
1447
1663
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandEvaluateStepRouterResponse>;
1448
1664
  /**
1449
1665
  * Add Workspace
1450
1666
  */
1451
- export declare function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
1667
+ export declare function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
1452
1668
  slug: string;
1453
1669
  workspaceId: string;
1454
1670
  authorization: string;
1455
1671
  xAccountId?: string | null;
1456
1672
  xMemberId?: string | null;
1673
+ xUsername?: string | null;
1457
1674
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1458
1675
  /**
1459
1676
  * Remove Workspace
1460
1677
  */
1461
- export declare function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
1678
+ export declare function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
1462
1679
  slug: string;
1463
1680
  workspaceId: string;
1464
1681
  authorization: string;
1465
1682
  xAccountId?: string | null;
1466
1683
  xMemberId?: string | null;
1684
+ xUsername?: string | null;
1467
1685
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1468
1686
  /**
1469
1687
  * Create Execution
1470
1688
  */
1471
- export declare function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, quickCommandCreateRequest }: {
1689
+ export declare function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, xUsername, quickCommandCreateRequest }: {
1472
1690
  slug: string;
1473
1691
  conversationId?: string | null;
1474
1692
  authorization: string;
1475
1693
  xAccountId?: string | null;
1476
1694
  xMemberId?: string | null;
1695
+ xUsername?: string | null;
1477
1696
  quickCommandCreateRequest?: QuickCommandCreateRequest;
1478
1697
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1479
1698
  /**
1480
1699
  * Triggers asynchronous execution of a Remote Quick Command
1481
1700
  */
1482
- export declare function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, quickCommandExecutionRequest }: {
1701
+ export declare function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, xUsername, quickCommandExecutionRequest }: {
1483
1702
  executionId: string;
1484
1703
  authorization: string;
1485
1704
  xAccountId?: string | null;
1486
1705
  xMemberId?: string | null;
1706
+ xUsername?: string | null;
1487
1707
  quickCommandExecutionRequest?: QuickCommandExecutionRequest;
1488
1708
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1489
1709
  /**
1490
1710
  * Callback
1491
1711
  */
1492
- export declare function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId }: {
1712
+ export declare function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId, xUsername }: {
1493
1713
  executionId: string;
1494
1714
  authorization: string;
1495
1715
  xAccountId?: string | null;
1496
1716
  xMemberId?: string | null;
1717
+ xUsername?: string | null;
1497
1718
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandExecutionResponse>;
1498
1719
  /**
1499
1720
  * Run Fetch Step
1500
1721
  */
1501
- export declare function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
1722
+ export declare function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
1502
1723
  slug: string;
1503
1724
  stepSlug: string;
1504
1725
  authorization: string;
1505
1726
  xAccountId?: string | null;
1506
1727
  xMemberId?: string | null;
1728
+ xUsername?: string | null;
1507
1729
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
1508
1730
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandStepFetchResponse>;
1731
+ /**
1732
+ * Starts the execution of a step with a user defined script
1733
+ */
1734
+ export declare function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandStartScriptRequest }: {
1735
+ slug: string;
1736
+ stepSlug: string;
1737
+ authorization: string;
1738
+ xAccountId?: string | null;
1739
+ xMemberId?: string | null;
1740
+ xUsername?: string | null;
1741
+ quickCommandStartScriptRequest: QuickCommandStartScriptRequest;
1742
+ }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandStartScriptResponse>;
1743
+ /**
1744
+ * Get the status of a script execution step
1745
+ */
1746
+ export declare function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExecutionIdGet({ scriptExecutionId, authorization, xAccountId, xMemberId, xUsername }: {
1747
+ scriptExecutionId: string;
1748
+ authorization: string;
1749
+ xAccountId?: string | null;
1750
+ xMemberId?: string | null;
1751
+ xUsername?: string | null;
1752
+ }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandScriptExecutionResponse>;
1509
1753
  /**
1510
1754
  * List Conversations
1511
1755
  */
1512
- export declare function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId }: {
1756
+ export declare function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId, xUsername }: {
1513
1757
  size?: number;
1514
1758
  page?: number;
1515
1759
  authorization: string;
1516
1760
  xAccountId?: string | null;
1517
1761
  xMemberId?: string | null;
1762
+ xUsername?: string | null;
1518
1763
  }, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse[]>;
1519
1764
  /**
1520
1765
  * Conversation History
1521
1766
  */
1522
- export declare function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId }: {
1767
+ export declare function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
1523
1768
  conversationId: string;
1524
1769
  authorization: string;
1525
1770
  xAccountId?: string | null;
1526
1771
  xMemberId?: string | null;
1772
+ xUsername?: string | null;
1527
1773
  }, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse>;
1528
1774
  /**
1529
1775
  * Update Title
1530
1776
  */
1531
- export declare function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, conversationUpdateTitleRequest }: {
1777
+ export declare function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, xUsername, conversationUpdateTitleRequest }: {
1532
1778
  conversationId: string;
1533
1779
  authorization: string;
1534
1780
  xAccountId?: string | null;
1535
1781
  xMemberId?: string | null;
1782
+ xUsername?: string | null;
1536
1783
  conversationUpdateTitleRequest: ConversationUpdateTitleRequest;
1537
1784
  }, opts?: Oazapfts.RequestOpts): Promise<ConversationResponse>;
1538
1785
  /**
1539
1786
  * Delete Conversation
1540
1787
  */
1541
- export declare function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId }: {
1788
+ export declare function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
1542
1789
  conversationId: string;
1543
1790
  authorization: string;
1544
1791
  xAccountId?: string | null;
1545
1792
  xMemberId?: string | null;
1793
+ xUsername?: string | null;
1546
1794
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1547
1795
  /**
1548
1796
  * Download Conversation
1549
1797
  */
1550
- export declare function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId }: {
1798
+ export declare function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
1551
1799
  conversationId: string;
1552
1800
  authorization: string;
1553
1801
  xAccountId?: string | null;
1554
1802
  xMemberId?: string | null;
1803
+ xUsername?: string | null;
1555
1804
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1556
1805
  /**
1557
1806
  * Create Knowledge Source
@@ -1578,11 +1827,12 @@ export declare function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugOb
1578
1827
  /**
1579
1828
  * Find Knowledge Source Dependencies
1580
1829
  */
1581
- export declare function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId }: {
1830
+ export declare function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
1582
1831
  slug: string;
1583
1832
  authorization: string;
1584
1833
  xAccountId?: string | null;
1585
1834
  xMemberId?: string | null;
1835
+ xUsername?: string | null;
1586
1836
  }, opts?: Oazapfts.RequestOpts): Promise<KnowledgeSourceDependenciesResponse>;
1587
1837
  /**
1588
1838
  * Get Flags
@@ -1591,13 +1841,132 @@ export declare function getFlagsV1FlagsGet(opts?: Oazapfts.RequestOpts): Promise
1591
1841
  /**
1592
1842
  * Get Content Dependencies
1593
1843
  */
1594
- export declare function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId }: {
1844
+ export declare function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId, xUsername }: {
1595
1845
  contentType: ContentDependencyType;
1596
1846
  contentId: string;
1597
1847
  authorization: string;
1598
1848
  xAccountId?: string | null;
1599
1849
  xMemberId?: string | null;
1850
+ xUsername?: string | null;
1600
1851
  }, opts?: Oazapfts.RequestOpts): Promise<DependencyResponse>;
1852
+ /**
1853
+ * Tokens Daily Usage
1854
+ */
1855
+ export declare function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, tokenType, authorization, xAccountId, xMemberId, xUsername }: {
1856
+ month: number;
1857
+ year: number;
1858
+ tokenType: TokenTypeEnum;
1859
+ authorization: string;
1860
+ xAccountId?: string | null;
1861
+ xMemberId?: string | null;
1862
+ xUsername?: string | null;
1863
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsTokensDailyUsageResponse>;
1864
+ /**
1865
+ * Tokens By User
1866
+ */
1867
+ export declare function tokensByUserV1AnalyticsTokensByUserGet({ month, year, tokenType, page, pageSize, authorization, xAccountId, xMemberId, xUsername }: {
1868
+ month: number;
1869
+ year: number;
1870
+ tokenType: TokenTypeEnum;
1871
+ page?: number;
1872
+ pageSize?: number;
1873
+ authorization: string;
1874
+ xAccountId?: string | null;
1875
+ xMemberId?: string | null;
1876
+ xUsername?: string | null;
1877
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsTokensRankingUsersResponsePaginated>;
1878
+ /**
1879
+ * Get Reviews By Resource
1880
+ */
1881
+ export declare function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugReviewsGet({ resourceSlug, resourceTypeSlug, size, page, sort, direction, authorization, xAccountId, xMemberId, xUsername }: {
1882
+ resourceSlug: string;
1883
+ resourceTypeSlug: string;
1884
+ size?: number | null;
1885
+ page?: number | null;
1886
+ sort?: string | null;
1887
+ direction?: SortDirection | null;
1888
+ authorization: string;
1889
+ xAccountId?: string | null;
1890
+ xMemberId?: string | null;
1891
+ xUsername?: string | null;
1892
+ }, opts?: Oazapfts.RequestOpts): Promise<ResourceReviewResponse>;
1893
+ /**
1894
+ * Create Resource Review
1895
+ */
1896
+ export declare function createResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsPost({ resourceSlug, resourceTypeSlug, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
1897
+ resourceSlug: string;
1898
+ resourceTypeSlug: string;
1899
+ authorization: string;
1900
+ xAccountId?: string | null;
1901
+ xMemberId?: string | null;
1902
+ xUsername?: string | null;
1903
+ resourceReviewRequest: ResourceReviewRequest;
1904
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1905
+ /**
1906
+ * Create Answer For Review
1907
+ */
1908
+ export declare function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersPost({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
1909
+ resourceSlug: string;
1910
+ resourceTypeSlug: string;
1911
+ reviewId: string;
1912
+ authorization: string;
1913
+ xAccountId?: string | null;
1914
+ xMemberId?: string | null;
1915
+ xUsername?: string | null;
1916
+ reviewAnswer: ReviewAnswer;
1917
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1918
+ /**
1919
+ * Update Resource Review
1920
+ */
1921
+ export declare function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdPatch({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
1922
+ resourceSlug: string;
1923
+ resourceTypeSlug: string;
1924
+ reviewId: string;
1925
+ authorization: string;
1926
+ xAccountId?: string | null;
1927
+ xMemberId?: string | null;
1928
+ xUsername?: string | null;
1929
+ resourceReviewRequest: ResourceReviewRequest;
1930
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1931
+ /**
1932
+ * Delete Resource Review
1933
+ */
1934
+ export declare function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdDelete({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername }: {
1935
+ resourceSlug: string;
1936
+ resourceTypeSlug: string;
1937
+ reviewId: string;
1938
+ authorization: string;
1939
+ xAccountId?: string | null;
1940
+ xMemberId?: string | null;
1941
+ xUsername?: string | null;
1942
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1943
+ /**
1944
+ * Update Review Comment
1945
+ */
1946
+ export declare function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdPatch({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
1947
+ resourceSlug: string;
1948
+ resourceTypeSlug: string;
1949
+ reviewId: string;
1950
+ answerId: string;
1951
+ authorization: string;
1952
+ xAccountId?: string | null;
1953
+ xMemberId?: string | null;
1954
+ xUsername?: string | null;
1955
+ reviewAnswer: ReviewAnswer;
1956
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1957
+ /**
1958
+ * Delete Review Comment
1959
+ */
1960
+ export declare function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdDelete({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername }: {
1961
+ resourceSlug: string;
1962
+ resourceTypeSlug: string;
1963
+ reviewId: string;
1964
+ answerId: string;
1965
+ authorization: string;
1966
+ xAccountId?: string | null;
1967
+ xMemberId?: string | null;
1968
+ xUsername?: string | null;
1969
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1601
1970
  /**
1602
1971
  * Dev Assistant V2
1603
1972
  */
@@ -1607,32 +1976,52 @@ export declare function devAssistantV2V2ChatPost({ accept }: {
1607
1976
  /**
1608
1977
  * Quick Commands Run V2
1609
1978
  */
1610
- export declare function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
1979
+ export declare function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
1611
1980
  slug: string;
1612
1981
  stepSlug: string;
1613
1982
  authorization: string;
1614
1983
  xAccountId?: string | null;
1615
1984
  xMemberId?: string | null;
1985
+ xUsername?: string | null;
1616
1986
  quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
1617
1987
  }, opts?: Oazapfts.RequestOpts): Promise<string | QuickCommandPromptResponse2>;
1618
1988
  /**
1619
1989
  * List All
1620
1990
  */
1621
- export declare function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
1991
+ export declare function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
1622
1992
  visibility?: VisibilityLevelEnum | null;
1623
1993
  order?: OrderEnum;
1624
1994
  types?: QuickCommandTypeRequest[] | null;
1625
1995
  authorization: string;
1626
1996
  xAccountId?: string | null;
1627
1997
  xMemberId?: string | null;
1998
+ xUsername?: string | null;
1628
1999
  }, opts?: Oazapfts.RequestOpts): Promise<QuickCommandListResponse[]>;
1629
2000
  /**
1630
2001
  * Dev Assistant V3
1631
2002
  */
1632
- export declare function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, chatRequest }: {
2003
+ export declare function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, xUsername, chatRequest }: {
1633
2004
  authorization: string;
1634
2005
  xAccountId?: string | null;
1635
2006
  xMemberId?: string | null;
2007
+ xUsername?: string | null;
1636
2008
  chatRequest: ChatRequest;
1637
2009
  }, opts?: Oazapfts.RequestOpts): Promise<string | ChatResponse3>;
2010
+ /**
2011
+ * List All
2012
+ */
2013
+ export declare function listAllV3QuickCommandsGet({ name, slug, size, page, visibilityList, order, isRemote, types, authorization, xAccountId, xMemberId, xUsername }: {
2014
+ name?: string | null;
2015
+ slug?: string | null;
2016
+ size?: number;
2017
+ page?: number;
2018
+ visibilityList?: VisibilityLevelEnum[] | null;
2019
+ order?: OrderEnum | null;
2020
+ isRemote?: boolean;
2021
+ types?: QuickCommandTypeRequest[] | null;
2022
+ authorization: string;
2023
+ xAccountId?: string | null;
2024
+ xMemberId?: string | null;
2025
+ xUsername?: string | null;
2026
+ }, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseQuickCommandListResponseV3>;
1638
2027
  //# sourceMappingURL=ai.d.ts.map