hanzoai 8.5.749 → 8.5.889

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 (667) hide show
  1. package/dist/api/account-api.d.ts +8 -8
  2. package/dist/api/account-api.js +8 -8
  3. package/dist/api/agent-api.d.ts +116 -60
  4. package/dist/api/agent-api.js +132 -60
  5. package/dist/api/ai-api.d.ts +4 -125
  6. package/dist/api/ai-api.js +4 -195
  7. package/dist/api/auto-api.d.ts +241 -46
  8. package/dist/api/auto-api.js +322 -49
  9. package/dist/api/base-api.d.ts +58 -0
  10. package/dist/api/base-api.js +118 -0
  11. package/dist/api/billing-api.d.ts +224 -81
  12. package/dist/api/billing-api.js +267 -100
  13. package/dist/api/captable-api.d.ts +124 -124
  14. package/dist/api/captable-api.js +124 -124
  15. package/dist/api/channel-api.d.ts +16 -16
  16. package/dist/api/channel-api.js +16 -16
  17. package/dist/api/commerce-api.d.ts +4 -292
  18. package/dist/api/commerce-api.js +4 -452
  19. package/dist/api/company-api.d.ts +72 -72
  20. package/dist/api/company-api.js +72 -72
  21. package/dist/api/dataroom-api.d.ts +52 -52
  22. package/dist/api/dataroom-api.js +52 -52
  23. package/dist/api/esign-api.d.ts +32 -32
  24. package/dist/api/esign-api.js +32 -32
  25. package/dist/api/event-api.d.ts +4 -4
  26. package/dist/api/event-api.js +4 -4
  27. package/dist/api/framework-api.d.ts +4 -4
  28. package/dist/api/framework-api.js +4 -4
  29. package/dist/api/gateway-api.d.ts +4 -4
  30. package/dist/api/gateway-api.js +4 -4
  31. package/dist/api/graph-api.d.ts +33 -4
  32. package/dist/api/graph-api.js +63 -4
  33. package/dist/api/iam-api.d.ts +202 -32
  34. package/dist/api/iam-api.js +232 -44
  35. package/dist/api/kms-api.d.ts +4 -4
  36. package/dist/api/kms-api.js +4 -4
  37. package/dist/api/knowledge-api.d.ts +8 -8
  38. package/dist/api/knowledge-api.js +8 -8
  39. package/dist/api/library-api.d.ts +401 -0
  40. package/dist/api/library-api.js +511 -0
  41. package/dist/api/marketing-api.d.ts +492 -44
  42. package/dist/api/marketing-api.js +662 -47
  43. package/dist/api/platform-api.d.ts +12 -12
  44. package/dist/api/platform-api.js +12 -12
  45. package/dist/api/pricing-api.d.ts +4 -75
  46. package/dist/api/pricing-api.js +4 -85
  47. package/dist/api/project-api.d.ts +16 -16
  48. package/dist/api/project-api.js +16 -16
  49. package/dist/api/s3-api.d.ts +8 -8
  50. package/dist/api/s3-api.js +8 -8
  51. package/dist/api/studio-api.d.ts +1774 -0
  52. package/dist/api/studio-api.js +2407 -0
  53. package/dist/api/translate-api.d.ts +27 -8
  54. package/dist/api/translate-api.js +17 -11
  55. package/dist/api/x402-api.d.ts +12 -12
  56. package/dist/api/x402-api.js +12 -12
  57. package/dist/api.d.ts +2 -0
  58. package/dist/api.js +2 -0
  59. package/dist/esm/api/account-api.d.ts +8 -8
  60. package/dist/esm/api/account-api.js +8 -8
  61. package/dist/esm/api/agent-api.d.ts +116 -60
  62. package/dist/esm/api/agent-api.js +132 -60
  63. package/dist/esm/api/ai-api.d.ts +4 -125
  64. package/dist/esm/api/ai-api.js +4 -195
  65. package/dist/esm/api/auto-api.d.ts +241 -46
  66. package/dist/esm/api/auto-api.js +322 -49
  67. package/dist/esm/api/base-api.d.ts +58 -0
  68. package/dist/esm/api/base-api.js +118 -0
  69. package/dist/esm/api/billing-api.d.ts +224 -81
  70. package/dist/esm/api/billing-api.js +267 -100
  71. package/dist/esm/api/captable-api.d.ts +124 -124
  72. package/dist/esm/api/captable-api.js +124 -124
  73. package/dist/esm/api/channel-api.d.ts +16 -16
  74. package/dist/esm/api/channel-api.js +16 -16
  75. package/dist/esm/api/commerce-api.d.ts +4 -292
  76. package/dist/esm/api/commerce-api.js +4 -452
  77. package/dist/esm/api/company-api.d.ts +72 -72
  78. package/dist/esm/api/company-api.js +72 -72
  79. package/dist/esm/api/dataroom-api.d.ts +52 -52
  80. package/dist/esm/api/dataroom-api.js +52 -52
  81. package/dist/esm/api/esign-api.d.ts +32 -32
  82. package/dist/esm/api/esign-api.js +32 -32
  83. package/dist/esm/api/event-api.d.ts +4 -4
  84. package/dist/esm/api/event-api.js +4 -4
  85. package/dist/esm/api/framework-api.d.ts +4 -4
  86. package/dist/esm/api/framework-api.js +4 -4
  87. package/dist/esm/api/gateway-api.d.ts +4 -4
  88. package/dist/esm/api/gateway-api.js +4 -4
  89. package/dist/esm/api/graph-api.d.ts +33 -4
  90. package/dist/esm/api/graph-api.js +63 -4
  91. package/dist/esm/api/iam-api.d.ts +202 -32
  92. package/dist/esm/api/iam-api.js +232 -44
  93. package/dist/esm/api/kms-api.d.ts +4 -4
  94. package/dist/esm/api/kms-api.js +4 -4
  95. package/dist/esm/api/knowledge-api.d.ts +8 -8
  96. package/dist/esm/api/knowledge-api.js +8 -8
  97. package/dist/esm/api/library-api.d.ts +400 -0
  98. package/dist/esm/api/library-api.js +501 -0
  99. package/dist/esm/api/marketing-api.d.ts +492 -44
  100. package/dist/esm/api/marketing-api.js +662 -47
  101. package/dist/esm/api/platform-api.d.ts +12 -12
  102. package/dist/esm/api/platform-api.js +12 -12
  103. package/dist/esm/api/pricing-api.d.ts +4 -75
  104. package/dist/esm/api/pricing-api.js +4 -85
  105. package/dist/esm/api/project-api.d.ts +16 -16
  106. package/dist/esm/api/project-api.js +16 -16
  107. package/dist/esm/api/s3-api.d.ts +8 -8
  108. package/dist/esm/api/s3-api.js +8 -8
  109. package/dist/esm/api/studio-api.d.ts +1773 -0
  110. package/dist/esm/api/studio-api.js +2397 -0
  111. package/dist/esm/api/translate-api.d.ts +27 -8
  112. package/dist/esm/api/translate-api.js +17 -11
  113. package/dist/esm/api/x402-api.d.ts +12 -12
  114. package/dist/esm/api/x402-api.js +12 -12
  115. package/dist/esm/api.d.ts +2 -0
  116. package/dist/esm/api.js +2 -0
  117. package/dist/esm/models/account-onboard-req.d.ts +1 -1
  118. package/dist/esm/models/account-onboard-resp.d.ts +2 -8
  119. package/dist/esm/models/agent-coding-ack.d.ts +24 -0
  120. package/dist/esm/models/agent-coding-instruction.d.ts +30 -0
  121. package/dist/esm/models/agent-register-req.d.ts +0 -6
  122. package/dist/esm/models/ai-limits.d.ts +2 -2
  123. package/dist/esm/models/ai-model-info.d.ts +14 -0
  124. package/dist/esm/models/ai-model-pricing-info.d.ts +0 -26
  125. package/dist/esm/models/ai-routing-proposal.d.ts +6 -0
  126. package/dist/esm/models/ai-routing-view.d.ts +6 -0
  127. package/dist/esm/models/ai-video-spec.d.ts +54 -0
  128. package/dist/esm/models/ai-voice-spec.d.ts +24 -0
  129. package/dist/esm/models/audit-wire.d.ts +6 -0
  130. package/dist/esm/models/auto-automation-in.d.ts +6 -0
  131. package/dist/esm/models/auto-automation-run.d.ts +6 -0
  132. package/dist/esm/models/auto-automation.d.ts +6 -0
  133. package/dist/esm/models/auto-job-page.d.ts +25 -0
  134. package/dist/esm/models/auto-job.d.ts +126 -0
  135. package/dist/esm/models/auto-schedule.d.ts +2 -2
  136. package/dist/esm/models/auto-when-in.d.ts +30 -0
  137. package/dist/esm/models/auto-when-out.d.ts +37 -0
  138. package/dist/esm/models/benchmark-claim-row.d.ts +12 -0
  139. package/dist/esm/models/{benchmark-published-claim.d.ts → benchmark-claim.d.ts} +23 -11
  140. package/dist/esm/models/benchmark-claim.js +14 -0
  141. package/dist/esm/models/benchmark-leader-row.d.ts +12 -0
  142. package/dist/esm/models/benchmark-put-claims-in.d.ts +3 -3
  143. package/dist/esm/models/billing-assignment.d.ts +25 -0
  144. package/dist/esm/models/billing-assignment.js +14 -0
  145. package/dist/esm/models/billing-auto-recharge.d.ts +6 -0
  146. package/dist/esm/models/billing-invoice-ref.d.ts +30 -0
  147. package/dist/esm/models/billing-invoice-ref.js +14 -0
  148. package/dist/esm/models/billing-resize.d.ts +31 -0
  149. package/dist/esm/models/billing-resize.js +14 -0
  150. package/dist/esm/models/billing-sale-line.d.ts +30 -0
  151. package/dist/esm/models/billing-sale-line.js +14 -0
  152. package/dist/esm/models/{billing-subscription-ref.d.ts → billing-subscription-act.d.ts} +6 -6
  153. package/dist/esm/models/billing-subscription-act.js +14 -0
  154. package/dist/esm/models/billing-subscription-line.d.ts +54 -0
  155. package/dist/esm/models/billing-subscription-line.js +14 -0
  156. package/dist/esm/models/billing-subscription-plan.d.ts +6 -0
  157. package/dist/esm/models/billing-subscription-seat.d.ts +30 -0
  158. package/dist/esm/models/billing-subscription-seat.js +14 -0
  159. package/dist/esm/models/billing-subscription.d.ts +26 -0
  160. package/dist/esm/models/brief.d.ts +68 -0
  161. package/dist/esm/models/brief.js +14 -0
  162. package/dist/esm/models/capture-event.d.ts +6 -0
  163. package/dist/esm/models/capture-result.d.ts +6 -0
  164. package/dist/esm/models/chat-turn.d.ts +48 -0
  165. package/dist/esm/models/chat-turn.js +14 -0
  166. package/dist/esm/models/compliance-wire.d.ts +6 -0
  167. package/dist/esm/models/compute-byo-worker.d.ts +13 -0
  168. package/dist/esm/models/compute-lane-model.d.ts +36 -0
  169. package/dist/esm/models/compute-lane-model.js +14 -0
  170. package/dist/esm/models/decision.d.ts +2 -8
  171. package/dist/esm/models/delivery.d.ts +50 -0
  172. package/dist/esm/models/delivery.js +14 -0
  173. package/dist/esm/models/flag-platform-out.d.ts +1 -1
  174. package/dist/esm/models/framework-install.d.ts +6 -0
  175. package/dist/esm/models/gateway-policy.d.ts +8 -2
  176. package/dist/esm/models/graph-qlerror.d.ts +2 -2
  177. package/dist/esm/models/index.d.ts +77 -8
  178. package/dist/esm/models/index.js +77 -8
  179. package/dist/esm/models/kms-kms-health.d.ts +7 -1
  180. package/dist/esm/models/library-item-page.d.ts +31 -0
  181. package/dist/esm/models/library-item-page.js +14 -0
  182. package/dist/esm/models/library-item-patch.d.ts +42 -0
  183. package/dist/esm/models/library-item-patch.js +14 -0
  184. package/dist/esm/models/library-keep-in.d.ts +102 -0
  185. package/dist/esm/models/library-keep-in.js +14 -0
  186. package/dist/esm/models/library-library-item.d.ts +156 -0
  187. package/dist/esm/models/library-library-item.js +14 -0
  188. package/dist/{models/pricing-price.d.ts → esm/models/marketing-address.d.ts} +20 -14
  189. package/dist/esm/models/marketing-address.js +14 -0
  190. package/dist/esm/models/marketing-answer.d.ts +30 -0
  191. package/dist/esm/models/marketing-answer.js +14 -0
  192. package/dist/esm/models/marketing-beta-act-in.d.ts +36 -0
  193. package/dist/esm/models/marketing-beta-act-in.js +14 -0
  194. package/dist/esm/models/marketing-beta-action.d.ts +42 -0
  195. package/dist/esm/models/marketing-beta-action.js +14 -0
  196. package/dist/esm/models/marketing-beta-answer.d.ts +36 -0
  197. package/dist/esm/models/marketing-beta-answer.js +14 -0
  198. package/dist/esm/models/marketing-beta-in.d.ts +43 -0
  199. package/dist/esm/models/marketing-beta-in.js +14 -0
  200. package/dist/esm/models/marketing-beta-request.d.ts +24 -0
  201. package/dist/esm/models/marketing-beta-request.js +14 -0
  202. package/dist/esm/models/marketing-beta.d.ts +94 -0
  203. package/dist/esm/models/marketing-beta.js +14 -0
  204. package/dist/esm/models/marketing-esign-document.d.ts +37 -0
  205. package/dist/esm/models/marketing-esign-document.js +14 -0
  206. package/dist/esm/models/marketing-esign-event.d.ts +31 -0
  207. package/dist/esm/models/marketing-esign-event.js +14 -0
  208. package/dist/esm/models/marketing-esign-recipient.d.ts +30 -0
  209. package/dist/esm/models/marketing-esign-recipient.js +14 -0
  210. package/dist/esm/models/marketing-lead-in.d.ts +94 -1
  211. package/dist/esm/models/marketing-lead.d.ts +13 -1
  212. package/dist/esm/models/{pricing-price.d.ts → marketing-mail-in.d.ts} +14 -14
  213. package/dist/esm/models/marketing-mail-in.js +14 -0
  214. package/dist/esm/models/marketing-mail-out.d.ts +30 -0
  215. package/dist/esm/models/marketing-mail-out.js +14 -0
  216. package/dist/esm/models/marketing-resume-form.d.ts +44 -0
  217. package/dist/esm/models/marketing-resume-form.js +14 -0
  218. package/dist/esm/models/marketing-resume-in.d.ts +36 -0
  219. package/dist/esm/models/marketing-resume-in.js +14 -0
  220. package/dist/esm/models/marketing-signing.d.ts +24 -0
  221. package/dist/esm/models/marketing-signing.js +14 -0
  222. package/dist/esm/models/marketing-step.d.ts +1 -1
  223. package/dist/esm/models/marketing-tags.d.ts +48 -0
  224. package/dist/esm/models/marketing-tags.js +14 -0
  225. package/dist/esm/models/marketing-visit.d.ts +1 -1
  226. package/dist/esm/models/platform-app-out.d.ts +1 -1
  227. package/dist/esm/models/platform-domain-view.d.ts +1 -1
  228. package/dist/esm/models/project-projects-project.d.ts +6 -0
  229. package/dist/esm/models/replay-body.d.ts +6 -0
  230. package/dist/esm/models/routing-version.d.ts +6 -0
  231. package/dist/esm/models/studio-brand-page.d.ts +31 -0
  232. package/dist/esm/models/studio-brand-page.js +14 -0
  233. package/dist/esm/models/studio-brand-patch.d.ts +50 -0
  234. package/dist/esm/models/studio-brand-patch.js +14 -0
  235. package/dist/esm/models/studio-brand-write.d.ts +44 -0
  236. package/dist/esm/models/studio-brand-write.js +14 -0
  237. package/dist/esm/models/studio-brand.d.ts +74 -0
  238. package/dist/esm/models/studio-brand.js +14 -0
  239. package/dist/esm/models/studio-document-page.d.ts +31 -0
  240. package/dist/esm/models/studio-document-page.js +14 -0
  241. package/dist/esm/models/studio-document-patch.d.ts +49 -0
  242. package/dist/esm/models/studio-document-patch.js +14 -0
  243. package/dist/esm/models/studio-document-write.d.ts +49 -0
  244. package/dist/esm/models/studio-document-write.js +14 -0
  245. package/dist/esm/models/studio-document.d.ts +79 -0
  246. package/dist/esm/models/studio-document.js +14 -0
  247. package/dist/esm/models/studio-estimate.d.ts +31 -0
  248. package/dist/esm/models/studio-estimate.js +14 -0
  249. package/dist/esm/models/studio-flow-page.d.ts +31 -0
  250. package/dist/esm/models/studio-flow-page.js +14 -0
  251. package/dist/esm/models/studio-flow-patch.d.ts +63 -0
  252. package/dist/esm/models/studio-flow-patch.js +14 -0
  253. package/dist/esm/models/studio-flow-write.d.ts +57 -0
  254. package/dist/esm/models/studio-flow-write.js +14 -0
  255. package/dist/esm/models/studio-flow.d.ts +87 -0
  256. package/dist/esm/models/studio-flow.js +14 -0
  257. package/dist/esm/models/studio-gpu-list.d.ts +25 -0
  258. package/dist/esm/models/studio-gpu-list.js +14 -0
  259. package/dist/esm/models/studio-gpu.d.ts +60 -0
  260. package/dist/esm/models/studio-gpu.js +14 -0
  261. package/dist/esm/models/studio-graph.d.ts +25 -0
  262. package/dist/esm/models/studio-graph.js +14 -0
  263. package/dist/esm/models/studio-ir.d.ts +34 -0
  264. package/dist/esm/models/studio-ir.js +14 -0
  265. package/dist/esm/models/studio-item.d.ts +138 -0
  266. package/dist/esm/models/studio-item.js +14 -0
  267. package/dist/esm/models/studio-message.d.ts +54 -0
  268. package/dist/esm/models/studio-message.js +14 -0
  269. package/dist/esm/models/studio-problem.d.ts +48 -0
  270. package/dist/esm/models/studio-problem.js +14 -0
  271. package/dist/esm/models/studio-run-create.d.ts +69 -0
  272. package/dist/esm/models/studio-run-create.js +14 -0
  273. package/dist/esm/models/studio-run-page.d.ts +31 -0
  274. package/dist/esm/models/studio-run-page.js +14 -0
  275. package/dist/esm/models/studio-run-patch.d.ts +36 -0
  276. package/dist/esm/models/studio-run-patch.js +14 -0
  277. package/dist/esm/models/studio-run.d.ts +168 -0
  278. package/dist/esm/models/studio-run.js +14 -0
  279. package/dist/esm/models/studio-spec.d.ts +50 -0
  280. package/dist/esm/models/studio-spec.js +14 -0
  281. package/dist/esm/models/studio-step-price.d.ts +36 -0
  282. package/dist/esm/models/studio-step-price.js +14 -0
  283. package/dist/esm/models/studio-step.d.ts +109 -0
  284. package/dist/esm/models/studio-step.js +14 -0
  285. package/dist/esm/models/studio-template-page.d.ts +31 -0
  286. package/dist/esm/models/studio-template-page.js +14 -0
  287. package/dist/esm/models/studio-template-patch.d.ts +63 -0
  288. package/dist/esm/models/studio-template-patch.js +14 -0
  289. package/dist/esm/models/studio-template-write.d.ts +63 -0
  290. package/dist/esm/models/studio-template-write.js +14 -0
  291. package/dist/esm/models/studio-template.d.ts +93 -0
  292. package/dist/esm/models/studio-template.js +14 -0
  293. package/dist/esm/models/studio-thread-card.d.ts +36 -0
  294. package/dist/esm/models/studio-thread-card.js +14 -0
  295. package/dist/esm/models/studio-thread-page.d.ts +31 -0
  296. package/dist/esm/models/studio-thread-page.js +14 -0
  297. package/dist/esm/models/studio-thread.d.ts +61 -0
  298. package/dist/esm/models/studio-thread.js +14 -0
  299. package/dist/esm/models/{ai-per-million.d.ts → tally.d.ts} +16 -10
  300. package/dist/esm/models/tally.js +14 -0
  301. package/dist/esm/models/translate-memory-entry.d.ts +24 -0
  302. package/dist/esm/models/translate-review-request.d.ts +18 -0
  303. package/dist/esm/models/translation.d.ts +48 -0
  304. package/dist/esm/models/translation.js +14 -0
  305. package/dist/models/account-onboard-req.d.ts +1 -1
  306. package/dist/models/account-onboard-resp.d.ts +2 -8
  307. package/dist/models/agent-coding-ack.d.ts +24 -0
  308. package/dist/models/agent-coding-instruction.d.ts +30 -0
  309. package/dist/models/agent-register-req.d.ts +0 -6
  310. package/dist/models/ai-limits.d.ts +2 -2
  311. package/dist/models/ai-model-info.d.ts +14 -0
  312. package/dist/models/ai-model-pricing-info.d.ts +0 -26
  313. package/dist/models/ai-routing-proposal.d.ts +6 -0
  314. package/dist/models/ai-routing-view.d.ts +6 -0
  315. package/dist/models/ai-video-spec.d.ts +54 -0
  316. package/dist/models/ai-voice-spec.d.ts +24 -0
  317. package/dist/models/audit-wire.d.ts +6 -0
  318. package/dist/models/auto-automation-in.d.ts +6 -0
  319. package/dist/models/auto-automation-run.d.ts +6 -0
  320. package/dist/models/auto-automation.d.ts +6 -0
  321. package/dist/models/auto-job-page.d.ts +25 -0
  322. package/dist/models/auto-job.d.ts +126 -0
  323. package/dist/models/auto-schedule.d.ts +2 -2
  324. package/dist/models/auto-when-in.d.ts +30 -0
  325. package/dist/models/auto-when-out.d.ts +37 -0
  326. package/dist/models/benchmark-claim-row.d.ts +12 -0
  327. package/dist/models/{benchmark-published-claim.d.ts → benchmark-claim.d.ts} +23 -11
  328. package/dist/models/benchmark-claim.js +15 -0
  329. package/dist/models/benchmark-leader-row.d.ts +12 -0
  330. package/dist/models/benchmark-put-claims-in.d.ts +3 -3
  331. package/dist/models/billing-assignment.d.ts +25 -0
  332. package/dist/models/billing-assignment.js +15 -0
  333. package/dist/models/billing-auto-recharge.d.ts +6 -0
  334. package/dist/models/billing-invoice-ref.d.ts +30 -0
  335. package/dist/models/billing-invoice-ref.js +15 -0
  336. package/dist/models/billing-resize.d.ts +31 -0
  337. package/dist/models/billing-resize.js +15 -0
  338. package/dist/models/billing-sale-line.d.ts +30 -0
  339. package/dist/models/billing-sale-line.js +15 -0
  340. package/dist/models/{billing-subscription-ref.d.ts → billing-subscription-act.d.ts} +6 -6
  341. package/dist/models/billing-subscription-act.js +15 -0
  342. package/dist/models/billing-subscription-line.d.ts +54 -0
  343. package/dist/models/billing-subscription-line.js +15 -0
  344. package/dist/models/billing-subscription-plan.d.ts +6 -0
  345. package/dist/models/billing-subscription-seat.d.ts +30 -0
  346. package/dist/models/billing-subscription-seat.js +15 -0
  347. package/dist/models/billing-subscription.d.ts +26 -0
  348. package/dist/models/brief.d.ts +68 -0
  349. package/dist/models/brief.js +15 -0
  350. package/dist/models/capture-event.d.ts +6 -0
  351. package/dist/models/capture-result.d.ts +6 -0
  352. package/dist/models/chat-turn.d.ts +48 -0
  353. package/dist/models/chat-turn.js +15 -0
  354. package/dist/models/compliance-wire.d.ts +6 -0
  355. package/dist/models/compute-byo-worker.d.ts +13 -0
  356. package/dist/models/compute-lane-model.d.ts +36 -0
  357. package/dist/models/compute-lane-model.js +15 -0
  358. package/dist/models/decision.d.ts +2 -8
  359. package/dist/models/delivery.d.ts +50 -0
  360. package/dist/models/delivery.js +15 -0
  361. package/dist/models/flag-platform-out.d.ts +1 -1
  362. package/dist/models/framework-install.d.ts +6 -0
  363. package/dist/models/gateway-policy.d.ts +8 -2
  364. package/dist/models/graph-qlerror.d.ts +2 -2
  365. package/dist/models/index.d.ts +77 -8
  366. package/dist/models/index.js +77 -8
  367. package/dist/models/kms-kms-health.d.ts +7 -1
  368. package/dist/models/library-item-page.d.ts +31 -0
  369. package/dist/models/library-item-page.js +15 -0
  370. package/dist/models/library-item-patch.d.ts +42 -0
  371. package/dist/models/library-item-patch.js +15 -0
  372. package/dist/models/library-keep-in.d.ts +102 -0
  373. package/dist/models/library-keep-in.js +15 -0
  374. package/dist/models/library-library-item.d.ts +156 -0
  375. package/dist/models/library-library-item.js +15 -0
  376. package/dist/models/marketing-address.d.ts +48 -0
  377. package/dist/models/marketing-address.js +15 -0
  378. package/dist/models/marketing-answer.d.ts +30 -0
  379. package/dist/models/marketing-answer.js +15 -0
  380. package/dist/models/marketing-beta-act-in.d.ts +36 -0
  381. package/dist/models/marketing-beta-act-in.js +15 -0
  382. package/dist/models/marketing-beta-action.d.ts +42 -0
  383. package/dist/models/marketing-beta-action.js +15 -0
  384. package/dist/models/marketing-beta-answer.d.ts +36 -0
  385. package/dist/models/marketing-beta-answer.js +15 -0
  386. package/dist/models/marketing-beta-in.d.ts +43 -0
  387. package/dist/models/marketing-beta-in.js +15 -0
  388. package/dist/models/marketing-beta-request.d.ts +24 -0
  389. package/dist/models/marketing-beta-request.js +15 -0
  390. package/dist/models/marketing-beta.d.ts +94 -0
  391. package/dist/models/marketing-beta.js +15 -0
  392. package/dist/models/marketing-esign-document.d.ts +37 -0
  393. package/dist/models/marketing-esign-document.js +15 -0
  394. package/dist/models/marketing-esign-event.d.ts +31 -0
  395. package/dist/models/marketing-esign-event.js +15 -0
  396. package/dist/models/marketing-esign-recipient.d.ts +30 -0
  397. package/dist/models/marketing-esign-recipient.js +15 -0
  398. package/dist/models/marketing-lead-in.d.ts +94 -1
  399. package/dist/models/marketing-lead.d.ts +13 -1
  400. package/dist/models/marketing-mail-in.d.ts +42 -0
  401. package/dist/models/marketing-mail-in.js +15 -0
  402. package/dist/models/marketing-mail-out.d.ts +30 -0
  403. package/dist/models/marketing-mail-out.js +15 -0
  404. package/dist/models/marketing-resume-form.d.ts +44 -0
  405. package/dist/models/marketing-resume-form.js +15 -0
  406. package/dist/models/marketing-resume-in.d.ts +36 -0
  407. package/dist/models/marketing-resume-in.js +15 -0
  408. package/dist/models/marketing-signing.d.ts +24 -0
  409. package/dist/models/marketing-signing.js +15 -0
  410. package/dist/models/marketing-step.d.ts +1 -1
  411. package/dist/models/marketing-tags.d.ts +48 -0
  412. package/dist/models/marketing-tags.js +15 -0
  413. package/dist/models/marketing-visit.d.ts +1 -1
  414. package/dist/models/platform-app-out.d.ts +1 -1
  415. package/dist/models/platform-domain-view.d.ts +1 -1
  416. package/dist/models/project-projects-project.d.ts +6 -0
  417. package/dist/models/replay-body.d.ts +6 -0
  418. package/dist/models/routing-version.d.ts +6 -0
  419. package/dist/models/studio-brand-page.d.ts +31 -0
  420. package/dist/models/studio-brand-page.js +15 -0
  421. package/dist/models/studio-brand-patch.d.ts +50 -0
  422. package/dist/models/studio-brand-patch.js +15 -0
  423. package/dist/models/studio-brand-write.d.ts +44 -0
  424. package/dist/models/studio-brand-write.js +15 -0
  425. package/dist/models/studio-brand.d.ts +74 -0
  426. package/dist/models/studio-brand.js +15 -0
  427. package/dist/models/studio-document-page.d.ts +31 -0
  428. package/dist/models/studio-document-page.js +15 -0
  429. package/dist/models/studio-document-patch.d.ts +49 -0
  430. package/dist/models/studio-document-patch.js +15 -0
  431. package/dist/models/studio-document-write.d.ts +49 -0
  432. package/dist/models/studio-document-write.js +15 -0
  433. package/dist/models/studio-document.d.ts +79 -0
  434. package/dist/models/studio-document.js +15 -0
  435. package/dist/models/studio-estimate.d.ts +31 -0
  436. package/dist/models/studio-estimate.js +15 -0
  437. package/dist/models/studio-flow-page.d.ts +31 -0
  438. package/dist/models/studio-flow-page.js +15 -0
  439. package/dist/models/studio-flow-patch.d.ts +63 -0
  440. package/dist/models/studio-flow-patch.js +15 -0
  441. package/dist/models/studio-flow-write.d.ts +57 -0
  442. package/dist/models/studio-flow-write.js +15 -0
  443. package/dist/models/studio-flow.d.ts +87 -0
  444. package/dist/models/studio-flow.js +15 -0
  445. package/dist/models/studio-gpu-list.d.ts +25 -0
  446. package/dist/models/studio-gpu-list.js +15 -0
  447. package/dist/models/studio-gpu.d.ts +60 -0
  448. package/dist/models/studio-gpu.js +15 -0
  449. package/dist/models/studio-graph.d.ts +25 -0
  450. package/dist/models/studio-graph.js +15 -0
  451. package/dist/models/studio-ir.d.ts +34 -0
  452. package/dist/models/studio-ir.js +15 -0
  453. package/dist/models/studio-item.d.ts +138 -0
  454. package/dist/models/studio-item.js +15 -0
  455. package/dist/models/studio-message.d.ts +54 -0
  456. package/dist/models/studio-message.js +15 -0
  457. package/dist/models/studio-problem.d.ts +48 -0
  458. package/dist/models/studio-problem.js +15 -0
  459. package/dist/models/studio-run-create.d.ts +69 -0
  460. package/dist/models/studio-run-create.js +15 -0
  461. package/dist/models/studio-run-page.d.ts +31 -0
  462. package/dist/models/studio-run-page.js +15 -0
  463. package/dist/models/studio-run-patch.d.ts +36 -0
  464. package/dist/models/studio-run-patch.js +15 -0
  465. package/dist/models/studio-run.d.ts +168 -0
  466. package/dist/models/studio-run.js +15 -0
  467. package/dist/models/studio-spec.d.ts +50 -0
  468. package/dist/models/studio-spec.js +15 -0
  469. package/dist/models/studio-step-price.d.ts +36 -0
  470. package/dist/models/studio-step-price.js +15 -0
  471. package/dist/models/studio-step.d.ts +109 -0
  472. package/dist/models/studio-step.js +15 -0
  473. package/dist/models/studio-template-page.d.ts +31 -0
  474. package/dist/models/studio-template-page.js +15 -0
  475. package/dist/models/studio-template-patch.d.ts +63 -0
  476. package/dist/models/studio-template-patch.js +15 -0
  477. package/dist/models/studio-template-write.d.ts +63 -0
  478. package/dist/models/studio-template-write.js +15 -0
  479. package/dist/models/studio-template.d.ts +93 -0
  480. package/dist/models/studio-template.js +15 -0
  481. package/dist/models/studio-thread-card.d.ts +36 -0
  482. package/dist/models/studio-thread-card.js +15 -0
  483. package/dist/models/studio-thread-page.d.ts +31 -0
  484. package/dist/models/studio-thread-page.js +15 -0
  485. package/dist/models/studio-thread.d.ts +61 -0
  486. package/dist/models/studio-thread.js +15 -0
  487. package/dist/models/{ai-per-million.d.ts → tally.d.ts} +16 -10
  488. package/dist/models/tally.js +15 -0
  489. package/dist/models/translate-memory-entry.d.ts +24 -0
  490. package/dist/models/translate-review-request.d.ts +18 -0
  491. package/dist/models/translation.d.ts +48 -0
  492. package/dist/models/translation.js +15 -0
  493. package/package.json +1 -1
  494. package/src/api/account-api.ts +8 -8
  495. package/src/api/agent-api.ts +165 -60
  496. package/src/api/ai-api.ts +4 -244
  497. package/src/api/auto-api.ts +426 -49
  498. package/src/api/base-api.ts +132 -0
  499. package/src/api/billing-api.ts +370 -107
  500. package/src/api/captable-api.ts +124 -124
  501. package/src/api/channel-api.ts +16 -16
  502. package/src/api/commerce-api.ts +4 -571
  503. package/src/api/company-api.ts +72 -72
  504. package/src/api/dataroom-api.ts +52 -52
  505. package/src/api/esign-api.ts +32 -32
  506. package/src/api/event-api.ts +4 -4
  507. package/src/api/framework-api.ts +4 -4
  508. package/src/api/gateway-api.ts +4 -4
  509. package/src/api/graph-api.ts +70 -4
  510. package/src/api/iam-api.ts +344 -44
  511. package/src/api/kms-api.ts +4 -4
  512. package/src/api/knowledge-api.ts +8 -8
  513. package/src/api/library-api.ts +727 -0
  514. package/src/api/marketing-api.ts +907 -51
  515. package/src/api/platform-api.ts +12 -12
  516. package/src/api/pricing-api.ts +4 -133
  517. package/src/api/project-api.ts +16 -16
  518. package/src/api/s3-api.ts +8 -8
  519. package/src/api/studio-api.ts +3326 -0
  520. package/src/api/translate-api.ts +36 -11
  521. package/src/api/x402-api.ts +12 -12
  522. package/src/api.ts +2 -0
  523. package/src/models/account-onboard-req.ts +1 -1
  524. package/src/models/account-onboard-resp.ts +2 -8
  525. package/src/models/agent-coding-ack.ts +30 -0
  526. package/src/models/agent-coding-instruction.ts +36 -0
  527. package/src/models/agent-register-req.ts +0 -6
  528. package/src/models/ai-limits.ts +2 -2
  529. package/src/models/ai-model-info.ts +18 -0
  530. package/src/models/ai-model-pricing-info.ts +0 -30
  531. package/src/models/ai-routing-proposal.ts +6 -0
  532. package/src/models/ai-routing-view.ts +6 -0
  533. package/src/models/ai-video-spec.ts +60 -0
  534. package/src/models/ai-voice-spec.ts +30 -0
  535. package/src/models/audit-wire.ts +6 -0
  536. package/src/models/auto-automation-in.ts +6 -0
  537. package/src/models/auto-automation-run.ts +6 -0
  538. package/src/models/auto-automation.ts +6 -0
  539. package/src/models/auto-job-page.ts +33 -0
  540. package/src/models/auto-job.ts +132 -0
  541. package/src/models/auto-schedule.ts +2 -2
  542. package/src/models/auto-when-in.ts +36 -0
  543. package/src/models/auto-when-out.ts +45 -0
  544. package/src/models/benchmark-claim-row.ts +12 -0
  545. package/src/models/{benchmark-published-claim.ts → benchmark-claim.ts} +23 -11
  546. package/src/models/benchmark-leader-row.ts +12 -0
  547. package/src/models/benchmark-put-claims-in.ts +3 -3
  548. package/src/models/billing-assignment.ts +33 -0
  549. package/src/models/billing-auto-recharge.ts +6 -0
  550. package/src/models/billing-invoice-ref.ts +36 -0
  551. package/src/models/billing-resize.ts +39 -0
  552. package/src/models/billing-sale-line.ts +36 -0
  553. package/src/models/{billing-subscription-ref.ts → billing-subscription-act.ts} +6 -6
  554. package/src/models/billing-subscription-line.ts +60 -0
  555. package/src/models/billing-subscription-plan.ts +6 -0
  556. package/src/models/billing-subscription-seat.ts +36 -0
  557. package/src/models/billing-subscription.ts +30 -0
  558. package/src/models/brief.ts +72 -0
  559. package/src/models/capture-event.ts +6 -0
  560. package/src/models/capture-result.ts +6 -0
  561. package/src/models/{pricing-price.ts → chat-turn.ts} +20 -14
  562. package/src/models/compliance-wire.ts +6 -0
  563. package/src/models/compute-byo-worker.ts +15 -0
  564. package/src/models/compute-lane-model.ts +42 -0
  565. package/src/models/decision.ts +2 -8
  566. package/src/models/delivery.ts +60 -0
  567. package/src/models/flag-platform-out.ts +1 -1
  568. package/src/models/framework-install.ts +6 -0
  569. package/src/models/gateway-policy.ts +8 -2
  570. package/src/models/graph-qlerror.ts +2 -2
  571. package/src/models/index.ts +77 -8
  572. package/src/models/kms-kms-health.ts +7 -1
  573. package/src/models/library-item-page.ts +39 -0
  574. package/src/models/library-item-patch.ts +48 -0
  575. package/src/models/library-keep-in.ts +108 -0
  576. package/src/models/library-library-item.ts +162 -0
  577. package/src/models/marketing-address.ts +54 -0
  578. package/src/models/marketing-answer.ts +36 -0
  579. package/src/models/marketing-beta-act-in.ts +42 -0
  580. package/src/models/{pricing-rate-window.ts → marketing-beta-action.ts} +16 -16
  581. package/src/models/marketing-beta-answer.ts +42 -0
  582. package/src/models/marketing-beta-in.ts +51 -0
  583. package/src/models/marketing-beta-request.ts +30 -0
  584. package/src/models/marketing-beta.ts +102 -0
  585. package/src/models/marketing-esign-document.ts +45 -0
  586. package/src/models/marketing-esign-event.ts +39 -0
  587. package/src/models/marketing-esign-recipient.ts +36 -0
  588. package/src/models/marketing-lead-in.ts +100 -1
  589. package/src/models/marketing-lead.ts +13 -1
  590. package/src/models/marketing-mail-in.ts +48 -0
  591. package/src/models/marketing-mail-out.ts +36 -0
  592. package/src/models/marketing-resume-form.ts +48 -0
  593. package/src/models/marketing-resume-in.ts +42 -0
  594. package/src/models/marketing-signing.ts +30 -0
  595. package/src/models/marketing-step.ts +1 -1
  596. package/src/models/marketing-tags.ts +54 -0
  597. package/src/models/marketing-visit.ts +1 -1
  598. package/src/models/platform-app-out.ts +1 -1
  599. package/src/models/platform-domain-view.ts +1 -1
  600. package/src/models/project-projects-project.ts +6 -0
  601. package/src/models/replay-body.ts +6 -0
  602. package/src/models/routing-version.ts +6 -0
  603. package/src/models/studio-brand-page.ts +39 -0
  604. package/src/models/studio-brand-patch.ts +54 -0
  605. package/src/models/studio-brand-write.ts +48 -0
  606. package/src/models/studio-brand.ts +78 -0
  607. package/src/models/studio-document-page.ts +39 -0
  608. package/src/models/studio-document-patch.ts +57 -0
  609. package/src/models/studio-document-write.ts +57 -0
  610. package/src/models/studio-document.ts +87 -0
  611. package/src/models/studio-estimate.ts +39 -0
  612. package/src/models/studio-flow-page.ts +39 -0
  613. package/src/models/studio-flow-patch.ts +69 -0
  614. package/src/models/studio-flow-write.ts +63 -0
  615. package/src/models/studio-flow.ts +93 -0
  616. package/src/models/studio-gpu-list.ts +33 -0
  617. package/src/models/studio-gpu.ts +66 -0
  618. package/src/models/studio-graph.ts +33 -0
  619. package/src/models/studio-ir.ts +36 -0
  620. package/src/models/studio-item.ts +144 -0
  621. package/src/models/studio-message.ts +60 -0
  622. package/src/models/studio-problem.ts +54 -0
  623. package/src/models/studio-run-create.ts +75 -0
  624. package/src/models/studio-run-page.ts +39 -0
  625. package/src/models/studio-run-patch.ts +42 -0
  626. package/src/models/studio-run.ts +180 -0
  627. package/src/models/studio-spec.ts +54 -0
  628. package/src/models/studio-step-price.ts +42 -0
  629. package/src/models/studio-step.ts +117 -0
  630. package/src/models/studio-template-page.ts +39 -0
  631. package/src/models/studio-template-patch.ts +69 -0
  632. package/src/models/studio-template-write.ts +69 -0
  633. package/src/models/studio-template.ts +99 -0
  634. package/src/models/studio-thread-card.ts +42 -0
  635. package/src/models/studio-thread-page.ts +39 -0
  636. package/src/models/studio-thread.ts +69 -0
  637. package/src/models/{ai-per-million.ts → tally.ts} +16 -10
  638. package/src/models/translate-memory-entry.ts +24 -0
  639. package/src/models/translate-review-request.ts +18 -0
  640. package/src/models/translation.ts +54 -0
  641. package/dist/esm/models/pricing-enso-out.d.ts +0 -49
  642. package/dist/esm/models/pricing-quote.d.ts +0 -75
  643. package/dist/esm/models/pricing-rate-arm.d.ts +0 -61
  644. package/dist/esm/models/pricing-rate-window.d.ts +0 -42
  645. package/dist/models/pricing-enso-out.d.ts +0 -49
  646. package/dist/models/pricing-quote.d.ts +0 -75
  647. package/dist/models/pricing-rate-arm.d.ts +0 -61
  648. package/dist/models/pricing-rate-window.d.ts +0 -42
  649. package/src/models/pricing-enso-out.ts +0 -57
  650. package/src/models/pricing-quote.ts +0 -87
  651. package/src/models/pricing-rate-arm.ts +0 -69
  652. /package/dist/esm/models/{ai-per-million.js → agent-coding-ack.js} +0 -0
  653. /package/dist/esm/models/{benchmark-published-claim.js → agent-coding-instruction.js} +0 -0
  654. /package/dist/esm/models/{billing-subscription-ref.js → ai-video-spec.js} +0 -0
  655. /package/dist/esm/models/{pricing-enso-out.js → ai-voice-spec.js} +0 -0
  656. /package/dist/esm/models/{pricing-price.js → auto-job-page.js} +0 -0
  657. /package/dist/esm/models/{pricing-quote.js → auto-job.js} +0 -0
  658. /package/dist/esm/models/{pricing-rate-arm.js → auto-when-in.js} +0 -0
  659. /package/dist/esm/models/{pricing-rate-window.js → auto-when-out.js} +0 -0
  660. /package/dist/models/{ai-per-million.js → agent-coding-ack.js} +0 -0
  661. /package/dist/models/{benchmark-published-claim.js → agent-coding-instruction.js} +0 -0
  662. /package/dist/models/{billing-subscription-ref.js → ai-video-spec.js} +0 -0
  663. /package/dist/models/{pricing-enso-out.js → ai-voice-spec.js} +0 -0
  664. /package/dist/models/{pricing-price.js → auto-job-page.js} +0 -0
  665. /package/dist/models/{pricing-quote.js → auto-job.js} +0 -0
  666. /package/dist/models/{pricing-rate-arm.js → auto-when-in.js} +0 -0
  667. /package/dist/models/{pricing-rate-window.js → auto-when-out.js} +0 -0
