@scenario-labs/sdk 3.1.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 +119 -0
- package/client.d.mts +22 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +22 -7
- 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_converter.d.mts +6 -0
- package/lib/workflow_converter.d.mts.map +1 -1
- package/lib/workflow_converter.d.ts +6 -0
- package/lib/workflow_converter.d.ts.map +1 -1
- package/lib/workflow_converter.js +99 -12
- package/lib/workflow_converter.js.map +1 -1
- package/lib/workflow_converter.mjs +99 -12
- package/lib/workflow_converter.mjs.map +1 -1
- package/lib/workflow_validator.d.mts +8 -1
- package/lib/workflow_validator.d.mts.map +1 -1
- package/lib/workflow_validator.d.ts +8 -1
- package/lib/workflow_validator.d.ts.map +1 -1
- package/lib/workflow_validator.js +154 -1
- package/lib/workflow_validator.js.map +1 -1
- package/lib/workflow_validator.mjs +154 -1
- package/lib/workflow_validator.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assets/assets.d.mts +304 -122
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +304 -122
- 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 +39 -5
- package/resources/assets/download.d.mts.map +1 -1
- package/resources/assets/download.d.ts +39 -5
- package/resources/assets/download.d.ts.map +1 -1
- package/resources/assets/download.js +16 -4
- package/resources/assets/download.js.map +1 -1
- package/resources/assets/download.mjs +16 -4
- 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 +2089 -437
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +2089 -437
- package/resources/generate.d.ts.map +1 -1
- package/resources/generate.js +62 -9
- package/resources/generate.js.map +1 -1
- package/resources/generate.mjs +62 -9
- package/resources/generate.mjs.map +1 -1
- package/resources/index.d.mts +6 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -3
- 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 +253 -120
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +253 -120
- package/resources/jobs.d.ts.map +1 -1
- package/resources/jobs.js +13 -5
- package/resources/jobs.js.map +1 -1
- package/resources/jobs.mjs +13 -5
- package/resources/jobs.mjs.map +1 -1
- package/resources/models/description.d.mts +18 -0
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +18 -0
- 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 +198 -92
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +198 -92
- 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 +346 -112
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +346 -112
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +57 -12
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +57 -12
- 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 +186 -83
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +186 -83
- package/resources/models/train.d.ts.map +1 -1
- package/resources/models/train.js +4 -3
- package/resources/models/train.js.map +1 -1
- package/resources/models/train.mjs +4 -3
- 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 +168 -5
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts +168 -5
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +17 -3
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +17 -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 +13 -3
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts +13 -3
- package/resources/uploads.d.ts.map +1 -1
- package/resources/uploads.js +16 -4
- package/resources/uploads.js.map +1 -1
- package/resources/uploads.mjs +16 -4
- package/resources/uploads.mjs.map +1 -1
- package/resources/usages.d.mts +85 -51
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +85 -51
- 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 +1639 -385
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +1639 -385
- 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 +107 -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_converter.ts +126 -12
- package/src/lib/workflow_validator.ts +183 -1
- package/src/resources/assets/assets.ts +766 -132
- package/src/resources/assets/download.ts +61 -9
- 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 +2935 -512
- package/src/resources/index.ts +37 -0
- package/src/resources/jobs.ts +277 -121
- package/src/resources/models/description.ts +126 -2
- package/src/resources/models/examples.ts +318 -92
- package/src/resources/models/index.ts +25 -0
- package/src/resources/models/models.ts +463 -124
- 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 +202 -87
- 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 +220 -8
- 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 +30 -7
- package/src/resources/usages.ts +98 -50
- package/src/resources/workflows.ts +2053 -434
- 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
|
@@ -154,6 +154,15 @@ export declare namespace ExampleUpdateResponse {
|
|
|
154
154
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
155
155
|
*/
|
|
156
156
|
originalFileUrl?: string;
|
|
157
|
+
/**
|
|
158
|
+
* The mime type of the original file url.
|
|
159
|
+
*
|
|
160
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
161
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
162
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
163
|
+
* Omitted when the stored format could not be determined.
|
|
164
|
+
*/
|
|
165
|
+
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';
|
|
157
166
|
/**
|
|
158
167
|
* The output index of the asset within a job This index is an positive integer
|
|
159
168
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -167,12 +176,12 @@ export declare namespace ExampleUpdateResponse {
|
|
|
167
176
|
*/
|
|
168
177
|
preview?: Asset.Preview;
|
|
169
178
|
/**
|
|
170
|
-
*
|
|
179
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
171
180
|
*
|
|
172
181
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
173
|
-
* asset is read with `
|
|
182
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
174
183
|
*/
|
|
175
|
-
|
|
184
|
+
qualityGate?: Asset.QualityGate;
|
|
176
185
|
/**
|
|
177
186
|
* The asset's thumbnail.
|
|
178
187
|
*
|
|
@@ -272,6 +281,11 @@ export declare namespace ExampleUpdateResponse {
|
|
|
272
281
|
* Contrast factor for Grayscale detector
|
|
273
282
|
*/
|
|
274
283
|
factor?: number;
|
|
284
|
+
/**
|
|
285
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
286
|
+
* kept as delivered.
|
|
287
|
+
*/
|
|
288
|
+
fileName?: string;
|
|
275
289
|
filterSpeckle?: number;
|
|
276
290
|
/**
|
|
277
291
|
* Determine the scale at which the upscale process works.
|
|
@@ -345,6 +359,10 @@ export declare namespace ExampleUpdateResponse {
|
|
|
345
359
|
* To invert the relief
|
|
346
360
|
*/
|
|
347
361
|
invert?: boolean;
|
|
362
|
+
/**
|
|
363
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
364
|
+
*/
|
|
365
|
+
keepsFileNames?: boolean;
|
|
348
366
|
/**
|
|
349
367
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
350
368
|
*/
|
|
@@ -789,12 +807,12 @@ export declare namespace ExampleUpdateResponse {
|
|
|
789
807
|
url: string;
|
|
790
808
|
}
|
|
791
809
|
/**
|
|
792
|
-
*
|
|
810
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
793
811
|
*
|
|
794
812
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
795
|
-
* asset is read with `
|
|
813
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
796
814
|
*/
|
|
797
|
-
interface
|
|
815
|
+
interface QualityGate {
|
|
798
816
|
/**
|
|
799
817
|
* ISO-8601 timestamp of when scoring ran
|
|
800
818
|
*/
|
|
@@ -822,13 +840,13 @@ export declare namespace ExampleUpdateResponse {
|
|
|
822
840
|
/**
|
|
823
841
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
824
842
|
*
|
|
825
|
-
* Returned only when the asset is read with `
|
|
843
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
826
844
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
827
845
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
828
846
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
829
847
|
* version, or an unreadable archive).
|
|
830
848
|
*/
|
|
831
|
-
details?:
|
|
849
|
+
details?: QualityGate.Details;
|
|
832
850
|
/**
|
|
833
851
|
* Error message when status is 'error' (truncated)
|
|
834
852
|
*/
|
|
@@ -846,11 +864,11 @@ export declare namespace ExampleUpdateResponse {
|
|
|
846
864
|
*/
|
|
847
865
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
848
866
|
}
|
|
849
|
-
namespace
|
|
867
|
+
namespace QualityGate {
|
|
850
868
|
/**
|
|
851
869
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
852
870
|
*
|
|
853
|
-
* Returned only when the asset is read with `
|
|
871
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
854
872
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
855
873
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
856
874
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -1292,7 +1310,7 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1292
1310
|
/**
|
|
1293
1311
|
* The type of the job for the node.
|
|
1294
1312
|
*/
|
|
1295
|
-
type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'workflow';
|
|
1313
|
+
type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'user-selection' | 'workflow';
|
|
1296
1314
|
/**
|
|
1297
1315
|
* List of produced assets for this node.
|
|
1298
1316
|
*/
|
|
@@ -1317,13 +1335,14 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1317
1335
|
*/
|
|
1318
1336
|
includeOutputsInWorkflowJob?: true;
|
|
1319
1337
|
/**
|
|
1320
|
-
* The inputs of the node.
|
|
1338
|
+
* The inputs of the node. For a user-selection node, the array input's `min`/`max`
|
|
1339
|
+
* bound how many items the user may pick (defaults: 1 and 100); conditional
|
|
1340
|
+
* connections may be present as additional inputs.
|
|
1321
1341
|
*/
|
|
1322
1342
|
inputs?: Array<Flow.Input>;
|
|
1323
1343
|
/**
|
|
1324
|
-
* Statically-configured items for a List node
|
|
1325
|
-
*
|
|
1326
|
-
* numbers, or asset IDs.
|
|
1344
|
+
* Statically-configured items for a List node, or the frozen candidate list of a
|
|
1345
|
+
* UserSelection node. The values can be strings, numbers, or asset IDs.
|
|
1327
1346
|
*/
|
|
1328
1347
|
items?: Array<string>;
|
|
1329
1348
|
/**
|
|
@@ -1440,7 +1459,9 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1440
1459
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
1441
1460
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
1442
1461
|
* not able to create the asset on the flight on API side with dataurl without
|
|
1443
|
-
* data:kind, prefix
|
|
1462
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
1463
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
1464
|
+
* generation time.
|
|
1444
1465
|
*/
|
|
1445
1466
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
1446
1467
|
/**
|
|
@@ -1463,8 +1484,9 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1463
1484
|
*/
|
|
1464
1485
|
maxDuration?: number;
|
|
1465
1486
|
/**
|
|
1466
|
-
* The maximum allowed length for \`string\`
|
|
1467
|
-
* \`string_array
|
|
1487
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
1488
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
1489
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
1468
1490
|
*/
|
|
1469
1491
|
maxLength?: number;
|
|
1470
1492
|
/**
|
|
@@ -1478,8 +1500,9 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1478
1500
|
*/
|
|
1479
1501
|
min?: number;
|
|
1480
1502
|
/**
|
|
1481
|
-
* The minimum allowed length for string
|
|
1482
|
-
* \`string_array
|
|
1503
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
1504
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
1505
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
1483
1506
|
*/
|
|
1484
1507
|
minLength?: number;
|
|
1485
1508
|
/**
|
|
@@ -1520,8 +1543,7 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1520
1543
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
1521
1544
|
* defined
|
|
1522
1545
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
1523
|
-
* - \`
|
|
1524
|
-
* value
|
|
1546
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
1525
1547
|
*
|
|
1526
1548
|
* By default, the input is not required.
|
|
1527
1549
|
*/
|
|
@@ -1598,7 +1620,9 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1598
1620
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
1599
1621
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
1600
1622
|
* not able to create the asset on the flight on API side with dataurl without
|
|
1601
|
-
* data:kind, prefix
|
|
1623
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
1624
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
1625
|
+
* generation time.
|
|
1602
1626
|
*/
|
|
1603
1627
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
1604
1628
|
/**
|
|
@@ -1621,8 +1645,9 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1621
1645
|
*/
|
|
1622
1646
|
maxDuration?: number;
|
|
1623
1647
|
/**
|
|
1624
|
-
* The maximum allowed length for \`string\`
|
|
1625
|
-
* \`string_array
|
|
1648
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
1649
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
1650
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
1626
1651
|
*/
|
|
1627
1652
|
maxLength?: number;
|
|
1628
1653
|
/**
|
|
@@ -1636,8 +1661,9 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1636
1661
|
*/
|
|
1637
1662
|
min?: number;
|
|
1638
1663
|
/**
|
|
1639
|
-
* The minimum allowed length for string
|
|
1640
|
-
* \`string_array
|
|
1664
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
1665
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
1666
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
1641
1667
|
*/
|
|
1642
1668
|
minLength?: number;
|
|
1643
1669
|
/**
|
|
@@ -1678,8 +1704,7 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1678
1704
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
1679
1705
|
* defined
|
|
1680
1706
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
1681
|
-
* - \`
|
|
1682
|
-
* value
|
|
1707
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
1683
1708
|
*
|
|
1684
1709
|
* By default, the input is not required.
|
|
1685
1710
|
*/
|
|
@@ -1729,8 +1754,7 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1729
1754
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
1730
1755
|
* defined
|
|
1731
1756
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
1732
|
-
* - \`
|
|
1733
|
-
* value
|
|
1757
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
1734
1758
|
*
|
|
1735
1759
|
* By default, the input is not required.
|
|
1736
1760
|
*/
|
|
@@ -1740,12 +1764,9 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1740
1764
|
*/
|
|
1741
1765
|
always?: boolean;
|
|
1742
1766
|
/**
|
|
1743
|
-
* Makes this input required when
|
|
1744
|
-
*
|
|
1745
|
-
* - Key: name of the input to check
|
|
1746
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
1767
|
+
* Makes this input required when other inputs have one of the listed values
|
|
1747
1768
|
*/
|
|
1748
|
-
|
|
1769
|
+
conditional?: Required.Conditional;
|
|
1749
1770
|
/**
|
|
1750
1771
|
* Makes this input required when another input is defined:
|
|
1751
1772
|
*
|
|
@@ -1761,6 +1782,24 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1761
1782
|
*/
|
|
1762
1783
|
ifNotDefined?: unknown;
|
|
1763
1784
|
}
|
|
1785
|
+
namespace Required {
|
|
1786
|
+
/**
|
|
1787
|
+
* Makes this input required when other inputs have one of the listed values
|
|
1788
|
+
*/
|
|
1789
|
+
interface Conditional {
|
|
1790
|
+
/**
|
|
1791
|
+
* The conditions to check:
|
|
1792
|
+
*
|
|
1793
|
+
* - Key: name of the input to check
|
|
1794
|
+
* - Value: values of that input that satisfy the condition
|
|
1795
|
+
*/
|
|
1796
|
+
values: unknown;
|
|
1797
|
+
/**
|
|
1798
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
1799
|
+
*/
|
|
1800
|
+
operator?: 'and' | 'or';
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1764
1803
|
}
|
|
1765
1804
|
/**
|
|
1766
1805
|
* The reference to another input or output of the same workflow. Must have at
|
|
@@ -1796,8 +1835,7 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1796
1835
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
1797
1836
|
* defined
|
|
1798
1837
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
1799
|
-
* - \`
|
|
1800
|
-
* value
|
|
1838
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
1801
1839
|
*
|
|
1802
1840
|
* By default, the input is not required.
|
|
1803
1841
|
*/
|
|
@@ -1807,12 +1845,9 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1807
1845
|
*/
|
|
1808
1846
|
always?: boolean;
|
|
1809
1847
|
/**
|
|
1810
|
-
* Makes this input required when
|
|
1811
|
-
*
|
|
1812
|
-
* - Key: name of the input to check
|
|
1813
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
1848
|
+
* Makes this input required when other inputs have one of the listed values
|
|
1814
1849
|
*/
|
|
1815
|
-
|
|
1850
|
+
conditional?: Required.Conditional;
|
|
1816
1851
|
/**
|
|
1817
1852
|
* Makes this input required when another input is defined:
|
|
1818
1853
|
*
|
|
@@ -1828,6 +1863,24 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1828
1863
|
*/
|
|
1829
1864
|
ifNotDefined?: unknown;
|
|
1830
1865
|
}
|
|
1866
|
+
namespace Required {
|
|
1867
|
+
/**
|
|
1868
|
+
* Makes this input required when other inputs have one of the listed values
|
|
1869
|
+
*/
|
|
1870
|
+
interface Conditional {
|
|
1871
|
+
/**
|
|
1872
|
+
* The conditions to check:
|
|
1873
|
+
*
|
|
1874
|
+
* - Key: name of the input to check
|
|
1875
|
+
* - Value: values of that input that satisfy the condition
|
|
1876
|
+
*/
|
|
1877
|
+
values: unknown;
|
|
1878
|
+
/**
|
|
1879
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
1880
|
+
*/
|
|
1881
|
+
operator?: 'and' | 'or';
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1831
1884
|
}
|
|
1832
1885
|
/**
|
|
1833
1886
|
* The logic of the node. Only available for logic nodes.
|
|
@@ -1867,7 +1920,7 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1867
1920
|
cuDiscount: number;
|
|
1868
1921
|
/**
|
|
1869
1922
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
1870
|
-
* top of the generation itself, such as `
|
|
1923
|
+
* top of the generation itself, such as `quality-gate`.
|
|
1871
1924
|
*
|
|
1872
1925
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
1873
1926
|
* values here.
|
|
@@ -1895,7 +1948,7 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1895
1948
|
namespace Billing {
|
|
1896
1949
|
/**
|
|
1897
1950
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
1898
|
-
* top of the generation itself, such as `
|
|
1951
|
+
* top of the generation itself, such as `quality-gate`.
|
|
1899
1952
|
*
|
|
1900
1953
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
1901
1954
|
* values here.
|
|
@@ -1914,7 +1967,7 @@ export declare namespace ExampleUpdateResponse {
|
|
|
1914
1967
|
*/
|
|
1915
1968
|
interface CuCostDetails {
|
|
1916
1969
|
'ip-detection'?: number;
|
|
1917
|
-
'
|
|
1970
|
+
'quality-gate'?: number;
|
|
1918
1971
|
}
|
|
1919
1972
|
}
|
|
1920
1973
|
}
|
|
@@ -2063,6 +2116,15 @@ export declare namespace ExampleListResponse {
|
|
|
2063
2116
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
2064
2117
|
*/
|
|
2065
2118
|
originalFileUrl?: string;
|
|
2119
|
+
/**
|
|
2120
|
+
* The mime type of the original file url.
|
|
2121
|
+
*
|
|
2122
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
2123
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
2124
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
2125
|
+
* Omitted when the stored format could not be determined.
|
|
2126
|
+
*/
|
|
2127
|
+
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';
|
|
2066
2128
|
/**
|
|
2067
2129
|
* The output index of the asset within a job This index is an positive integer
|
|
2068
2130
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -2076,12 +2138,12 @@ export declare namespace ExampleListResponse {
|
|
|
2076
2138
|
*/
|
|
2077
2139
|
preview?: Asset.Preview;
|
|
2078
2140
|
/**
|
|
2079
|
-
*
|
|
2141
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
2080
2142
|
*
|
|
2081
2143
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
2082
|
-
* asset is read with `
|
|
2144
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
2083
2145
|
*/
|
|
2084
|
-
|
|
2146
|
+
qualityGate?: Asset.QualityGate;
|
|
2085
2147
|
/**
|
|
2086
2148
|
* The asset's thumbnail.
|
|
2087
2149
|
*
|
|
@@ -2181,6 +2243,11 @@ export declare namespace ExampleListResponse {
|
|
|
2181
2243
|
* Contrast factor for Grayscale detector
|
|
2182
2244
|
*/
|
|
2183
2245
|
factor?: number;
|
|
2246
|
+
/**
|
|
2247
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
2248
|
+
* kept as delivered.
|
|
2249
|
+
*/
|
|
2250
|
+
fileName?: string;
|
|
2184
2251
|
filterSpeckle?: number;
|
|
2185
2252
|
/**
|
|
2186
2253
|
* Determine the scale at which the upscale process works.
|
|
@@ -2254,6 +2321,10 @@ export declare namespace ExampleListResponse {
|
|
|
2254
2321
|
* To invert the relief
|
|
2255
2322
|
*/
|
|
2256
2323
|
invert?: boolean;
|
|
2324
|
+
/**
|
|
2325
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
2326
|
+
*/
|
|
2327
|
+
keepsFileNames?: boolean;
|
|
2257
2328
|
/**
|
|
2258
2329
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
2259
2330
|
*/
|
|
@@ -2698,12 +2769,12 @@ export declare namespace ExampleListResponse {
|
|
|
2698
2769
|
url: string;
|
|
2699
2770
|
}
|
|
2700
2771
|
/**
|
|
2701
|
-
*
|
|
2772
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
2702
2773
|
*
|
|
2703
2774
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
2704
|
-
* asset is read with `
|
|
2775
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
2705
2776
|
*/
|
|
2706
|
-
interface
|
|
2777
|
+
interface QualityGate {
|
|
2707
2778
|
/**
|
|
2708
2779
|
* ISO-8601 timestamp of when scoring ran
|
|
2709
2780
|
*/
|
|
@@ -2731,13 +2802,13 @@ export declare namespace ExampleListResponse {
|
|
|
2731
2802
|
/**
|
|
2732
2803
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2733
2804
|
*
|
|
2734
|
-
* Returned only when the asset is read with `
|
|
2805
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2735
2806
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2736
2807
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2737
2808
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
2738
2809
|
* version, or an unreadable archive).
|
|
2739
2810
|
*/
|
|
2740
|
-
details?:
|
|
2811
|
+
details?: QualityGate.Details;
|
|
2741
2812
|
/**
|
|
2742
2813
|
* Error message when status is 'error' (truncated)
|
|
2743
2814
|
*/
|
|
@@ -2755,11 +2826,11 @@ export declare namespace ExampleListResponse {
|
|
|
2755
2826
|
*/
|
|
2756
2827
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
2757
2828
|
}
|
|
2758
|
-
namespace
|
|
2829
|
+
namespace QualityGate {
|
|
2759
2830
|
/**
|
|
2760
2831
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2761
2832
|
*
|
|
2762
|
-
* Returned only when the asset is read with `
|
|
2833
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2763
2834
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2764
2835
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2765
2836
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -3201,7 +3272,7 @@ export declare namespace ExampleListResponse {
|
|
|
3201
3272
|
/**
|
|
3202
3273
|
* The type of the job for the node.
|
|
3203
3274
|
*/
|
|
3204
|
-
type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'workflow';
|
|
3275
|
+
type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'user-selection' | 'workflow';
|
|
3205
3276
|
/**
|
|
3206
3277
|
* List of produced assets for this node.
|
|
3207
3278
|
*/
|
|
@@ -3226,13 +3297,14 @@ export declare namespace ExampleListResponse {
|
|
|
3226
3297
|
*/
|
|
3227
3298
|
includeOutputsInWorkflowJob?: true;
|
|
3228
3299
|
/**
|
|
3229
|
-
* The inputs of the node.
|
|
3300
|
+
* The inputs of the node. For a user-selection node, the array input's `min`/`max`
|
|
3301
|
+
* bound how many items the user may pick (defaults: 1 and 100); conditional
|
|
3302
|
+
* connections may be present as additional inputs.
|
|
3230
3303
|
*/
|
|
3231
3304
|
inputs?: Array<Flow.Input>;
|
|
3232
3305
|
/**
|
|
3233
|
-
* Statically-configured items for a List node
|
|
3234
|
-
*
|
|
3235
|
-
* numbers, or asset IDs.
|
|
3306
|
+
* Statically-configured items for a List node, or the frozen candidate list of a
|
|
3307
|
+
* UserSelection node. The values can be strings, numbers, or asset IDs.
|
|
3236
3308
|
*/
|
|
3237
3309
|
items?: Array<string>;
|
|
3238
3310
|
/**
|
|
@@ -3349,7 +3421,9 @@ export declare namespace ExampleListResponse {
|
|
|
3349
3421
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
3350
3422
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
3351
3423
|
* not able to create the asset on the flight on API side with dataurl without
|
|
3352
|
-
* data:kind, prefix
|
|
3424
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
3425
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
3426
|
+
* generation time.
|
|
3353
3427
|
*/
|
|
3354
3428
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
3355
3429
|
/**
|
|
@@ -3372,8 +3446,9 @@ export declare namespace ExampleListResponse {
|
|
|
3372
3446
|
*/
|
|
3373
3447
|
maxDuration?: number;
|
|
3374
3448
|
/**
|
|
3375
|
-
* The maximum allowed length for \`string\`
|
|
3376
|
-
* \`string_array
|
|
3449
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
3450
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
3451
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
3377
3452
|
*/
|
|
3378
3453
|
maxLength?: number;
|
|
3379
3454
|
/**
|
|
@@ -3387,8 +3462,9 @@ export declare namespace ExampleListResponse {
|
|
|
3387
3462
|
*/
|
|
3388
3463
|
min?: number;
|
|
3389
3464
|
/**
|
|
3390
|
-
* The minimum allowed length for string
|
|
3391
|
-
* \`string_array
|
|
3465
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
3466
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
3467
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
3392
3468
|
*/
|
|
3393
3469
|
minLength?: number;
|
|
3394
3470
|
/**
|
|
@@ -3429,8 +3505,7 @@ export declare namespace ExampleListResponse {
|
|
|
3429
3505
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
3430
3506
|
* defined
|
|
3431
3507
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
3432
|
-
* - \`
|
|
3433
|
-
* value
|
|
3508
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
3434
3509
|
*
|
|
3435
3510
|
* By default, the input is not required.
|
|
3436
3511
|
*/
|
|
@@ -3507,7 +3582,9 @@ export declare namespace ExampleListResponse {
|
|
|
3507
3582
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
3508
3583
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
3509
3584
|
* not able to create the asset on the flight on API side with dataurl without
|
|
3510
|
-
* data:kind, prefix
|
|
3585
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
3586
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
3587
|
+
* generation time.
|
|
3511
3588
|
*/
|
|
3512
3589
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
3513
3590
|
/**
|
|
@@ -3530,8 +3607,9 @@ export declare namespace ExampleListResponse {
|
|
|
3530
3607
|
*/
|
|
3531
3608
|
maxDuration?: number;
|
|
3532
3609
|
/**
|
|
3533
|
-
* The maximum allowed length for \`string\`
|
|
3534
|
-
* \`string_array
|
|
3610
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
3611
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
3612
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
3535
3613
|
*/
|
|
3536
3614
|
maxLength?: number;
|
|
3537
3615
|
/**
|
|
@@ -3545,8 +3623,9 @@ export declare namespace ExampleListResponse {
|
|
|
3545
3623
|
*/
|
|
3546
3624
|
min?: number;
|
|
3547
3625
|
/**
|
|
3548
|
-
* The minimum allowed length for string
|
|
3549
|
-
* \`string_array
|
|
3626
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
3627
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
3628
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
3550
3629
|
*/
|
|
3551
3630
|
minLength?: number;
|
|
3552
3631
|
/**
|
|
@@ -3587,8 +3666,7 @@ export declare namespace ExampleListResponse {
|
|
|
3587
3666
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
3588
3667
|
* defined
|
|
3589
3668
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
3590
|
-
* - \`
|
|
3591
|
-
* value
|
|
3669
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
3592
3670
|
*
|
|
3593
3671
|
* By default, the input is not required.
|
|
3594
3672
|
*/
|
|
@@ -3638,8 +3716,7 @@ export declare namespace ExampleListResponse {
|
|
|
3638
3716
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
3639
3717
|
* defined
|
|
3640
3718
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
3641
|
-
* - \`
|
|
3642
|
-
* value
|
|
3719
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
3643
3720
|
*
|
|
3644
3721
|
* By default, the input is not required.
|
|
3645
3722
|
*/
|
|
@@ -3649,12 +3726,9 @@ export declare namespace ExampleListResponse {
|
|
|
3649
3726
|
*/
|
|
3650
3727
|
always?: boolean;
|
|
3651
3728
|
/**
|
|
3652
|
-
* Makes this input required when
|
|
3653
|
-
*
|
|
3654
|
-
* - Key: name of the input to check
|
|
3655
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
3729
|
+
* Makes this input required when other inputs have one of the listed values
|
|
3656
3730
|
*/
|
|
3657
|
-
|
|
3731
|
+
conditional?: Required.Conditional;
|
|
3658
3732
|
/**
|
|
3659
3733
|
* Makes this input required when another input is defined:
|
|
3660
3734
|
*
|
|
@@ -3670,6 +3744,24 @@ export declare namespace ExampleListResponse {
|
|
|
3670
3744
|
*/
|
|
3671
3745
|
ifNotDefined?: unknown;
|
|
3672
3746
|
}
|
|
3747
|
+
namespace Required {
|
|
3748
|
+
/**
|
|
3749
|
+
* Makes this input required when other inputs have one of the listed values
|
|
3750
|
+
*/
|
|
3751
|
+
interface Conditional {
|
|
3752
|
+
/**
|
|
3753
|
+
* The conditions to check:
|
|
3754
|
+
*
|
|
3755
|
+
* - Key: name of the input to check
|
|
3756
|
+
* - Value: values of that input that satisfy the condition
|
|
3757
|
+
*/
|
|
3758
|
+
values: unknown;
|
|
3759
|
+
/**
|
|
3760
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
3761
|
+
*/
|
|
3762
|
+
operator?: 'and' | 'or';
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3673
3765
|
}
|
|
3674
3766
|
/**
|
|
3675
3767
|
* The reference to another input or output of the same workflow. Must have at
|
|
@@ -3705,8 +3797,7 @@ export declare namespace ExampleListResponse {
|
|
|
3705
3797
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
3706
3798
|
* defined
|
|
3707
3799
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
3708
|
-
* - \`
|
|
3709
|
-
* value
|
|
3800
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
3710
3801
|
*
|
|
3711
3802
|
* By default, the input is not required.
|
|
3712
3803
|
*/
|
|
@@ -3716,12 +3807,9 @@ export declare namespace ExampleListResponse {
|
|
|
3716
3807
|
*/
|
|
3717
3808
|
always?: boolean;
|
|
3718
3809
|
/**
|
|
3719
|
-
* Makes this input required when
|
|
3720
|
-
*
|
|
3721
|
-
* - Key: name of the input to check
|
|
3722
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
3810
|
+
* Makes this input required when other inputs have one of the listed values
|
|
3723
3811
|
*/
|
|
3724
|
-
|
|
3812
|
+
conditional?: Required.Conditional;
|
|
3725
3813
|
/**
|
|
3726
3814
|
* Makes this input required when another input is defined:
|
|
3727
3815
|
*
|
|
@@ -3737,6 +3825,24 @@ export declare namespace ExampleListResponse {
|
|
|
3737
3825
|
*/
|
|
3738
3826
|
ifNotDefined?: unknown;
|
|
3739
3827
|
}
|
|
3828
|
+
namespace Required {
|
|
3829
|
+
/**
|
|
3830
|
+
* Makes this input required when other inputs have one of the listed values
|
|
3831
|
+
*/
|
|
3832
|
+
interface Conditional {
|
|
3833
|
+
/**
|
|
3834
|
+
* The conditions to check:
|
|
3835
|
+
*
|
|
3836
|
+
* - Key: name of the input to check
|
|
3837
|
+
* - Value: values of that input that satisfy the condition
|
|
3838
|
+
*/
|
|
3839
|
+
values: unknown;
|
|
3840
|
+
/**
|
|
3841
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
3842
|
+
*/
|
|
3843
|
+
operator?: 'and' | 'or';
|
|
3844
|
+
}
|
|
3845
|
+
}
|
|
3740
3846
|
}
|
|
3741
3847
|
/**
|
|
3742
3848
|
* The logic of the node. Only available for logic nodes.
|
|
@@ -3776,7 +3882,7 @@ export declare namespace ExampleListResponse {
|
|
|
3776
3882
|
cuDiscount: number;
|
|
3777
3883
|
/**
|
|
3778
3884
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
3779
|
-
* top of the generation itself, such as `
|
|
3885
|
+
* top of the generation itself, such as `quality-gate`.
|
|
3780
3886
|
*
|
|
3781
3887
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
3782
3888
|
* values here.
|
|
@@ -3804,7 +3910,7 @@ export declare namespace ExampleListResponse {
|
|
|
3804
3910
|
namespace Billing {
|
|
3805
3911
|
/**
|
|
3806
3912
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
3807
|
-
* top of the generation itself, such as `
|
|
3913
|
+
* top of the generation itself, such as `quality-gate`.
|
|
3808
3914
|
*
|
|
3809
3915
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
3810
3916
|
* values here.
|
|
@@ -3823,7 +3929,7 @@ export declare namespace ExampleListResponse {
|
|
|
3823
3929
|
*/
|
|
3824
3930
|
interface CuCostDetails {
|
|
3825
3931
|
'ip-detection'?: number;
|
|
3826
|
-
'
|
|
3932
|
+
'quality-gate'?: number;
|
|
3827
3933
|
}
|
|
3828
3934
|
}
|
|
3829
3935
|
}
|