@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
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
} from '../../core/pagination';
|
|
22
22
|
import { RequestOptions } from '../../internal/request-options';
|
|
23
23
|
import { path } from '../../internal/utils/path';
|
|
24
|
+
import { omitUndefined } from '../../internal/utils/values';
|
|
24
25
|
|
|
25
26
|
export class Assets extends APIResource {
|
|
26
27
|
download: DownloadAPI.Download = new DownloadAPI.Download(this._client);
|
|
@@ -35,7 +36,10 @@ export class Assets extends APIResource {
|
|
|
35
36
|
query: AssetRetrieveParams | null | undefined = {},
|
|
36
37
|
options?: RequestOptions,
|
|
37
38
|
): APIPromise<AssetRetrieveResponse> {
|
|
38
|
-
return this._client.get(path`/assets/${assetID}`, {
|
|
39
|
+
return this._client.get(path`/assets/${assetID}`, {
|
|
40
|
+
...options,
|
|
41
|
+
query: { ...query, ...omitUndefined(options?.query) },
|
|
42
|
+
});
|
|
39
43
|
}
|
|
40
44
|
|
|
41
45
|
/**
|
|
@@ -48,9 +52,9 @@ export class Assets extends APIResource {
|
|
|
48
52
|
): APIPromise<AssetUpdateResponse> {
|
|
49
53
|
const { originalAssets, projectId, ...body } = params;
|
|
50
54
|
return this._client.put(path`/assets/${assetID}`, {
|
|
51
|
-
query: { originalAssets, projectId },
|
|
52
55
|
body,
|
|
53
56
|
...options,
|
|
57
|
+
query: { originalAssets, projectId, ...omitUndefined(options?.query) },
|
|
54
58
|
});
|
|
55
59
|
}
|
|
56
60
|
|
|
@@ -63,7 +67,10 @@ export class Assets extends APIResource {
|
|
|
63
67
|
query: AssetListParams | null | undefined = {},
|
|
64
68
|
options?: RequestOptions,
|
|
65
69
|
): PagePromise<AssetListResponsesAssetsCursor, AssetListResponse> {
|
|
66
|
-
return this._client.getAPIList('/assets', AssetsCursor<AssetListResponse>, {
|
|
70
|
+
return this._client.getAPIList('/assets', AssetsCursor<AssetListResponse>, {
|
|
71
|
+
...options,
|
|
72
|
+
query: { ...query, ...omitUndefined(options?.query) },
|
|
73
|
+
});
|
|
67
74
|
}
|
|
68
75
|
|
|
69
76
|
/**
|
|
@@ -71,7 +78,11 @@ export class Assets extends APIResource {
|
|
|
71
78
|
*/
|
|
72
79
|
deleteMultiple(params: AssetDeleteMultipleParams, options?: RequestOptions): APIPromise<unknown> {
|
|
73
80
|
const { projectId, ...body } = params;
|
|
74
|
-
return this._client.delete('/assets', {
|
|
81
|
+
return this._client.delete('/assets', {
|
|
82
|
+
body,
|
|
83
|
+
...options,
|
|
84
|
+
query: { projectId, ...omitUndefined(options?.query) },
|
|
85
|
+
});
|
|
75
86
|
}
|
|
76
87
|
|
|
77
88
|
/**
|
|
@@ -84,9 +95,9 @@ export class Assets extends APIResource {
|
|
|
84
95
|
): APIPromise<AssetDuplicateResponse> {
|
|
85
96
|
const { originalAssets, projectId, ...body } = params;
|
|
86
97
|
return this._client.post(path`/assets/${assetID}/copy`, {
|
|
87
|
-
query: { originalAssets, projectId },
|
|
88
98
|
body,
|
|
89
99
|
...options,
|
|
100
|
+
query: { originalAssets, projectId, ...omitUndefined(options?.query) },
|
|
90
101
|
});
|
|
91
102
|
}
|
|
92
103
|
|
|
@@ -95,7 +106,11 @@ export class Assets extends APIResource {
|
|
|
95
106
|
*/
|
|
96
107
|
getBulk(params: AssetGetBulkParams, options?: RequestOptions): APIPromise<AssetGetBulkResponse> {
|
|
97
108
|
const { originalAssets, projectId, ...body } = params;
|
|
98
|
-
return this._client.post('/assets/get-bulk', {
|
|
109
|
+
return this._client.post('/assets/get-bulk', {
|
|
110
|
+
body,
|
|
111
|
+
...options,
|
|
112
|
+
query: { originalAssets, projectId, ...omitUndefined(options?.query) },
|
|
113
|
+
});
|
|
99
114
|
}
|
|
100
115
|
|
|
101
116
|
/**
|
|
@@ -109,7 +124,7 @@ export class Assets extends APIResource {
|
|
|
109
124
|
return this._client.getAPIList(
|
|
110
125
|
path`/assets/${assetID}/snapshots`,
|
|
111
126
|
SnapshotsCursor<AssetListSnapshotsResponse>,
|
|
112
|
-
{ query, ...options },
|
|
127
|
+
{ ...options, query: { ...query, ...omitUndefined(options?.query) } },
|
|
113
128
|
);
|
|
114
129
|
}
|
|
115
130
|
|
|
@@ -119,9 +134,9 @@ export class Assets extends APIResource {
|
|
|
119
134
|
lock(assetID: string, params: AssetLockParams, options?: RequestOptions): APIPromise<AssetLockResponse> {
|
|
120
135
|
const { originalAssets, projectId, ...body } = params;
|
|
121
136
|
return this._client.put(path`/assets/${assetID}/lock`, {
|
|
122
|
-
query: { originalAssets, projectId },
|
|
123
137
|
body,
|
|
124
138
|
...options,
|
|
139
|
+
query: { originalAssets, projectId, ...omitUndefined(options?.query) },
|
|
125
140
|
});
|
|
126
141
|
}
|
|
127
142
|
|
|
@@ -135,9 +150,9 @@ export class Assets extends APIResource {
|
|
|
135
150
|
): APIPromise<AssetUnlockResponse> {
|
|
136
151
|
const { originalAssets, projectId, ...body } = params;
|
|
137
152
|
return this._client.put(path`/assets/${assetID}/unlock`, {
|
|
138
|
-
query: { originalAssets, projectId },
|
|
139
153
|
body,
|
|
140
154
|
...options,
|
|
155
|
+
query: { originalAssets, projectId, ...omitUndefined(options?.query) },
|
|
141
156
|
});
|
|
142
157
|
}
|
|
143
158
|
|
|
@@ -150,7 +165,11 @@ export class Assets extends APIResource {
|
|
|
150
165
|
options?: RequestOptions,
|
|
151
166
|
): APIPromise<AssetUpdateTagsResponse> {
|
|
152
167
|
const { projectId, ...body } = params;
|
|
153
|
-
return this._client.put(path`/assets/${assetID}/tags`, {
|
|
168
|
+
return this._client.put(path`/assets/${assetID}/tags`, {
|
|
169
|
+
body,
|
|
170
|
+
...options,
|
|
171
|
+
query: { projectId, ...omitUndefined(options?.query) },
|
|
172
|
+
});
|
|
154
173
|
}
|
|
155
174
|
|
|
156
175
|
/**
|
|
@@ -158,7 +177,11 @@ export class Assets extends APIResource {
|
|
|
158
177
|
*/
|
|
159
178
|
upload(params: AssetUploadParams, options?: RequestOptions): APIPromise<AssetUploadResponse> {
|
|
160
179
|
const { originalAssets, projectId, ...body } = params;
|
|
161
|
-
return this._client.post('/assets', {
|
|
180
|
+
return this._client.post('/assets', {
|
|
181
|
+
body,
|
|
182
|
+
...options,
|
|
183
|
+
query: { originalAssets, projectId, ...omitUndefined(options?.query) },
|
|
184
|
+
});
|
|
162
185
|
}
|
|
163
186
|
}
|
|
164
187
|
|
|
@@ -400,6 +423,66 @@ export namespace AssetRetrieveResponse {
|
|
|
400
423
|
*/
|
|
401
424
|
originalFileUrl?: string;
|
|
402
425
|
|
|
426
|
+
/**
|
|
427
|
+
* The mime type of the original file url.
|
|
428
|
+
*
|
|
429
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
430
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
431
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
432
|
+
* Omitted when the stored format could not be determined.
|
|
433
|
+
*/
|
|
434
|
+
originalMimeType?:
|
|
435
|
+
| 'application/gzip'
|
|
436
|
+
| 'application/json'
|
|
437
|
+
| 'application/octet-stream'
|
|
438
|
+
| 'application/pdf'
|
|
439
|
+
| 'application/safetensors'
|
|
440
|
+
| 'application/vnd.autodesk.fbx'
|
|
441
|
+
| 'application/x-authorware-bin'
|
|
442
|
+
| 'application/x-zip-compressed'
|
|
443
|
+
| 'application/x.autodesk.fbx'
|
|
444
|
+
| 'application/zip'
|
|
445
|
+
| 'audio/flac'
|
|
446
|
+
| 'audio/m4a'
|
|
447
|
+
| 'audio/mpeg'
|
|
448
|
+
| 'audio/ogg'
|
|
449
|
+
| 'audio/wav'
|
|
450
|
+
| 'image/aces'
|
|
451
|
+
| 'image/avif'
|
|
452
|
+
| 'image/bmp'
|
|
453
|
+
| 'image/gif'
|
|
454
|
+
| 'image/heic'
|
|
455
|
+
| 'image/jpeg'
|
|
456
|
+
| 'image/png'
|
|
457
|
+
| 'image/svg+xml'
|
|
458
|
+
| 'image/tiff'
|
|
459
|
+
| 'image/vnd.radiance'
|
|
460
|
+
| 'image/webp'
|
|
461
|
+
| 'image/x-exr'
|
|
462
|
+
| 'model/glb'
|
|
463
|
+
| 'model/gltf+json'
|
|
464
|
+
| 'model/gltf-binary'
|
|
465
|
+
| 'model/ksplat'
|
|
466
|
+
| 'model/mtl'
|
|
467
|
+
| 'model/obj'
|
|
468
|
+
| 'model/ply'
|
|
469
|
+
| 'model/sog'
|
|
470
|
+
| 'model/splat'
|
|
471
|
+
| 'model/spz'
|
|
472
|
+
| 'model/stl'
|
|
473
|
+
| 'model/vnd.collada+xml'
|
|
474
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
475
|
+
| 'model/x-3d-vox'
|
|
476
|
+
| 'model/x-blender'
|
|
477
|
+
| 'model/x-fbx'
|
|
478
|
+
| 'model/x-maya-ascii'
|
|
479
|
+
| 'model/x-maya-binary'
|
|
480
|
+
| 'model/x3d+xml'
|
|
481
|
+
| 'text/plain'
|
|
482
|
+
| 'video/mp4'
|
|
483
|
+
| 'video/quicktime'
|
|
484
|
+
| 'video/webm';
|
|
485
|
+
|
|
403
486
|
/**
|
|
404
487
|
* The output index of the asset within a job This index is an positive integer
|
|
405
488
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -415,12 +498,12 @@ export namespace AssetRetrieveResponse {
|
|
|
415
498
|
preview?: Asset.Preview;
|
|
416
499
|
|
|
417
500
|
/**
|
|
418
|
-
*
|
|
501
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
419
502
|
*
|
|
420
503
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
421
|
-
* asset is read with `
|
|
504
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
422
505
|
*/
|
|
423
|
-
|
|
506
|
+
qualityGate?: Asset.QualityGate;
|
|
424
507
|
|
|
425
508
|
/**
|
|
426
509
|
* The asset's thumbnail.
|
|
@@ -628,6 +711,12 @@ export namespace AssetRetrieveResponse {
|
|
|
628
711
|
*/
|
|
629
712
|
factor?: number;
|
|
630
713
|
|
|
714
|
+
/**
|
|
715
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
716
|
+
* kept as delivered.
|
|
717
|
+
*/
|
|
718
|
+
fileName?: string;
|
|
719
|
+
|
|
631
720
|
filterSpeckle?: number;
|
|
632
721
|
|
|
633
722
|
/**
|
|
@@ -717,6 +806,11 @@ export namespace AssetRetrieveResponse {
|
|
|
717
806
|
*/
|
|
718
807
|
invert?: boolean;
|
|
719
808
|
|
|
809
|
+
/**
|
|
810
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
811
|
+
*/
|
|
812
|
+
keepsFileNames?: boolean;
|
|
813
|
+
|
|
720
814
|
/**
|
|
721
815
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
722
816
|
*/
|
|
@@ -1339,12 +1433,12 @@ export namespace AssetRetrieveResponse {
|
|
|
1339
1433
|
}
|
|
1340
1434
|
|
|
1341
1435
|
/**
|
|
1342
|
-
*
|
|
1436
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1343
1437
|
*
|
|
1344
1438
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1345
|
-
* asset is read with `
|
|
1439
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1346
1440
|
*/
|
|
1347
|
-
export interface
|
|
1441
|
+
export interface QualityGate {
|
|
1348
1442
|
/**
|
|
1349
1443
|
* ISO-8601 timestamp of when scoring ran
|
|
1350
1444
|
*/
|
|
@@ -1378,13 +1472,13 @@ export namespace AssetRetrieveResponse {
|
|
|
1378
1472
|
/**
|
|
1379
1473
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1380
1474
|
*
|
|
1381
|
-
* Returned only when the asset is read with `
|
|
1475
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1382
1476
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1383
1477
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1384
1478
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
1385
1479
|
* version, or an unreadable archive).
|
|
1386
1480
|
*/
|
|
1387
|
-
details?:
|
|
1481
|
+
details?: QualityGate.Details;
|
|
1388
1482
|
|
|
1389
1483
|
/**
|
|
1390
1484
|
* Error message when status is 'error' (truncated)
|
|
@@ -1407,11 +1501,11 @@ export namespace AssetRetrieveResponse {
|
|
|
1407
1501
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
1408
1502
|
}
|
|
1409
1503
|
|
|
1410
|
-
export namespace
|
|
1504
|
+
export namespace QualityGate {
|
|
1411
1505
|
/**
|
|
1412
1506
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1413
1507
|
*
|
|
1414
|
-
* Returned only when the asset is read with `
|
|
1508
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1415
1509
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1416
1510
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1417
1511
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -1719,6 +1813,66 @@ export namespace AssetUpdateResponse {
|
|
|
1719
1813
|
*/
|
|
1720
1814
|
originalFileUrl?: string;
|
|
1721
1815
|
|
|
1816
|
+
/**
|
|
1817
|
+
* The mime type of the original file url.
|
|
1818
|
+
*
|
|
1819
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
1820
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
1821
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
1822
|
+
* Omitted when the stored format could not be determined.
|
|
1823
|
+
*/
|
|
1824
|
+
originalMimeType?:
|
|
1825
|
+
| 'application/gzip'
|
|
1826
|
+
| 'application/json'
|
|
1827
|
+
| 'application/octet-stream'
|
|
1828
|
+
| 'application/pdf'
|
|
1829
|
+
| 'application/safetensors'
|
|
1830
|
+
| 'application/vnd.autodesk.fbx'
|
|
1831
|
+
| 'application/x-authorware-bin'
|
|
1832
|
+
| 'application/x-zip-compressed'
|
|
1833
|
+
| 'application/x.autodesk.fbx'
|
|
1834
|
+
| 'application/zip'
|
|
1835
|
+
| 'audio/flac'
|
|
1836
|
+
| 'audio/m4a'
|
|
1837
|
+
| 'audio/mpeg'
|
|
1838
|
+
| 'audio/ogg'
|
|
1839
|
+
| 'audio/wav'
|
|
1840
|
+
| 'image/aces'
|
|
1841
|
+
| 'image/avif'
|
|
1842
|
+
| 'image/bmp'
|
|
1843
|
+
| 'image/gif'
|
|
1844
|
+
| 'image/heic'
|
|
1845
|
+
| 'image/jpeg'
|
|
1846
|
+
| 'image/png'
|
|
1847
|
+
| 'image/svg+xml'
|
|
1848
|
+
| 'image/tiff'
|
|
1849
|
+
| 'image/vnd.radiance'
|
|
1850
|
+
| 'image/webp'
|
|
1851
|
+
| 'image/x-exr'
|
|
1852
|
+
| 'model/glb'
|
|
1853
|
+
| 'model/gltf+json'
|
|
1854
|
+
| 'model/gltf-binary'
|
|
1855
|
+
| 'model/ksplat'
|
|
1856
|
+
| 'model/mtl'
|
|
1857
|
+
| 'model/obj'
|
|
1858
|
+
| 'model/ply'
|
|
1859
|
+
| 'model/sog'
|
|
1860
|
+
| 'model/splat'
|
|
1861
|
+
| 'model/spz'
|
|
1862
|
+
| 'model/stl'
|
|
1863
|
+
| 'model/vnd.collada+xml'
|
|
1864
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
1865
|
+
| 'model/x-3d-vox'
|
|
1866
|
+
| 'model/x-blender'
|
|
1867
|
+
| 'model/x-fbx'
|
|
1868
|
+
| 'model/x-maya-ascii'
|
|
1869
|
+
| 'model/x-maya-binary'
|
|
1870
|
+
| 'model/x3d+xml'
|
|
1871
|
+
| 'text/plain'
|
|
1872
|
+
| 'video/mp4'
|
|
1873
|
+
| 'video/quicktime'
|
|
1874
|
+
| 'video/webm';
|
|
1875
|
+
|
|
1722
1876
|
/**
|
|
1723
1877
|
* The output index of the asset within a job This index is an positive integer
|
|
1724
1878
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -1734,12 +1888,12 @@ export namespace AssetUpdateResponse {
|
|
|
1734
1888
|
preview?: Asset.Preview;
|
|
1735
1889
|
|
|
1736
1890
|
/**
|
|
1737
|
-
*
|
|
1891
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1738
1892
|
*
|
|
1739
1893
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1740
|
-
* asset is read with `
|
|
1894
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1741
1895
|
*/
|
|
1742
|
-
|
|
1896
|
+
qualityGate?: Asset.QualityGate;
|
|
1743
1897
|
|
|
1744
1898
|
/**
|
|
1745
1899
|
* The asset's thumbnail.
|
|
@@ -1947,6 +2101,12 @@ export namespace AssetUpdateResponse {
|
|
|
1947
2101
|
*/
|
|
1948
2102
|
factor?: number;
|
|
1949
2103
|
|
|
2104
|
+
/**
|
|
2105
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
2106
|
+
* kept as delivered.
|
|
2107
|
+
*/
|
|
2108
|
+
fileName?: string;
|
|
2109
|
+
|
|
1950
2110
|
filterSpeckle?: number;
|
|
1951
2111
|
|
|
1952
2112
|
/**
|
|
@@ -2036,6 +2196,11 @@ export namespace AssetUpdateResponse {
|
|
|
2036
2196
|
*/
|
|
2037
2197
|
invert?: boolean;
|
|
2038
2198
|
|
|
2199
|
+
/**
|
|
2200
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
2201
|
+
*/
|
|
2202
|
+
keepsFileNames?: boolean;
|
|
2203
|
+
|
|
2039
2204
|
/**
|
|
2040
2205
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
2041
2206
|
*/
|
|
@@ -2658,12 +2823,12 @@ export namespace AssetUpdateResponse {
|
|
|
2658
2823
|
}
|
|
2659
2824
|
|
|
2660
2825
|
/**
|
|
2661
|
-
*
|
|
2826
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
2662
2827
|
*
|
|
2663
2828
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
2664
|
-
* asset is read with `
|
|
2829
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
2665
2830
|
*/
|
|
2666
|
-
export interface
|
|
2831
|
+
export interface QualityGate {
|
|
2667
2832
|
/**
|
|
2668
2833
|
* ISO-8601 timestamp of when scoring ran
|
|
2669
2834
|
*/
|
|
@@ -2697,13 +2862,13 @@ export namespace AssetUpdateResponse {
|
|
|
2697
2862
|
/**
|
|
2698
2863
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2699
2864
|
*
|
|
2700
|
-
* Returned only when the asset is read with `
|
|
2865
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2701
2866
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2702
2867
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2703
2868
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
2704
2869
|
* version, or an unreadable archive).
|
|
2705
2870
|
*/
|
|
2706
|
-
details?:
|
|
2871
|
+
details?: QualityGate.Details;
|
|
2707
2872
|
|
|
2708
2873
|
/**
|
|
2709
2874
|
* Error message when status is 'error' (truncated)
|
|
@@ -2726,11 +2891,11 @@ export namespace AssetUpdateResponse {
|
|
|
2726
2891
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
2727
2892
|
}
|
|
2728
2893
|
|
|
2729
|
-
export namespace
|
|
2894
|
+
export namespace QualityGate {
|
|
2730
2895
|
/**
|
|
2731
2896
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2732
2897
|
*
|
|
2733
|
-
* Returned only when the asset is read with `
|
|
2898
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2734
2899
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2735
2900
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2736
2901
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -3033,6 +3198,66 @@ export interface AssetListResponse {
|
|
|
3033
3198
|
*/
|
|
3034
3199
|
originalFileUrl?: string;
|
|
3035
3200
|
|
|
3201
|
+
/**
|
|
3202
|
+
* The mime type of the original file url.
|
|
3203
|
+
*
|
|
3204
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
3205
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
3206
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
3207
|
+
* Omitted when the stored format could not be determined.
|
|
3208
|
+
*/
|
|
3209
|
+
originalMimeType?:
|
|
3210
|
+
| 'application/gzip'
|
|
3211
|
+
| 'application/json'
|
|
3212
|
+
| 'application/octet-stream'
|
|
3213
|
+
| 'application/pdf'
|
|
3214
|
+
| 'application/safetensors'
|
|
3215
|
+
| 'application/vnd.autodesk.fbx'
|
|
3216
|
+
| 'application/x-authorware-bin'
|
|
3217
|
+
| 'application/x-zip-compressed'
|
|
3218
|
+
| 'application/x.autodesk.fbx'
|
|
3219
|
+
| 'application/zip'
|
|
3220
|
+
| 'audio/flac'
|
|
3221
|
+
| 'audio/m4a'
|
|
3222
|
+
| 'audio/mpeg'
|
|
3223
|
+
| 'audio/ogg'
|
|
3224
|
+
| 'audio/wav'
|
|
3225
|
+
| 'image/aces'
|
|
3226
|
+
| 'image/avif'
|
|
3227
|
+
| 'image/bmp'
|
|
3228
|
+
| 'image/gif'
|
|
3229
|
+
| 'image/heic'
|
|
3230
|
+
| 'image/jpeg'
|
|
3231
|
+
| 'image/png'
|
|
3232
|
+
| 'image/svg+xml'
|
|
3233
|
+
| 'image/tiff'
|
|
3234
|
+
| 'image/vnd.radiance'
|
|
3235
|
+
| 'image/webp'
|
|
3236
|
+
| 'image/x-exr'
|
|
3237
|
+
| 'model/glb'
|
|
3238
|
+
| 'model/gltf+json'
|
|
3239
|
+
| 'model/gltf-binary'
|
|
3240
|
+
| 'model/ksplat'
|
|
3241
|
+
| 'model/mtl'
|
|
3242
|
+
| 'model/obj'
|
|
3243
|
+
| 'model/ply'
|
|
3244
|
+
| 'model/sog'
|
|
3245
|
+
| 'model/splat'
|
|
3246
|
+
| 'model/spz'
|
|
3247
|
+
| 'model/stl'
|
|
3248
|
+
| 'model/vnd.collada+xml'
|
|
3249
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
3250
|
+
| 'model/x-3d-vox'
|
|
3251
|
+
| 'model/x-blender'
|
|
3252
|
+
| 'model/x-fbx'
|
|
3253
|
+
| 'model/x-maya-ascii'
|
|
3254
|
+
| 'model/x-maya-binary'
|
|
3255
|
+
| 'model/x3d+xml'
|
|
3256
|
+
| 'text/plain'
|
|
3257
|
+
| 'video/mp4'
|
|
3258
|
+
| 'video/quicktime'
|
|
3259
|
+
| 'video/webm';
|
|
3260
|
+
|
|
3036
3261
|
/**
|
|
3037
3262
|
* The output index of the asset within a job This index is an positive integer
|
|
3038
3263
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -3048,12 +3273,12 @@ export interface AssetListResponse {
|
|
|
3048
3273
|
preview?: AssetListResponse.Preview;
|
|
3049
3274
|
|
|
3050
3275
|
/**
|
|
3051
|
-
*
|
|
3276
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3052
3277
|
*
|
|
3053
3278
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3054
|
-
* asset is read with `
|
|
3279
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3055
3280
|
*/
|
|
3056
|
-
|
|
3281
|
+
qualityGate?: AssetListResponse.QualityGate;
|
|
3057
3282
|
|
|
3058
3283
|
/**
|
|
3059
3284
|
* The asset's thumbnail.
|
|
@@ -3261,6 +3486,12 @@ export namespace AssetListResponse {
|
|
|
3261
3486
|
*/
|
|
3262
3487
|
factor?: number;
|
|
3263
3488
|
|
|
3489
|
+
/**
|
|
3490
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
3491
|
+
* kept as delivered.
|
|
3492
|
+
*/
|
|
3493
|
+
fileName?: string;
|
|
3494
|
+
|
|
3264
3495
|
filterSpeckle?: number;
|
|
3265
3496
|
|
|
3266
3497
|
/**
|
|
@@ -3350,6 +3581,11 @@ export namespace AssetListResponse {
|
|
|
3350
3581
|
*/
|
|
3351
3582
|
invert?: boolean;
|
|
3352
3583
|
|
|
3584
|
+
/**
|
|
3585
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
3586
|
+
*/
|
|
3587
|
+
keepsFileNames?: boolean;
|
|
3588
|
+
|
|
3353
3589
|
/**
|
|
3354
3590
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
3355
3591
|
*/
|
|
@@ -3972,12 +4208,12 @@ export namespace AssetListResponse {
|
|
|
3972
4208
|
}
|
|
3973
4209
|
|
|
3974
4210
|
/**
|
|
3975
|
-
*
|
|
4211
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3976
4212
|
*
|
|
3977
4213
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3978
|
-
* asset is read with `
|
|
4214
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3979
4215
|
*/
|
|
3980
|
-
export interface
|
|
4216
|
+
export interface QualityGate {
|
|
3981
4217
|
/**
|
|
3982
4218
|
* ISO-8601 timestamp of when scoring ran
|
|
3983
4219
|
*/
|
|
@@ -4011,13 +4247,13 @@ export namespace AssetListResponse {
|
|
|
4011
4247
|
/**
|
|
4012
4248
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
4013
4249
|
*
|
|
4014
|
-
* Returned only when the asset is read with `
|
|
4250
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
4015
4251
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
4016
4252
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
4017
4253
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
4018
4254
|
* version, or an unreadable archive).
|
|
4019
4255
|
*/
|
|
4020
|
-
details?:
|
|
4256
|
+
details?: QualityGate.Details;
|
|
4021
4257
|
|
|
4022
4258
|
/**
|
|
4023
4259
|
* Error message when status is 'error' (truncated)
|
|
@@ -4040,11 +4276,11 @@ export namespace AssetListResponse {
|
|
|
4040
4276
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
4041
4277
|
}
|
|
4042
4278
|
|
|
4043
|
-
export namespace
|
|
4279
|
+
export namespace QualityGate {
|
|
4044
4280
|
/**
|
|
4045
4281
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
4046
4282
|
*
|
|
4047
|
-
* Returned only when the asset is read with `
|
|
4283
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
4048
4284
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
4049
4285
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
4050
4286
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -4353,6 +4589,66 @@ export namespace AssetDuplicateResponse {
|
|
|
4353
4589
|
*/
|
|
4354
4590
|
originalFileUrl?: string;
|
|
4355
4591
|
|
|
4592
|
+
/**
|
|
4593
|
+
* The mime type of the original file url.
|
|
4594
|
+
*
|
|
4595
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
4596
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
4597
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
4598
|
+
* Omitted when the stored format could not be determined.
|
|
4599
|
+
*/
|
|
4600
|
+
originalMimeType?:
|
|
4601
|
+
| 'application/gzip'
|
|
4602
|
+
| 'application/json'
|
|
4603
|
+
| 'application/octet-stream'
|
|
4604
|
+
| 'application/pdf'
|
|
4605
|
+
| 'application/safetensors'
|
|
4606
|
+
| 'application/vnd.autodesk.fbx'
|
|
4607
|
+
| 'application/x-authorware-bin'
|
|
4608
|
+
| 'application/x-zip-compressed'
|
|
4609
|
+
| 'application/x.autodesk.fbx'
|
|
4610
|
+
| 'application/zip'
|
|
4611
|
+
| 'audio/flac'
|
|
4612
|
+
| 'audio/m4a'
|
|
4613
|
+
| 'audio/mpeg'
|
|
4614
|
+
| 'audio/ogg'
|
|
4615
|
+
| 'audio/wav'
|
|
4616
|
+
| 'image/aces'
|
|
4617
|
+
| 'image/avif'
|
|
4618
|
+
| 'image/bmp'
|
|
4619
|
+
| 'image/gif'
|
|
4620
|
+
| 'image/heic'
|
|
4621
|
+
| 'image/jpeg'
|
|
4622
|
+
| 'image/png'
|
|
4623
|
+
| 'image/svg+xml'
|
|
4624
|
+
| 'image/tiff'
|
|
4625
|
+
| 'image/vnd.radiance'
|
|
4626
|
+
| 'image/webp'
|
|
4627
|
+
| 'image/x-exr'
|
|
4628
|
+
| 'model/glb'
|
|
4629
|
+
| 'model/gltf+json'
|
|
4630
|
+
| 'model/gltf-binary'
|
|
4631
|
+
| 'model/ksplat'
|
|
4632
|
+
| 'model/mtl'
|
|
4633
|
+
| 'model/obj'
|
|
4634
|
+
| 'model/ply'
|
|
4635
|
+
| 'model/sog'
|
|
4636
|
+
| 'model/splat'
|
|
4637
|
+
| 'model/spz'
|
|
4638
|
+
| 'model/stl'
|
|
4639
|
+
| 'model/vnd.collada+xml'
|
|
4640
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
4641
|
+
| 'model/x-3d-vox'
|
|
4642
|
+
| 'model/x-blender'
|
|
4643
|
+
| 'model/x-fbx'
|
|
4644
|
+
| 'model/x-maya-ascii'
|
|
4645
|
+
| 'model/x-maya-binary'
|
|
4646
|
+
| 'model/x3d+xml'
|
|
4647
|
+
| 'text/plain'
|
|
4648
|
+
| 'video/mp4'
|
|
4649
|
+
| 'video/quicktime'
|
|
4650
|
+
| 'video/webm';
|
|
4651
|
+
|
|
4356
4652
|
/**
|
|
4357
4653
|
* The output index of the asset within a job This index is an positive integer
|
|
4358
4654
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -4368,12 +4664,12 @@ export namespace AssetDuplicateResponse {
|
|
|
4368
4664
|
preview?: Asset.Preview;
|
|
4369
4665
|
|
|
4370
4666
|
/**
|
|
4371
|
-
*
|
|
4667
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
4372
4668
|
*
|
|
4373
4669
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
4374
|
-
* asset is read with `
|
|
4670
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
4375
4671
|
*/
|
|
4376
|
-
|
|
4672
|
+
qualityGate?: Asset.QualityGate;
|
|
4377
4673
|
|
|
4378
4674
|
/**
|
|
4379
4675
|
* The asset's thumbnail.
|
|
@@ -4581,6 +4877,12 @@ export namespace AssetDuplicateResponse {
|
|
|
4581
4877
|
*/
|
|
4582
4878
|
factor?: number;
|
|
4583
4879
|
|
|
4880
|
+
/**
|
|
4881
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
4882
|
+
* kept as delivered.
|
|
4883
|
+
*/
|
|
4884
|
+
fileName?: string;
|
|
4885
|
+
|
|
4584
4886
|
filterSpeckle?: number;
|
|
4585
4887
|
|
|
4586
4888
|
/**
|
|
@@ -4670,6 +4972,11 @@ export namespace AssetDuplicateResponse {
|
|
|
4670
4972
|
*/
|
|
4671
4973
|
invert?: boolean;
|
|
4672
4974
|
|
|
4975
|
+
/**
|
|
4976
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
4977
|
+
*/
|
|
4978
|
+
keepsFileNames?: boolean;
|
|
4979
|
+
|
|
4673
4980
|
/**
|
|
4674
4981
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
4675
4982
|
*/
|
|
@@ -5292,12 +5599,12 @@ export namespace AssetDuplicateResponse {
|
|
|
5292
5599
|
}
|
|
5293
5600
|
|
|
5294
5601
|
/**
|
|
5295
|
-
*
|
|
5602
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
5296
5603
|
*
|
|
5297
5604
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
5298
|
-
* asset is read with `
|
|
5605
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
5299
5606
|
*/
|
|
5300
|
-
export interface
|
|
5607
|
+
export interface QualityGate {
|
|
5301
5608
|
/**
|
|
5302
5609
|
* ISO-8601 timestamp of when scoring ran
|
|
5303
5610
|
*/
|
|
@@ -5331,13 +5638,13 @@ export namespace AssetDuplicateResponse {
|
|
|
5331
5638
|
/**
|
|
5332
5639
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
5333
5640
|
*
|
|
5334
|
-
* Returned only when the asset is read with `
|
|
5641
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
5335
5642
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
5336
5643
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
5337
5644
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
5338
5645
|
* version, or an unreadable archive).
|
|
5339
5646
|
*/
|
|
5340
|
-
details?:
|
|
5647
|
+
details?: QualityGate.Details;
|
|
5341
5648
|
|
|
5342
5649
|
/**
|
|
5343
5650
|
* Error message when status is 'error' (truncated)
|
|
@@ -5360,11 +5667,11 @@ export namespace AssetDuplicateResponse {
|
|
|
5360
5667
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
5361
5668
|
}
|
|
5362
5669
|
|
|
5363
|
-
export namespace
|
|
5670
|
+
export namespace QualityGate {
|
|
5364
5671
|
/**
|
|
5365
5672
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
5366
5673
|
*
|
|
5367
|
-
* Returned only when the asset is read with `
|
|
5674
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
5368
5675
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
5369
5676
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
5370
5677
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -5672,6 +5979,66 @@ export namespace AssetGetBulkResponse {
|
|
|
5672
5979
|
*/
|
|
5673
5980
|
originalFileUrl?: string;
|
|
5674
5981
|
|
|
5982
|
+
/**
|
|
5983
|
+
* The mime type of the original file url.
|
|
5984
|
+
*
|
|
5985
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
5986
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
5987
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
5988
|
+
* Omitted when the stored format could not be determined.
|
|
5989
|
+
*/
|
|
5990
|
+
originalMimeType?:
|
|
5991
|
+
| 'application/gzip'
|
|
5992
|
+
| 'application/json'
|
|
5993
|
+
| 'application/octet-stream'
|
|
5994
|
+
| 'application/pdf'
|
|
5995
|
+
| 'application/safetensors'
|
|
5996
|
+
| 'application/vnd.autodesk.fbx'
|
|
5997
|
+
| 'application/x-authorware-bin'
|
|
5998
|
+
| 'application/x-zip-compressed'
|
|
5999
|
+
| 'application/x.autodesk.fbx'
|
|
6000
|
+
| 'application/zip'
|
|
6001
|
+
| 'audio/flac'
|
|
6002
|
+
| 'audio/m4a'
|
|
6003
|
+
| 'audio/mpeg'
|
|
6004
|
+
| 'audio/ogg'
|
|
6005
|
+
| 'audio/wav'
|
|
6006
|
+
| 'image/aces'
|
|
6007
|
+
| 'image/avif'
|
|
6008
|
+
| 'image/bmp'
|
|
6009
|
+
| 'image/gif'
|
|
6010
|
+
| 'image/heic'
|
|
6011
|
+
| 'image/jpeg'
|
|
6012
|
+
| 'image/png'
|
|
6013
|
+
| 'image/svg+xml'
|
|
6014
|
+
| 'image/tiff'
|
|
6015
|
+
| 'image/vnd.radiance'
|
|
6016
|
+
| 'image/webp'
|
|
6017
|
+
| 'image/x-exr'
|
|
6018
|
+
| 'model/glb'
|
|
6019
|
+
| 'model/gltf+json'
|
|
6020
|
+
| 'model/gltf-binary'
|
|
6021
|
+
| 'model/ksplat'
|
|
6022
|
+
| 'model/mtl'
|
|
6023
|
+
| 'model/obj'
|
|
6024
|
+
| 'model/ply'
|
|
6025
|
+
| 'model/sog'
|
|
6026
|
+
| 'model/splat'
|
|
6027
|
+
| 'model/spz'
|
|
6028
|
+
| 'model/stl'
|
|
6029
|
+
| 'model/vnd.collada+xml'
|
|
6030
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
6031
|
+
| 'model/x-3d-vox'
|
|
6032
|
+
| 'model/x-blender'
|
|
6033
|
+
| 'model/x-fbx'
|
|
6034
|
+
| 'model/x-maya-ascii'
|
|
6035
|
+
| 'model/x-maya-binary'
|
|
6036
|
+
| 'model/x3d+xml'
|
|
6037
|
+
| 'text/plain'
|
|
6038
|
+
| 'video/mp4'
|
|
6039
|
+
| 'video/quicktime'
|
|
6040
|
+
| 'video/webm';
|
|
6041
|
+
|
|
5675
6042
|
/**
|
|
5676
6043
|
* The output index of the asset within a job This index is an positive integer
|
|
5677
6044
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -5687,12 +6054,12 @@ export namespace AssetGetBulkResponse {
|
|
|
5687
6054
|
preview?: Asset.Preview;
|
|
5688
6055
|
|
|
5689
6056
|
/**
|
|
5690
|
-
*
|
|
6057
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
5691
6058
|
*
|
|
5692
6059
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
5693
|
-
* asset is read with `
|
|
6060
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
5694
6061
|
*/
|
|
5695
|
-
|
|
6062
|
+
qualityGate?: Asset.QualityGate;
|
|
5696
6063
|
|
|
5697
6064
|
/**
|
|
5698
6065
|
* The asset's thumbnail.
|
|
@@ -5900,6 +6267,12 @@ export namespace AssetGetBulkResponse {
|
|
|
5900
6267
|
*/
|
|
5901
6268
|
factor?: number;
|
|
5902
6269
|
|
|
6270
|
+
/**
|
|
6271
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
6272
|
+
* kept as delivered.
|
|
6273
|
+
*/
|
|
6274
|
+
fileName?: string;
|
|
6275
|
+
|
|
5903
6276
|
filterSpeckle?: number;
|
|
5904
6277
|
|
|
5905
6278
|
/**
|
|
@@ -5989,6 +6362,11 @@ export namespace AssetGetBulkResponse {
|
|
|
5989
6362
|
*/
|
|
5990
6363
|
invert?: boolean;
|
|
5991
6364
|
|
|
6365
|
+
/**
|
|
6366
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
6367
|
+
*/
|
|
6368
|
+
keepsFileNames?: boolean;
|
|
6369
|
+
|
|
5992
6370
|
/**
|
|
5993
6371
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
5994
6372
|
*/
|
|
@@ -6611,12 +6989,12 @@ export namespace AssetGetBulkResponse {
|
|
|
6611
6989
|
}
|
|
6612
6990
|
|
|
6613
6991
|
/**
|
|
6614
|
-
*
|
|
6992
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
6615
6993
|
*
|
|
6616
6994
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
6617
|
-
* asset is read with `
|
|
6995
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
6618
6996
|
*/
|
|
6619
|
-
export interface
|
|
6997
|
+
export interface QualityGate {
|
|
6620
6998
|
/**
|
|
6621
6999
|
* ISO-8601 timestamp of when scoring ran
|
|
6622
7000
|
*/
|
|
@@ -6650,13 +7028,13 @@ export namespace AssetGetBulkResponse {
|
|
|
6650
7028
|
/**
|
|
6651
7029
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
6652
7030
|
*
|
|
6653
|
-
* Returned only when the asset is read with `
|
|
7031
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
6654
7032
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
6655
7033
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
6656
7034
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
6657
7035
|
* version, or an unreadable archive).
|
|
6658
7036
|
*/
|
|
6659
|
-
details?:
|
|
7037
|
+
details?: QualityGate.Details;
|
|
6660
7038
|
|
|
6661
7039
|
/**
|
|
6662
7040
|
* Error message when status is 'error' (truncated)
|
|
@@ -6679,11 +7057,11 @@ export namespace AssetGetBulkResponse {
|
|
|
6679
7057
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
6680
7058
|
}
|
|
6681
7059
|
|
|
6682
|
-
export namespace
|
|
7060
|
+
export namespace QualityGate {
|
|
6683
7061
|
/**
|
|
6684
7062
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
6685
7063
|
*
|
|
6686
|
-
* Returned only when the asset is read with `
|
|
7064
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
6687
7065
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
6688
7066
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
6689
7067
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -7006,6 +7384,66 @@ export namespace AssetLockResponse {
|
|
|
7006
7384
|
*/
|
|
7007
7385
|
originalFileUrl?: string;
|
|
7008
7386
|
|
|
7387
|
+
/**
|
|
7388
|
+
* The mime type of the original file url.
|
|
7389
|
+
*
|
|
7390
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
7391
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
7392
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
7393
|
+
* Omitted when the stored format could not be determined.
|
|
7394
|
+
*/
|
|
7395
|
+
originalMimeType?:
|
|
7396
|
+
| 'application/gzip'
|
|
7397
|
+
| 'application/json'
|
|
7398
|
+
| 'application/octet-stream'
|
|
7399
|
+
| 'application/pdf'
|
|
7400
|
+
| 'application/safetensors'
|
|
7401
|
+
| 'application/vnd.autodesk.fbx'
|
|
7402
|
+
| 'application/x-authorware-bin'
|
|
7403
|
+
| 'application/x-zip-compressed'
|
|
7404
|
+
| 'application/x.autodesk.fbx'
|
|
7405
|
+
| 'application/zip'
|
|
7406
|
+
| 'audio/flac'
|
|
7407
|
+
| 'audio/m4a'
|
|
7408
|
+
| 'audio/mpeg'
|
|
7409
|
+
| 'audio/ogg'
|
|
7410
|
+
| 'audio/wav'
|
|
7411
|
+
| 'image/aces'
|
|
7412
|
+
| 'image/avif'
|
|
7413
|
+
| 'image/bmp'
|
|
7414
|
+
| 'image/gif'
|
|
7415
|
+
| 'image/heic'
|
|
7416
|
+
| 'image/jpeg'
|
|
7417
|
+
| 'image/png'
|
|
7418
|
+
| 'image/svg+xml'
|
|
7419
|
+
| 'image/tiff'
|
|
7420
|
+
| 'image/vnd.radiance'
|
|
7421
|
+
| 'image/webp'
|
|
7422
|
+
| 'image/x-exr'
|
|
7423
|
+
| 'model/glb'
|
|
7424
|
+
| 'model/gltf+json'
|
|
7425
|
+
| 'model/gltf-binary'
|
|
7426
|
+
| 'model/ksplat'
|
|
7427
|
+
| 'model/mtl'
|
|
7428
|
+
| 'model/obj'
|
|
7429
|
+
| 'model/ply'
|
|
7430
|
+
| 'model/sog'
|
|
7431
|
+
| 'model/splat'
|
|
7432
|
+
| 'model/spz'
|
|
7433
|
+
| 'model/stl'
|
|
7434
|
+
| 'model/vnd.collada+xml'
|
|
7435
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
7436
|
+
| 'model/x-3d-vox'
|
|
7437
|
+
| 'model/x-blender'
|
|
7438
|
+
| 'model/x-fbx'
|
|
7439
|
+
| 'model/x-maya-ascii'
|
|
7440
|
+
| 'model/x-maya-binary'
|
|
7441
|
+
| 'model/x3d+xml'
|
|
7442
|
+
| 'text/plain'
|
|
7443
|
+
| 'video/mp4'
|
|
7444
|
+
| 'video/quicktime'
|
|
7445
|
+
| 'video/webm';
|
|
7446
|
+
|
|
7009
7447
|
/**
|
|
7010
7448
|
* The output index of the asset within a job This index is an positive integer
|
|
7011
7449
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -7021,12 +7459,12 @@ export namespace AssetLockResponse {
|
|
|
7021
7459
|
preview?: Asset.Preview;
|
|
7022
7460
|
|
|
7023
7461
|
/**
|
|
7024
|
-
*
|
|
7462
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
7025
7463
|
*
|
|
7026
7464
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
7027
|
-
* asset is read with `
|
|
7465
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
7028
7466
|
*/
|
|
7029
|
-
|
|
7467
|
+
qualityGate?: Asset.QualityGate;
|
|
7030
7468
|
|
|
7031
7469
|
/**
|
|
7032
7470
|
* The asset's thumbnail.
|
|
@@ -7234,6 +7672,12 @@ export namespace AssetLockResponse {
|
|
|
7234
7672
|
*/
|
|
7235
7673
|
factor?: number;
|
|
7236
7674
|
|
|
7675
|
+
/**
|
|
7676
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
7677
|
+
* kept as delivered.
|
|
7678
|
+
*/
|
|
7679
|
+
fileName?: string;
|
|
7680
|
+
|
|
7237
7681
|
filterSpeckle?: number;
|
|
7238
7682
|
|
|
7239
7683
|
/**
|
|
@@ -7323,6 +7767,11 @@ export namespace AssetLockResponse {
|
|
|
7323
7767
|
*/
|
|
7324
7768
|
invert?: boolean;
|
|
7325
7769
|
|
|
7770
|
+
/**
|
|
7771
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
7772
|
+
*/
|
|
7773
|
+
keepsFileNames?: boolean;
|
|
7774
|
+
|
|
7326
7775
|
/**
|
|
7327
7776
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
7328
7777
|
*/
|
|
@@ -7945,12 +8394,12 @@ export namespace AssetLockResponse {
|
|
|
7945
8394
|
}
|
|
7946
8395
|
|
|
7947
8396
|
/**
|
|
7948
|
-
*
|
|
8397
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
7949
8398
|
*
|
|
7950
8399
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
7951
|
-
* asset is read with `
|
|
8400
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
7952
8401
|
*/
|
|
7953
|
-
export interface
|
|
8402
|
+
export interface QualityGate {
|
|
7954
8403
|
/**
|
|
7955
8404
|
* ISO-8601 timestamp of when scoring ran
|
|
7956
8405
|
*/
|
|
@@ -7984,13 +8433,13 @@ export namespace AssetLockResponse {
|
|
|
7984
8433
|
/**
|
|
7985
8434
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
7986
8435
|
*
|
|
7987
|
-
* Returned only when the asset is read with `
|
|
8436
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
7988
8437
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
7989
8438
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
7990
8439
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
7991
8440
|
* version, or an unreadable archive).
|
|
7992
8441
|
*/
|
|
7993
|
-
details?:
|
|
8442
|
+
details?: QualityGate.Details;
|
|
7994
8443
|
|
|
7995
8444
|
/**
|
|
7996
8445
|
* Error message when status is 'error' (truncated)
|
|
@@ -8013,11 +8462,11 @@ export namespace AssetLockResponse {
|
|
|
8013
8462
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
8014
8463
|
}
|
|
8015
8464
|
|
|
8016
|
-
export namespace
|
|
8465
|
+
export namespace QualityGate {
|
|
8017
8466
|
/**
|
|
8018
8467
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
8019
8468
|
*
|
|
8020
|
-
* Returned only when the asset is read with `
|
|
8469
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
8021
8470
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
8022
8471
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
8023
8472
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -8325,6 +8774,66 @@ export namespace AssetUnlockResponse {
|
|
|
8325
8774
|
*/
|
|
8326
8775
|
originalFileUrl?: string;
|
|
8327
8776
|
|
|
8777
|
+
/**
|
|
8778
|
+
* The mime type of the original file url.
|
|
8779
|
+
*
|
|
8780
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
8781
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
8782
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
8783
|
+
* Omitted when the stored format could not be determined.
|
|
8784
|
+
*/
|
|
8785
|
+
originalMimeType?:
|
|
8786
|
+
| 'application/gzip'
|
|
8787
|
+
| 'application/json'
|
|
8788
|
+
| 'application/octet-stream'
|
|
8789
|
+
| 'application/pdf'
|
|
8790
|
+
| 'application/safetensors'
|
|
8791
|
+
| 'application/vnd.autodesk.fbx'
|
|
8792
|
+
| 'application/x-authorware-bin'
|
|
8793
|
+
| 'application/x-zip-compressed'
|
|
8794
|
+
| 'application/x.autodesk.fbx'
|
|
8795
|
+
| 'application/zip'
|
|
8796
|
+
| 'audio/flac'
|
|
8797
|
+
| 'audio/m4a'
|
|
8798
|
+
| 'audio/mpeg'
|
|
8799
|
+
| 'audio/ogg'
|
|
8800
|
+
| 'audio/wav'
|
|
8801
|
+
| 'image/aces'
|
|
8802
|
+
| 'image/avif'
|
|
8803
|
+
| 'image/bmp'
|
|
8804
|
+
| 'image/gif'
|
|
8805
|
+
| 'image/heic'
|
|
8806
|
+
| 'image/jpeg'
|
|
8807
|
+
| 'image/png'
|
|
8808
|
+
| 'image/svg+xml'
|
|
8809
|
+
| 'image/tiff'
|
|
8810
|
+
| 'image/vnd.radiance'
|
|
8811
|
+
| 'image/webp'
|
|
8812
|
+
| 'image/x-exr'
|
|
8813
|
+
| 'model/glb'
|
|
8814
|
+
| 'model/gltf+json'
|
|
8815
|
+
| 'model/gltf-binary'
|
|
8816
|
+
| 'model/ksplat'
|
|
8817
|
+
| 'model/mtl'
|
|
8818
|
+
| 'model/obj'
|
|
8819
|
+
| 'model/ply'
|
|
8820
|
+
| 'model/sog'
|
|
8821
|
+
| 'model/splat'
|
|
8822
|
+
| 'model/spz'
|
|
8823
|
+
| 'model/stl'
|
|
8824
|
+
| 'model/vnd.collada+xml'
|
|
8825
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
8826
|
+
| 'model/x-3d-vox'
|
|
8827
|
+
| 'model/x-blender'
|
|
8828
|
+
| 'model/x-fbx'
|
|
8829
|
+
| 'model/x-maya-ascii'
|
|
8830
|
+
| 'model/x-maya-binary'
|
|
8831
|
+
| 'model/x3d+xml'
|
|
8832
|
+
| 'text/plain'
|
|
8833
|
+
| 'video/mp4'
|
|
8834
|
+
| 'video/quicktime'
|
|
8835
|
+
| 'video/webm';
|
|
8836
|
+
|
|
8328
8837
|
/**
|
|
8329
8838
|
* The output index of the asset within a job This index is an positive integer
|
|
8330
8839
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -8340,12 +8849,12 @@ export namespace AssetUnlockResponse {
|
|
|
8340
8849
|
preview?: Asset.Preview;
|
|
8341
8850
|
|
|
8342
8851
|
/**
|
|
8343
|
-
*
|
|
8852
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
8344
8853
|
*
|
|
8345
8854
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
8346
|
-
* asset is read with `
|
|
8855
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
8347
8856
|
*/
|
|
8348
|
-
|
|
8857
|
+
qualityGate?: Asset.QualityGate;
|
|
8349
8858
|
|
|
8350
8859
|
/**
|
|
8351
8860
|
* The asset's thumbnail.
|
|
@@ -8553,6 +9062,12 @@ export namespace AssetUnlockResponse {
|
|
|
8553
9062
|
*/
|
|
8554
9063
|
factor?: number;
|
|
8555
9064
|
|
|
9065
|
+
/**
|
|
9066
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
9067
|
+
* kept as delivered.
|
|
9068
|
+
*/
|
|
9069
|
+
fileName?: string;
|
|
9070
|
+
|
|
8556
9071
|
filterSpeckle?: number;
|
|
8557
9072
|
|
|
8558
9073
|
/**
|
|
@@ -8642,6 +9157,11 @@ export namespace AssetUnlockResponse {
|
|
|
8642
9157
|
*/
|
|
8643
9158
|
invert?: boolean;
|
|
8644
9159
|
|
|
9160
|
+
/**
|
|
9161
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
9162
|
+
*/
|
|
9163
|
+
keepsFileNames?: boolean;
|
|
9164
|
+
|
|
8645
9165
|
/**
|
|
8646
9166
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
8647
9167
|
*/
|
|
@@ -9264,12 +9784,12 @@ export namespace AssetUnlockResponse {
|
|
|
9264
9784
|
}
|
|
9265
9785
|
|
|
9266
9786
|
/**
|
|
9267
|
-
*
|
|
9787
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
9268
9788
|
*
|
|
9269
9789
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
9270
|
-
* asset is read with `
|
|
9790
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
9271
9791
|
*/
|
|
9272
|
-
export interface
|
|
9792
|
+
export interface QualityGate {
|
|
9273
9793
|
/**
|
|
9274
9794
|
* ISO-8601 timestamp of when scoring ran
|
|
9275
9795
|
*/
|
|
@@ -9303,13 +9823,13 @@ export namespace AssetUnlockResponse {
|
|
|
9303
9823
|
/**
|
|
9304
9824
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
9305
9825
|
*
|
|
9306
|
-
* Returned only when the asset is read with `
|
|
9826
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
9307
9827
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
9308
9828
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
9309
9829
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
9310
9830
|
* version, or an unreadable archive).
|
|
9311
9831
|
*/
|
|
9312
|
-
details?:
|
|
9832
|
+
details?: QualityGate.Details;
|
|
9313
9833
|
|
|
9314
9834
|
/**
|
|
9315
9835
|
* Error message when status is 'error' (truncated)
|
|
@@ -9332,11 +9852,11 @@ export namespace AssetUnlockResponse {
|
|
|
9332
9852
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
9333
9853
|
}
|
|
9334
9854
|
|
|
9335
|
-
export namespace
|
|
9855
|
+
export namespace QualityGate {
|
|
9336
9856
|
/**
|
|
9337
9857
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
9338
9858
|
*
|
|
9339
|
-
* Returned only when the asset is read with `
|
|
9859
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
9340
9860
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
9341
9861
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
9342
9862
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -9658,6 +10178,66 @@ export namespace AssetUploadResponse {
|
|
|
9658
10178
|
*/
|
|
9659
10179
|
originalFileUrl?: string;
|
|
9660
10180
|
|
|
10181
|
+
/**
|
|
10182
|
+
* The mime type of the original file url.
|
|
10183
|
+
*
|
|
10184
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
10185
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
10186
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
10187
|
+
* Omitted when the stored format could not be determined.
|
|
10188
|
+
*/
|
|
10189
|
+
originalMimeType?:
|
|
10190
|
+
| 'application/gzip'
|
|
10191
|
+
| 'application/json'
|
|
10192
|
+
| 'application/octet-stream'
|
|
10193
|
+
| 'application/pdf'
|
|
10194
|
+
| 'application/safetensors'
|
|
10195
|
+
| 'application/vnd.autodesk.fbx'
|
|
10196
|
+
| 'application/x-authorware-bin'
|
|
10197
|
+
| 'application/x-zip-compressed'
|
|
10198
|
+
| 'application/x.autodesk.fbx'
|
|
10199
|
+
| 'application/zip'
|
|
10200
|
+
| 'audio/flac'
|
|
10201
|
+
| 'audio/m4a'
|
|
10202
|
+
| 'audio/mpeg'
|
|
10203
|
+
| 'audio/ogg'
|
|
10204
|
+
| 'audio/wav'
|
|
10205
|
+
| 'image/aces'
|
|
10206
|
+
| 'image/avif'
|
|
10207
|
+
| 'image/bmp'
|
|
10208
|
+
| 'image/gif'
|
|
10209
|
+
| 'image/heic'
|
|
10210
|
+
| 'image/jpeg'
|
|
10211
|
+
| 'image/png'
|
|
10212
|
+
| 'image/svg+xml'
|
|
10213
|
+
| 'image/tiff'
|
|
10214
|
+
| 'image/vnd.radiance'
|
|
10215
|
+
| 'image/webp'
|
|
10216
|
+
| 'image/x-exr'
|
|
10217
|
+
| 'model/glb'
|
|
10218
|
+
| 'model/gltf+json'
|
|
10219
|
+
| 'model/gltf-binary'
|
|
10220
|
+
| 'model/ksplat'
|
|
10221
|
+
| 'model/mtl'
|
|
10222
|
+
| 'model/obj'
|
|
10223
|
+
| 'model/ply'
|
|
10224
|
+
| 'model/sog'
|
|
10225
|
+
| 'model/splat'
|
|
10226
|
+
| 'model/spz'
|
|
10227
|
+
| 'model/stl'
|
|
10228
|
+
| 'model/vnd.collada+xml'
|
|
10229
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
10230
|
+
| 'model/x-3d-vox'
|
|
10231
|
+
| 'model/x-blender'
|
|
10232
|
+
| 'model/x-fbx'
|
|
10233
|
+
| 'model/x-maya-ascii'
|
|
10234
|
+
| 'model/x-maya-binary'
|
|
10235
|
+
| 'model/x3d+xml'
|
|
10236
|
+
| 'text/plain'
|
|
10237
|
+
| 'video/mp4'
|
|
10238
|
+
| 'video/quicktime'
|
|
10239
|
+
| 'video/webm';
|
|
10240
|
+
|
|
9661
10241
|
/**
|
|
9662
10242
|
* The output index of the asset within a job This index is an positive integer
|
|
9663
10243
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -9673,12 +10253,12 @@ export namespace AssetUploadResponse {
|
|
|
9673
10253
|
preview?: Asset.Preview;
|
|
9674
10254
|
|
|
9675
10255
|
/**
|
|
9676
|
-
*
|
|
10256
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
9677
10257
|
*
|
|
9678
10258
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
9679
|
-
* asset is read with `
|
|
10259
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
9680
10260
|
*/
|
|
9681
|
-
|
|
10261
|
+
qualityGate?: Asset.QualityGate;
|
|
9682
10262
|
|
|
9683
10263
|
/**
|
|
9684
10264
|
* The asset's thumbnail.
|
|
@@ -9886,6 +10466,12 @@ export namespace AssetUploadResponse {
|
|
|
9886
10466
|
*/
|
|
9887
10467
|
factor?: number;
|
|
9888
10468
|
|
|
10469
|
+
/**
|
|
10470
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
10471
|
+
* kept as delivered.
|
|
10472
|
+
*/
|
|
10473
|
+
fileName?: string;
|
|
10474
|
+
|
|
9889
10475
|
filterSpeckle?: number;
|
|
9890
10476
|
|
|
9891
10477
|
/**
|
|
@@ -9975,6 +10561,11 @@ export namespace AssetUploadResponse {
|
|
|
9975
10561
|
*/
|
|
9976
10562
|
invert?: boolean;
|
|
9977
10563
|
|
|
10564
|
+
/**
|
|
10565
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
10566
|
+
*/
|
|
10567
|
+
keepsFileNames?: boolean;
|
|
10568
|
+
|
|
9978
10569
|
/**
|
|
9979
10570
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
9980
10571
|
*/
|
|
@@ -10597,12 +11188,12 @@ export namespace AssetUploadResponse {
|
|
|
10597
11188
|
}
|
|
10598
11189
|
|
|
10599
11190
|
/**
|
|
10600
|
-
*
|
|
11191
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
10601
11192
|
*
|
|
10602
11193
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
10603
|
-
* asset is read with `
|
|
11194
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
10604
11195
|
*/
|
|
10605
|
-
export interface
|
|
11196
|
+
export interface QualityGate {
|
|
10606
11197
|
/**
|
|
10607
11198
|
* ISO-8601 timestamp of when scoring ran
|
|
10608
11199
|
*/
|
|
@@ -10636,13 +11227,13 @@ export namespace AssetUploadResponse {
|
|
|
10636
11227
|
/**
|
|
10637
11228
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
10638
11229
|
*
|
|
10639
|
-
* Returned only when the asset is read with `
|
|
11230
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
10640
11231
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
10641
11232
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
10642
11233
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
10643
11234
|
* version, or an unreadable archive).
|
|
10644
11235
|
*/
|
|
10645
|
-
details?:
|
|
11236
|
+
details?: QualityGate.Details;
|
|
10646
11237
|
|
|
10647
11238
|
/**
|
|
10648
11239
|
* Error message when status is 'error' (truncated)
|
|
@@ -10665,11 +11256,11 @@ export namespace AssetUploadResponse {
|
|
|
10665
11256
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
10666
11257
|
}
|
|
10667
11258
|
|
|
10668
|
-
export namespace
|
|
11259
|
+
export namespace QualityGate {
|
|
10669
11260
|
/**
|
|
10670
11261
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
10671
11262
|
*
|
|
10672
|
-
* Returned only when the asset is read with `
|
|
11263
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
10673
11264
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
10674
11265
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
10675
11266
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -10926,6 +11517,7 @@ export namespace AssetUploadResponse {
|
|
|
10926
11517
|
| 'remove-background'
|
|
10927
11518
|
| 'transform'
|
|
10928
11519
|
| 'user-approval'
|
|
11520
|
+
| 'user-selection'
|
|
10929
11521
|
| 'workflow';
|
|
10930
11522
|
|
|
10931
11523
|
/**
|
|
@@ -10956,14 +11548,15 @@ export namespace AssetUploadResponse {
|
|
|
10956
11548
|
includeOutputsInWorkflowJob?: true;
|
|
10957
11549
|
|
|
10958
11550
|
/**
|
|
10959
|
-
* The inputs of the node.
|
|
11551
|
+
* The inputs of the node. For a user-selection node, the array input's `min`/`max`
|
|
11552
|
+
* bound how many items the user may pick (defaults: 1 and 100); conditional
|
|
11553
|
+
* connections may be present as additional inputs.
|
|
10960
11554
|
*/
|
|
10961
11555
|
inputs?: Array<Flow.Input>;
|
|
10962
11556
|
|
|
10963
11557
|
/**
|
|
10964
|
-
* Statically-configured items for a List node
|
|
10965
|
-
*
|
|
10966
|
-
* numbers, or asset IDs.
|
|
11558
|
+
* Statically-configured items for a List node, or the frozen candidate list of a
|
|
11559
|
+
* UserSelection node. The values can be strings, numbers, or asset IDs.
|
|
10967
11560
|
*/
|
|
10968
11561
|
items?: Array<string>;
|
|
10969
11562
|
|
|
@@ -11112,7 +11705,9 @@ export namespace AssetUploadResponse {
|
|
|
11112
11705
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
11113
11706
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
11114
11707
|
* not able to create the asset on the flight on API side with dataurl without
|
|
11115
|
-
* data:kind, prefix
|
|
11708
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
11709
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
11710
|
+
* generation time.
|
|
11116
11711
|
*/
|
|
11117
11712
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
11118
11713
|
|
|
@@ -11140,8 +11735,9 @@ export namespace AssetUploadResponse {
|
|
|
11140
11735
|
maxDuration?: number;
|
|
11141
11736
|
|
|
11142
11737
|
/**
|
|
11143
|
-
* The maximum allowed length for \`string\`
|
|
11144
|
-
* \`string_array
|
|
11738
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
11739
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
11740
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
11145
11741
|
*/
|
|
11146
11742
|
maxLength?: number;
|
|
11147
11743
|
|
|
@@ -11158,8 +11754,9 @@ export namespace AssetUploadResponse {
|
|
|
11158
11754
|
min?: number;
|
|
11159
11755
|
|
|
11160
11756
|
/**
|
|
11161
|
-
* The minimum allowed length for string
|
|
11162
|
-
* \`string_array
|
|
11757
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
11758
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
11759
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
11163
11760
|
*/
|
|
11164
11761
|
minLength?: number;
|
|
11165
11762
|
|
|
@@ -11239,8 +11836,7 @@ export namespace AssetUploadResponse {
|
|
|
11239
11836
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
11240
11837
|
* defined
|
|
11241
11838
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
11242
|
-
* - \`
|
|
11243
|
-
* value
|
|
11839
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
11244
11840
|
*
|
|
11245
11841
|
* By default, the input is not required.
|
|
11246
11842
|
*/
|
|
@@ -11339,7 +11935,9 @@ export namespace AssetUploadResponse {
|
|
|
11339
11935
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
11340
11936
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
11341
11937
|
* not able to create the asset on the flight on API side with dataurl without
|
|
11342
|
-
* data:kind, prefix
|
|
11938
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
11939
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
11940
|
+
* generation time.
|
|
11343
11941
|
*/
|
|
11344
11942
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
11345
11943
|
|
|
@@ -11367,8 +11965,9 @@ export namespace AssetUploadResponse {
|
|
|
11367
11965
|
maxDuration?: number;
|
|
11368
11966
|
|
|
11369
11967
|
/**
|
|
11370
|
-
* The maximum allowed length for \`string\`
|
|
11371
|
-
* \`string_array
|
|
11968
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
11969
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
11970
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
11372
11971
|
*/
|
|
11373
11972
|
maxLength?: number;
|
|
11374
11973
|
|
|
@@ -11385,8 +11984,9 @@ export namespace AssetUploadResponse {
|
|
|
11385
11984
|
min?: number;
|
|
11386
11985
|
|
|
11387
11986
|
/**
|
|
11388
|
-
* The minimum allowed length for string
|
|
11389
|
-
* \`string_array
|
|
11987
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
11988
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
11989
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
11390
11990
|
*/
|
|
11391
11991
|
minLength?: number;
|
|
11392
11992
|
|
|
@@ -11466,8 +12066,7 @@ export namespace AssetUploadResponse {
|
|
|
11466
12066
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
11467
12067
|
* defined
|
|
11468
12068
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
11469
|
-
* - \`
|
|
11470
|
-
* value
|
|
12069
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
11471
12070
|
*
|
|
11472
12071
|
* By default, the input is not required.
|
|
11473
12072
|
*/
|
|
@@ -11524,8 +12123,7 @@ export namespace AssetUploadResponse {
|
|
|
11524
12123
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
11525
12124
|
* defined
|
|
11526
12125
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
11527
|
-
* - \`
|
|
11528
|
-
* value
|
|
12126
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
11529
12127
|
*
|
|
11530
12128
|
* By default, the input is not required.
|
|
11531
12129
|
*/
|
|
@@ -11536,12 +12134,9 @@ export namespace AssetUploadResponse {
|
|
|
11536
12134
|
always?: boolean;
|
|
11537
12135
|
|
|
11538
12136
|
/**
|
|
11539
|
-
* Makes this input required when
|
|
11540
|
-
*
|
|
11541
|
-
* - Key: name of the input to check
|
|
11542
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
12137
|
+
* Makes this input required when other inputs have one of the listed values
|
|
11543
12138
|
*/
|
|
11544
|
-
|
|
12139
|
+
conditional?: Required.Conditional;
|
|
11545
12140
|
|
|
11546
12141
|
/**
|
|
11547
12142
|
* Makes this input required when another input is defined:
|
|
@@ -11559,6 +12154,26 @@ export namespace AssetUploadResponse {
|
|
|
11559
12154
|
*/
|
|
11560
12155
|
ifNotDefined?: unknown;
|
|
11561
12156
|
}
|
|
12157
|
+
|
|
12158
|
+
export namespace Required {
|
|
12159
|
+
/**
|
|
12160
|
+
* Makes this input required when other inputs have one of the listed values
|
|
12161
|
+
*/
|
|
12162
|
+
export interface Conditional {
|
|
12163
|
+
/**
|
|
12164
|
+
* The conditions to check:
|
|
12165
|
+
*
|
|
12166
|
+
* - Key: name of the input to check
|
|
12167
|
+
* - Value: values of that input that satisfy the condition
|
|
12168
|
+
*/
|
|
12169
|
+
values: unknown;
|
|
12170
|
+
|
|
12171
|
+
/**
|
|
12172
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
12173
|
+
*/
|
|
12174
|
+
operator?: 'and' | 'or';
|
|
12175
|
+
}
|
|
12176
|
+
}
|
|
11562
12177
|
}
|
|
11563
12178
|
|
|
11564
12179
|
/**
|
|
@@ -11599,8 +12214,7 @@ export namespace AssetUploadResponse {
|
|
|
11599
12214
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
11600
12215
|
* defined
|
|
11601
12216
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
11602
|
-
* - \`
|
|
11603
|
-
* value
|
|
12217
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
11604
12218
|
*
|
|
11605
12219
|
* By default, the input is not required.
|
|
11606
12220
|
*/
|
|
@@ -11611,12 +12225,9 @@ export namespace AssetUploadResponse {
|
|
|
11611
12225
|
always?: boolean;
|
|
11612
12226
|
|
|
11613
12227
|
/**
|
|
11614
|
-
* Makes this input required when
|
|
11615
|
-
*
|
|
11616
|
-
* - Key: name of the input to check
|
|
11617
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
12228
|
+
* Makes this input required when other inputs have one of the listed values
|
|
11618
12229
|
*/
|
|
11619
|
-
|
|
12230
|
+
conditional?: Required.Conditional;
|
|
11620
12231
|
|
|
11621
12232
|
/**
|
|
11622
12233
|
* Makes this input required when another input is defined:
|
|
@@ -11634,6 +12245,26 @@ export namespace AssetUploadResponse {
|
|
|
11634
12245
|
*/
|
|
11635
12246
|
ifNotDefined?: unknown;
|
|
11636
12247
|
}
|
|
12248
|
+
|
|
12249
|
+
export namespace Required {
|
|
12250
|
+
/**
|
|
12251
|
+
* Makes this input required when other inputs have one of the listed values
|
|
12252
|
+
*/
|
|
12253
|
+
export interface Conditional {
|
|
12254
|
+
/**
|
|
12255
|
+
* The conditions to check:
|
|
12256
|
+
*
|
|
12257
|
+
* - Key: name of the input to check
|
|
12258
|
+
* - Value: values of that input that satisfy the condition
|
|
12259
|
+
*/
|
|
12260
|
+
values: unknown;
|
|
12261
|
+
|
|
12262
|
+
/**
|
|
12263
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
12264
|
+
*/
|
|
12265
|
+
operator?: 'and' | 'or';
|
|
12266
|
+
}
|
|
12267
|
+
}
|
|
11637
12268
|
}
|
|
11638
12269
|
|
|
11639
12270
|
/**
|
|
@@ -11691,7 +12322,7 @@ export namespace AssetUploadResponse {
|
|
|
11691
12322
|
|
|
11692
12323
|
/**
|
|
11693
12324
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
11694
|
-
* top of the generation itself, such as `
|
|
12325
|
+
* top of the generation itself, such as `quality-gate`.
|
|
11695
12326
|
*
|
|
11696
12327
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
11697
12328
|
* values here.
|
|
@@ -11721,7 +12352,7 @@ export namespace AssetUploadResponse {
|
|
|
11721
12352
|
export namespace Billing {
|
|
11722
12353
|
/**
|
|
11723
12354
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
11724
|
-
* top of the generation itself, such as `
|
|
12355
|
+
* top of the generation itself, such as `quality-gate`.
|
|
11725
12356
|
*
|
|
11726
12357
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
11727
12358
|
* values here.
|
|
@@ -11741,7 +12372,7 @@ export namespace AssetUploadResponse {
|
|
|
11741
12372
|
export interface CuCostDetails {
|
|
11742
12373
|
'ip-detection'?: number;
|
|
11743
12374
|
|
|
11744
|
-
'
|
|
12375
|
+
'quality-gate'?: number;
|
|
11745
12376
|
}
|
|
11746
12377
|
}
|
|
11747
12378
|
}
|
|
@@ -11765,12 +12396,12 @@ export interface AssetRetrieveParams {
|
|
|
11765
12396
|
withEmbedding?: boolean;
|
|
11766
12397
|
|
|
11767
12398
|
/**
|
|
11768
|
-
* Include the per-dimension
|
|
11769
|
-
* suggestions for each scored dimension). Honoured only when the asset belongs
|
|
11770
|
-
* the calling project, since the brief-compliance text paraphrases that
|
|
11771
|
-
* brief; ignored otherwise, including on public unauthenticated access.
|
|
12399
|
+
* Include the per-dimension Quality Gate verdict (`qualityGate.details`: reasons
|
|
12400
|
+
* and suggestions for each scored dimension). Honoured only when the asset belongs
|
|
12401
|
+
* to the calling project, since the brief-compliance text paraphrases that
|
|
12402
|
+
* project’s brief; ignored otherwise, including on public unauthenticated access.
|
|
11772
12403
|
*/
|
|
11773
|
-
|
|
12404
|
+
withQualityGateDetails?: boolean;
|
|
11774
12405
|
}
|
|
11775
12406
|
|
|
11776
12407
|
export interface AssetUpdateParams {
|
|
@@ -11827,7 +12458,10 @@ export interface AssetListParams extends AssetsCursorParams {
|
|
|
11827
12458
|
*/
|
|
11828
12459
|
authorId?: string;
|
|
11829
12460
|
|
|
11830
|
-
|
|
12461
|
+
/**
|
|
12462
|
+
* When provided, only the assets in the Collection will be returned
|
|
12463
|
+
*/
|
|
12464
|
+
collectionId?: string;
|
|
11831
12465
|
|
|
11832
12466
|
/**
|
|
11833
12467
|
* Filter results to only return assets created after the specified ISO string date
|