@@ -0,0 +1,1774 @@
1
+ /**
2
+ * Hanzo Cloud API
3
+ * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import globalAxios from 'axios';
15
+ import { type RequestArgs, BaseAPI } from '../base';
16
+ import type { ChatTurn } from '../models';
17
+ import type { StudioBrand } from '../models';
18
+ import type { StudioBrandPage } from '../models';
19
+ import type { StudioBrandPatch } from '../models';
20
+ import type { StudioBrandWrite } from '../models';
21
+ import type { StudioDocument } from '../models';
22
+ import type { StudioDocumentPage } from '../models';
23
+ import type { StudioDocumentPatch } from '../models';
24
+ import type { StudioDocumentWrite } from '../models';
25
+ import type { StudioEstimate } from '../models';
26
+ import type { StudioFlow } from '../models';
27
+ import type { StudioFlowPage } from '../models';
28
+ import type { StudioFlowPatch } from '../models';
29
+ import type { StudioFlowWrite } from '../models';
30
+ import type { StudioGpuList } from '../models';
31
+ import type { StudioRun } from '../models';
32
+ import type { StudioRunCreate } from '../models';
33
+ import type { StudioRunPage } from '../models';
34
+ import type { StudioRunPatch } from '../models';
35
+ import type { StudioTemplate } from '../models';
36
+ import type { StudioTemplatePage } from '../models';
37
+ import type { StudioTemplatePatch } from '../models';
38
+ import type { StudioTemplateWrite } from '../models';
39
+ import type { StudioThread } from '../models';
40
+ import type { StudioThreadPage } from '../models';
41
+ /**
42
+ * StudioApi - axios parameter creator
43
+ * @export
44
+ */
45
+ export declare const StudioApiAxiosParamCreator: (configuration?: Configuration) => {
46
+ /**
47
+ * Deletes one of your brands.
48
+ * @summary Deletes one of your brands.
49
+ * @param {string} id ID is the resource\'s id, from the path.
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ deleteStudioBrandsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * Deletes one of your documents.
56
+ * @summary Deletes one of your documents.
57
+ * @param {string} id ID is the resource\&#39;s id, from the path.
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ deleteStudioDocumentsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
62
+ /**
63
+ * Deletes one of your flows.
64
+ * @summary Deletes one of your flows.
65
+ * @param {string} id ID is the resource\&#39;s id, from the path.
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ deleteStudioFlowsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
70
+ /**
71
+ * Deletes one of your templates.
72
+ * @summary Deletes one of your templates.
73
+ * @param {string} id ID is the resource\&#39;s id, from the path.
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ deleteStudioTemplatesById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
+ /**
79
+ * Deletes one of your threads. Its runs and their files stay.
80
+ * @summary Deletes one of your threads.
81
+ * @param {string} id ID is the resource\&#39;s id, from the path.
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ deleteStudioThreadsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
+ /**
87
+ * Lists the brands you may read — palettes and type systems as design tokens.
88
+ * @summary Lists the brands you may read — palettes and type systems as design tokens.
89
+ * @param {number} [limit] Limit is how many rows one page holds, 1 to 100 (default 50).
90
+ * @param {string} [cursor] Cursor is the previous page\&#39;s next.
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ getStudioBrands: (limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
95
+ /**
96
+ * Reads one brand you may read.
97
+ * @summary Reads one brand you may read.
98
+ * @param {string} id ID is the resource\&#39;s id, from the path.
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ getStudioBrandsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
103
+ /**
104
+ * Lists the documents and decks you may read, most recently changed first.
105
+ * @summary Lists the documents and decks you may read, most recently changed first.
106
+ * @param {string} [kind] Kind is doc or deck.
107
+ * @param {number} [limit]
108
+ * @param {string} [cursor]
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ getStudioDocuments: (kind?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
113
+ /**
114
+ * Reads one document you may read.
115
+ * @summary Reads one document you may read.
116
+ * @param {string} id ID is the resource\&#39;s id, from the path.
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ getStudioDocumentsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
121
+ /**
122
+ * Lists the flows you may read, most recently changed first.
123
+ * @summary Lists the flows you may read, most recently changed first.
124
+ * @param {number} [limit] Limit is how many rows one page holds, 1 to 100 (default 50).
125
+ * @param {string} [cursor] Cursor is the previous page\&#39;s next.
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ getStudioFlows: (limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
130
+ /**
131
+ * Reads one flow you may read.
132
+ * @summary Reads one flow you may read.
133
+ * @param {string} id ID is the resource\&#39;s id, from the path.
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ getStudioFlowsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
138
+ /**
139
+ * Lists the GPUs your org has linked with `hanzo link` that can take a studio.render step, each with whether it is free now. With none online, a studio.render step waits in the queue.
140
+ * @summary Lists the GPUs your org has linked with `hanzo link` that can take a studio.render step, each with whether it is free now.
141
+ * @param {number} [limit] Limit is how many rows one page holds, 1 to 100 (default 50).
142
+ * @param {string} [cursor] Cursor is the previous page\&#39;s next.
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ getStudioGpus: (limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
147
+ /**
148
+ * Lists the runs you may read — your own and those your org shares — newest first. Filter by kind or status.
149
+ * @summary Lists the runs you may read — your own and those your org shares — newest first.
150
+ * @param {string} [kind]
151
+ * @param {string} [status] Status keeps only runs at this status.
152
+ * @param {number} [limit]
153
+ * @param {string} [cursor]
154
+ * @param {*} [options] Override http request option.
155
+ * @throws {RequiredError}
156
+ */
157
+ getStudioRuns: (kind?: string, status?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
158
+ /**
159
+ * Reads one run: its graph, its input, every step\'s state, the assets it made and what it cost. A run you may not read answers 404.
160
+ * @summary Reads one run: its graph, its input, every step\'s state, the assets it made and what it cost.
161
+ * @param {string} id ID is the resource\&#39;s id, from the path.
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ getStudioRunsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
166
+ /**
167
+ * Holds text/event-stream open on one run you may read and writes one frame per change until the run ends, then a final `done` frame, and closes. Every frame carries `id:`, the event\'s sequence number in the run, so a client that reconnects with Last-Event-ID (or ?after=) receives exactly what it missed. A run that already ended replays its events and closes. Frames (`event:` name, `data:` JSON): `run` {seq, run} on a status change; `step` {seq, run, step} when a step\'s status, attempt or progress moves; `asset` {seq, run, step, asset} when an output lands, as its Library item with fresh signed URLs; `log` {seq, run, step, text}; `done` {seq, run} when the run ended (succeeded, failed or canceled). Each carries the run, step or asset as it is now. A `: ping` comment every 15 seconds keeps intermediaries from closing the stream. Authenticate with `Authorization: Bearer` (a fetch-based reader; a browser EventSource cannot set it) or the session cookie. 404 for a run you may not read; 429 when your org already holds 64 streams.
168
+ * @summary Stream a run\'s progress as Server-Sent Events
169
+ * @param {string} id
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ */
173
+ getStudioRunsByIdEvents: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
174
+ /**
175
+ * Lists every version of a creation you may read — the runs in this run\'s lineage — oldest (version 1) first.
176
+ * @summary Lists every version of a creation you may read — the runs in this run\'s lineage — oldest (version 1) first.
177
+ * @param {string} id ID is the resource\&#39;s id, from the path.
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ getStudioRunsByIdVersions: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
182
+ /**
183
+ * Lists templates: the public catalog (org empty) first, then your org\'s own that you may read. Filter by kind. A cursor pages your org\'s templates.
184
+ * @summary Lists templates: the public catalog (org empty) first, then your org\'s own that you may read.
185
+ * @param {string} [kind] Kind keeps only templates that make this: image, poster, document, slides, type, model, ad, video, film, voice, music or other.
186
+ * @param {number} [limit]
187
+ * @param {string} [cursor]
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ getStudioTemplates: (kind?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
192
+ /**
193
+ * Reads one template: a catalog slug or one of your org\'s templates you may read.
194
+ * @summary Reads one template: a catalog slug or one of your org\'s templates you may read.
195
+ * @param {string} id ID is the resource\&#39;s id, from the path.
196
+ * @param {*} [options] Override http request option.
197
+ * @throws {RequiredError}
198
+ */
199
+ getStudioTemplatesById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
200
+ /**
201
+ * Lists your chat threads, most recent first.
202
+ * @summary Lists your chat threads, most recent first.
203
+ * @param {number} [limit] Limit is how many rows one page holds, 1 to 100 (default 50).
204
+ * @param {string} [cursor] Cursor is the previous page\&#39;s next.
205
+ * @param {*} [options] Override http request option.
206
+ * @throws {RequiredError}
207
+ */
208
+ getStudioThreads: (limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
209
+ /**
210
+ * Reads one of your threads and its messages, oldest first.
211
+ * @summary Reads one of your threads and its messages, oldest first.
212
+ * @param {string} id ID is the resource\&#39;s id, from the path.
213
+ * @param {*} [options] Override http request option.
214
+ * @throws {RequiredError}
215
+ */
216
+ getStudioThreadsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
217
+ /**
218
+ * Changes one of your brands; absent fields stay as they are.
219
+ * @summary Changes one of your brands; absent fields stay as they are.
220
+ * @param {string} id
221
+ * @param {StudioBrandPatch} studioBrandPatch
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ */
225
+ patchStudioBrandsById: (id: string, studioBrandPatch: StudioBrandPatch, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
226
+ /**
227
+ * Changes one of your documents; absent fields stay as they are.
228
+ * @summary Changes one of your documents; absent fields stay as they are.
229
+ * @param {string} id
230
+ * @param {StudioDocumentPatch} studioDocumentPatch
231
+ * @param {*} [options] Override http request option.
232
+ * @throws {RequiredError}
233
+ */
234
+ patchStudioDocumentsById: (id: string, studioDocumentPatch: StudioDocumentPatch, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
235
+ /**
236
+ * Changes one of your flows; absent fields stay as they are.
237
+ * @summary Changes one of your flows; absent fields stay as they are.
238
+ * @param {string} id
239
+ * @param {StudioFlowPatch} studioFlowPatch
240
+ * @param {*} [options] Override http request option.
241
+ * @throws {RequiredError}
242
+ */
243
+ patchStudioFlowsById: (id: string, studioFlowPatch: StudioFlowPatch, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
244
+ /**
245
+ * Renames or shares one of your runs. Sharing a run lets every member of your org read it; its files are Library items, shared from the Library.
246
+ * @summary Renames or shares one of your runs.
247
+ * @param {string} id
248
+ * @param {StudioRunPatch} studioRunPatch
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ patchStudioRunsById: (id: string, studioRunPatch: StudioRunPatch, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
253
+ /**
254
+ * Changes one of your templates; absent fields stay as they are. Catalog templates cannot be changed.
255
+ * @summary Changes one of your templates; absent fields stay as they are.
256
+ * @param {string} id
257
+ * @param {StudioTemplatePatch} studioTemplatePatch
258
+ * @param {*} [options] Override http request option.
259
+ * @throws {RequiredError}
260
+ */
261
+ patchStudioTemplatesById: (id: string, studioTemplatePatch: StudioTemplatePatch, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
262
+ /**
263
+ * Saves a brand: its tokens in the W3C design-token format (color, font, type, space, radius groups) and up to 16 logo items. A run started with it reads the tokens as brand.*.
264
+ * @summary Saves a brand: its tokens in the W3C design-token format (color, font, type, space, radius groups) and up to 16 logo items.
265
+ * @param {StudioBrandWrite} studioBrandWrite
266
+ * @param {*} [options] Override http request option.
267
+ * @throws {RequiredError}
268
+ */
269
+ postStudioBrands: (studioBrandWrite: StudioBrandWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
270
+ /**
271
+ * Sends one message in a thread (a new thread when `thread` is absent). The assistant answers in text and, when the message asks for something to be made, plans it as runs and starts them; each is exactly the run POST /v1/studio/runs would start, checked and paid for the same way. Answers text/event-stream: `thread` {thread} first; `delta` {text} as the answer is written; `run` {seq, run} for each run the turn started (follow it on its own events); `error` (a problem document) when a planned run could not start — a wallet that cannot cover it is status 402 — and the turn goes on; `done` {thread, message, runs} last, with the stored message. 402 before the stream when the wallet cannot pay for the turn itself.
272
+ * @summary One chat turn that plans and launches runs, streamed
273
+ * @param {ChatTurn} [chatTurn]
274
+ * @param {*} [options] Override http request option.
275
+ * @throws {RequiredError}
276
+ */
277
+ postStudioChat: (chatTurn?: ChatTurn, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
278
+ /**
279
+ * Writes a document (kind doc, its IR blocks) or a deck (kind deck, its slides). Render it with a run: template document or slides, input.document its id.
280
+ * @summary Writes a document (kind doc, its IR blocks) or a deck (kind deck, its slides).
281
+ * @param {StudioDocumentWrite} studioDocumentWrite
282
+ * @param {*} [options] Override http request option.
283
+ * @throws {RequiredError}
284
+ */
285
+ postStudioDocuments: (studioDocumentWrite: StudioDocumentWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
286
+ /**
287
+ * Prices a run without starting it: the estimate POST /v1/studio/runs would reserve, step by step. Nothing is reserved and nothing runs.
288
+ * @summary Prices a run without starting it: the estimate POST /v1/studio/runs would reserve, step by step.
289
+ * @param {StudioRunCreate} studioRunCreate
290
+ * @param {string} [idempotencyKey]
291
+ * @param {*} [options] Override http request option.
292
+ * @throws {RequiredError}
293
+ */
294
+ postStudioEstimate: (studioRunCreate: StudioRunCreate, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
295
+ /**
296
+ * Saves a graph as a flow of yours. Start it with POST /v1/studio/runs {\"flow\": id}.
297
+ * @summary Saves a graph as a flow of yours.
298
+ * @param {StudioFlowWrite} studioFlowWrite
299
+ * @param {*} [options] Override http request option.
300
+ * @throws {RequiredError}
301
+ */
302
+ postStudioFlows: (studioFlowWrite: StudioFlowWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
303
+ /**
304
+ * Starts a run: name exactly one of template, flow or graph, with the input its inputs schema asks for. The run is checked, priced and its estimate reserved against your org\'s wallet, then queued; the answer is the run at queued. Follow it on GET /v1/studio/runs/{id}/events. parent makes this run the next version of that run: it takes the parent\'s graph and input, overlaid by what this request states. Send Idempotency-Key to make a retried request start one run, not two. 402 when the wallet cannot cover the estimate; 422 when the graph or input does not validate.
305
+ * @summary Starts a run: name exactly one of template, flow or graph, with the input its inputs schema asks for.
306
+ * @param {StudioRunCreate} studioRunCreate
307
+ * @param {string} [idempotencyKey]
308
+ * @param {*} [options] Override http request option.
309
+ * @throws {RequiredError}
310
+ */
311
+ postStudioRuns: (studioRunCreate: StudioRunCreate, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
312
+ /**
313
+ * Cancels one of your runs: a step in flight is told to stop, nothing new starts, and the reservation settles to what finished steps cost. Cancelling a run that already ended answers it unchanged.
314
+ * @summary Cancels one of your runs: a step in flight is told to stop, nothing new starts, and the reservation settles to what finished steps cost.
315
+ * @param {string} id ID is the resource\&#39;s id, from the path.
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ postStudioRunsByIdCancel: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
320
+ /**
321
+ * Resumes one of your runs that failed or was cancelled: the steps that did not succeed run again in the same run, and the steps that did keep their outputs and are neither run nor charged again. What is left to run is reserved first (402 when it cannot be); 409 while the run is still going or once it succeeded.
322
+ * @summary Resumes one of your runs that failed or was cancelled: the steps that did not succeed run again in the same run, and the steps that did keep their outputs and are neither run nor charged again.
323
+ * @param {string} id ID is the resource\&#39;s id, from the path.
324
+ * @param {*} [options] Override http request option.
325
+ * @throws {RequiredError}
326
+ */
327
+ postStudioRunsByIdRetry: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
328
+ /**
329
+ * Saves a template to your org: a graph and the inputs schema its runs are started with. It is yours until you share it.
330
+ * @summary Saves a template to your org: a graph and the inputs schema its runs are started with.
331
+ * @param {StudioTemplateWrite} studioTemplateWrite
332
+ * @param {*} [options] Override http request option.
333
+ * @throws {RequiredError}
334
+ */
335
+ postStudioTemplates: (studioTemplateWrite: StudioTemplateWrite, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
336
+ };
337
+ /**
338
+ * StudioApi - functional programming interface
339
+ * @export
340
+ */
341
+ export declare const StudioApiFp: (configuration?: Configuration) => {
342
+ /**
343
+ * Deletes one of your brands.
344
+ * @summary Deletes one of your brands.
345
+ * @param {string} id ID is the resource\&#39;s id, from the path.
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ */
349
+ deleteStudioBrandsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
350
+ /**
351
+ * Deletes one of your documents.
352
+ * @summary Deletes one of your documents.
353
+ * @param {string} id ID is the resource\&#39;s id, from the path.
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ */
357
+ deleteStudioDocumentsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
358
+ /**
359
+ * Deletes one of your flows.
360
+ * @summary Deletes one of your flows.
361
+ * @param {string} id ID is the resource\&#39;s id, from the path.
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ */
365
+ deleteStudioFlowsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
366
+ /**
367
+ * Deletes one of your templates.
368
+ * @summary Deletes one of your templates.
369
+ * @param {string} id ID is the resource\&#39;s id, from the path.
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ deleteStudioTemplatesById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
374
+ /**
375
+ * Deletes one of your threads. Its runs and their files stay.
376
+ * @summary Deletes one of your threads.
377
+ * @param {string} id ID is the resource\&#39;s id, from the path.
378
+ * @param {*} [options] Override http request option.
379
+ * @throws {RequiredError}
380
+ */
381
+ deleteStudioThreadsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
382
+ /**
383
+ * Lists the brands you may read — palettes and type systems as design tokens.
384
+ * @summary Lists the brands you may read — palettes and type systems as design tokens.
385
+ * @param {number} [limit] Limit is how many rows one page holds, 1 to 100 (default 50).
386
+ * @param {string} [cursor] Cursor is the previous page\&#39;s next.
387
+ * @param {*} [options] Override http request option.
388
+ * @throws {RequiredError}
389
+ */
390
+ getStudioBrands(limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioBrandPage>>;
391
+ /**
392
+ * Reads one brand you may read.
393
+ * @summary Reads one brand you may read.
394
+ * @param {string} id ID is the resource\&#39;s id, from the path.
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ */
398
+ getStudioBrandsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioBrand>>;
399
+ /**
400
+ * Lists the documents and decks you may read, most recently changed first.
401
+ * @summary Lists the documents and decks you may read, most recently changed first.
402
+ * @param {string} [kind] Kind is doc or deck.
403
+ * @param {number} [limit]
404
+ * @param {string} [cursor]
405
+ * @param {*} [options] Override http request option.
406
+ * @throws {RequiredError}
407
+ */
408
+ getStudioDocuments(kind?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioDocumentPage>>;
409
+ /**
410
+ * Reads one document you may read.
411
+ * @summary Reads one document you may read.
412
+ * @param {string} id ID is the resource\&#39;s id, from the path.
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ */
416
+ getStudioDocumentsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioDocument>>;
417
+ /**
418
+ * Lists the flows you may read, most recently changed first.
419
+ * @summary Lists the flows you may read, most recently changed first.
420
+ * @param {number} [limit] Limit is how many rows one page holds, 1 to 100 (default 50).
421
+ * @param {string} [cursor] Cursor is the previous page\&#39;s next.
422
+ * @param {*} [options] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ getStudioFlows(limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioFlowPage>>;
426
+ /**
427
+ * Reads one flow you may read.
428
+ * @summary Reads one flow you may read.
429
+ * @param {string} id ID is the resource\&#39;s id, from the path.
430
+ * @param {*} [options] Override http request option.
431
+ * @throws {RequiredError}
432
+ */
433
+ getStudioFlowsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioFlow>>;
434
+ /**
435
+ * Lists the GPUs your org has linked with `hanzo link` that can take a studio.render step, each with whether it is free now. With none online, a studio.render step waits in the queue.
436
+ * @summary Lists the GPUs your org has linked with `hanzo link` that can take a studio.render step, each with whether it is free now.
437
+ * @param {number} [limit] Limit is how many rows one page holds, 1 to 100 (default 50).
438
+ * @param {string} [cursor] Cursor is the previous page\&#39;s next.
439
+ * @param {*} [options] Override http request option.
440
+ * @throws {RequiredError}
441
+ */
442
+ getStudioGpus(limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioGpuList>>;
443
+ /**
444
+ * Lists the runs you may read — your own and those your org shares — newest first. Filter by kind or status.
445
+ * @summary Lists the runs you may read — your own and those your org shares — newest first.
446
+ * @param {string} [kind]
447
+ * @param {string} [status] Status keeps only runs at this status.
448
+ * @param {number} [limit]
449
+ * @param {string} [cursor]
450
+ * @param {*} [options] Override http request option.
451
+ * @throws {RequiredError}
452
+ */
453
+ getStudioRuns(kind?: string, status?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioRunPage>>;
454
+ /**
455
+ * Reads one run: its graph, its input, every step\'s state, the assets it made and what it cost. A run you may not read answers 404.
456
+ * @summary Reads one run: its graph, its input, every step\'s state, the assets it made and what it cost.
457
+ * @param {string} id ID is the resource\&#39;s id, from the path.
458
+ * @param {*} [options] Override http request option.
459
+ * @throws {RequiredError}
460
+ */
461
+ getStudioRunsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioRun>>;
462
+ /**
463
+ * Holds text/event-stream open on one run you may read and writes one frame per change until the run ends, then a final `done` frame, and closes. Every frame carries `id:`, the event\'s sequence number in the run, so a client that reconnects with Last-Event-ID (or ?after=) receives exactly what it missed. A run that already ended replays its events and closes. Frames (`event:` name, `data:` JSON): `run` {seq, run} on a status change; `step` {seq, run, step} when a step\'s status, attempt or progress moves; `asset` {seq, run, step, asset} when an output lands, as its Library item with fresh signed URLs; `log` {seq, run, step, text}; `done` {seq, run} when the run ended (succeeded, failed or canceled). Each carries the run, step or asset as it is now. A `: ping` comment every 15 seconds keeps intermediaries from closing the stream. Authenticate with `Authorization: Bearer` (a fetch-based reader; a browser EventSource cannot set it) or the session cookie. 404 for a run you may not read; 429 when your org already holds 64 streams.
464
+ * @summary Stream a run\'s progress as Server-Sent Events
465
+ * @param {string} id
466
+ * @param {*} [options] Override http request option.
467
+ * @throws {RequiredError}
468
+ */
469
+ getStudioRunsByIdEvents(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
470
+ /**
471
+ * Lists every version of a creation you may read — the runs in this run\'s lineage — oldest (version 1) first.
472
+ * @summary Lists every version of a creation you may read — the runs in this run\'s lineage — oldest (version 1) first.
473
+ * @param {string} id ID is the resource\&#39;s id, from the path.
474
+ * @param {*} [options] Override http request option.
475
+ * @throws {RequiredError}
476
+ */
477
+ getStudioRunsByIdVersions(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioRunPage>>;
478
+ /**
479
+ * Lists templates: the public catalog (org empty) first, then your org\'s own that you may read. Filter by kind. A cursor pages your org\'s templates.
480
+ * @summary Lists templates: the public catalog (org empty) first, then your org\'s own that you may read.
481
+ * @param {string} [kind] Kind keeps only templates that make this: image, poster, document, slides, type, model, ad, video, film, voice, music or other.
482
+ * @param {number} [limit]
483
+ * @param {string} [cursor]
484
+ * @param {*} [options] Override http request option.
485
+ * @throws {RequiredError}
486
+ */
487
+ getStudioTemplates(kind?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioTemplatePage>>;
488
+ /**
489
+ * Reads one template: a catalog slug or one of your org\'s templates you may read.
490
+ * @summary Reads one template: a catalog slug or one of your org\'s templates you may read.
491
+ * @param {string} id ID is the resource\&#39;s id, from the path.
492
+ * @param {*} [options] Override http request option.
493
+ * @throws {RequiredError}
494
+ */
495
+ getStudioTemplatesById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioTemplate>>;
496
+ /**
497
+ * Lists your chat threads, most recent first.
498
+ * @summary Lists your chat threads, most recent first.
499
+ * @param {number} [limit] Limit is how many rows one page holds, 1 to 100 (default 50).
500
+ * @param {string} [cursor] Cursor is the previous page\&#39;s next.
501
+ * @param {*} [options] Override http request option.
502
+ * @throws {RequiredError}
503
+ */
504
+ getStudioThreads(limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioThreadPage>>;
505
+ /**
506
+ * Reads one of your threads and its messages, oldest first.
507
+ * @summary Reads one of your threads and its messages, oldest first.
508
+ * @param {string} id ID is the resource\&#39;s id, from the path.
509
+ * @param {*} [options] Override http request option.
510
+ * @throws {RequiredError}
511
+ */
512
+ getStudioThreadsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioThread>>;
513
+ /**
514
+ * Changes one of your brands; absent fields stay as they are.
515
+ * @summary Changes one of your brands; absent fields stay as they are.
516
+ * @param {string} id
517
+ * @param {StudioBrandPatch} studioBrandPatch
518
+ * @param {*} [options] Override http request option.
519
+ * @throws {RequiredError}
520
+ */
521
+ patchStudioBrandsById(id: string, studioBrandPatch: StudioBrandPatch, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioBrand>>;
522
+ /**
523
+ * Changes one of your documents; absent fields stay as they are.
524
+ * @summary Changes one of your documents; absent fields stay as they are.
525
+ * @param {string} id
526
+ * @param {StudioDocumentPatch} studioDocumentPatch
527
+ * @param {*} [options] Override http request option.
528
+ * @throws {RequiredError}
529
+ */
530
+ patchStudioDocumentsById(id: string, studioDocumentPatch: StudioDocumentPatch, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioDocument>>;
531
+ /**
532
+ * Changes one of your flows; absent fields stay as they are.
533
+ * @summary Changes one of your flows; absent fields stay as they are.
534
+ * @param {string} id
535
+ * @param {StudioFlowPatch} studioFlowPatch
536
+ * @param {*} [options] Override http request option.
537
+ * @throws {RequiredError}
538
+ */
539
+ patchStudioFlowsById(id: string, studioFlowPatch: StudioFlowPatch, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioFlow>>;
540
+ /**
541
+ * Renames or shares one of your runs. Sharing a run lets every member of your org read it; its files are Library items, shared from the Library.
542
+ * @summary Renames or shares one of your runs.
543
+ * @param {string} id
544
+ * @param {StudioRunPatch} studioRunPatch
545
+ * @param {*} [options] Override http request option.
546
+ * @throws {RequiredError}
547
+ */
548
+ patchStudioRunsById(id: string, studioRunPatch: StudioRunPatch, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioRun>>;
549
+ /**
550
+ * Changes one of your templates; absent fields stay as they are. Catalog templates cannot be changed.
551
+ * @summary Changes one of your templates; absent fields stay as they are.
552
+ * @param {string} id
553
+ * @param {StudioTemplatePatch} studioTemplatePatch
554
+ * @param {*} [options] Override http request option.
555
+ * @throws {RequiredError}
556
+ */
557
+ patchStudioTemplatesById(id: string, studioTemplatePatch: StudioTemplatePatch, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioTemplate>>;
558
+ /**
559
+ * Saves a brand: its tokens in the W3C design-token format (color, font, type, space, radius groups) and up to 16 logo items. A run started with it reads the tokens as brand.*.
560
+ * @summary Saves a brand: its tokens in the W3C design-token format (color, font, type, space, radius groups) and up to 16 logo items.
561
+ * @param {StudioBrandWrite} studioBrandWrite
562
+ * @param {*} [options] Override http request option.
563
+ * @throws {RequiredError}
564
+ */
565
+ postStudioBrands(studioBrandWrite: StudioBrandWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioBrand>>;
566
+ /**
567
+ * Sends one message in a thread (a new thread when `thread` is absent). The assistant answers in text and, when the message asks for something to be made, plans it as runs and starts them; each is exactly the run POST /v1/studio/runs would start, checked and paid for the same way. Answers text/event-stream: `thread` {thread} first; `delta` {text} as the answer is written; `run` {seq, run} for each run the turn started (follow it on its own events); `error` (a problem document) when a planned run could not start — a wallet that cannot cover it is status 402 — and the turn goes on; `done` {thread, message, runs} last, with the stored message. 402 before the stream when the wallet cannot pay for the turn itself.
568
+ * @summary One chat turn that plans and launches runs, streamed
569
+ * @param {ChatTurn} [chatTurn]
570
+ * @param {*} [options] Override http request option.
571
+ * @throws {RequiredError}
572
+ */
573
+ postStudioChat(chatTurn?: ChatTurn, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
574
+ /**
575
+ * Writes a document (kind doc, its IR blocks) or a deck (kind deck, its slides). Render it with a run: template document or slides, input.document its id.
576
+ * @summary Writes a document (kind doc, its IR blocks) or a deck (kind deck, its slides).
577
+ * @param {StudioDocumentWrite} studioDocumentWrite
578
+ * @param {*} [options] Override http request option.
579
+ * @throws {RequiredError}
580
+ */
581
+ postStudioDocuments(studioDocumentWrite: StudioDocumentWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioDocument>>;
582
+ /**
583
+ * Prices a run without starting it: the estimate POST /v1/studio/runs would reserve, step by step. Nothing is reserved and nothing runs.
584
+ * @summary Prices a run without starting it: the estimate POST /v1/studio/runs would reserve, step by step.
585
+ * @param {StudioRunCreate} studioRunCreate
586
+ * @param {string} [idempotencyKey]
587
+ * @param {*} [options] Override http request option.
588
+ * @throws {RequiredError}
589
+ */
590
+ postStudioEstimate(studioRunCreate: StudioRunCreate, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioEstimate>>;
591
+ /**
592
+ * Saves a graph as a flow of yours. Start it with POST /v1/studio/runs {\"flow\": id}.
593
+ * @summary Saves a graph as a flow of yours.
594
+ * @param {StudioFlowWrite} studioFlowWrite
595
+ * @param {*} [options] Override http request option.
596
+ * @throws {RequiredError}
597
+ */
598
+ postStudioFlows(studioFlowWrite: StudioFlowWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioFlow>>;
599
+ /**
600
+ * Starts a run: name exactly one of template, flow or graph, with the input its inputs schema asks for. The run is checked, priced and its estimate reserved against your org\'s wallet, then queued; the answer is the run at queued. Follow it on GET /v1/studio/runs/{id}/events. parent makes this run the next version of that run: it takes the parent\'s graph and input, overlaid by what this request states. Send Idempotency-Key to make a retried request start one run, not two. 402 when the wallet cannot cover the estimate; 422 when the graph or input does not validate.
601
+ * @summary Starts a run: name exactly one of template, flow or graph, with the input its inputs schema asks for.
602
+ * @param {StudioRunCreate} studioRunCreate
603
+ * @param {string} [idempotencyKey]
604
+ * @param {*} [options] Override http request option.
605
+ * @throws {RequiredError}
606
+ */
607
+ postStudioRuns(studioRunCreate: StudioRunCreate, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioRun>>;
608
+ /**
609
+ * Cancels one of your runs: a step in flight is told to stop, nothing new starts, and the reservation settles to what finished steps cost. Cancelling a run that already ended answers it unchanged.
610
+ * @summary Cancels one of your runs: a step in flight is told to stop, nothing new starts, and the reservation settles to what finished steps cost.
611
+ * @param {string} id ID is the resource\&#39;s id, from the path.
612
+ * @param {*} [options] Override http request option.
613
+ * @throws {RequiredError}
614
+ */
615
+ postStudioRunsByIdCancel(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioRun>>;
616
+ /**
617
+ * Resumes one of your runs that failed or was cancelled: the steps that did not succeed run again in the same run, and the steps that did keep their outputs and are neither run nor charged again. What is left to run is reserved first (402 when it cannot be); 409 while the run is still going or once it succeeded.
618
+ * @summary Resumes one of your runs that failed or was cancelled: the steps that did not succeed run again in the same run, and the steps that did keep their outputs and are neither run nor charged again.
619
+ * @param {string} id ID is the resource\&#39;s id, from the path.
620
+ * @param {*} [options] Override http request option.
621
+ * @throws {RequiredError}
622
+ */
623
+ postStudioRunsByIdRetry(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioRun>>;
624
+ /**
625
+ * Saves a template to your org: a graph and the inputs schema its runs are started with. It is yours until you share it.
626
+ * @summary Saves a template to your org: a graph and the inputs schema its runs are started with.
627
+ * @param {StudioTemplateWrite} studioTemplateWrite
628
+ * @param {*} [options] Override http request option.
629
+ * @throws {RequiredError}
630
+ */
631
+ postStudioTemplates(studioTemplateWrite: StudioTemplateWrite, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StudioTemplate>>;
632
+ };
633
+ /**
634
+ * StudioApi - factory interface
635
+ * @export
636
+ */
637
+ export declare const StudioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
638
+ /**
639
+ * Deletes one of your brands.
640
+ * @summary Deletes one of your brands.
641
+ * @param {StudioApiDeleteStudioBrandsByIdRequest} requestParameters Request parameters.
642
+ * @param {*} [options] Override http request option.
643
+ * @throws {RequiredError}
644
+ */
645
+ deleteStudioBrandsById(requestParameters: StudioApiDeleteStudioBrandsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
646
+ /**
647
+ * Deletes one of your documents.
648
+ * @summary Deletes one of your documents.
649
+ * @param {StudioApiDeleteStudioDocumentsByIdRequest} requestParameters Request parameters.
650
+ * @param {*} [options] Override http request option.
651
+ * @throws {RequiredError}
652
+ */
653
+ deleteStudioDocumentsById(requestParameters: StudioApiDeleteStudioDocumentsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
654
+ /**
655
+ * Deletes one of your flows.
656
+ * @summary Deletes one of your flows.
657
+ * @param {StudioApiDeleteStudioFlowsByIdRequest} requestParameters Request parameters.
658
+ * @param {*} [options] Override http request option.
659
+ * @throws {RequiredError}
660
+ */
661
+ deleteStudioFlowsById(requestParameters: StudioApiDeleteStudioFlowsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
662
+ /**
663
+ * Deletes one of your templates.
664
+ * @summary Deletes one of your templates.
665
+ * @param {StudioApiDeleteStudioTemplatesByIdRequest} requestParameters Request parameters.
666
+ * @param {*} [options] Override http request option.
667
+ * @throws {RequiredError}
668
+ */
669
+ deleteStudioTemplatesById(requestParameters: StudioApiDeleteStudioTemplatesByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
670
+ /**
671
+ * Deletes one of your threads. Its runs and their files stay.
672
+ * @summary Deletes one of your threads.
673
+ * @param {StudioApiDeleteStudioThreadsByIdRequest} requestParameters Request parameters.
674
+ * @param {*} [options] Override http request option.
675
+ * @throws {RequiredError}
676
+ */
677
+ deleteStudioThreadsById(requestParameters: StudioApiDeleteStudioThreadsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
678
+ /**
679
+ * Lists the brands you may read — palettes and type systems as design tokens.
680
+ * @summary Lists the brands you may read — palettes and type systems as design tokens.
681
+ * @param {StudioApiGetStudioBrandsRequest} requestParameters Request parameters.
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ */
685
+ getStudioBrands(requestParameters?: StudioApiGetStudioBrandsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioBrandPage>;
686
+ /**
687
+ * Reads one brand you may read.
688
+ * @summary Reads one brand you may read.
689
+ * @param {StudioApiGetStudioBrandsByIdRequest} requestParameters Request parameters.
690
+ * @param {*} [options] Override http request option.
691
+ * @throws {RequiredError}
692
+ */
693
+ getStudioBrandsById(requestParameters: StudioApiGetStudioBrandsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioBrand>;
694
+ /**
695
+ * Lists the documents and decks you may read, most recently changed first.
696
+ * @summary Lists the documents and decks you may read, most recently changed first.
697
+ * @param {StudioApiGetStudioDocumentsRequest} requestParameters Request parameters.
698
+ * @param {*} [options] Override http request option.
699
+ * @throws {RequiredError}
700
+ */
701
+ getStudioDocuments(requestParameters?: StudioApiGetStudioDocumentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioDocumentPage>;
702
+ /**
703
+ * Reads one document you may read.
704
+ * @summary Reads one document you may read.
705
+ * @param {StudioApiGetStudioDocumentsByIdRequest} requestParameters Request parameters.
706
+ * @param {*} [options] Override http request option.
707
+ * @throws {RequiredError}
708
+ */
709
+ getStudioDocumentsById(requestParameters: StudioApiGetStudioDocumentsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioDocument>;
710
+ /**
711
+ * Lists the flows you may read, most recently changed first.
712
+ * @summary Lists the flows you may read, most recently changed first.
713
+ * @param {StudioApiGetStudioFlowsRequest} requestParameters Request parameters.
714
+ * @param {*} [options] Override http request option.
715
+ * @throws {RequiredError}
716
+ */
717
+ getStudioFlows(requestParameters?: StudioApiGetStudioFlowsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioFlowPage>;
718
+ /**
719
+ * Reads one flow you may read.
720
+ * @summary Reads one flow you may read.
721
+ * @param {StudioApiGetStudioFlowsByIdRequest} requestParameters Request parameters.
722
+ * @param {*} [options] Override http request option.
723
+ * @throws {RequiredError}
724
+ */
725
+ getStudioFlowsById(requestParameters: StudioApiGetStudioFlowsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioFlow>;
726
+ /**
727
+ * Lists the GPUs your org has linked with `hanzo link` that can take a studio.render step, each with whether it is free now. With none online, a studio.render step waits in the queue.
728
+ * @summary Lists the GPUs your org has linked with `hanzo link` that can take a studio.render step, each with whether it is free now.
729
+ * @param {StudioApiGetStudioGpusRequest} requestParameters Request parameters.
730
+ * @param {*} [options] Override http request option.
731
+ * @throws {RequiredError}
732
+ */
733
+ getStudioGpus(requestParameters?: StudioApiGetStudioGpusRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioGpuList>;
734
+ /**
735
+ * Lists the runs you may read — your own and those your org shares — newest first. Filter by kind or status.
736
+ * @summary Lists the runs you may read — your own and those your org shares — newest first.
737
+ * @param {StudioApiGetStudioRunsRequest} requestParameters Request parameters.
738
+ * @param {*} [options] Override http request option.
739
+ * @throws {RequiredError}
740
+ */
741
+ getStudioRuns(requestParameters?: StudioApiGetStudioRunsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioRunPage>;
742
+ /**
743
+ * Reads one run: its graph, its input, every step\'s state, the assets it made and what it cost. A run you may not read answers 404.
744
+ * @summary Reads one run: its graph, its input, every step\'s state, the assets it made and what it cost.
745
+ * @param {StudioApiGetStudioRunsByIdRequest} requestParameters Request parameters.
746
+ * @param {*} [options] Override http request option.
747
+ * @throws {RequiredError}
748
+ */
749
+ getStudioRunsById(requestParameters: StudioApiGetStudioRunsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioRun>;
750
+ /**
751
+ * Holds text/event-stream open on one run you may read and writes one frame per change until the run ends, then a final `done` frame, and closes. Every frame carries `id:`, the event\'s sequence number in the run, so a client that reconnects with Last-Event-ID (or ?after=) receives exactly what it missed. A run that already ended replays its events and closes. Frames (`event:` name, `data:` JSON): `run` {seq, run} on a status change; `step` {seq, run, step} when a step\'s status, attempt or progress moves; `asset` {seq, run, step, asset} when an output lands, as its Library item with fresh signed URLs; `log` {seq, run, step, text}; `done` {seq, run} when the run ended (succeeded, failed or canceled). Each carries the run, step or asset as it is now. A `: ping` comment every 15 seconds keeps intermediaries from closing the stream. Authenticate with `Authorization: Bearer` (a fetch-based reader; a browser EventSource cannot set it) or the session cookie. 404 for a run you may not read; 429 when your org already holds 64 streams.
752
+ * @summary Stream a run\'s progress as Server-Sent Events
753
+ * @param {StudioApiGetStudioRunsByIdEventsRequest} requestParameters Request parameters.
754
+ * @param {*} [options] Override http request option.
755
+ * @throws {RequiredError}
756
+ */
757
+ getStudioRunsByIdEvents(requestParameters: StudioApiGetStudioRunsByIdEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
758
+ /**
759
+ * Lists every version of a creation you may read — the runs in this run\'s lineage — oldest (version 1) first.
760
+ * @summary Lists every version of a creation you may read — the runs in this run\'s lineage — oldest (version 1) first.
761
+ * @param {StudioApiGetStudioRunsByIdVersionsRequest} requestParameters Request parameters.
762
+ * @param {*} [options] Override http request option.
763
+ * @throws {RequiredError}
764
+ */
765
+ getStudioRunsByIdVersions(requestParameters: StudioApiGetStudioRunsByIdVersionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioRunPage>;
766
+ /**
767
+ * Lists templates: the public catalog (org empty) first, then your org\'s own that you may read. Filter by kind. A cursor pages your org\'s templates.
768
+ * @summary Lists templates: the public catalog (org empty) first, then your org\'s own that you may read.
769
+ * @param {StudioApiGetStudioTemplatesRequest} requestParameters Request parameters.
770
+ * @param {*} [options] Override http request option.
771
+ * @throws {RequiredError}
772
+ */
773
+ getStudioTemplates(requestParameters?: StudioApiGetStudioTemplatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioTemplatePage>;
774
+ /**
775
+ * Reads one template: a catalog slug or one of your org\'s templates you may read.
776
+ * @summary Reads one template: a catalog slug or one of your org\'s templates you may read.
777
+ * @param {StudioApiGetStudioTemplatesByIdRequest} requestParameters Request parameters.
778
+ * @param {*} [options] Override http request option.
779
+ * @throws {RequiredError}
780
+ */
781
+ getStudioTemplatesById(requestParameters: StudioApiGetStudioTemplatesByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioTemplate>;
782
+ /**
783
+ * Lists your chat threads, most recent first.
784
+ * @summary Lists your chat threads, most recent first.
785
+ * @param {StudioApiGetStudioThreadsRequest} requestParameters Request parameters.
786
+ * @param {*} [options] Override http request option.
787
+ * @throws {RequiredError}
788
+ */
789
+ getStudioThreads(requestParameters?: StudioApiGetStudioThreadsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioThreadPage>;
790
+ /**
791
+ * Reads one of your threads and its messages, oldest first.
792
+ * @summary Reads one of your threads and its messages, oldest first.
793
+ * @param {StudioApiGetStudioThreadsByIdRequest} requestParameters Request parameters.
794
+ * @param {*} [options] Override http request option.
795
+ * @throws {RequiredError}
796
+ */
797
+ getStudioThreadsById(requestParameters: StudioApiGetStudioThreadsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioThread>;
798
+ /**
799
+ * Changes one of your brands; absent fields stay as they are.
800
+ * @summary Changes one of your brands; absent fields stay as they are.
801
+ * @param {StudioApiPatchStudioBrandsByIdRequest} requestParameters Request parameters.
802
+ * @param {*} [options] Override http request option.
803
+ * @throws {RequiredError}
804
+ */
805
+ patchStudioBrandsById(requestParameters: StudioApiPatchStudioBrandsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioBrand>;
806
+ /**
807
+ * Changes one of your documents; absent fields stay as they are.
808
+ * @summary Changes one of your documents; absent fields stay as they are.
809
+ * @param {StudioApiPatchStudioDocumentsByIdRequest} requestParameters Request parameters.
810
+ * @param {*} [options] Override http request option.
811
+ * @throws {RequiredError}
812
+ */
813
+ patchStudioDocumentsById(requestParameters: StudioApiPatchStudioDocumentsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioDocument>;
814
+ /**
815
+ * Changes one of your flows; absent fields stay as they are.
816
+ * @summary Changes one of your flows; absent fields stay as they are.
817
+ * @param {StudioApiPatchStudioFlowsByIdRequest} requestParameters Request parameters.
818
+ * @param {*} [options] Override http request option.
819
+ * @throws {RequiredError}
820
+ */
821
+ patchStudioFlowsById(requestParameters: StudioApiPatchStudioFlowsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioFlow>;
822
+ /**
823
+ * Renames or shares one of your runs. Sharing a run lets every member of your org read it; its files are Library items, shared from the Library.
824
+ * @summary Renames or shares one of your runs.
825
+ * @param {StudioApiPatchStudioRunsByIdRequest} requestParameters Request parameters.
826
+ * @param {*} [options] Override http request option.
827
+ * @throws {RequiredError}
828
+ */
829
+ patchStudioRunsById(requestParameters: StudioApiPatchStudioRunsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioRun>;
830
+ /**
831
+ * Changes one of your templates; absent fields stay as they are. Catalog templates cannot be changed.
832
+ * @summary Changes one of your templates; absent fields stay as they are.
833
+ * @param {StudioApiPatchStudioTemplatesByIdRequest} requestParameters Request parameters.
834
+ * @param {*} [options] Override http request option.
835
+ * @throws {RequiredError}
836
+ */
837
+ patchStudioTemplatesById(requestParameters: StudioApiPatchStudioTemplatesByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioTemplate>;
838
+ /**
839
+ * Saves a brand: its tokens in the W3C design-token format (color, font, type, space, radius groups) and up to 16 logo items. A run started with it reads the tokens as brand.*.
840
+ * @summary Saves a brand: its tokens in the W3C design-token format (color, font, type, space, radius groups) and up to 16 logo items.
841
+ * @param {StudioApiPostStudioBrandsRequest} requestParameters Request parameters.
842
+ * @param {*} [options] Override http request option.
843
+ * @throws {RequiredError}
844
+ */
845
+ postStudioBrands(requestParameters: StudioApiPostStudioBrandsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioBrand>;
846
+ /**
847
+ * Sends one message in a thread (a new thread when `thread` is absent). The assistant answers in text and, when the message asks for something to be made, plans it as runs and starts them; each is exactly the run POST /v1/studio/runs would start, checked and paid for the same way. Answers text/event-stream: `thread` {thread} first; `delta` {text} as the answer is written; `run` {seq, run} for each run the turn started (follow it on its own events); `error` (a problem document) when a planned run could not start — a wallet that cannot cover it is status 402 — and the turn goes on; `done` {thread, message, runs} last, with the stored message. 402 before the stream when the wallet cannot pay for the turn itself.
848
+ * @summary One chat turn that plans and launches runs, streamed
849
+ * @param {StudioApiPostStudioChatRequest} requestParameters Request parameters.
850
+ * @param {*} [options] Override http request option.
851
+ * @throws {RequiredError}
852
+ */
853
+ postStudioChat(requestParameters?: StudioApiPostStudioChatRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
854
+ /**
855
+ * Writes a document (kind doc, its IR blocks) or a deck (kind deck, its slides). Render it with a run: template document or slides, input.document its id.
856
+ * @summary Writes a document (kind doc, its IR blocks) or a deck (kind deck, its slides).
857
+ * @param {StudioApiPostStudioDocumentsRequest} requestParameters Request parameters.
858
+ * @param {*} [options] Override http request option.
859
+ * @throws {RequiredError}
860
+ */
861
+ postStudioDocuments(requestParameters: StudioApiPostStudioDocumentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioDocument>;
862
+ /**
863
+ * Prices a run without starting it: the estimate POST /v1/studio/runs would reserve, step by step. Nothing is reserved and nothing runs.
864
+ * @summary Prices a run without starting it: the estimate POST /v1/studio/runs would reserve, step by step.
865
+ * @param {StudioApiPostStudioEstimateRequest} requestParameters Request parameters.
866
+ * @param {*} [options] Override http request option.
867
+ * @throws {RequiredError}
868
+ */
869
+ postStudioEstimate(requestParameters: StudioApiPostStudioEstimateRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioEstimate>;
870
+ /**
871
+ * Saves a graph as a flow of yours. Start it with POST /v1/studio/runs {\"flow\": id}.
872
+ * @summary Saves a graph as a flow of yours.
873
+ * @param {StudioApiPostStudioFlowsRequest} requestParameters Request parameters.
874
+ * @param {*} [options] Override http request option.
875
+ * @throws {RequiredError}
876
+ */
877
+ postStudioFlows(requestParameters: StudioApiPostStudioFlowsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioFlow>;
878
+ /**
879
+ * Starts a run: name exactly one of template, flow or graph, with the input its inputs schema asks for. The run is checked, priced and its estimate reserved against your org\'s wallet, then queued; the answer is the run at queued. Follow it on GET /v1/studio/runs/{id}/events. parent makes this run the next version of that run: it takes the parent\'s graph and input, overlaid by what this request states. Send Idempotency-Key to make a retried request start one run, not two. 402 when the wallet cannot cover the estimate; 422 when the graph or input does not validate.
880
+ * @summary Starts a run: name exactly one of template, flow or graph, with the input its inputs schema asks for.
881
+ * @param {StudioApiPostStudioRunsRequest} requestParameters Request parameters.
882
+ * @param {*} [options] Override http request option.
883
+ * @throws {RequiredError}
884
+ */
885
+ postStudioRuns(requestParameters: StudioApiPostStudioRunsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioRun>;
886
+ /**
887
+ * Cancels one of your runs: a step in flight is told to stop, nothing new starts, and the reservation settles to what finished steps cost. Cancelling a run that already ended answers it unchanged.
888
+ * @summary Cancels one of your runs: a step in flight is told to stop, nothing new starts, and the reservation settles to what finished steps cost.
889
+ * @param {StudioApiPostStudioRunsByIdCancelRequest} requestParameters Request parameters.
890
+ * @param {*} [options] Override http request option.
891
+ * @throws {RequiredError}
892
+ */
893
+ postStudioRunsByIdCancel(requestParameters: StudioApiPostStudioRunsByIdCancelRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioRun>;
894
+ /**
895
+ * Resumes one of your runs that failed or was cancelled: the steps that did not succeed run again in the same run, and the steps that did keep their outputs and are neither run nor charged again. What is left to run is reserved first (402 when it cannot be); 409 while the run is still going or once it succeeded.
896
+ * @summary Resumes one of your runs that failed or was cancelled: the steps that did not succeed run again in the same run, and the steps that did keep their outputs and are neither run nor charged again.
897
+ * @param {StudioApiPostStudioRunsByIdRetryRequest} requestParameters Request parameters.
898
+ * @param {*} [options] Override http request option.
899
+ * @throws {RequiredError}
900
+ */
901
+ postStudioRunsByIdRetry(requestParameters: StudioApiPostStudioRunsByIdRetryRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioRun>;
902
+ /**
903
+ * Saves a template to your org: a graph and the inputs schema its runs are started with. It is yours until you share it.
904
+ * @summary Saves a template to your org: a graph and the inputs schema its runs are started with.
905
+ * @param {StudioApiPostStudioTemplatesRequest} requestParameters Request parameters.
906
+ * @param {*} [options] Override http request option.
907
+ * @throws {RequiredError}
908
+ */
909
+ postStudioTemplates(requestParameters: StudioApiPostStudioTemplatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<StudioTemplate>;
910
+ };
911
+ /**
912
+ * Request parameters for deleteStudioBrandsById operation in StudioApi.
913
+ * @export
914
+ * @interface StudioApiDeleteStudioBrandsByIdRequest
915
+ */
916
+ export interface StudioApiDeleteStudioBrandsByIdRequest {
917
+ /**
918
+ * ID is the resource\&#39;s id, from the path.
919
+ * @type {string}
920
+ * @memberof StudioApiDeleteStudioBrandsById
921
+ */
922
+ readonly id: string;
923
+ }
924
+ /**
925
+ * Request parameters for deleteStudioDocumentsById operation in StudioApi.
926
+ * @export
927
+ * @interface StudioApiDeleteStudioDocumentsByIdRequest
928
+ */
929
+ export interface StudioApiDeleteStudioDocumentsByIdRequest {
930
+ /**
931
+ * ID is the resource\&#39;s id, from the path.
932
+ * @type {string}
933
+ * @memberof StudioApiDeleteStudioDocumentsById
934
+ */
935
+ readonly id: string;
936
+ }
937
+ /**
938
+ * Request parameters for deleteStudioFlowsById operation in StudioApi.
939
+ * @export
940
+ * @interface StudioApiDeleteStudioFlowsByIdRequest
941
+ */
942
+ export interface StudioApiDeleteStudioFlowsByIdRequest {
943
+ /**
944
+ * ID is the resource\&#39;s id, from the path.
945
+ * @type {string}
946
+ * @memberof StudioApiDeleteStudioFlowsById
947
+ */
948
+ readonly id: string;
949
+ }
950
+ /**
951
+ * Request parameters for deleteStudioTemplatesById operation in StudioApi.
952
+ * @export
953
+ * @interface StudioApiDeleteStudioTemplatesByIdRequest
954
+ */
955
+ export interface StudioApiDeleteStudioTemplatesByIdRequest {
956
+ /**
957
+ * ID is the resource\&#39;s id, from the path.
958
+ * @type {string}
959
+ * @memberof StudioApiDeleteStudioTemplatesById
960
+ */
961
+ readonly id: string;
962
+ }
963
+ /**
964
+ * Request parameters for deleteStudioThreadsById operation in StudioApi.
965
+ * @export
966
+ * @interface StudioApiDeleteStudioThreadsByIdRequest
967
+ */
968
+ export interface StudioApiDeleteStudioThreadsByIdRequest {
969
+ /**
970
+ * ID is the resource\&#39;s id, from the path.
971
+ * @type {string}
972
+ * @memberof StudioApiDeleteStudioThreadsById
973
+ */
974
+ readonly id: string;
975
+ }
976
+ /**
977
+ * Request parameters for getStudioBrands operation in StudioApi.
978
+ * @export
979
+ * @interface StudioApiGetStudioBrandsRequest
980
+ */
981
+ export interface StudioApiGetStudioBrandsRequest {
982
+ /**
983
+ * Limit is how many rows one page holds, 1 to 100 (default 50).
984
+ * @type {number}
985
+ * @memberof StudioApiGetStudioBrands
986
+ */
987
+ readonly limit?: number;
988
+ /**
989
+ * Cursor is the previous page\&#39;s next.
990
+ * @type {string}
991
+ * @memberof StudioApiGetStudioBrands
992
+ */
993
+ readonly cursor?: string;
994
+ }
995
+ /**
996
+ * Request parameters for getStudioBrandsById operation in StudioApi.
997
+ * @export
998
+ * @interface StudioApiGetStudioBrandsByIdRequest
999
+ */
1000
+ export interface StudioApiGetStudioBrandsByIdRequest {
1001
+ /**
1002
+ * ID is the resource\&#39;s id, from the path.
1003
+ * @type {string}
1004
+ * @memberof StudioApiGetStudioBrandsById
1005
+ */
1006
+ readonly id: string;
1007
+ }
1008
+ /**
1009
+ * Request parameters for getStudioDocuments operation in StudioApi.
1010
+ * @export
1011
+ * @interface StudioApiGetStudioDocumentsRequest
1012
+ */
1013
+ export interface StudioApiGetStudioDocumentsRequest {
1014
+ /**
1015
+ * Kind is doc or deck.
1016
+ * @type {string}
1017
+ * @memberof StudioApiGetStudioDocuments
1018
+ */
1019
+ readonly kind?: string;
1020
+ /**
1021
+ *
1022
+ * @type {number}
1023
+ * @memberof StudioApiGetStudioDocuments
1024
+ */
1025
+ readonly limit?: number;
1026
+ /**
1027
+ *
1028
+ * @type {string}
1029
+ * @memberof StudioApiGetStudioDocuments
1030
+ */
1031
+ readonly cursor?: string;
1032
+ }
1033
+ /**
1034
+ * Request parameters for getStudioDocumentsById operation in StudioApi.
1035
+ * @export
1036
+ * @interface StudioApiGetStudioDocumentsByIdRequest
1037
+ */
1038
+ export interface StudioApiGetStudioDocumentsByIdRequest {
1039
+ /**
1040
+ * ID is the resource\&#39;s id, from the path.
1041
+ * @type {string}
1042
+ * @memberof StudioApiGetStudioDocumentsById
1043
+ */
1044
+ readonly id: string;
1045
+ }
1046
+ /**
1047
+ * Request parameters for getStudioFlows operation in StudioApi.
1048
+ * @export
1049
+ * @interface StudioApiGetStudioFlowsRequest
1050
+ */
1051
+ export interface StudioApiGetStudioFlowsRequest {
1052
+ /**
1053
+ * Limit is how many rows one page holds, 1 to 100 (default 50).
1054
+ * @type {number}
1055
+ * @memberof StudioApiGetStudioFlows
1056
+ */
1057
+ readonly limit?: number;
1058
+ /**
1059
+ * Cursor is the previous page\&#39;s next.
1060
+ * @type {string}
1061
+ * @memberof StudioApiGetStudioFlows
1062
+ */
1063
+ readonly cursor?: string;
1064
+ }
1065
+ /**
1066
+ * Request parameters for getStudioFlowsById operation in StudioApi.
1067
+ * @export
1068
+ * @interface StudioApiGetStudioFlowsByIdRequest
1069
+ */
1070
+ export interface StudioApiGetStudioFlowsByIdRequest {
1071
+ /**
1072
+ * ID is the resource\&#39;s id, from the path.
1073
+ * @type {string}
1074
+ * @memberof StudioApiGetStudioFlowsById
1075
+ */
1076
+ readonly id: string;
1077
+ }
1078
+ /**
1079
+ * Request parameters for getStudioGpus operation in StudioApi.
1080
+ * @export
1081
+ * @interface StudioApiGetStudioGpusRequest
1082
+ */
1083
+ export interface StudioApiGetStudioGpusRequest {
1084
+ /**
1085
+ * Limit is how many rows one page holds, 1 to 100 (default 50).
1086
+ * @type {number}
1087
+ * @memberof StudioApiGetStudioGpus
1088
+ */
1089
+ readonly limit?: number;
1090
+ /**
1091
+ * Cursor is the previous page\&#39;s next.
1092
+ * @type {string}
1093
+ * @memberof StudioApiGetStudioGpus
1094
+ */
1095
+ readonly cursor?: string;
1096
+ }
1097
+ /**
1098
+ * Request parameters for getStudioRuns operation in StudioApi.
1099
+ * @export
1100
+ * @interface StudioApiGetStudioRunsRequest
1101
+ */
1102
+ export interface StudioApiGetStudioRunsRequest {
1103
+ /**
1104
+ *
1105
+ * @type {string}
1106
+ * @memberof StudioApiGetStudioRuns
1107
+ */
1108
+ readonly kind?: string;
1109
+ /**
1110
+ * Status keeps only runs at this status.
1111
+ * @type {string}
1112
+ * @memberof StudioApiGetStudioRuns
1113
+ */
1114
+ readonly status?: string;
1115
+ /**
1116
+ *
1117
+ * @type {number}
1118
+ * @memberof StudioApiGetStudioRuns
1119
+ */
1120
+ readonly limit?: number;
1121
+ /**
1122
+ *
1123
+ * @type {string}
1124
+ * @memberof StudioApiGetStudioRuns
1125
+ */
1126
+ readonly cursor?: string;
1127
+ }
1128
+ /**
1129
+ * Request parameters for getStudioRunsById operation in StudioApi.
1130
+ * @export
1131
+ * @interface StudioApiGetStudioRunsByIdRequest
1132
+ */
1133
+ export interface StudioApiGetStudioRunsByIdRequest {
1134
+ /**
1135
+ * ID is the resource\&#39;s id, from the path.
1136
+ * @type {string}
1137
+ * @memberof StudioApiGetStudioRunsById
1138
+ */
1139
+ readonly id: string;
1140
+ }
1141
+ /**
1142
+ * Request parameters for getStudioRunsByIdEvents operation in StudioApi.
1143
+ * @export
1144
+ * @interface StudioApiGetStudioRunsByIdEventsRequest
1145
+ */
1146
+ export interface StudioApiGetStudioRunsByIdEventsRequest {
1147
+ /**
1148
+ *
1149
+ * @type {string}
1150
+ * @memberof StudioApiGetStudioRunsByIdEvents
1151
+ */
1152
+ readonly id: string;
1153
+ }
1154
+ /**
1155
+ * Request parameters for getStudioRunsByIdVersions operation in StudioApi.
1156
+ * @export
1157
+ * @interface StudioApiGetStudioRunsByIdVersionsRequest
1158
+ */
1159
+ export interface StudioApiGetStudioRunsByIdVersionsRequest {
1160
+ /**
1161
+ * ID is the resource\&#39;s id, from the path.
1162
+ * @type {string}
1163
+ * @memberof StudioApiGetStudioRunsByIdVersions
1164
+ */
1165
+ readonly id: string;
1166
+ }
1167
+ /**
1168
+ * Request parameters for getStudioTemplates operation in StudioApi.
1169
+ * @export
1170
+ * @interface StudioApiGetStudioTemplatesRequest
1171
+ */
1172
+ export interface StudioApiGetStudioTemplatesRequest {
1173
+ /**
1174
+ * Kind keeps only templates that make this: image, poster, document, slides, type, model, ad, video, film, voice, music or other.
1175
+ * @type {string}
1176
+ * @memberof StudioApiGetStudioTemplates
1177
+ */
1178
+ readonly kind?: string;
1179
+ /**
1180
+ *
1181
+ * @type {number}
1182
+ * @memberof StudioApiGetStudioTemplates
1183
+ */
1184
+ readonly limit?: number;
1185
+ /**
1186
+ *
1187
+ * @type {string}
1188
+ * @memberof StudioApiGetStudioTemplates
1189
+ */
1190
+ readonly cursor?: string;
1191
+ }
1192
+ /**
1193
+ * Request parameters for getStudioTemplatesById operation in StudioApi.
1194
+ * @export
1195
+ * @interface StudioApiGetStudioTemplatesByIdRequest
1196
+ */
1197
+ export interface StudioApiGetStudioTemplatesByIdRequest {
1198
+ /**
1199
+ * ID is the resource\&#39;s id, from the path.
1200
+ * @type {string}
1201
+ * @memberof StudioApiGetStudioTemplatesById
1202
+ */
1203
+ readonly id: string;
1204
+ }
1205
+ /**
1206
+ * Request parameters for getStudioThreads operation in StudioApi.
1207
+ * @export
1208
+ * @interface StudioApiGetStudioThreadsRequest
1209
+ */
1210
+ export interface StudioApiGetStudioThreadsRequest {
1211
+ /**
1212
+ * Limit is how many rows one page holds, 1 to 100 (default 50).
1213
+ * @type {number}
1214
+ * @memberof StudioApiGetStudioThreads
1215
+ */
1216
+ readonly limit?: number;
1217
+ /**
1218
+ * Cursor is the previous page\&#39;s next.
1219
+ * @type {string}
1220
+ * @memberof StudioApiGetStudioThreads
1221
+ */
1222
+ readonly cursor?: string;
1223
+ }
1224
+ /**
1225
+ * Request parameters for getStudioThreadsById operation in StudioApi.
1226
+ * @export
1227
+ * @interface StudioApiGetStudioThreadsByIdRequest
1228
+ */
1229
+ export interface StudioApiGetStudioThreadsByIdRequest {
1230
+ /**
1231
+ * ID is the resource\&#39;s id, from the path.
1232
+ * @type {string}
1233
+ * @memberof StudioApiGetStudioThreadsById
1234
+ */
1235
+ readonly id: string;
1236
+ }
1237
+ /**
1238
+ * Request parameters for patchStudioBrandsById operation in StudioApi.
1239
+ * @export
1240
+ * @interface StudioApiPatchStudioBrandsByIdRequest
1241
+ */
1242
+ export interface StudioApiPatchStudioBrandsByIdRequest {
1243
+ /**
1244
+ *
1245
+ * @type {string}
1246
+ * @memberof StudioApiPatchStudioBrandsById
1247
+ */
1248
+ readonly id: string;
1249
+ /**
1250
+ *
1251
+ * @type {StudioBrandPatch}
1252
+ * @memberof StudioApiPatchStudioBrandsById
1253
+ */
1254
+ readonly studioBrandPatch: StudioBrandPatch;
1255
+ }
1256
+ /**
1257
+ * Request parameters for patchStudioDocumentsById operation in StudioApi.
1258
+ * @export
1259
+ * @interface StudioApiPatchStudioDocumentsByIdRequest
1260
+ */
1261
+ export interface StudioApiPatchStudioDocumentsByIdRequest {
1262
+ /**
1263
+ *
1264
+ * @type {string}
1265
+ * @memberof StudioApiPatchStudioDocumentsById
1266
+ */
1267
+ readonly id: string;
1268
+ /**
1269
+ *
1270
+ * @type {StudioDocumentPatch}
1271
+ * @memberof StudioApiPatchStudioDocumentsById
1272
+ */
1273
+ readonly studioDocumentPatch: StudioDocumentPatch;
1274
+ }
1275
+ /**
1276
+ * Request parameters for patchStudioFlowsById operation in StudioApi.
1277
+ * @export
1278
+ * @interface StudioApiPatchStudioFlowsByIdRequest
1279
+ */
1280
+ export interface StudioApiPatchStudioFlowsByIdRequest {
1281
+ /**
1282
+ *
1283
+ * @type {string}
1284
+ * @memberof StudioApiPatchStudioFlowsById
1285
+ */
1286
+ readonly id: string;
1287
+ /**
1288
+ *
1289
+ * @type {StudioFlowPatch}
1290
+ * @memberof StudioApiPatchStudioFlowsById
1291
+ */
1292
+ readonly studioFlowPatch: StudioFlowPatch;
1293
+ }
1294
+ /**
1295
+ * Request parameters for patchStudioRunsById operation in StudioApi.
1296
+ * @export
1297
+ * @interface StudioApiPatchStudioRunsByIdRequest
1298
+ */
1299
+ export interface StudioApiPatchStudioRunsByIdRequest {
1300
+ /**
1301
+ *
1302
+ * @type {string}
1303
+ * @memberof StudioApiPatchStudioRunsById
1304
+ */
1305
+ readonly id: string;
1306
+ /**
1307
+ *
1308
+ * @type {StudioRunPatch}
1309
+ * @memberof StudioApiPatchStudioRunsById
1310
+ */
1311
+ readonly studioRunPatch: StudioRunPatch;
1312
+ }
1313
+ /**
1314
+ * Request parameters for patchStudioTemplatesById operation in StudioApi.
1315
+ * @export
1316
+ * @interface StudioApiPatchStudioTemplatesByIdRequest
1317
+ */
1318
+ export interface StudioApiPatchStudioTemplatesByIdRequest {
1319
+ /**
1320
+ *
1321
+ * @type {string}
1322
+ * @memberof StudioApiPatchStudioTemplatesById
1323
+ */
1324
+ readonly id: string;
1325
+ /**
1326
+ *
1327
+ * @type {StudioTemplatePatch}
1328
+ * @memberof StudioApiPatchStudioTemplatesById
1329
+ */
1330
+ readonly studioTemplatePatch: StudioTemplatePatch;
1331
+ }
1332
+ /**
1333
+ * Request parameters for postStudioBrands operation in StudioApi.
1334
+ * @export
1335
+ * @interface StudioApiPostStudioBrandsRequest
1336
+ */
1337
+ export interface StudioApiPostStudioBrandsRequest {
1338
+ /**
1339
+ *
1340
+ * @type {StudioBrandWrite}
1341
+ * @memberof StudioApiPostStudioBrands
1342
+ */
1343
+ readonly studioBrandWrite: StudioBrandWrite;
1344
+ }
1345
+ /**
1346
+ * Request parameters for postStudioChat operation in StudioApi.
1347
+ * @export
1348
+ * @interface StudioApiPostStudioChatRequest
1349
+ */
1350
+ export interface StudioApiPostStudioChatRequest {
1351
+ /**
1352
+ *
1353
+ * @type {ChatTurn}
1354
+ * @memberof StudioApiPostStudioChat
1355
+ */
1356
+ readonly chatTurn?: ChatTurn;
1357
+ }
1358
+ /**
1359
+ * Request parameters for postStudioDocuments operation in StudioApi.
1360
+ * @export
1361
+ * @interface StudioApiPostStudioDocumentsRequest
1362
+ */
1363
+ export interface StudioApiPostStudioDocumentsRequest {
1364
+ /**
1365
+ *
1366
+ * @type {StudioDocumentWrite}
1367
+ * @memberof StudioApiPostStudioDocuments
1368
+ */
1369
+ readonly studioDocumentWrite: StudioDocumentWrite;
1370
+ }
1371
+ /**
1372
+ * Request parameters for postStudioEstimate operation in StudioApi.
1373
+ * @export
1374
+ * @interface StudioApiPostStudioEstimateRequest
1375
+ */
1376
+ export interface StudioApiPostStudioEstimateRequest {
1377
+ /**
1378
+ *
1379
+ * @type {StudioRunCreate}
1380
+ * @memberof StudioApiPostStudioEstimate
1381
+ */
1382
+ readonly studioRunCreate: StudioRunCreate;
1383
+ /**
1384
+ *
1385
+ * @type {string}
1386
+ * @memberof StudioApiPostStudioEstimate
1387
+ */
1388
+ readonly idempotencyKey?: string;
1389
+ }
1390
+ /**
1391
+ * Request parameters for postStudioFlows operation in StudioApi.
1392
+ * @export
1393
+ * @interface StudioApiPostStudioFlowsRequest
1394
+ */
1395
+ export interface StudioApiPostStudioFlowsRequest {
1396
+ /**
1397
+ *
1398
+ * @type {StudioFlowWrite}
1399
+ * @memberof StudioApiPostStudioFlows
1400
+ */
1401
+ readonly studioFlowWrite: StudioFlowWrite;
1402
+ }
1403
+ /**
1404
+ * Request parameters for postStudioRuns operation in StudioApi.
1405
+ * @export
1406
+ * @interface StudioApiPostStudioRunsRequest
1407
+ */
1408
+ export interface StudioApiPostStudioRunsRequest {
1409
+ /**
1410
+ *
1411
+ * @type {StudioRunCreate}
1412
+ * @memberof StudioApiPostStudioRuns
1413
+ */
1414
+ readonly studioRunCreate: StudioRunCreate;
1415
+ /**
1416
+ *
1417
+ * @type {string}
1418
+ * @memberof StudioApiPostStudioRuns
1419
+ */
1420
+ readonly idempotencyKey?: string;
1421
+ }
1422
+ /**
1423
+ * Request parameters for postStudioRunsByIdCancel operation in StudioApi.
1424
+ * @export
1425
+ * @interface StudioApiPostStudioRunsByIdCancelRequest
1426
+ */
1427
+ export interface StudioApiPostStudioRunsByIdCancelRequest {
1428
+ /**
1429
+ * ID is the resource\&#39;s id, from the path.
1430
+ * @type {string}
1431
+ * @memberof StudioApiPostStudioRunsByIdCancel
1432
+ */
1433
+ readonly id: string;
1434
+ }
1435
+ /**
1436
+ * Request parameters for postStudioRunsByIdRetry operation in StudioApi.
1437
+ * @export
1438
+ * @interface StudioApiPostStudioRunsByIdRetryRequest
1439
+ */
1440
+ export interface StudioApiPostStudioRunsByIdRetryRequest {
1441
+ /**
1442
+ * ID is the resource\&#39;s id, from the path.
1443
+ * @type {string}
1444
+ * @memberof StudioApiPostStudioRunsByIdRetry
1445
+ */
1446
+ readonly id: string;
1447
+ }
1448
+ /**
1449
+ * Request parameters for postStudioTemplates operation in StudioApi.
1450
+ * @export
1451
+ * @interface StudioApiPostStudioTemplatesRequest
1452
+ */
1453
+ export interface StudioApiPostStudioTemplatesRequest {
1454
+ /**
1455
+ *
1456
+ * @type {StudioTemplateWrite}
1457
+ * @memberof StudioApiPostStudioTemplates
1458
+ */
1459
+ readonly studioTemplateWrite: StudioTemplateWrite;
1460
+ }
1461
+ /**
1462
+ * StudioApi - object-oriented interface
1463
+ * @export
1464
+ * @class StudioApi
1465
+ * @extends {BaseAPI}
1466
+ */
1467
+ export declare class StudioApi extends BaseAPI {
1468
+ /**
1469
+ * Deletes one of your brands.
1470
+ * @summary Deletes one of your brands.
1471
+ * @param {StudioApiDeleteStudioBrandsByIdRequest} requestParameters Request parameters.
1472
+ * @param {*} [options] Override http request option.
1473
+ * @throws {RequiredError}
1474
+ * @memberof StudioApi
1475
+ */
1476
+ deleteStudioBrandsById(requestParameters: StudioApiDeleteStudioBrandsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
1477
+ /**
1478
+ * Deletes one of your documents.
1479
+ * @summary Deletes one of your documents.
1480
+ * @param {StudioApiDeleteStudioDocumentsByIdRequest} requestParameters Request parameters.
1481
+ * @param {*} [options] Override http request option.
1482
+ * @throws {RequiredError}
1483
+ * @memberof StudioApi
1484
+ */
1485
+ deleteStudioDocumentsById(requestParameters: StudioApiDeleteStudioDocumentsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
1486
+ /**
1487
+ * Deletes one of your flows.
1488
+ * @summary Deletes one of your flows.
1489
+ * @param {StudioApiDeleteStudioFlowsByIdRequest} requestParameters Request parameters.
1490
+ * @param {*} [options] Override http request option.
1491
+ * @throws {RequiredError}
1492
+ * @memberof StudioApi
1493
+ */
1494
+ deleteStudioFlowsById(requestParameters: StudioApiDeleteStudioFlowsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
1495
+ /**
1496
+ * Deletes one of your templates.
1497
+ * @summary Deletes one of your templates.
1498
+ * @param {StudioApiDeleteStudioTemplatesByIdRequest} requestParameters Request parameters.
1499
+ * @param {*} [options] Override http request option.
1500
+ * @throws {RequiredError}
1501
+ * @memberof StudioApi
1502
+ */
1503
+ deleteStudioTemplatesById(requestParameters: StudioApiDeleteStudioTemplatesByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
1504
+ /**
1505
+ * Deletes one of your threads. Its runs and their files stay.
1506
+ * @summary Deletes one of your threads.
1507
+ * @param {StudioApiDeleteStudioThreadsByIdRequest} requestParameters Request parameters.
1508
+ * @param {*} [options] Override http request option.
1509
+ * @throws {RequiredError}
1510
+ * @memberof StudioApi
1511
+ */
1512
+ deleteStudioThreadsById(requestParameters: StudioApiDeleteStudioThreadsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
1513
+ /**
1514
+ * Lists the brands you may read — palettes and type systems as design tokens.
1515
+ * @summary Lists the brands you may read — palettes and type systems as design tokens.
1516
+ * @param {StudioApiGetStudioBrandsRequest} requestParameters Request parameters.
1517
+ * @param {*} [options] Override http request option.
1518
+ * @throws {RequiredError}
1519
+ * @memberof StudioApi
1520
+ */
1521
+ getStudioBrands(requestParameters?: StudioApiGetStudioBrandsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioBrandPage, any, {}>>;
1522
+ /**
1523
+ * Reads one brand you may read.
1524
+ * @summary Reads one brand you may read.
1525
+ * @param {StudioApiGetStudioBrandsByIdRequest} requestParameters Request parameters.
1526
+ * @param {*} [options] Override http request option.
1527
+ * @throws {RequiredError}
1528
+ * @memberof StudioApi
1529
+ */
1530
+ getStudioBrandsById(requestParameters: StudioApiGetStudioBrandsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioBrand, any, {}>>;
1531
+ /**
1532
+ * Lists the documents and decks you may read, most recently changed first.
1533
+ * @summary Lists the documents and decks you may read, most recently changed first.
1534
+ * @param {StudioApiGetStudioDocumentsRequest} requestParameters Request parameters.
1535
+ * @param {*} [options] Override http request option.
1536
+ * @throws {RequiredError}
1537
+ * @memberof StudioApi
1538
+ */
1539
+ getStudioDocuments(requestParameters?: StudioApiGetStudioDocumentsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioDocumentPage, any, {}>>;
1540
+ /**
1541
+ * Reads one document you may read.
1542
+ * @summary Reads one document you may read.
1543
+ * @param {StudioApiGetStudioDocumentsByIdRequest} requestParameters Request parameters.
1544
+ * @param {*} [options] Override http request option.
1545
+ * @throws {RequiredError}
1546
+ * @memberof StudioApi
1547
+ */
1548
+ getStudioDocumentsById(requestParameters: StudioApiGetStudioDocumentsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioDocument, any, {}>>;
1549
+ /**
1550
+ * Lists the flows you may read, most recently changed first.
1551
+ * @summary Lists the flows you may read, most recently changed first.
1552
+ * @param {StudioApiGetStudioFlowsRequest} requestParameters Request parameters.
1553
+ * @param {*} [options] Override http request option.
1554
+ * @throws {RequiredError}
1555
+ * @memberof StudioApi
1556
+ */
1557
+ getStudioFlows(requestParameters?: StudioApiGetStudioFlowsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioFlowPage, any, {}>>;
1558
+ /**
1559
+ * Reads one flow you may read.
1560
+ * @summary Reads one flow you may read.
1561
+ * @param {StudioApiGetStudioFlowsByIdRequest} requestParameters Request parameters.
1562
+ * @param {*} [options] Override http request option.
1563
+ * @throws {RequiredError}
1564
+ * @memberof StudioApi
1565
+ */
1566
+ getStudioFlowsById(requestParameters: StudioApiGetStudioFlowsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioFlow, any, {}>>;
1567
+ /**
1568
+ * Lists the GPUs your org has linked with `hanzo link` that can take a studio.render step, each with whether it is free now. With none online, a studio.render step waits in the queue.
1569
+ * @summary Lists the GPUs your org has linked with `hanzo link` that can take a studio.render step, each with whether it is free now.
1570
+ * @param {StudioApiGetStudioGpusRequest} requestParameters Request parameters.
1571
+ * @param {*} [options] Override http request option.
1572
+ * @throws {RequiredError}
1573
+ * @memberof StudioApi
1574
+ */
1575
+ getStudioGpus(requestParameters?: StudioApiGetStudioGpusRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioGpuList, any, {}>>;
1576
+ /**
1577
+ * Lists the runs you may read — your own and those your org shares — newest first. Filter by kind or status.
1578
+ * @summary Lists the runs you may read — your own and those your org shares — newest first.
1579
+ * @param {StudioApiGetStudioRunsRequest} requestParameters Request parameters.
1580
+ * @param {*} [options] Override http request option.
1581
+ * @throws {RequiredError}
1582
+ * @memberof StudioApi
1583
+ */
1584
+ getStudioRuns(requestParameters?: StudioApiGetStudioRunsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioRunPage, any, {}>>;
1585
+ /**
1586
+ * Reads one run: its graph, its input, every step\'s state, the assets it made and what it cost. A run you may not read answers 404.
1587
+ * @summary Reads one run: its graph, its input, every step\'s state, the assets it made and what it cost.
1588
+ * @param {StudioApiGetStudioRunsByIdRequest} requestParameters Request parameters.
1589
+ * @param {*} [options] Override http request option.
1590
+ * @throws {RequiredError}
1591
+ * @memberof StudioApi
1592
+ */
1593
+ getStudioRunsById(requestParameters: StudioApiGetStudioRunsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioRun, any, {}>>;
1594
+ /**
1595
+ * Holds text/event-stream open on one run you may read and writes one frame per change until the run ends, then a final `done` frame, and closes. Every frame carries `id:`, the event\'s sequence number in the run, so a client that reconnects with Last-Event-ID (or ?after=) receives exactly what it missed. A run that already ended replays its events and closes. Frames (`event:` name, `data:` JSON): `run` {seq, run} on a status change; `step` {seq, run, step} when a step\'s status, attempt or progress moves; `asset` {seq, run, step, asset} when an output lands, as its Library item with fresh signed URLs; `log` {seq, run, step, text}; `done` {seq, run} when the run ended (succeeded, failed or canceled). Each carries the run, step or asset as it is now. A `: ping` comment every 15 seconds keeps intermediaries from closing the stream. Authenticate with `Authorization: Bearer` (a fetch-based reader; a browser EventSource cannot set it) or the session cookie. 404 for a run you may not read; 429 when your org already holds 64 streams.
1596
+ * @summary Stream a run\'s progress as Server-Sent Events
1597
+ * @param {StudioApiGetStudioRunsByIdEventsRequest} requestParameters Request parameters.
1598
+ * @param {*} [options] Override http request option.
1599
+ * @throws {RequiredError}
1600
+ * @memberof StudioApi
1601
+ */
1602
+ getStudioRunsByIdEvents(requestParameters: StudioApiGetStudioRunsByIdEventsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<File, any, {}>>;
1603
+ /**
1604
+ * Lists every version of a creation you may read — the runs in this run\'s lineage — oldest (version 1) first.
1605
+ * @summary Lists every version of a creation you may read — the runs in this run\'s lineage — oldest (version 1) first.
1606
+ * @param {StudioApiGetStudioRunsByIdVersionsRequest} requestParameters Request parameters.
1607
+ * @param {*} [options] Override http request option.
1608
+ * @throws {RequiredError}
1609
+ * @memberof StudioApi
1610
+ */
1611
+ getStudioRunsByIdVersions(requestParameters: StudioApiGetStudioRunsByIdVersionsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioRunPage, any, {}>>;
1612
+ /**
1613
+ * Lists templates: the public catalog (org empty) first, then your org\'s own that you may read. Filter by kind. A cursor pages your org\'s templates.
1614
+ * @summary Lists templates: the public catalog (org empty) first, then your org\'s own that you may read.
1615
+ * @param {StudioApiGetStudioTemplatesRequest} requestParameters Request parameters.
1616
+ * @param {*} [options] Override http request option.
1617
+ * @throws {RequiredError}
1618
+ * @memberof StudioApi
1619
+ */
1620
+ getStudioTemplates(requestParameters?: StudioApiGetStudioTemplatesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioTemplatePage, any, {}>>;
1621
+ /**
1622
+ * Reads one template: a catalog slug or one of your org\'s templates you may read.
1623
+ * @summary Reads one template: a catalog slug or one of your org\'s templates you may read.
1624
+ * @param {StudioApiGetStudioTemplatesByIdRequest} requestParameters Request parameters.
1625
+ * @param {*} [options] Override http request option.
1626
+ * @throws {RequiredError}
1627
+ * @memberof StudioApi
1628
+ */
1629
+ getStudioTemplatesById(requestParameters: StudioApiGetStudioTemplatesByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioTemplate, any, {}>>;
1630
+ /**
1631
+ * Lists your chat threads, most recent first.
1632
+ * @summary Lists your chat threads, most recent first.
1633
+ * @param {StudioApiGetStudioThreadsRequest} requestParameters Request parameters.
1634
+ * @param {*} [options] Override http request option.
1635
+ * @throws {RequiredError}
1636
+ * @memberof StudioApi
1637
+ */
1638
+ getStudioThreads(requestParameters?: StudioApiGetStudioThreadsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioThreadPage, any, {}>>;
1639
+ /**
1640
+ * Reads one of your threads and its messages, oldest first.
1641
+ * @summary Reads one of your threads and its messages, oldest first.
1642
+ * @param {StudioApiGetStudioThreadsByIdRequest} requestParameters Request parameters.
1643
+ * @param {*} [options] Override http request option.
1644
+ * @throws {RequiredError}
1645
+ * @memberof StudioApi
1646
+ */
1647
+ getStudioThreadsById(requestParameters: StudioApiGetStudioThreadsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioThread, any, {}>>;
1648
+ /**
1649
+ * Changes one of your brands; absent fields stay as they are.
1650
+ * @summary Changes one of your brands; absent fields stay as they are.
1651
+ * @param {StudioApiPatchStudioBrandsByIdRequest} requestParameters Request parameters.
1652
+ * @param {*} [options] Override http request option.
1653
+ * @throws {RequiredError}
1654
+ * @memberof StudioApi
1655
+ */
1656
+ patchStudioBrandsById(requestParameters: StudioApiPatchStudioBrandsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioBrand, any, {}>>;
1657
+ /**
1658
+ * Changes one of your documents; absent fields stay as they are.
1659
+ * @summary Changes one of your documents; absent fields stay as they are.
1660
+ * @param {StudioApiPatchStudioDocumentsByIdRequest} requestParameters Request parameters.
1661
+ * @param {*} [options] Override http request option.
1662
+ * @throws {RequiredError}
1663
+ * @memberof StudioApi
1664
+ */
1665
+ patchStudioDocumentsById(requestParameters: StudioApiPatchStudioDocumentsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioDocument, any, {}>>;
1666
+ /**
1667
+ * Changes one of your flows; absent fields stay as they are.
1668
+ * @summary Changes one of your flows; absent fields stay as they are.
1669
+ * @param {StudioApiPatchStudioFlowsByIdRequest} requestParameters Request parameters.
1670
+ * @param {*} [options] Override http request option.
1671
+ * @throws {RequiredError}
1672
+ * @memberof StudioApi
1673
+ */
1674
+ patchStudioFlowsById(requestParameters: StudioApiPatchStudioFlowsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioFlow, any, {}>>;
1675
+ /**
1676
+ * Renames or shares one of your runs. Sharing a run lets every member of your org read it; its files are Library items, shared from the Library.
1677
+ * @summary Renames or shares one of your runs.
1678
+ * @param {StudioApiPatchStudioRunsByIdRequest} requestParameters Request parameters.
1679
+ * @param {*} [options] Override http request option.
1680
+ * @throws {RequiredError}
1681
+ * @memberof StudioApi
1682
+ */
1683
+ patchStudioRunsById(requestParameters: StudioApiPatchStudioRunsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioRun, any, {}>>;
1684
+ /**
1685
+ * Changes one of your templates; absent fields stay as they are. Catalog templates cannot be changed.
1686
+ * @summary Changes one of your templates; absent fields stay as they are.
1687
+ * @param {StudioApiPatchStudioTemplatesByIdRequest} requestParameters Request parameters.
1688
+ * @param {*} [options] Override http request option.
1689
+ * @throws {RequiredError}
1690
+ * @memberof StudioApi
1691
+ */
1692
+ patchStudioTemplatesById(requestParameters: StudioApiPatchStudioTemplatesByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioTemplate, any, {}>>;
1693
+ /**
1694
+ * Saves a brand: its tokens in the W3C design-token format (color, font, type, space, radius groups) and up to 16 logo items. A run started with it reads the tokens as brand.*.
1695
+ * @summary Saves a brand: its tokens in the W3C design-token format (color, font, type, space, radius groups) and up to 16 logo items.
1696
+ * @param {StudioApiPostStudioBrandsRequest} requestParameters Request parameters.
1697
+ * @param {*} [options] Override http request option.
1698
+ * @throws {RequiredError}
1699
+ * @memberof StudioApi
1700
+ */
1701
+ postStudioBrands(requestParameters: StudioApiPostStudioBrandsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioBrand, any, {}>>;
1702
+ /**
1703
+ * Sends one message in a thread (a new thread when `thread` is absent). The assistant answers in text and, when the message asks for something to be made, plans it as runs and starts them; each is exactly the run POST /v1/studio/runs would start, checked and paid for the same way. Answers text/event-stream: `thread` {thread} first; `delta` {text} as the answer is written; `run` {seq, run} for each run the turn started (follow it on its own events); `error` (a problem document) when a planned run could not start — a wallet that cannot cover it is status 402 — and the turn goes on; `done` {thread, message, runs} last, with the stored message. 402 before the stream when the wallet cannot pay for the turn itself.
1704
+ * @summary One chat turn that plans and launches runs, streamed
1705
+ * @param {StudioApiPostStudioChatRequest} requestParameters Request parameters.
1706
+ * @param {*} [options] Override http request option.
1707
+ * @throws {RequiredError}
1708
+ * @memberof StudioApi
1709
+ */
1710
+ postStudioChat(requestParameters?: StudioApiPostStudioChatRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<File, any, {}>>;
1711
+ /**
1712
+ * Writes a document (kind doc, its IR blocks) or a deck (kind deck, its slides). Render it with a run: template document or slides, input.document its id.
1713
+ * @summary Writes a document (kind doc, its IR blocks) or a deck (kind deck, its slides).
1714
+ * @param {StudioApiPostStudioDocumentsRequest} requestParameters Request parameters.
1715
+ * @param {*} [options] Override http request option.
1716
+ * @throws {RequiredError}
1717
+ * @memberof StudioApi
1718
+ */
1719
+ postStudioDocuments(requestParameters: StudioApiPostStudioDocumentsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioDocument, any, {}>>;
1720
+ /**
1721
+ * Prices a run without starting it: the estimate POST /v1/studio/runs would reserve, step by step. Nothing is reserved and nothing runs.
1722
+ * @summary Prices a run without starting it: the estimate POST /v1/studio/runs would reserve, step by step.
1723
+ * @param {StudioApiPostStudioEstimateRequest} requestParameters Request parameters.
1724
+ * @param {*} [options] Override http request option.
1725
+ * @throws {RequiredError}
1726
+ * @memberof StudioApi
1727
+ */
1728
+ postStudioEstimate(requestParameters: StudioApiPostStudioEstimateRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioEstimate, any, {}>>;
1729
+ /**
1730
+ * Saves a graph as a flow of yours. Start it with POST /v1/studio/runs {\"flow\": id}.
1731
+ * @summary Saves a graph as a flow of yours.
1732
+ * @param {StudioApiPostStudioFlowsRequest} requestParameters Request parameters.
1733
+ * @param {*} [options] Override http request option.
1734
+ * @throws {RequiredError}
1735
+ * @memberof StudioApi
1736
+ */
1737
+ postStudioFlows(requestParameters: StudioApiPostStudioFlowsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioFlow, any, {}>>;
1738
+ /**
1739
+ * Starts a run: name exactly one of template, flow or graph, with the input its inputs schema asks for. The run is checked, priced and its estimate reserved against your org\'s wallet, then queued; the answer is the run at queued. Follow it on GET /v1/studio/runs/{id}/events. parent makes this run the next version of that run: it takes the parent\'s graph and input, overlaid by what this request states. Send Idempotency-Key to make a retried request start one run, not two. 402 when the wallet cannot cover the estimate; 422 when the graph or input does not validate.
1740
+ * @summary Starts a run: name exactly one of template, flow or graph, with the input its inputs schema asks for.
1741
+ * @param {StudioApiPostStudioRunsRequest} requestParameters Request parameters.
1742
+ * @param {*} [options] Override http request option.
1743
+ * @throws {RequiredError}
1744
+ * @memberof StudioApi
1745
+ */
1746
+ postStudioRuns(requestParameters: StudioApiPostStudioRunsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioRun, any, {}>>;
1747
+ /**
1748
+ * Cancels one of your runs: a step in flight is told to stop, nothing new starts, and the reservation settles to what finished steps cost. Cancelling a run that already ended answers it unchanged.
1749
+ * @summary Cancels one of your runs: a step in flight is told to stop, nothing new starts, and the reservation settles to what finished steps cost.
1750
+ * @param {StudioApiPostStudioRunsByIdCancelRequest} requestParameters Request parameters.
1751
+ * @param {*} [options] Override http request option.
1752
+ * @throws {RequiredError}
1753
+ * @memberof StudioApi
1754
+ */
1755
+ postStudioRunsByIdCancel(requestParameters: StudioApiPostStudioRunsByIdCancelRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioRun, any, {}>>;
1756
+ /**
1757
+ * Resumes one of your runs that failed or was cancelled: the steps that did not succeed run again in the same run, and the steps that did keep their outputs and are neither run nor charged again. What is left to run is reserved first (402 when it cannot be); 409 while the run is still going or once it succeeded.
1758
+ * @summary Resumes one of your runs that failed or was cancelled: the steps that did not succeed run again in the same run, and the steps that did keep their outputs and are neither run nor charged again.
1759
+ * @param {StudioApiPostStudioRunsByIdRetryRequest} requestParameters Request parameters.
1760
+ * @param {*} [options] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ * @memberof StudioApi
1763
+ */
1764
+ postStudioRunsByIdRetry(requestParameters: StudioApiPostStudioRunsByIdRetryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioRun, any, {}>>;
1765
+ /**
1766
+ * Saves a template to your org: a graph and the inputs schema its runs are started with. It is yours until you share it.
1767
+ * @summary Saves a template to your org: a graph and the inputs schema its runs are started with.
1768
+ * @param {StudioApiPostStudioTemplatesRequest} requestParameters Request parameters.
1769
+ * @param {*} [options] Override http request option.
1770
+ * @throws {RequiredError}
1771
+ * @memberof StudioApi
1772
+ */
1773
+ postStudioTemplates(requestParameters: StudioApiPostStudioTemplatesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StudioTemplate, any, {}>>;
1774
+ }