@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
|
@@ -174,6 +174,15 @@ export declare namespace AssetRetrieveResponse {
|
|
|
174
174
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
175
175
|
*/
|
|
176
176
|
originalFileUrl?: string;
|
|
177
|
+
/**
|
|
178
|
+
* The mime type of the original file url.
|
|
179
|
+
*
|
|
180
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
181
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
182
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
183
|
+
* Omitted when the stored format could not be determined.
|
|
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/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';
|
|
177
186
|
/**
|
|
178
187
|
* The output index of the asset within a job This index is an positive integer
|
|
179
188
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -187,12 +196,12 @@ export declare namespace AssetRetrieveResponse {
|
|
|
187
196
|
*/
|
|
188
197
|
preview?: Asset.Preview;
|
|
189
198
|
/**
|
|
190
|
-
*
|
|
199
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
191
200
|
*
|
|
192
201
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
193
|
-
* asset is read with `
|
|
202
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
194
203
|
*/
|
|
195
|
-
|
|
204
|
+
qualityGate?: Asset.QualityGate;
|
|
196
205
|
/**
|
|
197
206
|
* The asset's thumbnail.
|
|
198
207
|
*
|
|
@@ -292,6 +301,11 @@ export declare namespace AssetRetrieveResponse {
|
|
|
292
301
|
* Contrast factor for Grayscale detector
|
|
293
302
|
*/
|
|
294
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;
|
|
295
309
|
filterSpeckle?: number;
|
|
296
310
|
/**
|
|
297
311
|
* Determine the scale at which the upscale process works.
|
|
@@ -365,6 +379,10 @@ export declare namespace AssetRetrieveResponse {
|
|
|
365
379
|
* To invert the relief
|
|
366
380
|
*/
|
|
367
381
|
invert?: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
384
|
+
*/
|
|
385
|
+
keepsFileNames?: boolean;
|
|
368
386
|
/**
|
|
369
387
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
370
388
|
*/
|
|
@@ -809,12 +827,12 @@ export declare namespace AssetRetrieveResponse {
|
|
|
809
827
|
url: string;
|
|
810
828
|
}
|
|
811
829
|
/**
|
|
812
|
-
*
|
|
830
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
813
831
|
*
|
|
814
832
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
815
|
-
* asset is read with `
|
|
833
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
816
834
|
*/
|
|
817
|
-
interface
|
|
835
|
+
interface QualityGate {
|
|
818
836
|
/**
|
|
819
837
|
* ISO-8601 timestamp of when scoring ran
|
|
820
838
|
*/
|
|
@@ -842,13 +860,13 @@ export declare namespace AssetRetrieveResponse {
|
|
|
842
860
|
/**
|
|
843
861
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
844
862
|
*
|
|
845
|
-
* Returned only when the asset is read with `
|
|
863
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
846
864
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
847
865
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
848
866
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
849
867
|
* version, or an unreadable archive).
|
|
850
868
|
*/
|
|
851
|
-
details?:
|
|
869
|
+
details?: QualityGate.Details;
|
|
852
870
|
/**
|
|
853
871
|
* Error message when status is 'error' (truncated)
|
|
854
872
|
*/
|
|
@@ -866,11 +884,11 @@ export declare namespace AssetRetrieveResponse {
|
|
|
866
884
|
*/
|
|
867
885
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
868
886
|
}
|
|
869
|
-
namespace
|
|
887
|
+
namespace QualityGate {
|
|
870
888
|
/**
|
|
871
889
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
872
890
|
*
|
|
873
|
-
* Returned only when the asset is read with `
|
|
891
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
874
892
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
875
893
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
876
894
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -1051,6 +1069,15 @@ export declare namespace AssetUpdateResponse {
|
|
|
1051
1069
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
1052
1070
|
*/
|
|
1053
1071
|
originalFileUrl?: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* The mime type of the original file url.
|
|
1074
|
+
*
|
|
1075
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
1076
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
1077
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
1078
|
+
* Omitted when the stored format could not be determined.
|
|
1079
|
+
*/
|
|
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';
|
|
1054
1081
|
/**
|
|
1055
1082
|
* The output index of the asset within a job This index is an positive integer
|
|
1056
1083
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -1064,12 +1091,12 @@ export declare namespace AssetUpdateResponse {
|
|
|
1064
1091
|
*/
|
|
1065
1092
|
preview?: Asset.Preview;
|
|
1066
1093
|
/**
|
|
1067
|
-
*
|
|
1094
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1068
1095
|
*
|
|
1069
1096
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1070
|
-
* asset is read with `
|
|
1097
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1071
1098
|
*/
|
|
1072
|
-
|
|
1099
|
+
qualityGate?: Asset.QualityGate;
|
|
1073
1100
|
/**
|
|
1074
1101
|
* The asset's thumbnail.
|
|
1075
1102
|
*
|
|
@@ -1169,6 +1196,11 @@ export declare namespace AssetUpdateResponse {
|
|
|
1169
1196
|
* Contrast factor for Grayscale detector
|
|
1170
1197
|
*/
|
|
1171
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;
|
|
1172
1204
|
filterSpeckle?: number;
|
|
1173
1205
|
/**
|
|
1174
1206
|
* Determine the scale at which the upscale process works.
|
|
@@ -1242,6 +1274,10 @@ export declare namespace AssetUpdateResponse {
|
|
|
1242
1274
|
* To invert the relief
|
|
1243
1275
|
*/
|
|
1244
1276
|
invert?: boolean;
|
|
1277
|
+
/**
|
|
1278
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
1279
|
+
*/
|
|
1280
|
+
keepsFileNames?: boolean;
|
|
1245
1281
|
/**
|
|
1246
1282
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
1247
1283
|
*/
|
|
@@ -1686,12 +1722,12 @@ export declare namespace AssetUpdateResponse {
|
|
|
1686
1722
|
url: string;
|
|
1687
1723
|
}
|
|
1688
1724
|
/**
|
|
1689
|
-
*
|
|
1725
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1690
1726
|
*
|
|
1691
1727
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1692
|
-
* asset is read with `
|
|
1728
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1693
1729
|
*/
|
|
1694
|
-
interface
|
|
1730
|
+
interface QualityGate {
|
|
1695
1731
|
/**
|
|
1696
1732
|
* ISO-8601 timestamp of when scoring ran
|
|
1697
1733
|
*/
|
|
@@ -1719,13 +1755,13 @@ export declare namespace AssetUpdateResponse {
|
|
|
1719
1755
|
/**
|
|
1720
1756
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1721
1757
|
*
|
|
1722
|
-
* Returned only when the asset is read with `
|
|
1758
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1723
1759
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1724
1760
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1725
1761
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
1726
1762
|
* version, or an unreadable archive).
|
|
1727
1763
|
*/
|
|
1728
|
-
details?:
|
|
1764
|
+
details?: QualityGate.Details;
|
|
1729
1765
|
/**
|
|
1730
1766
|
* Error message when status is 'error' (truncated)
|
|
1731
1767
|
*/
|
|
@@ -1743,11 +1779,11 @@ export declare namespace AssetUpdateResponse {
|
|
|
1743
1779
|
*/
|
|
1744
1780
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
1745
1781
|
}
|
|
1746
|
-
namespace
|
|
1782
|
+
namespace QualityGate {
|
|
1747
1783
|
/**
|
|
1748
1784
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1749
1785
|
*
|
|
1750
|
-
* Returned only when the asset is read with `
|
|
1786
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1751
1787
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1752
1788
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1753
1789
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -1924,6 +1960,15 @@ export interface AssetListResponse {
|
|
|
1924
1960
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
1925
1961
|
*/
|
|
1926
1962
|
originalFileUrl?: string;
|
|
1963
|
+
/**
|
|
1964
|
+
* The mime type of the original file url.
|
|
1965
|
+
*
|
|
1966
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
1967
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
1968
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
1969
|
+
* Omitted when the stored format could not be determined.
|
|
1970
|
+
*/
|
|
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';
|
|
1927
1972
|
/**
|
|
1928
1973
|
* The output index of the asset within a job This index is an positive integer
|
|
1929
1974
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -1937,12 +1982,12 @@ export interface AssetListResponse {
|
|
|
1937
1982
|
*/
|
|
1938
1983
|
preview?: AssetListResponse.Preview;
|
|
1939
1984
|
/**
|
|
1940
|
-
*
|
|
1985
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1941
1986
|
*
|
|
1942
1987
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1943
|
-
* asset is read with `
|
|
1988
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1944
1989
|
*/
|
|
1945
|
-
|
|
1990
|
+
qualityGate?: AssetListResponse.QualityGate;
|
|
1946
1991
|
/**
|
|
1947
1992
|
* The asset's thumbnail.
|
|
1948
1993
|
*
|
|
@@ -2042,6 +2087,11 @@ export declare namespace AssetListResponse {
|
|
|
2042
2087
|
* Contrast factor for Grayscale detector
|
|
2043
2088
|
*/
|
|
2044
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;
|
|
2045
2095
|
filterSpeckle?: number;
|
|
2046
2096
|
/**
|
|
2047
2097
|
* Determine the scale at which the upscale process works.
|
|
@@ -2115,6 +2165,10 @@ export declare namespace AssetListResponse {
|
|
|
2115
2165
|
* To invert the relief
|
|
2116
2166
|
*/
|
|
2117
2167
|
invert?: boolean;
|
|
2168
|
+
/**
|
|
2169
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
2170
|
+
*/
|
|
2171
|
+
keepsFileNames?: boolean;
|
|
2118
2172
|
/**
|
|
2119
2173
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
2120
2174
|
*/
|
|
@@ -2559,12 +2613,12 @@ export declare namespace AssetListResponse {
|
|
|
2559
2613
|
url: string;
|
|
2560
2614
|
}
|
|
2561
2615
|
/**
|
|
2562
|
-
*
|
|
2616
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
2563
2617
|
*
|
|
2564
2618
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
2565
|
-
* asset is read with `
|
|
2619
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
2566
2620
|
*/
|
|
2567
|
-
interface
|
|
2621
|
+
interface QualityGate {
|
|
2568
2622
|
/**
|
|
2569
2623
|
* ISO-8601 timestamp of when scoring ran
|
|
2570
2624
|
*/
|
|
@@ -2592,13 +2646,13 @@ export declare namespace AssetListResponse {
|
|
|
2592
2646
|
/**
|
|
2593
2647
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2594
2648
|
*
|
|
2595
|
-
* Returned only when the asset is read with `
|
|
2649
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2596
2650
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2597
2651
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2598
2652
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
2599
2653
|
* version, or an unreadable archive).
|
|
2600
2654
|
*/
|
|
2601
|
-
details?:
|
|
2655
|
+
details?: QualityGate.Details;
|
|
2602
2656
|
/**
|
|
2603
2657
|
* Error message when status is 'error' (truncated)
|
|
2604
2658
|
*/
|
|
@@ -2616,11 +2670,11 @@ export declare namespace AssetListResponse {
|
|
|
2616
2670
|
*/
|
|
2617
2671
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
2618
2672
|
}
|
|
2619
|
-
namespace
|
|
2673
|
+
namespace QualityGate {
|
|
2620
2674
|
/**
|
|
2621
2675
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2622
2676
|
*
|
|
2623
|
-
* Returned only when the asset is read with `
|
|
2677
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2624
2678
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2625
2679
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2626
2680
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -2801,6 +2855,15 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2801
2855
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
2802
2856
|
*/
|
|
2803
2857
|
originalFileUrl?: string;
|
|
2858
|
+
/**
|
|
2859
|
+
* The mime type of the original file url.
|
|
2860
|
+
*
|
|
2861
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
2862
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
2863
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
2864
|
+
* Omitted when the stored format could not be determined.
|
|
2865
|
+
*/
|
|
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';
|
|
2804
2867
|
/**
|
|
2805
2868
|
* The output index of the asset within a job This index is an positive integer
|
|
2806
2869
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -2814,12 +2877,12 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2814
2877
|
*/
|
|
2815
2878
|
preview?: Asset.Preview;
|
|
2816
2879
|
/**
|
|
2817
|
-
*
|
|
2880
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
2818
2881
|
*
|
|
2819
2882
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
2820
|
-
* asset is read with `
|
|
2883
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
2821
2884
|
*/
|
|
2822
|
-
|
|
2885
|
+
qualityGate?: Asset.QualityGate;
|
|
2823
2886
|
/**
|
|
2824
2887
|
* The asset's thumbnail.
|
|
2825
2888
|
*
|
|
@@ -2919,6 +2982,11 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2919
2982
|
* Contrast factor for Grayscale detector
|
|
2920
2983
|
*/
|
|
2921
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;
|
|
2922
2990
|
filterSpeckle?: number;
|
|
2923
2991
|
/**
|
|
2924
2992
|
* Determine the scale at which the upscale process works.
|
|
@@ -2992,6 +3060,10 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2992
3060
|
* To invert the relief
|
|
2993
3061
|
*/
|
|
2994
3062
|
invert?: boolean;
|
|
3063
|
+
/**
|
|
3064
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
3065
|
+
*/
|
|
3066
|
+
keepsFileNames?: boolean;
|
|
2995
3067
|
/**
|
|
2996
3068
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
2997
3069
|
*/
|
|
@@ -3436,12 +3508,12 @@ export declare namespace AssetDuplicateResponse {
|
|
|
3436
3508
|
url: string;
|
|
3437
3509
|
}
|
|
3438
3510
|
/**
|
|
3439
|
-
*
|
|
3511
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3440
3512
|
*
|
|
3441
3513
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3442
|
-
* asset is read with `
|
|
3514
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3443
3515
|
*/
|
|
3444
|
-
interface
|
|
3516
|
+
interface QualityGate {
|
|
3445
3517
|
/**
|
|
3446
3518
|
* ISO-8601 timestamp of when scoring ran
|
|
3447
3519
|
*/
|
|
@@ -3469,13 +3541,13 @@ export declare namespace AssetDuplicateResponse {
|
|
|
3469
3541
|
/**
|
|
3470
3542
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
3471
3543
|
*
|
|
3472
|
-
* Returned only when the asset is read with `
|
|
3544
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
3473
3545
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
3474
3546
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
3475
3547
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
3476
3548
|
* version, or an unreadable archive).
|
|
3477
3549
|
*/
|
|
3478
|
-
details?:
|
|
3550
|
+
details?: QualityGate.Details;
|
|
3479
3551
|
/**
|
|
3480
3552
|
* Error message when status is 'error' (truncated)
|
|
3481
3553
|
*/
|
|
@@ -3493,11 +3565,11 @@ export declare namespace AssetDuplicateResponse {
|
|
|
3493
3565
|
*/
|
|
3494
3566
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
3495
3567
|
}
|
|
3496
|
-
namespace
|
|
3568
|
+
namespace QualityGate {
|
|
3497
3569
|
/**
|
|
3498
3570
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
3499
3571
|
*
|
|
3500
|
-
* Returned only when the asset is read with `
|
|
3572
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
3501
3573
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
3502
3574
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
3503
3575
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -3678,6 +3750,15 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3678
3750
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
3679
3751
|
*/
|
|
3680
3752
|
originalFileUrl?: string;
|
|
3753
|
+
/**
|
|
3754
|
+
* The mime type of the original file url.
|
|
3755
|
+
*
|
|
3756
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
3757
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
3758
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
3759
|
+
* Omitted when the stored format could not be determined.
|
|
3760
|
+
*/
|
|
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';
|
|
3681
3762
|
/**
|
|
3682
3763
|
* The output index of the asset within a job This index is an positive integer
|
|
3683
3764
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -3691,12 +3772,12 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3691
3772
|
*/
|
|
3692
3773
|
preview?: Asset.Preview;
|
|
3693
3774
|
/**
|
|
3694
|
-
*
|
|
3775
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3695
3776
|
*
|
|
3696
3777
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3697
|
-
* asset is read with `
|
|
3778
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3698
3779
|
*/
|
|
3699
|
-
|
|
3780
|
+
qualityGate?: Asset.QualityGate;
|
|
3700
3781
|
/**
|
|
3701
3782
|
* The asset's thumbnail.
|
|
3702
3783
|
*
|
|
@@ -3796,6 +3877,11 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3796
3877
|
* Contrast factor for Grayscale detector
|
|
3797
3878
|
*/
|
|
3798
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;
|
|
3799
3885
|
filterSpeckle?: number;
|
|
3800
3886
|
/**
|
|
3801
3887
|
* Determine the scale at which the upscale process works.
|
|
@@ -3869,6 +3955,10 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3869
3955
|
* To invert the relief
|
|
3870
3956
|
*/
|
|
3871
3957
|
invert?: boolean;
|
|
3958
|
+
/**
|
|
3959
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
3960
|
+
*/
|
|
3961
|
+
keepsFileNames?: boolean;
|
|
3872
3962
|
/**
|
|
3873
3963
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
3874
3964
|
*/
|
|
@@ -4313,12 +4403,12 @@ export declare namespace AssetGetBulkResponse {
|
|
|
4313
4403
|
url: string;
|
|
4314
4404
|
}
|
|
4315
4405
|
/**
|
|
4316
|
-
*
|
|
4406
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
4317
4407
|
*
|
|
4318
4408
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
4319
|
-
* asset is read with `
|
|
4409
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
4320
4410
|
*/
|
|
4321
|
-
interface
|
|
4411
|
+
interface QualityGate {
|
|
4322
4412
|
/**
|
|
4323
4413
|
* ISO-8601 timestamp of when scoring ran
|
|
4324
4414
|
*/
|
|
@@ -4346,13 +4436,13 @@ export declare namespace AssetGetBulkResponse {
|
|
|
4346
4436
|
/**
|
|
4347
4437
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
4348
4438
|
*
|
|
4349
|
-
* Returned only when the asset is read with `
|
|
4439
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
4350
4440
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
4351
4441
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
4352
4442
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
4353
4443
|
* version, or an unreadable archive).
|
|
4354
4444
|
*/
|
|
4355
|
-
details?:
|
|
4445
|
+
details?: QualityGate.Details;
|
|
4356
4446
|
/**
|
|
4357
4447
|
* Error message when status is 'error' (truncated)
|
|
4358
4448
|
*/
|
|
@@ -4370,11 +4460,11 @@ export declare namespace AssetGetBulkResponse {
|
|
|
4370
4460
|
*/
|
|
4371
4461
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
4372
4462
|
}
|
|
4373
|
-
namespace
|
|
4463
|
+
namespace QualityGate {
|
|
4374
4464
|
/**
|
|
4375
4465
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
4376
4466
|
*
|
|
4377
|
-
* Returned only when the asset is read with `
|
|
4467
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
4378
4468
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
4379
4469
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
4380
4470
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -4565,6 +4655,15 @@ export declare namespace AssetLockResponse {
|
|
|
4565
4655
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
4566
4656
|
*/
|
|
4567
4657
|
originalFileUrl?: string;
|
|
4658
|
+
/**
|
|
4659
|
+
* The mime type of the original file url.
|
|
4660
|
+
*
|
|
4661
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
4662
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
4663
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
4664
|
+
* Omitted when the stored format could not be determined.
|
|
4665
|
+
*/
|
|
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';
|
|
4568
4667
|
/**
|
|
4569
4668
|
* The output index of the asset within a job This index is an positive integer
|
|
4570
4669
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -4578,12 +4677,12 @@ export declare namespace AssetLockResponse {
|
|
|
4578
4677
|
*/
|
|
4579
4678
|
preview?: Asset.Preview;
|
|
4580
4679
|
/**
|
|
4581
|
-
*
|
|
4680
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
4582
4681
|
*
|
|
4583
4682
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
4584
|
-
* asset is read with `
|
|
4683
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
4585
4684
|
*/
|
|
4586
|
-
|
|
4685
|
+
qualityGate?: Asset.QualityGate;
|
|
4587
4686
|
/**
|
|
4588
4687
|
* The asset's thumbnail.
|
|
4589
4688
|
*
|
|
@@ -4683,6 +4782,11 @@ export declare namespace AssetLockResponse {
|
|
|
4683
4782
|
* Contrast factor for Grayscale detector
|
|
4684
4783
|
*/
|
|
4685
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;
|
|
4686
4790
|
filterSpeckle?: number;
|
|
4687
4791
|
/**
|
|
4688
4792
|
* Determine the scale at which the upscale process works.
|
|
@@ -4756,6 +4860,10 @@ export declare namespace AssetLockResponse {
|
|
|
4756
4860
|
* To invert the relief
|
|
4757
4861
|
*/
|
|
4758
4862
|
invert?: boolean;
|
|
4863
|
+
/**
|
|
4864
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
4865
|
+
*/
|
|
4866
|
+
keepsFileNames?: boolean;
|
|
4759
4867
|
/**
|
|
4760
4868
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
4761
4869
|
*/
|
|
@@ -5200,12 +5308,12 @@ export declare namespace AssetLockResponse {
|
|
|
5200
5308
|
url: string;
|
|
5201
5309
|
}
|
|
5202
5310
|
/**
|
|
5203
|
-
*
|
|
5311
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
5204
5312
|
*
|
|
5205
5313
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
5206
|
-
* asset is read with `
|
|
5314
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
5207
5315
|
*/
|
|
5208
|
-
interface
|
|
5316
|
+
interface QualityGate {
|
|
5209
5317
|
/**
|
|
5210
5318
|
* ISO-8601 timestamp of when scoring ran
|
|
5211
5319
|
*/
|
|
@@ -5233,13 +5341,13 @@ export declare namespace AssetLockResponse {
|
|
|
5233
5341
|
/**
|
|
5234
5342
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
5235
5343
|
*
|
|
5236
|
-
* Returned only when the asset is read with `
|
|
5344
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
5237
5345
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
5238
5346
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
5239
5347
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
5240
5348
|
* version, or an unreadable archive).
|
|
5241
5349
|
*/
|
|
5242
|
-
details?:
|
|
5350
|
+
details?: QualityGate.Details;
|
|
5243
5351
|
/**
|
|
5244
5352
|
* Error message when status is 'error' (truncated)
|
|
5245
5353
|
*/
|
|
@@ -5257,11 +5365,11 @@ export declare namespace AssetLockResponse {
|
|
|
5257
5365
|
*/
|
|
5258
5366
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
5259
5367
|
}
|
|
5260
|
-
namespace
|
|
5368
|
+
namespace QualityGate {
|
|
5261
5369
|
/**
|
|
5262
5370
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
5263
5371
|
*
|
|
5264
|
-
* Returned only when the asset is read with `
|
|
5372
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
5265
5373
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
5266
5374
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
5267
5375
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -5442,6 +5550,15 @@ export declare namespace AssetUnlockResponse {
|
|
|
5442
5550
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
5443
5551
|
*/
|
|
5444
5552
|
originalFileUrl?: string;
|
|
5553
|
+
/**
|
|
5554
|
+
* The mime type of the original file url.
|
|
5555
|
+
*
|
|
5556
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
5557
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
5558
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
5559
|
+
* Omitted when the stored format could not be determined.
|
|
5560
|
+
*/
|
|
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';
|
|
5445
5562
|
/**
|
|
5446
5563
|
* The output index of the asset within a job This index is an positive integer
|
|
5447
5564
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -5455,12 +5572,12 @@ export declare namespace AssetUnlockResponse {
|
|
|
5455
5572
|
*/
|
|
5456
5573
|
preview?: Asset.Preview;
|
|
5457
5574
|
/**
|
|
5458
|
-
*
|
|
5575
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
5459
5576
|
*
|
|
5460
5577
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
5461
|
-
* asset is read with `
|
|
5578
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
5462
5579
|
*/
|
|
5463
|
-
|
|
5580
|
+
qualityGate?: Asset.QualityGate;
|
|
5464
5581
|
/**
|
|
5465
5582
|
* The asset's thumbnail.
|
|
5466
5583
|
*
|
|
@@ -5560,6 +5677,11 @@ export declare namespace AssetUnlockResponse {
|
|
|
5560
5677
|
* Contrast factor for Grayscale detector
|
|
5561
5678
|
*/
|
|
5562
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;
|
|
5563
5685
|
filterSpeckle?: number;
|
|
5564
5686
|
/**
|
|
5565
5687
|
* Determine the scale at which the upscale process works.
|
|
@@ -5633,6 +5755,10 @@ export declare namespace AssetUnlockResponse {
|
|
|
5633
5755
|
* To invert the relief
|
|
5634
5756
|
*/
|
|
5635
5757
|
invert?: boolean;
|
|
5758
|
+
/**
|
|
5759
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
5760
|
+
*/
|
|
5761
|
+
keepsFileNames?: boolean;
|
|
5636
5762
|
/**
|
|
5637
5763
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
5638
5764
|
*/
|
|
@@ -6077,12 +6203,12 @@ export declare namespace AssetUnlockResponse {
|
|
|
6077
6203
|
url: string;
|
|
6078
6204
|
}
|
|
6079
6205
|
/**
|
|
6080
|
-
*
|
|
6206
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
6081
6207
|
*
|
|
6082
6208
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
6083
|
-
* asset is read with `
|
|
6209
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
6084
6210
|
*/
|
|
6085
|
-
interface
|
|
6211
|
+
interface QualityGate {
|
|
6086
6212
|
/**
|
|
6087
6213
|
* ISO-8601 timestamp of when scoring ran
|
|
6088
6214
|
*/
|
|
@@ -6110,13 +6236,13 @@ export declare namespace AssetUnlockResponse {
|
|
|
6110
6236
|
/**
|
|
6111
6237
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
6112
6238
|
*
|
|
6113
|
-
* Returned only when the asset is read with `
|
|
6239
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
6114
6240
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
6115
6241
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
6116
6242
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
6117
6243
|
* version, or an unreadable archive).
|
|
6118
6244
|
*/
|
|
6119
|
-
details?:
|
|
6245
|
+
details?: QualityGate.Details;
|
|
6120
6246
|
/**
|
|
6121
6247
|
* Error message when status is 'error' (truncated)
|
|
6122
6248
|
*/
|
|
@@ -6134,11 +6260,11 @@ export declare namespace AssetUnlockResponse {
|
|
|
6134
6260
|
*/
|
|
6135
6261
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
6136
6262
|
}
|
|
6137
|
-
namespace
|
|
6263
|
+
namespace QualityGate {
|
|
6138
6264
|
/**
|
|
6139
6265
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
6140
6266
|
*
|
|
6141
|
-
* Returned only when the asset is read with `
|
|
6267
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
6142
6268
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
6143
6269
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
6144
6270
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -6330,6 +6456,15 @@ export declare namespace AssetUploadResponse {
|
|
|
6330
6456
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
6331
6457
|
*/
|
|
6332
6458
|
originalFileUrl?: string;
|
|
6459
|
+
/**
|
|
6460
|
+
* The mime type of the original file url.
|
|
6461
|
+
*
|
|
6462
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
6463
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
6464
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
6465
|
+
* Omitted when the stored format could not be determined.
|
|
6466
|
+
*/
|
|
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';
|
|
6333
6468
|
/**
|
|
6334
6469
|
* The output index of the asset within a job This index is an positive integer
|
|
6335
6470
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -6343,12 +6478,12 @@ export declare namespace AssetUploadResponse {
|
|
|
6343
6478
|
*/
|
|
6344
6479
|
preview?: Asset.Preview;
|
|
6345
6480
|
/**
|
|
6346
|
-
*
|
|
6481
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
6347
6482
|
*
|
|
6348
6483
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
6349
|
-
* asset is read with `
|
|
6484
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
6350
6485
|
*/
|
|
6351
|
-
|
|
6486
|
+
qualityGate?: Asset.QualityGate;
|
|
6352
6487
|
/**
|
|
6353
6488
|
* The asset's thumbnail.
|
|
6354
6489
|
*
|
|
@@ -6448,6 +6583,11 @@ export declare namespace AssetUploadResponse {
|
|
|
6448
6583
|
* Contrast factor for Grayscale detector
|
|
6449
6584
|
*/
|
|
6450
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;
|
|
6451
6591
|
filterSpeckle?: number;
|
|
6452
6592
|
/**
|
|
6453
6593
|
* Determine the scale at which the upscale process works.
|
|
@@ -6521,6 +6661,10 @@ export declare namespace AssetUploadResponse {
|
|
|
6521
6661
|
* To invert the relief
|
|
6522
6662
|
*/
|
|
6523
6663
|
invert?: boolean;
|
|
6664
|
+
/**
|
|
6665
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
6666
|
+
*/
|
|
6667
|
+
keepsFileNames?: boolean;
|
|
6524
6668
|
/**
|
|
6525
6669
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
6526
6670
|
*/
|
|
@@ -6965,12 +7109,12 @@ export declare namespace AssetUploadResponse {
|
|
|
6965
7109
|
url: string;
|
|
6966
7110
|
}
|
|
6967
7111
|
/**
|
|
6968
|
-
*
|
|
7112
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
6969
7113
|
*
|
|
6970
7114
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
6971
|
-
* asset is read with `
|
|
7115
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
6972
7116
|
*/
|
|
6973
|
-
interface
|
|
7117
|
+
interface QualityGate {
|
|
6974
7118
|
/**
|
|
6975
7119
|
* ISO-8601 timestamp of when scoring ran
|
|
6976
7120
|
*/
|
|
@@ -6998,13 +7142,13 @@ export declare namespace AssetUploadResponse {
|
|
|
6998
7142
|
/**
|
|
6999
7143
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
7000
7144
|
*
|
|
7001
|
-
* Returned only when the asset is read with `
|
|
7145
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
7002
7146
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
7003
7147
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
7004
7148
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
7005
7149
|
* version, or an unreadable archive).
|
|
7006
7150
|
*/
|
|
7007
|
-
details?:
|
|
7151
|
+
details?: QualityGate.Details;
|
|
7008
7152
|
/**
|
|
7009
7153
|
* Error message when status is 'error' (truncated)
|
|
7010
7154
|
*/
|
|
@@ -7022,11 +7166,11 @@ export declare namespace AssetUploadResponse {
|
|
|
7022
7166
|
*/
|
|
7023
7167
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
7024
7168
|
}
|
|
7025
|
-
namespace
|
|
7169
|
+
namespace QualityGate {
|
|
7026
7170
|
/**
|
|
7027
7171
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
7028
7172
|
*
|
|
7029
|
-
* Returned only when the asset is read with `
|
|
7173
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
7030
7174
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
7031
7175
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
7032
7176
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -7197,7 +7341,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7197
7341
|
/**
|
|
7198
7342
|
* The type of the job for the node.
|
|
7199
7343
|
*/
|
|
7200
|
-
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';
|
|
7201
7345
|
/**
|
|
7202
7346
|
* List of produced assets for this node.
|
|
7203
7347
|
*/
|
|
@@ -7222,13 +7366,14 @@ export declare namespace AssetUploadResponse {
|
|
|
7222
7366
|
*/
|
|
7223
7367
|
includeOutputsInWorkflowJob?: true;
|
|
7224
7368
|
/**
|
|
7225
|
-
* 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.
|
|
7226
7372
|
*/
|
|
7227
7373
|
inputs?: Array<Flow.Input>;
|
|
7228
7374
|
/**
|
|
7229
|
-
* Statically-configured items for a List node
|
|
7230
|
-
*
|
|
7231
|
-
* 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.
|
|
7232
7377
|
*/
|
|
7233
7378
|
items?: Array<string>;
|
|
7234
7379
|
/**
|
|
@@ -7345,7 +7490,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7345
7490
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
7346
7491
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
7347
7492
|
* not able to create the asset on the flight on API side with dataurl without
|
|
7348
|
-
* data:kind, prefix
|
|
7493
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
7494
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
7495
|
+
* generation time.
|
|
7349
7496
|
*/
|
|
7350
7497
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
7351
7498
|
/**
|
|
@@ -7368,8 +7515,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7368
7515
|
*/
|
|
7369
7516
|
maxDuration?: number;
|
|
7370
7517
|
/**
|
|
7371
|
-
* The maximum allowed length for \`string\`
|
|
7372
|
-
* \`string_array
|
|
7518
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7519
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
7520
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
7373
7521
|
*/
|
|
7374
7522
|
maxLength?: number;
|
|
7375
7523
|
/**
|
|
@@ -7383,8 +7531,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7383
7531
|
*/
|
|
7384
7532
|
min?: number;
|
|
7385
7533
|
/**
|
|
7386
|
-
* The minimum allowed length for string
|
|
7387
|
-
* \`string_array
|
|
7534
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7535
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
7536
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
7388
7537
|
*/
|
|
7389
7538
|
minLength?: number;
|
|
7390
7539
|
/**
|
|
@@ -7425,8 +7574,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7425
7574
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
7426
7575
|
* defined
|
|
7427
7576
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
7428
|
-
* - \`
|
|
7429
|
-
* value
|
|
7577
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
7430
7578
|
*
|
|
7431
7579
|
* By default, the input is not required.
|
|
7432
7580
|
*/
|
|
@@ -7503,7 +7651,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7503
7651
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
7504
7652
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
7505
7653
|
* not able to create the asset on the flight on API side with dataurl without
|
|
7506
|
-
* data:kind, prefix
|
|
7654
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
7655
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
7656
|
+
* generation time.
|
|
7507
7657
|
*/
|
|
7508
7658
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
7509
7659
|
/**
|
|
@@ -7526,8 +7676,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7526
7676
|
*/
|
|
7527
7677
|
maxDuration?: number;
|
|
7528
7678
|
/**
|
|
7529
|
-
* The maximum allowed length for \`string\`
|
|
7530
|
-
* \`string_array
|
|
7679
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7680
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
7681
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
7531
7682
|
*/
|
|
7532
7683
|
maxLength?: number;
|
|
7533
7684
|
/**
|
|
@@ -7541,8 +7692,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7541
7692
|
*/
|
|
7542
7693
|
min?: number;
|
|
7543
7694
|
/**
|
|
7544
|
-
* The minimum allowed length for string
|
|
7545
|
-
* \`string_array
|
|
7695
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7696
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
7697
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
7546
7698
|
*/
|
|
7547
7699
|
minLength?: number;
|
|
7548
7700
|
/**
|
|
@@ -7583,8 +7735,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7583
7735
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
7584
7736
|
* defined
|
|
7585
7737
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
7586
|
-
* - \`
|
|
7587
|
-
* value
|
|
7738
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
7588
7739
|
*
|
|
7589
7740
|
* By default, the input is not required.
|
|
7590
7741
|
*/
|
|
@@ -7634,8 +7785,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7634
7785
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
7635
7786
|
* defined
|
|
7636
7787
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
7637
|
-
* - \`
|
|
7638
|
-
* value
|
|
7788
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
7639
7789
|
*
|
|
7640
7790
|
* By default, the input is not required.
|
|
7641
7791
|
*/
|
|
@@ -7645,12 +7795,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7645
7795
|
*/
|
|
7646
7796
|
always?: boolean;
|
|
7647
7797
|
/**
|
|
7648
|
-
* Makes this input required when
|
|
7649
|
-
*
|
|
7650
|
-
* - Key: name of the input to check
|
|
7651
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
7798
|
+
* Makes this input required when other inputs have one of the listed values
|
|
7652
7799
|
*/
|
|
7653
|
-
|
|
7800
|
+
conditional?: Required.Conditional;
|
|
7654
7801
|
/**
|
|
7655
7802
|
* Makes this input required when another input is defined:
|
|
7656
7803
|
*
|
|
@@ -7666,6 +7813,24 @@ export declare namespace AssetUploadResponse {
|
|
|
7666
7813
|
*/
|
|
7667
7814
|
ifNotDefined?: unknown;
|
|
7668
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
|
+
}
|
|
7669
7834
|
}
|
|
7670
7835
|
/**
|
|
7671
7836
|
* The reference to another input or output of the same workflow. Must have at
|
|
@@ -7701,8 +7866,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7701
7866
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
7702
7867
|
* defined
|
|
7703
7868
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
7704
|
-
* - \`
|
|
7705
|
-
* value
|
|
7869
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
7706
7870
|
*
|
|
7707
7871
|
* By default, the input is not required.
|
|
7708
7872
|
*/
|
|
@@ -7712,12 +7876,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7712
7876
|
*/
|
|
7713
7877
|
always?: boolean;
|
|
7714
7878
|
/**
|
|
7715
|
-
* Makes this input required when
|
|
7716
|
-
*
|
|
7717
|
-
* - Key: name of the input to check
|
|
7718
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
7879
|
+
* Makes this input required when other inputs have one of the listed values
|
|
7719
7880
|
*/
|
|
7720
|
-
|
|
7881
|
+
conditional?: Required.Conditional;
|
|
7721
7882
|
/**
|
|
7722
7883
|
* Makes this input required when another input is defined:
|
|
7723
7884
|
*
|
|
@@ -7733,6 +7894,24 @@ export declare namespace AssetUploadResponse {
|
|
|
7733
7894
|
*/
|
|
7734
7895
|
ifNotDefined?: unknown;
|
|
7735
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
|
+
}
|
|
7736
7915
|
}
|
|
7737
7916
|
/**
|
|
7738
7917
|
* The logic of the node. Only available for logic nodes.
|
|
@@ -7772,7 +7951,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7772
7951
|
cuDiscount: number;
|
|
7773
7952
|
/**
|
|
7774
7953
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
7775
|
-
* top of the generation itself, such as `
|
|
7954
|
+
* top of the generation itself, such as `quality-gate`.
|
|
7776
7955
|
*
|
|
7777
7956
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
7778
7957
|
* values here.
|
|
@@ -7800,7 +7979,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7800
7979
|
namespace Billing {
|
|
7801
7980
|
/**
|
|
7802
7981
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
7803
|
-
* top of the generation itself, such as `
|
|
7982
|
+
* top of the generation itself, such as `quality-gate`.
|
|
7804
7983
|
*
|
|
7805
7984
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
7806
7985
|
* values here.
|
|
@@ -7819,7 +7998,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7819
7998
|
*/
|
|
7820
7999
|
interface CuCostDetails {
|
|
7821
8000
|
'ip-detection'?: number;
|
|
7822
|
-
'
|
|
8001
|
+
'quality-gate'?: number;
|
|
7823
8002
|
}
|
|
7824
8003
|
}
|
|
7825
8004
|
}
|
|
@@ -7839,12 +8018,12 @@ export interface AssetRetrieveParams {
|
|
|
7839
8018
|
*/
|
|
7840
8019
|
withEmbedding?: boolean;
|
|
7841
8020
|
/**
|
|
7842
|
-
* Include the per-dimension
|
|
7843
|
-
* suggestions for each scored dimension). Honoured only when the asset belongs
|
|
7844
|
-
* the calling project, since the brief-compliance text paraphrases that
|
|
7845
|
-
* brief; ignored otherwise, including on public unauthenticated access.
|
|
8021
|
+
* Include the per-dimension Quality Gate verdict (`qualityGate.details`: reasons
|
|
8022
|
+
* and suggestions for each scored dimension). Honoured only when the asset belongs
|
|
8023
|
+
* to the calling project, since the brief-compliance text paraphrases that
|
|
8024
|
+
* project’s brief; ignored otherwise, including on public unauthenticated access.
|
|
7846
8025
|
*/
|
|
7847
|
-
|
|
8026
|
+
withQualityGateDetails?: boolean;
|
|
7848
8027
|
}
|
|
7849
8028
|
export interface AssetUpdateParams {
|
|
7850
8029
|
/**
|
|
@@ -7890,7 +8069,10 @@ export interface AssetListParams extends AssetsCursorParams {
|
|
|
7890
8069
|
* List assets generated by a specific author (the user that created the asset)
|
|
7891
8070
|
*/
|
|
7892
8071
|
authorId?: string;
|
|
7893
|
-
|
|
8072
|
+
/**
|
|
8073
|
+
* When provided, only the assets in the Collection will be returned
|
|
8074
|
+
*/
|
|
8075
|
+
collectionId?: string;
|
|
7894
8076
|
/**
|
|
7895
8077
|
* Filter results to only return assets created after the specified ISO string date
|
|
7896
8078
|
* (exclusive). Requires the sortBy parameter to be "createdAt"
|