@scenario-labs/sdk 3.2.0 → 3.3.0
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/CHANGELOG.md +27 -0
- package/client.d.mts +20 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -5
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +42 -0
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +42 -0
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +79 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +75 -0
- package/core/pagination.mjs.map +1 -1
- package/internal/utils/values.d.mts +6 -0
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts +6 -0
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +11 -0
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +10 -0
- package/internal/utils/values.mjs.map +1 -1
- package/lib/generate.js +7 -7
- package/lib/generate.js.map +1 -1
- package/lib/generate.mjs +7 -7
- package/lib/generate.mjs.map +1 -1
- package/lib/job.d.mts +1 -1
- package/lib/job.d.mts.map +1 -1
- package/lib/job.d.ts +1 -1
- package/lib/job.d.ts.map +1 -1
- package/lib/job.js +5 -6
- package/lib/job.js.map +1 -1
- package/lib/job.mjs +6 -7
- package/lib/job.mjs.map +1 -1
- package/lib/models.d.mts.map +1 -1
- package/lib/models.d.ts.map +1 -1
- package/lib/models.js +7 -5
- package/lib/models.js.map +1 -1
- package/lib/models.mjs +8 -6
- package/lib/models.mjs.map +1 -1
- package/lib/query.d.mts +21 -0
- package/lib/query.d.mts.map +1 -0
- package/lib/query.d.ts +21 -0
- package/lib/query.d.ts.map +1 -0
- package/lib/query.js +36 -0
- package/lib/query.js.map +1 -0
- package/lib/query.mjs +33 -0
- package/lib/query.mjs.map +1 -0
- package/lib/scenario.d.mts +3 -0
- package/lib/scenario.d.mts.map +1 -1
- package/lib/scenario.d.ts +3 -0
- package/lib/scenario.d.ts.map +1 -1
- package/lib/scenario.js +6 -0
- package/lib/scenario.js.map +1 -1
- package/lib/scenario.mjs +6 -0
- package/lib/scenario.mjs.map +1 -1
- package/lib/scope.d.mts +27 -7
- package/lib/scope.d.mts.map +1 -1
- package/lib/scope.d.ts +27 -7
- package/lib/scope.d.ts.map +1 -1
- package/lib/scope.js +40 -7
- package/lib/scope.js.map +1 -1
- package/lib/scope.mjs +37 -7
- package/lib/scope.mjs.map +1 -1
- package/lib/upload.d.mts +1 -1
- package/lib/upload.d.mts.map +1 -1
- package/lib/upload.d.ts +1 -1
- package/lib/upload.d.ts.map +1 -1
- package/lib/upload.js +6 -7
- package/lib/upload.js.map +1 -1
- package/lib/upload.mjs +7 -8
- package/lib/upload.mjs.map +1 -1
- package/lib/workflow.d.mts.map +1 -1
- package/lib/workflow.d.ts.map +1 -1
- package/lib/workflow.js +8 -6
- package/lib/workflow.js.map +1 -1
- package/lib/workflow.mjs +9 -7
- package/lib/workflow.mjs.map +1 -1
- package/lib/workflow_validator.d.mts +5 -0
- package/lib/workflow_validator.d.mts.map +1 -1
- package/lib/workflow_validator.d.ts +5 -0
- package/lib/workflow_validator.d.ts.map +1 -1
- package/lib/workflow_validator.js +113 -0
- package/lib/workflow_validator.js.map +1 -1
- package/lib/workflow_validator.mjs +113 -0
- package/lib/workflow_validator.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assets/assets.d.mts +130 -31
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +130 -31
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js +34 -11
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs +34 -11
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/assets/download.d.mts +24 -5
- package/resources/assets/download.d.mts.map +1 -1
- package/resources/assets/download.d.ts +24 -5
- package/resources/assets/download.d.ts.map +1 -1
- package/resources/assets/download.js +15 -3
- package/resources/assets/download.js.map +1 -1
- package/resources/assets/download.mjs +15 -3
- package/resources/assets/download.mjs.map +1 -1
- package/resources/collections/assets.d.mts.map +1 -1
- package/resources/collections/assets.d.ts.map +1 -1
- package/resources/collections/assets.js +3 -2
- package/resources/collections/assets.js.map +1 -1
- package/resources/collections/assets.mjs +3 -2
- package/resources/collections/assets.mjs.map +1 -1
- package/resources/collections/collections.d.mts.map +1 -1
- package/resources/collections/collections.d.ts.map +1 -1
- package/resources/collections/collections.js +20 -5
- package/resources/collections/collections.js.map +1 -1
- package/resources/collections/collections.mjs +20 -5
- package/resources/collections/collections.mjs.map +1 -1
- package/resources/collections/models.d.mts.map +1 -1
- package/resources/collections/models.d.ts.map +1 -1
- package/resources/collections/models.js +3 -2
- package/resources/collections/models.js.map +1 -1
- package/resources/collections/models.mjs +3 -2
- package/resources/collections/models.mjs.map +1 -1
- package/resources/generate.d.mts +1719 -225
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +1719 -225
- package/resources/generate.d.ts.map +1 -1
- package/resources/generate.js +65 -8
- package/resources/generate.js.map +1 -1
- package/resources/generate.mjs +65 -8
- package/resources/generate.mjs.map +1 -1
- package/resources/index.d.mts +5 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/jobs.d.mts +176 -74
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +176 -74
- package/resources/jobs.d.ts.map +1 -1
- package/resources/jobs.js +16 -4
- package/resources/jobs.js.map +1 -1
- package/resources/jobs.mjs +16 -4
- package/resources/jobs.mjs.map +1 -1
- package/resources/models/description.d.mts +2 -2
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +2 -2
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/description.js +6 -2
- package/resources/models/description.js.map +1 -1
- package/resources/models/description.mjs +6 -2
- package/resources/models/description.mjs.map +1 -1
- package/resources/models/examples.d.mts +120 -48
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +120 -48
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/examples.js +6 -2
- package/resources/models/examples.js.map +1 -1
- package/resources/models/examples.mjs +6 -2
- package/resources/models/examples.mjs.map +1 -1
- package/resources/models/index.d.mts +3 -0
- package/resources/models/index.d.mts.map +1 -1
- package/resources/models/index.d.ts +3 -0
- package/resources/models/index.d.ts.map +1 -1
- package/resources/models/index.js +7 -1
- package/resources/models/index.js.map +1 -1
- package/resources/models/index.mjs +3 -0
- package/resources/models/index.mjs.map +1 -1
- package/resources/models/models.d.mts +215 -77
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +215 -77
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +52 -11
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +52 -11
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/presets.d.mts +1016 -0
- package/resources/models/presets.d.mts.map +1 -0
- package/resources/models/presets.d.ts +1016 -0
- package/resources/models/presets.d.ts.map +1 -0
- package/resources/models/presets.js +52 -0
- package/resources/models/presets.js.map +1 -0
- package/resources/models/presets.mjs +48 -0
- package/resources/models/presets.mjs.map +1 -0
- package/resources/models/prompt-guide.d.mts +64 -0
- package/resources/models/prompt-guide.d.mts.map +1 -0
- package/resources/models/prompt-guide.d.ts +64 -0
- package/resources/models/prompt-guide.d.ts.map +1 -0
- package/resources/models/prompt-guide.js +31 -0
- package/resources/models/prompt-guide.js.map +1 -0
- package/resources/models/prompt-guide.mjs +27 -0
- package/resources/models/prompt-guide.mjs.map +1 -0
- package/resources/models/scores.d.mts +278 -0
- package/resources/models/scores.d.mts.map +1 -0
- package/resources/models/scores.d.ts +278 -0
- package/resources/models/scores.d.ts.map +1 -0
- package/resources/models/scores.js +29 -0
- package/resources/models/scores.js.map +1 -0
- package/resources/models/scores.mjs +25 -0
- package/resources/models/scores.mjs.map +1 -0
- package/resources/models/train.d.mts +108 -45
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +108 -45
- package/resources/models/train.d.ts.map +1 -1
- package/resources/models/train.js +3 -2
- package/resources/models/train.js.map +1 -1
- package/resources/models/train.mjs +3 -2
- package/resources/models/train.mjs.map +1 -1
- package/resources/models/training-images.d.mts.map +1 -1
- package/resources/models/training-images.d.ts.map +1 -1
- package/resources/models/training-images.js +5 -4
- package/resources/models/training-images.js.map +1 -1
- package/resources/models/training-images.mjs +5 -4
- package/resources/models/training-images.mjs.map +1 -1
- package/resources/projects/api-keys.d.mts +54 -0
- package/resources/projects/api-keys.d.mts.map +1 -0
- package/resources/projects/api-keys.d.ts +54 -0
- package/resources/projects/api-keys.d.ts.map +1 -0
- package/resources/projects/api-keys.js +23 -0
- package/resources/projects/api-keys.js.map +1 -0
- package/resources/projects/api-keys.mjs +19 -0
- package/resources/projects/api-keys.mjs.map +1 -0
- package/resources/projects/brief.d.mts +149 -0
- package/resources/projects/brief.d.mts.map +1 -0
- package/resources/projects/brief.d.ts +149 -0
- package/resources/projects/brief.d.ts.map +1 -0
- package/resources/projects/brief.js +28 -0
- package/resources/projects/brief.js.map +1 -0
- package/resources/projects/brief.mjs +24 -0
- package/resources/projects/brief.mjs.map +1 -0
- package/resources/projects/index.d.mts +9 -0
- package/resources/projects/index.d.mts.map +1 -0
- package/resources/projects/index.d.ts +9 -0
- package/resources/projects/index.d.ts.map +1 -0
- package/resources/projects/index.js +21 -0
- package/resources/projects/index.js.map +1 -0
- package/resources/projects/index.mjs +10 -0
- package/resources/projects/index.mjs.map +1 -0
- package/resources/projects/instructions.d.mts +102 -0
- package/resources/projects/instructions.d.mts.map +1 -0
- package/resources/projects/instructions.d.ts +102 -0
- package/resources/projects/instructions.d.ts.map +1 -0
- package/resources/projects/instructions.js +24 -0
- package/resources/projects/instructions.js.map +1 -0
- package/resources/projects/instructions.mjs +20 -0
- package/resources/projects/instructions.mjs.map +1 -0
- package/resources/projects/members.d.mts +788 -0
- package/resources/projects/members.d.mts.map +1 -0
- package/resources/projects/members.d.ts +788 -0
- package/resources/projects/members.d.ts.map +1 -0
- package/resources/projects/members.js +30 -0
- package/resources/projects/members.js.map +1 -0
- package/resources/projects/members.mjs +26 -0
- package/resources/projects/members.mjs.map +1 -0
- package/resources/projects/memory.d.mts +102 -0
- package/resources/projects/memory.d.mts.map +1 -0
- package/resources/projects/memory.d.ts +102 -0
- package/resources/projects/memory.d.ts.map +1 -0
- package/resources/projects/memory.js +24 -0
- package/resources/projects/memory.js.map +1 -0
- package/resources/projects/memory.mjs +20 -0
- package/resources/projects/memory.mjs.map +1 -0
- package/resources/projects/projects.d.mts +1129 -0
- package/resources/projects/projects.d.mts.map +1 -0
- package/resources/projects/projects.d.ts +1129 -0
- package/resources/projects/projects.d.ts.map +1 -0
- package/resources/projects/projects.js +79 -0
- package/resources/projects/projects.js.map +1 -0
- package/resources/projects/projects.mjs +74 -0
- package/resources/projects/projects.mjs.map +1 -0
- package/resources/projects/watermark.d.mts +459 -0
- package/resources/projects/watermark.d.mts.map +1 -0
- package/resources/projects/watermark.d.ts +459 -0
- package/resources/projects/watermark.d.ts.map +1 -0
- package/resources/projects/watermark.js +46 -0
- package/resources/projects/watermark.js.map +1 -0
- package/resources/projects/watermark.mjs +42 -0
- package/resources/projects/watermark.mjs.map +1 -0
- package/resources/projects/webhook-endpoints/events.d.mts +87 -0
- package/resources/projects/webhook-endpoints/events.d.mts.map +1 -0
- package/resources/projects/webhook-endpoints/events.d.ts +87 -0
- package/resources/projects/webhook-endpoints/events.d.ts.map +1 -0
- package/resources/projects/webhook-endpoints/events.js +28 -0
- package/resources/projects/webhook-endpoints/events.js.map +1 -0
- package/resources/projects/webhook-endpoints/events.mjs +24 -0
- package/resources/projects/webhook-endpoints/events.mjs.map +1 -0
- package/resources/projects/webhook-endpoints/index.d.mts +3 -0
- package/resources/projects/webhook-endpoints/index.d.mts.map +1 -0
- package/resources/projects/webhook-endpoints/index.d.ts +3 -0
- package/resources/projects/webhook-endpoints/index.d.ts.map +1 -0
- package/resources/projects/webhook-endpoints/index.js +9 -0
- package/resources/projects/webhook-endpoints/index.js.map +1 -0
- package/resources/projects/webhook-endpoints/index.mjs +4 -0
- package/resources/projects/webhook-endpoints/index.mjs.map +1 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.d.mts +249 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.d.mts.map +1 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.d.ts +249 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.d.ts.map +1 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.js +44 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.js.map +1 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.mjs +39 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.mjs.map +1 -0
- package/resources/projects/webhook-endpoints.d.mts +2 -0
- package/resources/projects/webhook-endpoints.d.mts.map +1 -0
- package/resources/projects/webhook-endpoints.d.ts +2 -0
- package/resources/projects/webhook-endpoints.d.ts.map +1 -0
- package/resources/projects/webhook-endpoints.js +6 -0
- package/resources/projects/webhook-endpoints.js.map +1 -0
- package/resources/projects/webhook-endpoints.mjs +3 -0
- package/resources/projects/webhook-endpoints.mjs.map +1 -0
- package/resources/projects.d.mts +2 -0
- package/resources/projects.d.mts.map +1 -0
- package/resources/projects.d.ts +2 -0
- package/resources/projects.d.ts.map +1 -0
- package/resources/projects.js +6 -0
- package/resources/projects.js.map +1 -0
- package/resources/projects.mjs +3 -0
- package/resources/projects.mjs.map +1 -0
- package/resources/recommendations.d.mts +1107 -0
- package/resources/recommendations.d.mts.map +1 -0
- package/resources/recommendations.d.ts +1107 -0
- package/resources/recommendations.d.ts.map +1 -0
- package/resources/recommendations.js +17 -0
- package/resources/recommendations.js.map +1 -0
- package/resources/recommendations.mjs +13 -0
- package/resources/recommendations.mjs.map +1 -0
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +4 -3
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +4 -3
- package/resources/search.mjs.map +1 -1
- package/resources/tags.d.mts.map +1 -1
- package/resources/tags.d.ts.map +1 -1
- package/resources/tags.js +5 -1
- package/resources/tags.js.map +1 -1
- package/resources/tags.mjs +5 -1
- package/resources/tags.mjs.map +1 -1
- package/resources/teams/brief.d.mts +149 -0
- package/resources/teams/brief.d.mts.map +1 -0
- package/resources/teams/brief.d.ts +149 -0
- package/resources/teams/brief.d.ts.map +1 -0
- package/resources/teams/brief.js +28 -0
- package/resources/teams/brief.js.map +1 -0
- package/resources/teams/brief.mjs +24 -0
- package/resources/teams/brief.mjs.map +1 -0
- package/resources/teams/index.d.mts +7 -0
- package/resources/teams/index.d.mts.map +1 -0
- package/resources/teams/index.d.ts +7 -0
- package/resources/teams/index.d.ts.map +1 -0
- package/resources/teams/index.js +17 -0
- package/resources/teams/index.js.map +1 -0
- package/resources/teams/index.mjs +8 -0
- package/resources/teams/index.mjs.map +1 -0
- package/resources/teams/ip-filters.d.mts +115 -0
- package/resources/teams/ip-filters.d.mts.map +1 -0
- package/resources/teams/ip-filters.d.ts +115 -0
- package/resources/teams/ip-filters.d.ts.map +1 -0
- package/resources/teams/ip-filters.js +45 -0
- package/resources/teams/ip-filters.js.map +1 -0
- package/resources/teams/ip-filters.mjs +41 -0
- package/resources/teams/ip-filters.mjs.map +1 -0
- package/resources/teams/members.d.mts +204 -0
- package/resources/teams/members.d.mts.map +1 -0
- package/resources/teams/members.d.ts +204 -0
- package/resources/teams/members.d.ts.map +1 -0
- package/resources/teams/members.js +30 -0
- package/resources/teams/members.js.map +1 -0
- package/resources/teams/members.mjs +26 -0
- package/resources/teams/members.mjs.map +1 -0
- package/resources/teams/teams.d.mts +878 -0
- package/resources/teams/teams.d.mts.map +1 -0
- package/resources/teams/teams.d.ts +878 -0
- package/resources/teams/teams.d.ts.map +1 -0
- package/resources/teams/teams.js +66 -0
- package/resources/teams/teams.js.map +1 -0
- package/resources/teams/teams.mjs +61 -0
- package/resources/teams/teams.mjs.map +1 -0
- package/resources/teams/watermark.d.mts +459 -0
- package/resources/teams/watermark.d.mts.map +1 -0
- package/resources/teams/watermark.d.ts +459 -0
- package/resources/teams/watermark.d.ts.map +1 -0
- package/resources/teams/watermark.js +46 -0
- package/resources/teams/watermark.js.map +1 -0
- package/resources/teams/watermark.mjs +42 -0
- package/resources/teams/watermark.mjs.map +1 -0
- package/resources/teams/webhook-endpoints/events.d.mts +87 -0
- package/resources/teams/webhook-endpoints/events.d.mts.map +1 -0
- package/resources/teams/webhook-endpoints/events.d.ts +87 -0
- package/resources/teams/webhook-endpoints/events.d.ts.map +1 -0
- package/resources/teams/webhook-endpoints/events.js +28 -0
- package/resources/teams/webhook-endpoints/events.js.map +1 -0
- package/resources/teams/webhook-endpoints/events.mjs +24 -0
- package/resources/teams/webhook-endpoints/events.mjs.map +1 -0
- package/resources/teams/webhook-endpoints/index.d.mts +3 -0
- package/resources/teams/webhook-endpoints/index.d.mts.map +1 -0
- package/resources/teams/webhook-endpoints/index.d.ts +3 -0
- package/resources/teams/webhook-endpoints/index.d.ts.map +1 -0
- package/resources/teams/webhook-endpoints/index.js +9 -0
- package/resources/teams/webhook-endpoints/index.js.map +1 -0
- package/resources/teams/webhook-endpoints/index.mjs +4 -0
- package/resources/teams/webhook-endpoints/index.mjs.map +1 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.d.mts +250 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.d.mts.map +1 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.d.ts +250 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.d.ts.map +1 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.js +45 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.js.map +1 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.mjs +40 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.mjs.map +1 -0
- package/resources/teams/webhook-endpoints.d.mts +2 -0
- package/resources/teams/webhook-endpoints.d.mts.map +1 -0
- package/resources/teams/webhook-endpoints.d.ts +2 -0
- package/resources/teams/webhook-endpoints.d.ts.map +1 -0
- package/resources/teams/webhook-endpoints.js +6 -0
- package/resources/teams/webhook-endpoints.js.map +1 -0
- package/resources/teams/webhook-endpoints.mjs +3 -0
- package/resources/teams/webhook-endpoints.mjs.map +1 -0
- package/resources/teams.d.mts +2 -0
- package/resources/teams.d.mts.map +1 -0
- package/resources/teams.d.ts +2 -0
- package/resources/teams.d.ts.map +1 -0
- package/resources/teams.js +6 -0
- package/resources/teams.js.map +1 -0
- package/resources/teams.mjs +3 -0
- package/resources/teams.mjs.map +1 -0
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts.map +1 -1
- package/resources/uploads.js +15 -3
- package/resources/uploads.js.map +1 -1
- package/resources/uploads.mjs +15 -3
- package/resources/uploads.mjs.map +1 -1
- package/resources/usages.d.mts +51 -24
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +51 -24
- package/resources/usages.d.ts.map +1 -1
- package/resources/usages.js +2 -1
- package/resources/usages.js.map +1 -1
- package/resources/usages.mjs +2 -1
- package/resources/usages.mjs.map +1 -1
- package/resources/workflows.d.mts +1381 -280
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +1381 -280
- package/resources/workflows.d.ts.map +1 -1
- package/resources/workflows.js +39 -8
- package/resources/workflows.js.map +1 -1
- package/resources/workflows.mjs +39 -8
- package/resources/workflows.mjs.map +1 -1
- package/src/client.ts +101 -0
- package/src/core/pagination.ts +144 -0
- package/src/internal/utils/values.ts +10 -0
- package/src/lib/generate.ts +7 -7
- package/src/lib/job.ts +9 -7
- package/src/lib/models.ts +8 -6
- package/src/lib/query.ts +42 -0
- package/src/lib/scenario.ts +8 -0
- package/src/lib/scope.ts +42 -7
- package/src/lib/upload.ts +10 -8
- package/src/lib/workflow.ts +9 -7
- package/src/lib/workflow_validator.ts +115 -0
- package/src/resources/assets/assets.ts +192 -33
- package/src/resources/assets/download.ts +43 -8
- package/src/resources/collections/assets.ts +3 -2
- package/src/resources/collections/collections.ts +20 -5
- package/src/resources/collections/models.ts +3 -2
- package/src/resources/generate.ts +2350 -186
- package/src/resources/index.ts +34 -0
- package/src/resources/jobs.ts +204 -74
- package/src/resources/models/description.ts +10 -2
- package/src/resources/models/examples.ts +140 -46
- package/src/resources/models/index.ts +25 -0
- package/src/resources/models/models.ts +326 -88
- package/src/resources/models/presets.ts +1335 -0
- package/src/resources/models/prompt-guide.ts +102 -0
- package/src/resources/models/scores.ts +383 -0
- package/src/resources/models/train.ts +121 -46
- package/src/resources/models/training-images.ts +5 -4
- package/src/resources/projects/api-keys.ts +86 -0
- package/src/resources/projects/brief.ts +197 -0
- package/src/resources/projects/index.ts +71 -0
- package/src/resources/projects/instructions.ts +134 -0
- package/src/resources/projects/members.ts +958 -0
- package/src/resources/projects/memory.ts +134 -0
- package/src/resources/projects/projects.ts +1478 -0
- package/src/resources/projects/watermark.ts +590 -0
- package/src/resources/projects/webhook-endpoints/events.ts +179 -0
- package/src/resources/projects/webhook-endpoints/index.ts +19 -0
- package/src/resources/projects/webhook-endpoints/webhook-endpoints.ts +452 -0
- package/src/resources/projects/webhook-endpoints.ts +3 -0
- package/src/resources/projects.ts +3 -0
- package/src/resources/recommendations.ts +1502 -0
- package/src/resources/search.ts +4 -3
- package/src/resources/tags.ts +5 -1
- package/src/resources/teams/brief.ts +193 -0
- package/src/resources/teams/index.ts +62 -0
- package/src/resources/teams/ip-filters.ts +177 -0
- package/src/resources/teams/members.ts +282 -0
- package/src/resources/teams/teams.ts +1255 -0
- package/src/resources/teams/watermark.ts +590 -0
- package/src/resources/teams/webhook-endpoints/events.ts +179 -0
- package/src/resources/teams/webhook-endpoints/index.ts +19 -0
- package/src/resources/teams/webhook-endpoints/webhook-endpoints.ts +453 -0
- package/src/resources/teams/webhook-endpoints.ts +3 -0
- package/src/resources/teams.ts +3 -0
- package/src/resources/uploads.ts +15 -3
- package/src/resources/usages.ts +58 -23
- package/src/resources/workflows.ts +1707 -241
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -182,7 +182,7 @@ export declare namespace AssetRetrieveResponse {
|
|
|
182
182
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
183
183
|
* Omitted when the stored format could not be determined.
|
|
184
184
|
*/
|
|
185
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
185
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
186
186
|
/**
|
|
187
187
|
* The output index of the asset within a job This index is an positive integer
|
|
188
188
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -301,6 +301,11 @@ export declare namespace AssetRetrieveResponse {
|
|
|
301
301
|
* Contrast factor for Grayscale detector
|
|
302
302
|
*/
|
|
303
303
|
factor?: number;
|
|
304
|
+
/**
|
|
305
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
306
|
+
* kept as delivered.
|
|
307
|
+
*/
|
|
308
|
+
fileName?: string;
|
|
304
309
|
filterSpeckle?: number;
|
|
305
310
|
/**
|
|
306
311
|
* Determine the scale at which the upscale process works.
|
|
@@ -374,6 +379,10 @@ export declare namespace AssetRetrieveResponse {
|
|
|
374
379
|
* To invert the relief
|
|
375
380
|
*/
|
|
376
381
|
invert?: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
384
|
+
*/
|
|
385
|
+
keepsFileNames?: boolean;
|
|
377
386
|
/**
|
|
378
387
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
379
388
|
*/
|
|
@@ -1068,7 +1077,7 @@ export declare namespace AssetUpdateResponse {
|
|
|
1068
1077
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
1069
1078
|
* Omitted when the stored format could not be determined.
|
|
1070
1079
|
*/
|
|
1071
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
1080
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
1072
1081
|
/**
|
|
1073
1082
|
* The output index of the asset within a job This index is an positive integer
|
|
1074
1083
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -1187,6 +1196,11 @@ export declare namespace AssetUpdateResponse {
|
|
|
1187
1196
|
* Contrast factor for Grayscale detector
|
|
1188
1197
|
*/
|
|
1189
1198
|
factor?: number;
|
|
1199
|
+
/**
|
|
1200
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
1201
|
+
* kept as delivered.
|
|
1202
|
+
*/
|
|
1203
|
+
fileName?: string;
|
|
1190
1204
|
filterSpeckle?: number;
|
|
1191
1205
|
/**
|
|
1192
1206
|
* Determine the scale at which the upscale process works.
|
|
@@ -1260,6 +1274,10 @@ export declare namespace AssetUpdateResponse {
|
|
|
1260
1274
|
* To invert the relief
|
|
1261
1275
|
*/
|
|
1262
1276
|
invert?: boolean;
|
|
1277
|
+
/**
|
|
1278
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
1279
|
+
*/
|
|
1280
|
+
keepsFileNames?: boolean;
|
|
1263
1281
|
/**
|
|
1264
1282
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
1265
1283
|
*/
|
|
@@ -1950,7 +1968,7 @@ export interface AssetListResponse {
|
|
|
1950
1968
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
1951
1969
|
* Omitted when the stored format could not be determined.
|
|
1952
1970
|
*/
|
|
1953
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
1971
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
1954
1972
|
/**
|
|
1955
1973
|
* The output index of the asset within a job This index is an positive integer
|
|
1956
1974
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -2069,6 +2087,11 @@ export declare namespace AssetListResponse {
|
|
|
2069
2087
|
* Contrast factor for Grayscale detector
|
|
2070
2088
|
*/
|
|
2071
2089
|
factor?: number;
|
|
2090
|
+
/**
|
|
2091
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
2092
|
+
* kept as delivered.
|
|
2093
|
+
*/
|
|
2094
|
+
fileName?: string;
|
|
2072
2095
|
filterSpeckle?: number;
|
|
2073
2096
|
/**
|
|
2074
2097
|
* Determine the scale at which the upscale process works.
|
|
@@ -2142,6 +2165,10 @@ export declare namespace AssetListResponse {
|
|
|
2142
2165
|
* To invert the relief
|
|
2143
2166
|
*/
|
|
2144
2167
|
invert?: boolean;
|
|
2168
|
+
/**
|
|
2169
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
2170
|
+
*/
|
|
2171
|
+
keepsFileNames?: boolean;
|
|
2145
2172
|
/**
|
|
2146
2173
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
2147
2174
|
*/
|
|
@@ -2836,7 +2863,7 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2836
2863
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
2837
2864
|
* Omitted when the stored format could not be determined.
|
|
2838
2865
|
*/
|
|
2839
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
2866
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
2840
2867
|
/**
|
|
2841
2868
|
* The output index of the asset within a job This index is an positive integer
|
|
2842
2869
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -2955,6 +2982,11 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2955
2982
|
* Contrast factor for Grayscale detector
|
|
2956
2983
|
*/
|
|
2957
2984
|
factor?: number;
|
|
2985
|
+
/**
|
|
2986
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
2987
|
+
* kept as delivered.
|
|
2988
|
+
*/
|
|
2989
|
+
fileName?: string;
|
|
2958
2990
|
filterSpeckle?: number;
|
|
2959
2991
|
/**
|
|
2960
2992
|
* Determine the scale at which the upscale process works.
|
|
@@ -3028,6 +3060,10 @@ export declare namespace AssetDuplicateResponse {
|
|
|
3028
3060
|
* To invert the relief
|
|
3029
3061
|
*/
|
|
3030
3062
|
invert?: boolean;
|
|
3063
|
+
/**
|
|
3064
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
3065
|
+
*/
|
|
3066
|
+
keepsFileNames?: boolean;
|
|
3031
3067
|
/**
|
|
3032
3068
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
3033
3069
|
*/
|
|
@@ -3722,7 +3758,7 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3722
3758
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
3723
3759
|
* Omitted when the stored format could not be determined.
|
|
3724
3760
|
*/
|
|
3725
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
3761
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
3726
3762
|
/**
|
|
3727
3763
|
* The output index of the asset within a job This index is an positive integer
|
|
3728
3764
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -3841,6 +3877,11 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3841
3877
|
* Contrast factor for Grayscale detector
|
|
3842
3878
|
*/
|
|
3843
3879
|
factor?: number;
|
|
3880
|
+
/**
|
|
3881
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
3882
|
+
* kept as delivered.
|
|
3883
|
+
*/
|
|
3884
|
+
fileName?: string;
|
|
3844
3885
|
filterSpeckle?: number;
|
|
3845
3886
|
/**
|
|
3846
3887
|
* Determine the scale at which the upscale process works.
|
|
@@ -3914,6 +3955,10 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3914
3955
|
* To invert the relief
|
|
3915
3956
|
*/
|
|
3916
3957
|
invert?: boolean;
|
|
3958
|
+
/**
|
|
3959
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
3960
|
+
*/
|
|
3961
|
+
keepsFileNames?: boolean;
|
|
3917
3962
|
/**
|
|
3918
3963
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
3919
3964
|
*/
|
|
@@ -4618,7 +4663,7 @@ export declare namespace AssetLockResponse {
|
|
|
4618
4663
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
4619
4664
|
* Omitted when the stored format could not be determined.
|
|
4620
4665
|
*/
|
|
4621
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
4666
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
4622
4667
|
/**
|
|
4623
4668
|
* The output index of the asset within a job This index is an positive integer
|
|
4624
4669
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -4737,6 +4782,11 @@ export declare namespace AssetLockResponse {
|
|
|
4737
4782
|
* Contrast factor for Grayscale detector
|
|
4738
4783
|
*/
|
|
4739
4784
|
factor?: number;
|
|
4785
|
+
/**
|
|
4786
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
4787
|
+
* kept as delivered.
|
|
4788
|
+
*/
|
|
4789
|
+
fileName?: string;
|
|
4740
4790
|
filterSpeckle?: number;
|
|
4741
4791
|
/**
|
|
4742
4792
|
* Determine the scale at which the upscale process works.
|
|
@@ -4810,6 +4860,10 @@ export declare namespace AssetLockResponse {
|
|
|
4810
4860
|
* To invert the relief
|
|
4811
4861
|
*/
|
|
4812
4862
|
invert?: boolean;
|
|
4863
|
+
/**
|
|
4864
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
4865
|
+
*/
|
|
4866
|
+
keepsFileNames?: boolean;
|
|
4813
4867
|
/**
|
|
4814
4868
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
4815
4869
|
*/
|
|
@@ -5504,7 +5558,7 @@ export declare namespace AssetUnlockResponse {
|
|
|
5504
5558
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
5505
5559
|
* Omitted when the stored format could not be determined.
|
|
5506
5560
|
*/
|
|
5507
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
5561
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
5508
5562
|
/**
|
|
5509
5563
|
* The output index of the asset within a job This index is an positive integer
|
|
5510
5564
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -5623,6 +5677,11 @@ export declare namespace AssetUnlockResponse {
|
|
|
5623
5677
|
* Contrast factor for Grayscale detector
|
|
5624
5678
|
*/
|
|
5625
5679
|
factor?: number;
|
|
5680
|
+
/**
|
|
5681
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
5682
|
+
* kept as delivered.
|
|
5683
|
+
*/
|
|
5684
|
+
fileName?: string;
|
|
5626
5685
|
filterSpeckle?: number;
|
|
5627
5686
|
/**
|
|
5628
5687
|
* Determine the scale at which the upscale process works.
|
|
@@ -5696,6 +5755,10 @@ export declare namespace AssetUnlockResponse {
|
|
|
5696
5755
|
* To invert the relief
|
|
5697
5756
|
*/
|
|
5698
5757
|
invert?: boolean;
|
|
5758
|
+
/**
|
|
5759
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
5760
|
+
*/
|
|
5761
|
+
keepsFileNames?: boolean;
|
|
5699
5762
|
/**
|
|
5700
5763
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
5701
5764
|
*/
|
|
@@ -6401,7 +6464,7 @@ export declare namespace AssetUploadResponse {
|
|
|
6401
6464
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
6402
6465
|
* Omitted when the stored format could not be determined.
|
|
6403
6466
|
*/
|
|
6404
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
6467
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
6405
6468
|
/**
|
|
6406
6469
|
* The output index of the asset within a job This index is an positive integer
|
|
6407
6470
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -6520,6 +6583,11 @@ export declare namespace AssetUploadResponse {
|
|
|
6520
6583
|
* Contrast factor for Grayscale detector
|
|
6521
6584
|
*/
|
|
6522
6585
|
factor?: number;
|
|
6586
|
+
/**
|
|
6587
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
6588
|
+
* kept as delivered.
|
|
6589
|
+
*/
|
|
6590
|
+
fileName?: string;
|
|
6523
6591
|
filterSpeckle?: number;
|
|
6524
6592
|
/**
|
|
6525
6593
|
* Determine the scale at which the upscale process works.
|
|
@@ -6593,6 +6661,10 @@ export declare namespace AssetUploadResponse {
|
|
|
6593
6661
|
* To invert the relief
|
|
6594
6662
|
*/
|
|
6595
6663
|
invert?: boolean;
|
|
6664
|
+
/**
|
|
6665
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
6666
|
+
*/
|
|
6667
|
+
keepsFileNames?: boolean;
|
|
6596
6668
|
/**
|
|
6597
6669
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
6598
6670
|
*/
|
|
@@ -7269,7 +7341,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7269
7341
|
/**
|
|
7270
7342
|
* The type of the job for the node.
|
|
7271
7343
|
*/
|
|
7272
|
-
type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'workflow';
|
|
7344
|
+
type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'user-selection' | 'workflow';
|
|
7273
7345
|
/**
|
|
7274
7346
|
* List of produced assets for this node.
|
|
7275
7347
|
*/
|
|
@@ -7294,13 +7366,14 @@ export declare namespace AssetUploadResponse {
|
|
|
7294
7366
|
*/
|
|
7295
7367
|
includeOutputsInWorkflowJob?: true;
|
|
7296
7368
|
/**
|
|
7297
|
-
* The inputs of the node.
|
|
7369
|
+
* The inputs of the node. For a user-selection node, the array input's `min`/`max`
|
|
7370
|
+
* bound how many items the user may pick (defaults: 1 and 100); conditional
|
|
7371
|
+
* connections may be present as additional inputs.
|
|
7298
7372
|
*/
|
|
7299
7373
|
inputs?: Array<Flow.Input>;
|
|
7300
7374
|
/**
|
|
7301
|
-
* Statically-configured items for a List node
|
|
7302
|
-
*
|
|
7303
|
-
* numbers, or asset IDs.
|
|
7375
|
+
* Statically-configured items for a List node, or the frozen candidate list of a
|
|
7376
|
+
* UserSelection node. The values can be strings, numbers, or asset IDs.
|
|
7304
7377
|
*/
|
|
7305
7378
|
items?: Array<string>;
|
|
7306
7379
|
/**
|
|
@@ -7501,8 +7574,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7501
7574
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
7502
7575
|
* defined
|
|
7503
7576
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
7504
|
-
* - \`
|
|
7505
|
-
* value
|
|
7577
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
7506
7578
|
*
|
|
7507
7579
|
* By default, the input is not required.
|
|
7508
7580
|
*/
|
|
@@ -7663,8 +7735,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7663
7735
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
7664
7736
|
* defined
|
|
7665
7737
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
7666
|
-
* - \`
|
|
7667
|
-
* value
|
|
7738
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
7668
7739
|
*
|
|
7669
7740
|
* By default, the input is not required.
|
|
7670
7741
|
*/
|
|
@@ -7714,8 +7785,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7714
7785
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
7715
7786
|
* defined
|
|
7716
7787
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
7717
|
-
* - \`
|
|
7718
|
-
* value
|
|
7788
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
7719
7789
|
*
|
|
7720
7790
|
* By default, the input is not required.
|
|
7721
7791
|
*/
|
|
@@ -7725,12 +7795,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7725
7795
|
*/
|
|
7726
7796
|
always?: boolean;
|
|
7727
7797
|
/**
|
|
7728
|
-
* Makes this input required when
|
|
7729
|
-
*
|
|
7730
|
-
* - Key: name of the input to check
|
|
7731
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
7798
|
+
* Makes this input required when other inputs have one of the listed values
|
|
7732
7799
|
*/
|
|
7733
|
-
|
|
7800
|
+
conditional?: Required.Conditional;
|
|
7734
7801
|
/**
|
|
7735
7802
|
* Makes this input required when another input is defined:
|
|
7736
7803
|
*
|
|
@@ -7746,6 +7813,24 @@ export declare namespace AssetUploadResponse {
|
|
|
7746
7813
|
*/
|
|
7747
7814
|
ifNotDefined?: unknown;
|
|
7748
7815
|
}
|
|
7816
|
+
namespace Required {
|
|
7817
|
+
/**
|
|
7818
|
+
* Makes this input required when other inputs have one of the listed values
|
|
7819
|
+
*/
|
|
7820
|
+
interface Conditional {
|
|
7821
|
+
/**
|
|
7822
|
+
* The conditions to check:
|
|
7823
|
+
*
|
|
7824
|
+
* - Key: name of the input to check
|
|
7825
|
+
* - Value: values of that input that satisfy the condition
|
|
7826
|
+
*/
|
|
7827
|
+
values: unknown;
|
|
7828
|
+
/**
|
|
7829
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
7830
|
+
*/
|
|
7831
|
+
operator?: 'and' | 'or';
|
|
7832
|
+
}
|
|
7833
|
+
}
|
|
7749
7834
|
}
|
|
7750
7835
|
/**
|
|
7751
7836
|
* The reference to another input or output of the same workflow. Must have at
|
|
@@ -7781,8 +7866,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7781
7866
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
7782
7867
|
* defined
|
|
7783
7868
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
7784
|
-
* - \`
|
|
7785
|
-
* value
|
|
7869
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
7786
7870
|
*
|
|
7787
7871
|
* By default, the input is not required.
|
|
7788
7872
|
*/
|
|
@@ -7792,12 +7876,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7792
7876
|
*/
|
|
7793
7877
|
always?: boolean;
|
|
7794
7878
|
/**
|
|
7795
|
-
* Makes this input required when
|
|
7796
|
-
*
|
|
7797
|
-
* - Key: name of the input to check
|
|
7798
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
7879
|
+
* Makes this input required when other inputs have one of the listed values
|
|
7799
7880
|
*/
|
|
7800
|
-
|
|
7881
|
+
conditional?: Required.Conditional;
|
|
7801
7882
|
/**
|
|
7802
7883
|
* Makes this input required when another input is defined:
|
|
7803
7884
|
*
|
|
@@ -7813,6 +7894,24 @@ export declare namespace AssetUploadResponse {
|
|
|
7813
7894
|
*/
|
|
7814
7895
|
ifNotDefined?: unknown;
|
|
7815
7896
|
}
|
|
7897
|
+
namespace Required {
|
|
7898
|
+
/**
|
|
7899
|
+
* Makes this input required when other inputs have one of the listed values
|
|
7900
|
+
*/
|
|
7901
|
+
interface Conditional {
|
|
7902
|
+
/**
|
|
7903
|
+
* The conditions to check:
|
|
7904
|
+
*
|
|
7905
|
+
* - Key: name of the input to check
|
|
7906
|
+
* - Value: values of that input that satisfy the condition
|
|
7907
|
+
*/
|
|
7908
|
+
values: unknown;
|
|
7909
|
+
/**
|
|
7910
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
7911
|
+
*/
|
|
7912
|
+
operator?: 'and' | 'or';
|
|
7913
|
+
}
|
|
7914
|
+
}
|
|
7816
7915
|
}
|
|
7817
7916
|
/**
|
|
7818
7917
|
* The logic of the node. Only available for logic nodes.
|