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.
- package/dist/api/account-api.d.ts +8 -8
- package/dist/api/account-api.js +8 -8
- package/dist/api/agent-api.d.ts +116 -60
- package/dist/api/agent-api.js +132 -60
- package/dist/api/ai-api.d.ts +4 -125
- package/dist/api/ai-api.js +4 -195
- package/dist/api/auto-api.d.ts +241 -46
- package/dist/api/auto-api.js +322 -49
- package/dist/api/base-api.d.ts +58 -0
- package/dist/api/base-api.js +118 -0
- package/dist/api/billing-api.d.ts +224 -81
- package/dist/api/billing-api.js +267 -100
- package/dist/api/captable-api.d.ts +124 -124
- package/dist/api/captable-api.js +124 -124
- package/dist/api/channel-api.d.ts +16 -16
- package/dist/api/channel-api.js +16 -16
- package/dist/api/commerce-api.d.ts +4 -292
- package/dist/api/commerce-api.js +4 -452
- package/dist/api/company-api.d.ts +72 -72
- package/dist/api/company-api.js +72 -72
- package/dist/api/dataroom-api.d.ts +52 -52
- package/dist/api/dataroom-api.js +52 -52
- package/dist/api/esign-api.d.ts +32 -32
- package/dist/api/esign-api.js +32 -32
- package/dist/api/event-api.d.ts +4 -4
- package/dist/api/event-api.js +4 -4
- package/dist/api/framework-api.d.ts +4 -4
- package/dist/api/framework-api.js +4 -4
- package/dist/api/gateway-api.d.ts +4 -4
- package/dist/api/gateway-api.js +4 -4
- package/dist/api/graph-api.d.ts +33 -4
- package/dist/api/graph-api.js +63 -4
- package/dist/api/iam-api.d.ts +202 -32
- package/dist/api/iam-api.js +232 -44
- package/dist/api/kms-api.d.ts +4 -4
- package/dist/api/kms-api.js +4 -4
- package/dist/api/knowledge-api.d.ts +8 -8
- package/dist/api/knowledge-api.js +8 -8
- package/dist/api/library-api.d.ts +401 -0
- package/dist/api/library-api.js +511 -0
- package/dist/api/marketing-api.d.ts +492 -44
- package/dist/api/marketing-api.js +662 -47
- package/dist/api/platform-api.d.ts +12 -12
- package/dist/api/platform-api.js +12 -12
- package/dist/api/pricing-api.d.ts +4 -75
- package/dist/api/pricing-api.js +4 -85
- package/dist/api/project-api.d.ts +16 -16
- package/dist/api/project-api.js +16 -16
- package/dist/api/s3-api.d.ts +8 -8
- package/dist/api/s3-api.js +8 -8
- package/dist/api/studio-api.d.ts +1774 -0
- package/dist/api/studio-api.js +2407 -0
- package/dist/api/translate-api.d.ts +27 -8
- package/dist/api/translate-api.js +17 -11
- package/dist/api/x402-api.d.ts +12 -12
- package/dist/api/x402-api.js +12 -12
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/account-api.d.ts +8 -8
- package/dist/esm/api/account-api.js +8 -8
- package/dist/esm/api/agent-api.d.ts +116 -60
- package/dist/esm/api/agent-api.js +132 -60
- package/dist/esm/api/ai-api.d.ts +4 -125
- package/dist/esm/api/ai-api.js +4 -195
- package/dist/esm/api/auto-api.d.ts +241 -46
- package/dist/esm/api/auto-api.js +322 -49
- package/dist/esm/api/base-api.d.ts +58 -0
- package/dist/esm/api/base-api.js +118 -0
- package/dist/esm/api/billing-api.d.ts +224 -81
- package/dist/esm/api/billing-api.js +267 -100
- package/dist/esm/api/captable-api.d.ts +124 -124
- package/dist/esm/api/captable-api.js +124 -124
- package/dist/esm/api/channel-api.d.ts +16 -16
- package/dist/esm/api/channel-api.js +16 -16
- package/dist/esm/api/commerce-api.d.ts +4 -292
- package/dist/esm/api/commerce-api.js +4 -452
- package/dist/esm/api/company-api.d.ts +72 -72
- package/dist/esm/api/company-api.js +72 -72
- package/dist/esm/api/dataroom-api.d.ts +52 -52
- package/dist/esm/api/dataroom-api.js +52 -52
- package/dist/esm/api/esign-api.d.ts +32 -32
- package/dist/esm/api/esign-api.js +32 -32
- package/dist/esm/api/event-api.d.ts +4 -4
- package/dist/esm/api/event-api.js +4 -4
- package/dist/esm/api/framework-api.d.ts +4 -4
- package/dist/esm/api/framework-api.js +4 -4
- package/dist/esm/api/gateway-api.d.ts +4 -4
- package/dist/esm/api/gateway-api.js +4 -4
- package/dist/esm/api/graph-api.d.ts +33 -4
- package/dist/esm/api/graph-api.js +63 -4
- package/dist/esm/api/iam-api.d.ts +202 -32
- package/dist/esm/api/iam-api.js +232 -44
- package/dist/esm/api/kms-api.d.ts +4 -4
- package/dist/esm/api/kms-api.js +4 -4
- package/dist/esm/api/knowledge-api.d.ts +8 -8
- package/dist/esm/api/knowledge-api.js +8 -8
- package/dist/esm/api/library-api.d.ts +400 -0
- package/dist/esm/api/library-api.js +501 -0
- package/dist/esm/api/marketing-api.d.ts +492 -44
- package/dist/esm/api/marketing-api.js +662 -47
- package/dist/esm/api/platform-api.d.ts +12 -12
- package/dist/esm/api/platform-api.js +12 -12
- package/dist/esm/api/pricing-api.d.ts +4 -75
- package/dist/esm/api/pricing-api.js +4 -85
- package/dist/esm/api/project-api.d.ts +16 -16
- package/dist/esm/api/project-api.js +16 -16
- package/dist/esm/api/s3-api.d.ts +8 -8
- package/dist/esm/api/s3-api.js +8 -8
- package/dist/esm/api/studio-api.d.ts +1773 -0
- package/dist/esm/api/studio-api.js +2397 -0
- package/dist/esm/api/translate-api.d.ts +27 -8
- package/dist/esm/api/translate-api.js +17 -11
- package/dist/esm/api/x402-api.d.ts +12 -12
- package/dist/esm/api/x402-api.js +12 -12
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/account-onboard-req.d.ts +1 -1
- package/dist/esm/models/account-onboard-resp.d.ts +2 -8
- package/dist/esm/models/agent-coding-ack.d.ts +24 -0
- package/dist/esm/models/agent-coding-instruction.d.ts +30 -0
- package/dist/esm/models/agent-register-req.d.ts +0 -6
- package/dist/esm/models/ai-limits.d.ts +2 -2
- package/dist/esm/models/ai-model-info.d.ts +14 -0
- package/dist/esm/models/ai-model-pricing-info.d.ts +0 -26
- package/dist/esm/models/ai-routing-proposal.d.ts +6 -0
- package/dist/esm/models/ai-routing-view.d.ts +6 -0
- package/dist/esm/models/ai-video-spec.d.ts +54 -0
- package/dist/esm/models/ai-voice-spec.d.ts +24 -0
- package/dist/esm/models/audit-wire.d.ts +6 -0
- package/dist/esm/models/auto-automation-in.d.ts +6 -0
- package/dist/esm/models/auto-automation-run.d.ts +6 -0
- package/dist/esm/models/auto-automation.d.ts +6 -0
- package/dist/esm/models/auto-job-page.d.ts +25 -0
- package/dist/esm/models/auto-job.d.ts +126 -0
- package/dist/esm/models/auto-schedule.d.ts +2 -2
- package/dist/esm/models/auto-when-in.d.ts +30 -0
- package/dist/esm/models/auto-when-out.d.ts +37 -0
- package/dist/esm/models/benchmark-claim-row.d.ts +12 -0
- package/dist/esm/models/{benchmark-published-claim.d.ts → benchmark-claim.d.ts} +23 -11
- package/dist/esm/models/benchmark-claim.js +14 -0
- package/dist/esm/models/benchmark-leader-row.d.ts +12 -0
- package/dist/esm/models/benchmark-put-claims-in.d.ts +3 -3
- package/dist/esm/models/billing-assignment.d.ts +25 -0
- package/dist/esm/models/billing-assignment.js +14 -0
- package/dist/esm/models/billing-auto-recharge.d.ts +6 -0
- package/dist/esm/models/billing-invoice-ref.d.ts +30 -0
- package/dist/esm/models/billing-invoice-ref.js +14 -0
- package/dist/esm/models/billing-resize.d.ts +31 -0
- package/dist/esm/models/billing-resize.js +14 -0
- package/dist/esm/models/billing-sale-line.d.ts +30 -0
- package/dist/esm/models/billing-sale-line.js +14 -0
- package/dist/esm/models/{billing-subscription-ref.d.ts → billing-subscription-act.d.ts} +6 -6
- package/dist/esm/models/billing-subscription-act.js +14 -0
- package/dist/esm/models/billing-subscription-line.d.ts +54 -0
- package/dist/esm/models/billing-subscription-line.js +14 -0
- package/dist/esm/models/billing-subscription-plan.d.ts +6 -0
- package/dist/esm/models/billing-subscription-seat.d.ts +30 -0
- package/dist/esm/models/billing-subscription-seat.js +14 -0
- package/dist/esm/models/billing-subscription.d.ts +26 -0
- package/dist/esm/models/brief.d.ts +68 -0
- package/dist/esm/models/brief.js +14 -0
- package/dist/esm/models/capture-event.d.ts +6 -0
- package/dist/esm/models/capture-result.d.ts +6 -0
- package/dist/esm/models/chat-turn.d.ts +48 -0
- package/dist/esm/models/chat-turn.js +14 -0
- package/dist/esm/models/compliance-wire.d.ts +6 -0
- package/dist/esm/models/compute-byo-worker.d.ts +13 -0
- package/dist/esm/models/compute-lane-model.d.ts +36 -0
- package/dist/esm/models/compute-lane-model.js +14 -0
- package/dist/esm/models/decision.d.ts +2 -8
- package/dist/esm/models/delivery.d.ts +50 -0
- package/dist/esm/models/delivery.js +14 -0
- package/dist/esm/models/flag-platform-out.d.ts +1 -1
- package/dist/esm/models/framework-install.d.ts +6 -0
- package/dist/esm/models/gateway-policy.d.ts +8 -2
- package/dist/esm/models/graph-qlerror.d.ts +2 -2
- package/dist/esm/models/index.d.ts +77 -8
- package/dist/esm/models/index.js +77 -8
- package/dist/esm/models/kms-kms-health.d.ts +7 -1
- package/dist/esm/models/library-item-page.d.ts +31 -0
- package/dist/esm/models/library-item-page.js +14 -0
- package/dist/esm/models/library-item-patch.d.ts +42 -0
- package/dist/esm/models/library-item-patch.js +14 -0
- package/dist/esm/models/library-keep-in.d.ts +102 -0
- package/dist/esm/models/library-keep-in.js +14 -0
- package/dist/esm/models/library-library-item.d.ts +156 -0
- package/dist/esm/models/library-library-item.js +14 -0
- package/dist/{models/pricing-price.d.ts → esm/models/marketing-address.d.ts} +20 -14
- package/dist/esm/models/marketing-address.js +14 -0
- package/dist/esm/models/marketing-answer.d.ts +30 -0
- package/dist/esm/models/marketing-answer.js +14 -0
- package/dist/esm/models/marketing-beta-act-in.d.ts +36 -0
- package/dist/esm/models/marketing-beta-act-in.js +14 -0
- package/dist/esm/models/marketing-beta-action.d.ts +42 -0
- package/dist/esm/models/marketing-beta-action.js +14 -0
- package/dist/esm/models/marketing-beta-answer.d.ts +36 -0
- package/dist/esm/models/marketing-beta-answer.js +14 -0
- package/dist/esm/models/marketing-beta-in.d.ts +43 -0
- package/dist/esm/models/marketing-beta-in.js +14 -0
- package/dist/esm/models/marketing-beta-request.d.ts +24 -0
- package/dist/esm/models/marketing-beta-request.js +14 -0
- package/dist/esm/models/marketing-beta.d.ts +94 -0
- package/dist/esm/models/marketing-beta.js +14 -0
- package/dist/esm/models/marketing-esign-document.d.ts +37 -0
- package/dist/esm/models/marketing-esign-document.js +14 -0
- package/dist/esm/models/marketing-esign-event.d.ts +31 -0
- package/dist/esm/models/marketing-esign-event.js +14 -0
- package/dist/esm/models/marketing-esign-recipient.d.ts +30 -0
- package/dist/esm/models/marketing-esign-recipient.js +14 -0
- package/dist/esm/models/marketing-lead-in.d.ts +94 -1
- package/dist/esm/models/marketing-lead.d.ts +13 -1
- package/dist/esm/models/{pricing-price.d.ts → marketing-mail-in.d.ts} +14 -14
- package/dist/esm/models/marketing-mail-in.js +14 -0
- package/dist/esm/models/marketing-mail-out.d.ts +30 -0
- package/dist/esm/models/marketing-mail-out.js +14 -0
- package/dist/esm/models/marketing-resume-form.d.ts +44 -0
- package/dist/esm/models/marketing-resume-form.js +14 -0
- package/dist/esm/models/marketing-resume-in.d.ts +36 -0
- package/dist/esm/models/marketing-resume-in.js +14 -0
- package/dist/esm/models/marketing-signing.d.ts +24 -0
- package/dist/esm/models/marketing-signing.js +14 -0
- package/dist/esm/models/marketing-step.d.ts +1 -1
- package/dist/esm/models/marketing-tags.d.ts +48 -0
- package/dist/esm/models/marketing-tags.js +14 -0
- package/dist/esm/models/marketing-visit.d.ts +1 -1
- package/dist/esm/models/platform-app-out.d.ts +1 -1
- package/dist/esm/models/platform-domain-view.d.ts +1 -1
- package/dist/esm/models/project-projects-project.d.ts +6 -0
- package/dist/esm/models/replay-body.d.ts +6 -0
- package/dist/esm/models/routing-version.d.ts +6 -0
- package/dist/esm/models/studio-brand-page.d.ts +31 -0
- package/dist/esm/models/studio-brand-page.js +14 -0
- package/dist/esm/models/studio-brand-patch.d.ts +50 -0
- package/dist/esm/models/studio-brand-patch.js +14 -0
- package/dist/esm/models/studio-brand-write.d.ts +44 -0
- package/dist/esm/models/studio-brand-write.js +14 -0
- package/dist/esm/models/studio-brand.d.ts +74 -0
- package/dist/esm/models/studio-brand.js +14 -0
- package/dist/esm/models/studio-document-page.d.ts +31 -0
- package/dist/esm/models/studio-document-page.js +14 -0
- package/dist/esm/models/studio-document-patch.d.ts +49 -0
- package/dist/esm/models/studio-document-patch.js +14 -0
- package/dist/esm/models/studio-document-write.d.ts +49 -0
- package/dist/esm/models/studio-document-write.js +14 -0
- package/dist/esm/models/studio-document.d.ts +79 -0
- package/dist/esm/models/studio-document.js +14 -0
- package/dist/esm/models/studio-estimate.d.ts +31 -0
- package/dist/esm/models/studio-estimate.js +14 -0
- package/dist/esm/models/studio-flow-page.d.ts +31 -0
- package/dist/esm/models/studio-flow-page.js +14 -0
- package/dist/esm/models/studio-flow-patch.d.ts +63 -0
- package/dist/esm/models/studio-flow-patch.js +14 -0
- package/dist/esm/models/studio-flow-write.d.ts +57 -0
- package/dist/esm/models/studio-flow-write.js +14 -0
- package/dist/esm/models/studio-flow.d.ts +87 -0
- package/dist/esm/models/studio-flow.js +14 -0
- package/dist/esm/models/studio-gpu-list.d.ts +25 -0
- package/dist/esm/models/studio-gpu-list.js +14 -0
- package/dist/esm/models/studio-gpu.d.ts +60 -0
- package/dist/esm/models/studio-gpu.js +14 -0
- package/dist/esm/models/studio-graph.d.ts +25 -0
- package/dist/esm/models/studio-graph.js +14 -0
- package/dist/esm/models/studio-ir.d.ts +34 -0
- package/dist/esm/models/studio-ir.js +14 -0
- package/dist/esm/models/studio-item.d.ts +138 -0
- package/dist/esm/models/studio-item.js +14 -0
- package/dist/esm/models/studio-message.d.ts +54 -0
- package/dist/esm/models/studio-message.js +14 -0
- package/dist/esm/models/studio-problem.d.ts +48 -0
- package/dist/esm/models/studio-problem.js +14 -0
- package/dist/esm/models/studio-run-create.d.ts +69 -0
- package/dist/esm/models/studio-run-create.js +14 -0
- package/dist/esm/models/studio-run-page.d.ts +31 -0
- package/dist/esm/models/studio-run-page.js +14 -0
- package/dist/esm/models/studio-run-patch.d.ts +36 -0
- package/dist/esm/models/studio-run-patch.js +14 -0
- package/dist/esm/models/studio-run.d.ts +168 -0
- package/dist/esm/models/studio-run.js +14 -0
- package/dist/esm/models/studio-spec.d.ts +50 -0
- package/dist/esm/models/studio-spec.js +14 -0
- package/dist/esm/models/studio-step-price.d.ts +36 -0
- package/dist/esm/models/studio-step-price.js +14 -0
- package/dist/esm/models/studio-step.d.ts +109 -0
- package/dist/esm/models/studio-step.js +14 -0
- package/dist/esm/models/studio-template-page.d.ts +31 -0
- package/dist/esm/models/studio-template-page.js +14 -0
- package/dist/esm/models/studio-template-patch.d.ts +63 -0
- package/dist/esm/models/studio-template-patch.js +14 -0
- package/dist/esm/models/studio-template-write.d.ts +63 -0
- package/dist/esm/models/studio-template-write.js +14 -0
- package/dist/esm/models/studio-template.d.ts +93 -0
- package/dist/esm/models/studio-template.js +14 -0
- package/dist/esm/models/studio-thread-card.d.ts +36 -0
- package/dist/esm/models/studio-thread-card.js +14 -0
- package/dist/esm/models/studio-thread-page.d.ts +31 -0
- package/dist/esm/models/studio-thread-page.js +14 -0
- package/dist/esm/models/studio-thread.d.ts +61 -0
- package/dist/esm/models/studio-thread.js +14 -0
- package/dist/esm/models/{ai-per-million.d.ts → tally.d.ts} +16 -10
- package/dist/esm/models/tally.js +14 -0
- package/dist/esm/models/translate-memory-entry.d.ts +24 -0
- package/dist/esm/models/translate-review-request.d.ts +18 -0
- package/dist/esm/models/translation.d.ts +48 -0
- package/dist/esm/models/translation.js +14 -0
- package/dist/models/account-onboard-req.d.ts +1 -1
- package/dist/models/account-onboard-resp.d.ts +2 -8
- package/dist/models/agent-coding-ack.d.ts +24 -0
- package/dist/models/agent-coding-instruction.d.ts +30 -0
- package/dist/models/agent-register-req.d.ts +0 -6
- package/dist/models/ai-limits.d.ts +2 -2
- package/dist/models/ai-model-info.d.ts +14 -0
- package/dist/models/ai-model-pricing-info.d.ts +0 -26
- package/dist/models/ai-routing-proposal.d.ts +6 -0
- package/dist/models/ai-routing-view.d.ts +6 -0
- package/dist/models/ai-video-spec.d.ts +54 -0
- package/dist/models/ai-voice-spec.d.ts +24 -0
- package/dist/models/audit-wire.d.ts +6 -0
- package/dist/models/auto-automation-in.d.ts +6 -0
- package/dist/models/auto-automation-run.d.ts +6 -0
- package/dist/models/auto-automation.d.ts +6 -0
- package/dist/models/auto-job-page.d.ts +25 -0
- package/dist/models/auto-job.d.ts +126 -0
- package/dist/models/auto-schedule.d.ts +2 -2
- package/dist/models/auto-when-in.d.ts +30 -0
- package/dist/models/auto-when-out.d.ts +37 -0
- package/dist/models/benchmark-claim-row.d.ts +12 -0
- package/dist/models/{benchmark-published-claim.d.ts → benchmark-claim.d.ts} +23 -11
- package/dist/models/benchmark-claim.js +15 -0
- package/dist/models/benchmark-leader-row.d.ts +12 -0
- package/dist/models/benchmark-put-claims-in.d.ts +3 -3
- package/dist/models/billing-assignment.d.ts +25 -0
- package/dist/models/billing-assignment.js +15 -0
- package/dist/models/billing-auto-recharge.d.ts +6 -0
- package/dist/models/billing-invoice-ref.d.ts +30 -0
- package/dist/models/billing-invoice-ref.js +15 -0
- package/dist/models/billing-resize.d.ts +31 -0
- package/dist/models/billing-resize.js +15 -0
- package/dist/models/billing-sale-line.d.ts +30 -0
- package/dist/models/billing-sale-line.js +15 -0
- package/dist/models/{billing-subscription-ref.d.ts → billing-subscription-act.d.ts} +6 -6
- package/dist/models/billing-subscription-act.js +15 -0
- package/dist/models/billing-subscription-line.d.ts +54 -0
- package/dist/models/billing-subscription-line.js +15 -0
- package/dist/models/billing-subscription-plan.d.ts +6 -0
- package/dist/models/billing-subscription-seat.d.ts +30 -0
- package/dist/models/billing-subscription-seat.js +15 -0
- package/dist/models/billing-subscription.d.ts +26 -0
- package/dist/models/brief.d.ts +68 -0
- package/dist/models/brief.js +15 -0
- package/dist/models/capture-event.d.ts +6 -0
- package/dist/models/capture-result.d.ts +6 -0
- package/dist/models/chat-turn.d.ts +48 -0
- package/dist/models/chat-turn.js +15 -0
- package/dist/models/compliance-wire.d.ts +6 -0
- package/dist/models/compute-byo-worker.d.ts +13 -0
- package/dist/models/compute-lane-model.d.ts +36 -0
- package/dist/models/compute-lane-model.js +15 -0
- package/dist/models/decision.d.ts +2 -8
- package/dist/models/delivery.d.ts +50 -0
- package/dist/models/delivery.js +15 -0
- package/dist/models/flag-platform-out.d.ts +1 -1
- package/dist/models/framework-install.d.ts +6 -0
- package/dist/models/gateway-policy.d.ts +8 -2
- package/dist/models/graph-qlerror.d.ts +2 -2
- package/dist/models/index.d.ts +77 -8
- package/dist/models/index.js +77 -8
- package/dist/models/kms-kms-health.d.ts +7 -1
- package/dist/models/library-item-page.d.ts +31 -0
- package/dist/models/library-item-page.js +15 -0
- package/dist/models/library-item-patch.d.ts +42 -0
- package/dist/models/library-item-patch.js +15 -0
- package/dist/models/library-keep-in.d.ts +102 -0
- package/dist/models/library-keep-in.js +15 -0
- package/dist/models/library-library-item.d.ts +156 -0
- package/dist/models/library-library-item.js +15 -0
- package/dist/models/marketing-address.d.ts +48 -0
- package/dist/models/marketing-address.js +15 -0
- package/dist/models/marketing-answer.d.ts +30 -0
- package/dist/models/marketing-answer.js +15 -0
- package/dist/models/marketing-beta-act-in.d.ts +36 -0
- package/dist/models/marketing-beta-act-in.js +15 -0
- package/dist/models/marketing-beta-action.d.ts +42 -0
- package/dist/models/marketing-beta-action.js +15 -0
- package/dist/models/marketing-beta-answer.d.ts +36 -0
- package/dist/models/marketing-beta-answer.js +15 -0
- package/dist/models/marketing-beta-in.d.ts +43 -0
- package/dist/models/marketing-beta-in.js +15 -0
- package/dist/models/marketing-beta-request.d.ts +24 -0
- package/dist/models/marketing-beta-request.js +15 -0
- package/dist/models/marketing-beta.d.ts +94 -0
- package/dist/models/marketing-beta.js +15 -0
- package/dist/models/marketing-esign-document.d.ts +37 -0
- package/dist/models/marketing-esign-document.js +15 -0
- package/dist/models/marketing-esign-event.d.ts +31 -0
- package/dist/models/marketing-esign-event.js +15 -0
- package/dist/models/marketing-esign-recipient.d.ts +30 -0
- package/dist/models/marketing-esign-recipient.js +15 -0
- package/dist/models/marketing-lead-in.d.ts +94 -1
- package/dist/models/marketing-lead.d.ts +13 -1
- package/dist/models/marketing-mail-in.d.ts +42 -0
- package/dist/models/marketing-mail-in.js +15 -0
- package/dist/models/marketing-mail-out.d.ts +30 -0
- package/dist/models/marketing-mail-out.js +15 -0
- package/dist/models/marketing-resume-form.d.ts +44 -0
- package/dist/models/marketing-resume-form.js +15 -0
- package/dist/models/marketing-resume-in.d.ts +36 -0
- package/dist/models/marketing-resume-in.js +15 -0
- package/dist/models/marketing-signing.d.ts +24 -0
- package/dist/models/marketing-signing.js +15 -0
- package/dist/models/marketing-step.d.ts +1 -1
- package/dist/models/marketing-tags.d.ts +48 -0
- package/dist/models/marketing-tags.js +15 -0
- package/dist/models/marketing-visit.d.ts +1 -1
- package/dist/models/platform-app-out.d.ts +1 -1
- package/dist/models/platform-domain-view.d.ts +1 -1
- package/dist/models/project-projects-project.d.ts +6 -0
- package/dist/models/replay-body.d.ts +6 -0
- package/dist/models/routing-version.d.ts +6 -0
- package/dist/models/studio-brand-page.d.ts +31 -0
- package/dist/models/studio-brand-page.js +15 -0
- package/dist/models/studio-brand-patch.d.ts +50 -0
- package/dist/models/studio-brand-patch.js +15 -0
- package/dist/models/studio-brand-write.d.ts +44 -0
- package/dist/models/studio-brand-write.js +15 -0
- package/dist/models/studio-brand.d.ts +74 -0
- package/dist/models/studio-brand.js +15 -0
- package/dist/models/studio-document-page.d.ts +31 -0
- package/dist/models/studio-document-page.js +15 -0
- package/dist/models/studio-document-patch.d.ts +49 -0
- package/dist/models/studio-document-patch.js +15 -0
- package/dist/models/studio-document-write.d.ts +49 -0
- package/dist/models/studio-document-write.js +15 -0
- package/dist/models/studio-document.d.ts +79 -0
- package/dist/models/studio-document.js +15 -0
- package/dist/models/studio-estimate.d.ts +31 -0
- package/dist/models/studio-estimate.js +15 -0
- package/dist/models/studio-flow-page.d.ts +31 -0
- package/dist/models/studio-flow-page.js +15 -0
- package/dist/models/studio-flow-patch.d.ts +63 -0
- package/dist/models/studio-flow-patch.js +15 -0
- package/dist/models/studio-flow-write.d.ts +57 -0
- package/dist/models/studio-flow-write.js +15 -0
- package/dist/models/studio-flow.d.ts +87 -0
- package/dist/models/studio-flow.js +15 -0
- package/dist/models/studio-gpu-list.d.ts +25 -0
- package/dist/models/studio-gpu-list.js +15 -0
- package/dist/models/studio-gpu.d.ts +60 -0
- package/dist/models/studio-gpu.js +15 -0
- package/dist/models/studio-graph.d.ts +25 -0
- package/dist/models/studio-graph.js +15 -0
- package/dist/models/studio-ir.d.ts +34 -0
- package/dist/models/studio-ir.js +15 -0
- package/dist/models/studio-item.d.ts +138 -0
- package/dist/models/studio-item.js +15 -0
- package/dist/models/studio-message.d.ts +54 -0
- package/dist/models/studio-message.js +15 -0
- package/dist/models/studio-problem.d.ts +48 -0
- package/dist/models/studio-problem.js +15 -0
- package/dist/models/studio-run-create.d.ts +69 -0
- package/dist/models/studio-run-create.js +15 -0
- package/dist/models/studio-run-page.d.ts +31 -0
- package/dist/models/studio-run-page.js +15 -0
- package/dist/models/studio-run-patch.d.ts +36 -0
- package/dist/models/studio-run-patch.js +15 -0
- package/dist/models/studio-run.d.ts +168 -0
- package/dist/models/studio-run.js +15 -0
- package/dist/models/studio-spec.d.ts +50 -0
- package/dist/models/studio-spec.js +15 -0
- package/dist/models/studio-step-price.d.ts +36 -0
- package/dist/models/studio-step-price.js +15 -0
- package/dist/models/studio-step.d.ts +109 -0
- package/dist/models/studio-step.js +15 -0
- package/dist/models/studio-template-page.d.ts +31 -0
- package/dist/models/studio-template-page.js +15 -0
- package/dist/models/studio-template-patch.d.ts +63 -0
- package/dist/models/studio-template-patch.js +15 -0
- package/dist/models/studio-template-write.d.ts +63 -0
- package/dist/models/studio-template-write.js +15 -0
- package/dist/models/studio-template.d.ts +93 -0
- package/dist/models/studio-template.js +15 -0
- package/dist/models/studio-thread-card.d.ts +36 -0
- package/dist/models/studio-thread-card.js +15 -0
- package/dist/models/studio-thread-page.d.ts +31 -0
- package/dist/models/studio-thread-page.js +15 -0
- package/dist/models/studio-thread.d.ts +61 -0
- package/dist/models/studio-thread.js +15 -0
- package/dist/models/{ai-per-million.d.ts → tally.d.ts} +16 -10
- package/dist/models/tally.js +15 -0
- package/dist/models/translate-memory-entry.d.ts +24 -0
- package/dist/models/translate-review-request.d.ts +18 -0
- package/dist/models/translation.d.ts +48 -0
- package/dist/models/translation.js +15 -0
- package/package.json +1 -1
- package/src/api/account-api.ts +8 -8
- package/src/api/agent-api.ts +165 -60
- package/src/api/ai-api.ts +4 -244
- package/src/api/auto-api.ts +426 -49
- package/src/api/base-api.ts +132 -0
- package/src/api/billing-api.ts +370 -107
- package/src/api/captable-api.ts +124 -124
- package/src/api/channel-api.ts +16 -16
- package/src/api/commerce-api.ts +4 -571
- package/src/api/company-api.ts +72 -72
- package/src/api/dataroom-api.ts +52 -52
- package/src/api/esign-api.ts +32 -32
- package/src/api/event-api.ts +4 -4
- package/src/api/framework-api.ts +4 -4
- package/src/api/gateway-api.ts +4 -4
- package/src/api/graph-api.ts +70 -4
- package/src/api/iam-api.ts +344 -44
- package/src/api/kms-api.ts +4 -4
- package/src/api/knowledge-api.ts +8 -8
- package/src/api/library-api.ts +727 -0
- package/src/api/marketing-api.ts +907 -51
- package/src/api/platform-api.ts +12 -12
- package/src/api/pricing-api.ts +4 -133
- package/src/api/project-api.ts +16 -16
- package/src/api/s3-api.ts +8 -8
- package/src/api/studio-api.ts +3326 -0
- package/src/api/translate-api.ts +36 -11
- package/src/api/x402-api.ts +12 -12
- package/src/api.ts +2 -0
- package/src/models/account-onboard-req.ts +1 -1
- package/src/models/account-onboard-resp.ts +2 -8
- package/src/models/agent-coding-ack.ts +30 -0
- package/src/models/agent-coding-instruction.ts +36 -0
- package/src/models/agent-register-req.ts +0 -6
- package/src/models/ai-limits.ts +2 -2
- package/src/models/ai-model-info.ts +18 -0
- package/src/models/ai-model-pricing-info.ts +0 -30
- package/src/models/ai-routing-proposal.ts +6 -0
- package/src/models/ai-routing-view.ts +6 -0
- package/src/models/ai-video-spec.ts +60 -0
- package/src/models/ai-voice-spec.ts +30 -0
- package/src/models/audit-wire.ts +6 -0
- package/src/models/auto-automation-in.ts +6 -0
- package/src/models/auto-automation-run.ts +6 -0
- package/src/models/auto-automation.ts +6 -0
- package/src/models/auto-job-page.ts +33 -0
- package/src/models/auto-job.ts +132 -0
- package/src/models/auto-schedule.ts +2 -2
- package/src/models/auto-when-in.ts +36 -0
- package/src/models/auto-when-out.ts +45 -0
- package/src/models/benchmark-claim-row.ts +12 -0
- package/src/models/{benchmark-published-claim.ts → benchmark-claim.ts} +23 -11
- package/src/models/benchmark-leader-row.ts +12 -0
- package/src/models/benchmark-put-claims-in.ts +3 -3
- package/src/models/billing-assignment.ts +33 -0
- package/src/models/billing-auto-recharge.ts +6 -0
- package/src/models/billing-invoice-ref.ts +36 -0
- package/src/models/billing-resize.ts +39 -0
- package/src/models/billing-sale-line.ts +36 -0
- package/src/models/{billing-subscription-ref.ts → billing-subscription-act.ts} +6 -6
- package/src/models/billing-subscription-line.ts +60 -0
- package/src/models/billing-subscription-plan.ts +6 -0
- package/src/models/billing-subscription-seat.ts +36 -0
- package/src/models/billing-subscription.ts +30 -0
- package/src/models/brief.ts +72 -0
- package/src/models/capture-event.ts +6 -0
- package/src/models/capture-result.ts +6 -0
- package/src/models/{pricing-price.ts → chat-turn.ts} +20 -14
- package/src/models/compliance-wire.ts +6 -0
- package/src/models/compute-byo-worker.ts +15 -0
- package/src/models/compute-lane-model.ts +42 -0
- package/src/models/decision.ts +2 -8
- package/src/models/delivery.ts +60 -0
- package/src/models/flag-platform-out.ts +1 -1
- package/src/models/framework-install.ts +6 -0
- package/src/models/gateway-policy.ts +8 -2
- package/src/models/graph-qlerror.ts +2 -2
- package/src/models/index.ts +77 -8
- package/src/models/kms-kms-health.ts +7 -1
- package/src/models/library-item-page.ts +39 -0
- package/src/models/library-item-patch.ts +48 -0
- package/src/models/library-keep-in.ts +108 -0
- package/src/models/library-library-item.ts +162 -0
- package/src/models/marketing-address.ts +54 -0
- package/src/models/marketing-answer.ts +36 -0
- package/src/models/marketing-beta-act-in.ts +42 -0
- package/src/models/{pricing-rate-window.ts → marketing-beta-action.ts} +16 -16
- package/src/models/marketing-beta-answer.ts +42 -0
- package/src/models/marketing-beta-in.ts +51 -0
- package/src/models/marketing-beta-request.ts +30 -0
- package/src/models/marketing-beta.ts +102 -0
- package/src/models/marketing-esign-document.ts +45 -0
- package/src/models/marketing-esign-event.ts +39 -0
- package/src/models/marketing-esign-recipient.ts +36 -0
- package/src/models/marketing-lead-in.ts +100 -1
- package/src/models/marketing-lead.ts +13 -1
- package/src/models/marketing-mail-in.ts +48 -0
- package/src/models/marketing-mail-out.ts +36 -0
- package/src/models/marketing-resume-form.ts +48 -0
- package/src/models/marketing-resume-in.ts +42 -0
- package/src/models/marketing-signing.ts +30 -0
- package/src/models/marketing-step.ts +1 -1
- package/src/models/marketing-tags.ts +54 -0
- package/src/models/marketing-visit.ts +1 -1
- package/src/models/platform-app-out.ts +1 -1
- package/src/models/platform-domain-view.ts +1 -1
- package/src/models/project-projects-project.ts +6 -0
- package/src/models/replay-body.ts +6 -0
- package/src/models/routing-version.ts +6 -0
- package/src/models/studio-brand-page.ts +39 -0
- package/src/models/studio-brand-patch.ts +54 -0
- package/src/models/studio-brand-write.ts +48 -0
- package/src/models/studio-brand.ts +78 -0
- package/src/models/studio-document-page.ts +39 -0
- package/src/models/studio-document-patch.ts +57 -0
- package/src/models/studio-document-write.ts +57 -0
- package/src/models/studio-document.ts +87 -0
- package/src/models/studio-estimate.ts +39 -0
- package/src/models/studio-flow-page.ts +39 -0
- package/src/models/studio-flow-patch.ts +69 -0
- package/src/models/studio-flow-write.ts +63 -0
- package/src/models/studio-flow.ts +93 -0
- package/src/models/studio-gpu-list.ts +33 -0
- package/src/models/studio-gpu.ts +66 -0
- package/src/models/studio-graph.ts +33 -0
- package/src/models/studio-ir.ts +36 -0
- package/src/models/studio-item.ts +144 -0
- package/src/models/studio-message.ts +60 -0
- package/src/models/studio-problem.ts +54 -0
- package/src/models/studio-run-create.ts +75 -0
- package/src/models/studio-run-page.ts +39 -0
- package/src/models/studio-run-patch.ts +42 -0
- package/src/models/studio-run.ts +180 -0
- package/src/models/studio-spec.ts +54 -0
- package/src/models/studio-step-price.ts +42 -0
- package/src/models/studio-step.ts +117 -0
- package/src/models/studio-template-page.ts +39 -0
- package/src/models/studio-template-patch.ts +69 -0
- package/src/models/studio-template-write.ts +69 -0
- package/src/models/studio-template.ts +99 -0
- package/src/models/studio-thread-card.ts +42 -0
- package/src/models/studio-thread-page.ts +39 -0
- package/src/models/studio-thread.ts +69 -0
- package/src/models/{ai-per-million.ts → tally.ts} +16 -10
- package/src/models/translate-memory-entry.ts +24 -0
- package/src/models/translate-review-request.ts +18 -0
- package/src/models/translation.ts +54 -0
- package/dist/esm/models/pricing-enso-out.d.ts +0 -49
- package/dist/esm/models/pricing-quote.d.ts +0 -75
- package/dist/esm/models/pricing-rate-arm.d.ts +0 -61
- package/dist/esm/models/pricing-rate-window.d.ts +0 -42
- package/dist/models/pricing-enso-out.d.ts +0 -49
- package/dist/models/pricing-quote.d.ts +0 -75
- package/dist/models/pricing-rate-arm.d.ts +0 -61
- package/dist/models/pricing-rate-window.d.ts +0 -42
- package/src/models/pricing-enso-out.ts +0 -57
- package/src/models/pricing-quote.ts +0 -87
- package/src/models/pricing-rate-arm.ts +0 -69
- /package/dist/esm/models/{ai-per-million.js → agent-coding-ack.js} +0 -0
- /package/dist/esm/models/{benchmark-published-claim.js → agent-coding-instruction.js} +0 -0
- /package/dist/esm/models/{billing-subscription-ref.js → ai-video-spec.js} +0 -0
- /package/dist/esm/models/{pricing-enso-out.js → ai-voice-spec.js} +0 -0
- /package/dist/esm/models/{pricing-price.js → auto-job-page.js} +0 -0
- /package/dist/esm/models/{pricing-quote.js → auto-job.js} +0 -0
- /package/dist/esm/models/{pricing-rate-arm.js → auto-when-in.js} +0 -0
- /package/dist/esm/models/{pricing-rate-window.js → auto-when-out.js} +0 -0
- /package/dist/models/{ai-per-million.js → agent-coding-ack.js} +0 -0
- /package/dist/models/{benchmark-published-claim.js → agent-coding-instruction.js} +0 -0
- /package/dist/models/{billing-subscription-ref.js → ai-video-spec.js} +0 -0
- /package/dist/models/{pricing-enso-out.js → ai-voice-spec.js} +0 -0
- /package/dist/models/{pricing-price.js → auto-job-page.js} +0 -0
- /package/dist/models/{pricing-quote.js → auto-job.js} +0 -0
- /package/dist/models/{pricing-rate-arm.js → auto-when-in.js} +0 -0
- /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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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\'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
|
+
}
|