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

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