@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
|
@@ -4,6 +4,7 @@ import { APIResource } from '../../core/resource';
|
|
|
4
4
|
import { APIPromise } from '../../core/api-promise';
|
|
5
5
|
import { RequestOptions } from '../../internal/request-options';
|
|
6
6
|
import { path } from '../../internal/utils/path';
|
|
7
|
+
import { omitUndefined } from '../../internal/utils/values';
|
|
7
8
|
|
|
8
9
|
export class Examples extends APIResource {
|
|
9
10
|
/**
|
|
@@ -16,9 +17,9 @@ export class Examples extends APIResource {
|
|
|
16
17
|
): APIPromise<ExampleUpdateResponse> {
|
|
17
18
|
const { originalAssets, projectId, ...body } = params;
|
|
18
19
|
return this._client.put(path`/models/${modelID}/examples`, {
|
|
19
|
-
query: { originalAssets, projectId },
|
|
20
20
|
body,
|
|
21
21
|
...options,
|
|
22
|
+
query: { originalAssets, projectId, ...omitUndefined(options?.query) },
|
|
22
23
|
});
|
|
23
24
|
}
|
|
24
25
|
|
|
@@ -30,7 +31,10 @@ export class Examples extends APIResource {
|
|
|
30
31
|
query: ExampleListParams | null | undefined = {},
|
|
31
32
|
options?: RequestOptions,
|
|
32
33
|
): APIPromise<ExampleListResponse> {
|
|
33
|
-
return this._client.get(path`/models/${modelID}/examples`, {
|
|
34
|
+
return this._client.get(path`/models/${modelID}/examples`, {
|
|
35
|
+
...options,
|
|
36
|
+
query: { ...query, ...omitUndefined(options?.query) },
|
|
37
|
+
});
|
|
34
38
|
}
|
|
35
39
|
}
|
|
36
40
|
|
|
@@ -299,6 +303,66 @@ export namespace ExampleUpdateResponse {
|
|
|
299
303
|
*/
|
|
300
304
|
originalFileUrl?: string;
|
|
301
305
|
|
|
306
|
+
/**
|
|
307
|
+
* The mime type of the original file url.
|
|
308
|
+
*
|
|
309
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
310
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
311
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
312
|
+
* Omitted when the stored format could not be determined.
|
|
313
|
+
*/
|
|
314
|
+
originalMimeType?:
|
|
315
|
+
| 'application/gzip'
|
|
316
|
+
| 'application/json'
|
|
317
|
+
| 'application/octet-stream'
|
|
318
|
+
| 'application/pdf'
|
|
319
|
+
| 'application/safetensors'
|
|
320
|
+
| 'application/vnd.autodesk.fbx'
|
|
321
|
+
| 'application/x-authorware-bin'
|
|
322
|
+
| 'application/x-zip-compressed'
|
|
323
|
+
| 'application/x.autodesk.fbx'
|
|
324
|
+
| 'application/zip'
|
|
325
|
+
| 'audio/flac'
|
|
326
|
+
| 'audio/m4a'
|
|
327
|
+
| 'audio/mpeg'
|
|
328
|
+
| 'audio/ogg'
|
|
329
|
+
| 'audio/wav'
|
|
330
|
+
| 'image/aces'
|
|
331
|
+
| 'image/avif'
|
|
332
|
+
| 'image/bmp'
|
|
333
|
+
| 'image/gif'
|
|
334
|
+
| 'image/heic'
|
|
335
|
+
| 'image/jpeg'
|
|
336
|
+
| 'image/png'
|
|
337
|
+
| 'image/svg+xml'
|
|
338
|
+
| 'image/tiff'
|
|
339
|
+
| 'image/vnd.radiance'
|
|
340
|
+
| 'image/webp'
|
|
341
|
+
| 'image/x-exr'
|
|
342
|
+
| 'model/glb'
|
|
343
|
+
| 'model/gltf+json'
|
|
344
|
+
| 'model/gltf-binary'
|
|
345
|
+
| 'model/ksplat'
|
|
346
|
+
| 'model/mtl'
|
|
347
|
+
| 'model/obj'
|
|
348
|
+
| 'model/ply'
|
|
349
|
+
| 'model/sog'
|
|
350
|
+
| 'model/splat'
|
|
351
|
+
| 'model/spz'
|
|
352
|
+
| 'model/stl'
|
|
353
|
+
| 'model/vnd.collada+xml'
|
|
354
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
355
|
+
| 'model/x-3d-vox'
|
|
356
|
+
| 'model/x-blender'
|
|
357
|
+
| 'model/x-fbx'
|
|
358
|
+
| 'model/x-maya-ascii'
|
|
359
|
+
| 'model/x-maya-binary'
|
|
360
|
+
| 'model/x3d+xml'
|
|
361
|
+
| 'text/plain'
|
|
362
|
+
| 'video/mp4'
|
|
363
|
+
| 'video/quicktime'
|
|
364
|
+
| 'video/webm';
|
|
365
|
+
|
|
302
366
|
/**
|
|
303
367
|
* The output index of the asset within a job This index is an positive integer
|
|
304
368
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -314,12 +378,12 @@ export namespace ExampleUpdateResponse {
|
|
|
314
378
|
preview?: Asset.Preview;
|
|
315
379
|
|
|
316
380
|
/**
|
|
317
|
-
*
|
|
381
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
318
382
|
*
|
|
319
383
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
320
|
-
* asset is read with `
|
|
384
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
321
385
|
*/
|
|
322
|
-
|
|
386
|
+
qualityGate?: Asset.QualityGate;
|
|
323
387
|
|
|
324
388
|
/**
|
|
325
389
|
* The asset's thumbnail.
|
|
@@ -527,6 +591,12 @@ export namespace ExampleUpdateResponse {
|
|
|
527
591
|
*/
|
|
528
592
|
factor?: number;
|
|
529
593
|
|
|
594
|
+
/**
|
|
595
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
596
|
+
* kept as delivered.
|
|
597
|
+
*/
|
|
598
|
+
fileName?: string;
|
|
599
|
+
|
|
530
600
|
filterSpeckle?: number;
|
|
531
601
|
|
|
532
602
|
/**
|
|
@@ -616,6 +686,11 @@ export namespace ExampleUpdateResponse {
|
|
|
616
686
|
*/
|
|
617
687
|
invert?: boolean;
|
|
618
688
|
|
|
689
|
+
/**
|
|
690
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
691
|
+
*/
|
|
692
|
+
keepsFileNames?: boolean;
|
|
693
|
+
|
|
619
694
|
/**
|
|
620
695
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
621
696
|
*/
|
|
@@ -1238,12 +1313,12 @@ export namespace ExampleUpdateResponse {
|
|
|
1238
1313
|
}
|
|
1239
1314
|
|
|
1240
1315
|
/**
|
|
1241
|
-
*
|
|
1316
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1242
1317
|
*
|
|
1243
1318
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1244
|
-
* asset is read with `
|
|
1319
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1245
1320
|
*/
|
|
1246
|
-
export interface
|
|
1321
|
+
export interface QualityGate {
|
|
1247
1322
|
/**
|
|
1248
1323
|
* ISO-8601 timestamp of when scoring ran
|
|
1249
1324
|
*/
|
|
@@ -1277,13 +1352,13 @@ export namespace ExampleUpdateResponse {
|
|
|
1277
1352
|
/**
|
|
1278
1353
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1279
1354
|
*
|
|
1280
|
-
* Returned only when the asset is read with `
|
|
1355
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1281
1356
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1282
1357
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1283
1358
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
1284
1359
|
* version, or an unreadable archive).
|
|
1285
1360
|
*/
|
|
1286
|
-
details?:
|
|
1361
|
+
details?: QualityGate.Details;
|
|
1287
1362
|
|
|
1288
1363
|
/**
|
|
1289
1364
|
* Error message when status is 'error' (truncated)
|
|
@@ -1306,11 +1381,11 @@ export namespace ExampleUpdateResponse {
|
|
|
1306
1381
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
1307
1382
|
}
|
|
1308
1383
|
|
|
1309
|
-
export namespace
|
|
1384
|
+
export namespace QualityGate {
|
|
1310
1385
|
/**
|
|
1311
1386
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1312
1387
|
*
|
|
1313
|
-
* Returned only when the asset is read with `
|
|
1388
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1314
1389
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1315
1390
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1316
1391
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -1913,6 +1988,7 @@ export namespace ExampleUpdateResponse {
|
|
|
1913
1988
|
| 'remove-background'
|
|
1914
1989
|
| 'transform'
|
|
1915
1990
|
| 'user-approval'
|
|
1991
|
+
| 'user-selection'
|
|
1916
1992
|
| 'workflow';
|
|
1917
1993
|
|
|
1918
1994
|
/**
|
|
@@ -1943,14 +2019,15 @@ export namespace ExampleUpdateResponse {
|
|
|
1943
2019
|
includeOutputsInWorkflowJob?: true;
|
|
1944
2020
|
|
|
1945
2021
|
/**
|
|
1946
|
-
* The inputs of the node.
|
|
2022
|
+
* The inputs of the node. For a user-selection node, the array input's `min`/`max`
|
|
2023
|
+
* bound how many items the user may pick (defaults: 1 and 100); conditional
|
|
2024
|
+
* connections may be present as additional inputs.
|
|
1947
2025
|
*/
|
|
1948
2026
|
inputs?: Array<Flow.Input>;
|
|
1949
2027
|
|
|
1950
2028
|
/**
|
|
1951
|
-
* Statically-configured items for a List node
|
|
1952
|
-
*
|
|
1953
|
-
* numbers, or asset IDs.
|
|
2029
|
+
* Statically-configured items for a List node, or the frozen candidate list of a
|
|
2030
|
+
* UserSelection node. The values can be strings, numbers, or asset IDs.
|
|
1954
2031
|
*/
|
|
1955
2032
|
items?: Array<string>;
|
|
1956
2033
|
|
|
@@ -2099,7 +2176,9 @@ export namespace ExampleUpdateResponse {
|
|
|
2099
2176
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
2100
2177
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
2101
2178
|
* not able to create the asset on the flight on API side with dataurl without
|
|
2102
|
-
* data:kind, prefix
|
|
2179
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
2180
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
2181
|
+
* generation time.
|
|
2103
2182
|
*/
|
|
2104
2183
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
2105
2184
|
|
|
@@ -2127,8 +2206,9 @@ export namespace ExampleUpdateResponse {
|
|
|
2127
2206
|
maxDuration?: number;
|
|
2128
2207
|
|
|
2129
2208
|
/**
|
|
2130
|
-
* The maximum allowed length for \`string\`
|
|
2131
|
-
* \`string_array
|
|
2209
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
2210
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
2211
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
2132
2212
|
*/
|
|
2133
2213
|
maxLength?: number;
|
|
2134
2214
|
|
|
@@ -2145,8 +2225,9 @@ export namespace ExampleUpdateResponse {
|
|
|
2145
2225
|
min?: number;
|
|
2146
2226
|
|
|
2147
2227
|
/**
|
|
2148
|
-
* The minimum allowed length for string
|
|
2149
|
-
* \`string_array
|
|
2228
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
2229
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
2230
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
2150
2231
|
*/
|
|
2151
2232
|
minLength?: number;
|
|
2152
2233
|
|
|
@@ -2226,8 +2307,7 @@ export namespace ExampleUpdateResponse {
|
|
|
2226
2307
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
2227
2308
|
* defined
|
|
2228
2309
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
2229
|
-
* - \`
|
|
2230
|
-
* value
|
|
2310
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
2231
2311
|
*
|
|
2232
2312
|
* By default, the input is not required.
|
|
2233
2313
|
*/
|
|
@@ -2326,7 +2406,9 @@ export namespace ExampleUpdateResponse {
|
|
|
2326
2406
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
2327
2407
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
2328
2408
|
* not able to create the asset on the flight on API side with dataurl without
|
|
2329
|
-
* data:kind, prefix
|
|
2409
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
2410
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
2411
|
+
* generation time.
|
|
2330
2412
|
*/
|
|
2331
2413
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
2332
2414
|
|
|
@@ -2354,8 +2436,9 @@ export namespace ExampleUpdateResponse {
|
|
|
2354
2436
|
maxDuration?: number;
|
|
2355
2437
|
|
|
2356
2438
|
/**
|
|
2357
|
-
* The maximum allowed length for \`string\`
|
|
2358
|
-
* \`string_array
|
|
2439
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
2440
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
2441
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
2359
2442
|
*/
|
|
2360
2443
|
maxLength?: number;
|
|
2361
2444
|
|
|
@@ -2372,8 +2455,9 @@ export namespace ExampleUpdateResponse {
|
|
|
2372
2455
|
min?: number;
|
|
2373
2456
|
|
|
2374
2457
|
/**
|
|
2375
|
-
* The minimum allowed length for string
|
|
2376
|
-
* \`string_array
|
|
2458
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
2459
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
2460
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
2377
2461
|
*/
|
|
2378
2462
|
minLength?: number;
|
|
2379
2463
|
|
|
@@ -2453,8 +2537,7 @@ export namespace ExampleUpdateResponse {
|
|
|
2453
2537
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
2454
2538
|
* defined
|
|
2455
2539
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
2456
|
-
* - \`
|
|
2457
|
-
* value
|
|
2540
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
2458
2541
|
*
|
|
2459
2542
|
* By default, the input is not required.
|
|
2460
2543
|
*/
|
|
@@ -2511,8 +2594,7 @@ export namespace ExampleUpdateResponse {
|
|
|
2511
2594
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
2512
2595
|
* defined
|
|
2513
2596
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
2514
|
-
* - \`
|
|
2515
|
-
* value
|
|
2597
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
2516
2598
|
*
|
|
2517
2599
|
* By default, the input is not required.
|
|
2518
2600
|
*/
|
|
@@ -2523,12 +2605,9 @@ export namespace ExampleUpdateResponse {
|
|
|
2523
2605
|
always?: boolean;
|
|
2524
2606
|
|
|
2525
2607
|
/**
|
|
2526
|
-
* Makes this input required when
|
|
2527
|
-
*
|
|
2528
|
-
* - Key: name of the input to check
|
|
2529
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
2608
|
+
* Makes this input required when other inputs have one of the listed values
|
|
2530
2609
|
*/
|
|
2531
|
-
|
|
2610
|
+
conditional?: Required.Conditional;
|
|
2532
2611
|
|
|
2533
2612
|
/**
|
|
2534
2613
|
* Makes this input required when another input is defined:
|
|
@@ -2546,6 +2625,26 @@ export namespace ExampleUpdateResponse {
|
|
|
2546
2625
|
*/
|
|
2547
2626
|
ifNotDefined?: unknown;
|
|
2548
2627
|
}
|
|
2628
|
+
|
|
2629
|
+
export namespace Required {
|
|
2630
|
+
/**
|
|
2631
|
+
* Makes this input required when other inputs have one of the listed values
|
|
2632
|
+
*/
|
|
2633
|
+
export interface Conditional {
|
|
2634
|
+
/**
|
|
2635
|
+
* The conditions to check:
|
|
2636
|
+
*
|
|
2637
|
+
* - Key: name of the input to check
|
|
2638
|
+
* - Value: values of that input that satisfy the condition
|
|
2639
|
+
*/
|
|
2640
|
+
values: unknown;
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
2644
|
+
*/
|
|
2645
|
+
operator?: 'and' | 'or';
|
|
2646
|
+
}
|
|
2647
|
+
}
|
|
2549
2648
|
}
|
|
2550
2649
|
|
|
2551
2650
|
/**
|
|
@@ -2586,8 +2685,7 @@ export namespace ExampleUpdateResponse {
|
|
|
2586
2685
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
2587
2686
|
* defined
|
|
2588
2687
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
2589
|
-
* - \`
|
|
2590
|
-
* value
|
|
2688
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
2591
2689
|
*
|
|
2592
2690
|
* By default, the input is not required.
|
|
2593
2691
|
*/
|
|
@@ -2598,12 +2696,9 @@ export namespace ExampleUpdateResponse {
|
|
|
2598
2696
|
always?: boolean;
|
|
2599
2697
|
|
|
2600
2698
|
/**
|
|
2601
|
-
* Makes this input required when
|
|
2602
|
-
*
|
|
2603
|
-
* - Key: name of the input to check
|
|
2604
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
2699
|
+
* Makes this input required when other inputs have one of the listed values
|
|
2605
2700
|
*/
|
|
2606
|
-
|
|
2701
|
+
conditional?: Required.Conditional;
|
|
2607
2702
|
|
|
2608
2703
|
/**
|
|
2609
2704
|
* Makes this input required when another input is defined:
|
|
@@ -2621,6 +2716,26 @@ export namespace ExampleUpdateResponse {
|
|
|
2621
2716
|
*/
|
|
2622
2717
|
ifNotDefined?: unknown;
|
|
2623
2718
|
}
|
|
2719
|
+
|
|
2720
|
+
export namespace Required {
|
|
2721
|
+
/**
|
|
2722
|
+
* Makes this input required when other inputs have one of the listed values
|
|
2723
|
+
*/
|
|
2724
|
+
export interface Conditional {
|
|
2725
|
+
/**
|
|
2726
|
+
* The conditions to check:
|
|
2727
|
+
*
|
|
2728
|
+
* - Key: name of the input to check
|
|
2729
|
+
* - Value: values of that input that satisfy the condition
|
|
2730
|
+
*/
|
|
2731
|
+
values: unknown;
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
2735
|
+
*/
|
|
2736
|
+
operator?: 'and' | 'or';
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2624
2739
|
}
|
|
2625
2740
|
|
|
2626
2741
|
/**
|
|
@@ -2678,7 +2793,7 @@ export namespace ExampleUpdateResponse {
|
|
|
2678
2793
|
|
|
2679
2794
|
/**
|
|
2680
2795
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
2681
|
-
* top of the generation itself, such as `
|
|
2796
|
+
* top of the generation itself, such as `quality-gate`.
|
|
2682
2797
|
*
|
|
2683
2798
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
2684
2799
|
* values here.
|
|
@@ -2708,7 +2823,7 @@ export namespace ExampleUpdateResponse {
|
|
|
2708
2823
|
export namespace Billing {
|
|
2709
2824
|
/**
|
|
2710
2825
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
2711
|
-
* top of the generation itself, such as `
|
|
2826
|
+
* top of the generation itself, such as `quality-gate`.
|
|
2712
2827
|
*
|
|
2713
2828
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
2714
2829
|
* values here.
|
|
@@ -2728,7 +2843,7 @@ export namespace ExampleUpdateResponse {
|
|
|
2728
2843
|
export interface CuCostDetails {
|
|
2729
2844
|
'ip-detection'?: number;
|
|
2730
2845
|
|
|
2731
|
-
'
|
|
2846
|
+
'quality-gate'?: number;
|
|
2732
2847
|
}
|
|
2733
2848
|
}
|
|
2734
2849
|
}
|
|
@@ -3000,6 +3115,66 @@ export namespace ExampleListResponse {
|
|
|
3000
3115
|
*/
|
|
3001
3116
|
originalFileUrl?: string;
|
|
3002
3117
|
|
|
3118
|
+
/**
|
|
3119
|
+
* The mime type of the original file url.
|
|
3120
|
+
*
|
|
3121
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
3122
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
3123
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
3124
|
+
* Omitted when the stored format could not be determined.
|
|
3125
|
+
*/
|
|
3126
|
+
originalMimeType?:
|
|
3127
|
+
| 'application/gzip'
|
|
3128
|
+
| 'application/json'
|
|
3129
|
+
| 'application/octet-stream'
|
|
3130
|
+
| 'application/pdf'
|
|
3131
|
+
| 'application/safetensors'
|
|
3132
|
+
| 'application/vnd.autodesk.fbx'
|
|
3133
|
+
| 'application/x-authorware-bin'
|
|
3134
|
+
| 'application/x-zip-compressed'
|
|
3135
|
+
| 'application/x.autodesk.fbx'
|
|
3136
|
+
| 'application/zip'
|
|
3137
|
+
| 'audio/flac'
|
|
3138
|
+
| 'audio/m4a'
|
|
3139
|
+
| 'audio/mpeg'
|
|
3140
|
+
| 'audio/ogg'
|
|
3141
|
+
| 'audio/wav'
|
|
3142
|
+
| 'image/aces'
|
|
3143
|
+
| 'image/avif'
|
|
3144
|
+
| 'image/bmp'
|
|
3145
|
+
| 'image/gif'
|
|
3146
|
+
| 'image/heic'
|
|
3147
|
+
| 'image/jpeg'
|
|
3148
|
+
| 'image/png'
|
|
3149
|
+
| 'image/svg+xml'
|
|
3150
|
+
| 'image/tiff'
|
|
3151
|
+
| 'image/vnd.radiance'
|
|
3152
|
+
| 'image/webp'
|
|
3153
|
+
| 'image/x-exr'
|
|
3154
|
+
| 'model/glb'
|
|
3155
|
+
| 'model/gltf+json'
|
|
3156
|
+
| 'model/gltf-binary'
|
|
3157
|
+
| 'model/ksplat'
|
|
3158
|
+
| 'model/mtl'
|
|
3159
|
+
| 'model/obj'
|
|
3160
|
+
| 'model/ply'
|
|
3161
|
+
| 'model/sog'
|
|
3162
|
+
| 'model/splat'
|
|
3163
|
+
| 'model/spz'
|
|
3164
|
+
| 'model/stl'
|
|
3165
|
+
| 'model/vnd.collada+xml'
|
|
3166
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
3167
|
+
| 'model/x-3d-vox'
|
|
3168
|
+
| 'model/x-blender'
|
|
3169
|
+
| 'model/x-fbx'
|
|
3170
|
+
| 'model/x-maya-ascii'
|
|
3171
|
+
| 'model/x-maya-binary'
|
|
3172
|
+
| 'model/x3d+xml'
|
|
3173
|
+
| 'text/plain'
|
|
3174
|
+
| 'video/mp4'
|
|
3175
|
+
| 'video/quicktime'
|
|
3176
|
+
| 'video/webm';
|
|
3177
|
+
|
|
3003
3178
|
/**
|
|
3004
3179
|
* The output index of the asset within a job This index is an positive integer
|
|
3005
3180
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -3015,12 +3190,12 @@ export namespace ExampleListResponse {
|
|
|
3015
3190
|
preview?: Asset.Preview;
|
|
3016
3191
|
|
|
3017
3192
|
/**
|
|
3018
|
-
*
|
|
3193
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3019
3194
|
*
|
|
3020
3195
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3021
|
-
* asset is read with `
|
|
3196
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3022
3197
|
*/
|
|
3023
|
-
|
|
3198
|
+
qualityGate?: Asset.QualityGate;
|
|
3024
3199
|
|
|
3025
3200
|
/**
|
|
3026
3201
|
* The asset's thumbnail.
|
|
@@ -3228,6 +3403,12 @@ export namespace ExampleListResponse {
|
|
|
3228
3403
|
*/
|
|
3229
3404
|
factor?: number;
|
|
3230
3405
|
|
|
3406
|
+
/**
|
|
3407
|
+
* The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
|
|
3408
|
+
* kept as delivered.
|
|
3409
|
+
*/
|
|
3410
|
+
fileName?: string;
|
|
3411
|
+
|
|
3231
3412
|
filterSpeckle?: number;
|
|
3232
3413
|
|
|
3233
3414
|
/**
|
|
@@ -3317,6 +3498,11 @@ export namespace ExampleListResponse {
|
|
|
3317
3498
|
*/
|
|
3318
3499
|
invert?: boolean;
|
|
3319
3500
|
|
|
3501
|
+
/**
|
|
3502
|
+
* Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
|
|
3503
|
+
*/
|
|
3504
|
+
keepsFileNames?: boolean;
|
|
3505
|
+
|
|
3320
3506
|
/**
|
|
3321
3507
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
3322
3508
|
*/
|
|
@@ -3939,12 +4125,12 @@ export namespace ExampleListResponse {
|
|
|
3939
4125
|
}
|
|
3940
4126
|
|
|
3941
4127
|
/**
|
|
3942
|
-
*
|
|
4128
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3943
4129
|
*
|
|
3944
4130
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3945
|
-
* asset is read with `
|
|
4131
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3946
4132
|
*/
|
|
3947
|
-
export interface
|
|
4133
|
+
export interface QualityGate {
|
|
3948
4134
|
/**
|
|
3949
4135
|
* ISO-8601 timestamp of when scoring ran
|
|
3950
4136
|
*/
|
|
@@ -3978,13 +4164,13 @@ export namespace ExampleListResponse {
|
|
|
3978
4164
|
/**
|
|
3979
4165
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
3980
4166
|
*
|
|
3981
|
-
* Returned only when the asset is read with `
|
|
4167
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
3982
4168
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
3983
4169
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
3984
4170
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
3985
4171
|
* version, or an unreadable archive).
|
|
3986
4172
|
*/
|
|
3987
|
-
details?:
|
|
4173
|
+
details?: QualityGate.Details;
|
|
3988
4174
|
|
|
3989
4175
|
/**
|
|
3990
4176
|
* Error message when status is 'error' (truncated)
|
|
@@ -4007,11 +4193,11 @@ export namespace ExampleListResponse {
|
|
|
4007
4193
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
4008
4194
|
}
|
|
4009
4195
|
|
|
4010
|
-
export namespace
|
|
4196
|
+
export namespace QualityGate {
|
|
4011
4197
|
/**
|
|
4012
4198
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
4013
4199
|
*
|
|
4014
|
-
* Returned only when the asset is read with `
|
|
4200
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
4015
4201
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
4016
4202
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
4017
4203
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -4614,6 +4800,7 @@ export namespace ExampleListResponse {
|
|
|
4614
4800
|
| 'remove-background'
|
|
4615
4801
|
| 'transform'
|
|
4616
4802
|
| 'user-approval'
|
|
4803
|
+
| 'user-selection'
|
|
4617
4804
|
| 'workflow';
|
|
4618
4805
|
|
|
4619
4806
|
/**
|
|
@@ -4644,14 +4831,15 @@ export namespace ExampleListResponse {
|
|
|
4644
4831
|
includeOutputsInWorkflowJob?: true;
|
|
4645
4832
|
|
|
4646
4833
|
/**
|
|
4647
|
-
* The inputs of the node.
|
|
4834
|
+
* The inputs of the node. For a user-selection node, the array input's `min`/`max`
|
|
4835
|
+
* bound how many items the user may pick (defaults: 1 and 100); conditional
|
|
4836
|
+
* connections may be present as additional inputs.
|
|
4648
4837
|
*/
|
|
4649
4838
|
inputs?: Array<Flow.Input>;
|
|
4650
4839
|
|
|
4651
4840
|
/**
|
|
4652
|
-
* Statically-configured items for a List node
|
|
4653
|
-
*
|
|
4654
|
-
* numbers, or asset IDs.
|
|
4841
|
+
* Statically-configured items for a List node, or the frozen candidate list of a
|
|
4842
|
+
* UserSelection node. The values can be strings, numbers, or asset IDs.
|
|
4655
4843
|
*/
|
|
4656
4844
|
items?: Array<string>;
|
|
4657
4845
|
|
|
@@ -4800,7 +4988,9 @@ export namespace ExampleListResponse {
|
|
|
4800
4988
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
4801
4989
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
4802
4990
|
* not able to create the asset on the flight on API side with dataurl without
|
|
4803
|
-
* data:kind, prefix
|
|
4991
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
4992
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
4993
|
+
* generation time.
|
|
4804
4994
|
*/
|
|
4805
4995
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
4806
4996
|
|
|
@@ -4828,8 +5018,9 @@ export namespace ExampleListResponse {
|
|
|
4828
5018
|
maxDuration?: number;
|
|
4829
5019
|
|
|
4830
5020
|
/**
|
|
4831
|
-
* The maximum allowed length for \`string\`
|
|
4832
|
-
* \`string_array
|
|
5021
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
5022
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
5023
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
4833
5024
|
*/
|
|
4834
5025
|
maxLength?: number;
|
|
4835
5026
|
|
|
@@ -4846,8 +5037,9 @@ export namespace ExampleListResponse {
|
|
|
4846
5037
|
min?: number;
|
|
4847
5038
|
|
|
4848
5039
|
/**
|
|
4849
|
-
* The minimum allowed length for string
|
|
4850
|
-
* \`string_array
|
|
5040
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
5041
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
5042
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
4851
5043
|
*/
|
|
4852
5044
|
minLength?: number;
|
|
4853
5045
|
|
|
@@ -4927,8 +5119,7 @@ export namespace ExampleListResponse {
|
|
|
4927
5119
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
4928
5120
|
* defined
|
|
4929
5121
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
4930
|
-
* - \`
|
|
4931
|
-
* value
|
|
5122
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
4932
5123
|
*
|
|
4933
5124
|
* By default, the input is not required.
|
|
4934
5125
|
*/
|
|
@@ -5027,7 +5218,9 @@ export namespace ExampleListResponse {
|
|
|
5027
5218
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
5028
5219
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
5029
5220
|
* not able to create the asset on the flight on API side with dataurl without
|
|
5030
|
-
* data:kind, prefix
|
|
5221
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
5222
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
5223
|
+
* generation time.
|
|
5031
5224
|
*/
|
|
5032
5225
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
5033
5226
|
|
|
@@ -5055,8 +5248,9 @@ export namespace ExampleListResponse {
|
|
|
5055
5248
|
maxDuration?: number;
|
|
5056
5249
|
|
|
5057
5250
|
/**
|
|
5058
|
-
* The maximum allowed length for \`string\`
|
|
5059
|
-
* \`string_array
|
|
5251
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
5252
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
5253
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
5060
5254
|
*/
|
|
5061
5255
|
maxLength?: number;
|
|
5062
5256
|
|
|
@@ -5073,8 +5267,9 @@ export namespace ExampleListResponse {
|
|
|
5073
5267
|
min?: number;
|
|
5074
5268
|
|
|
5075
5269
|
/**
|
|
5076
|
-
* The minimum allowed length for string
|
|
5077
|
-
* \`string_array
|
|
5270
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
5271
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
5272
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
5078
5273
|
*/
|
|
5079
5274
|
minLength?: number;
|
|
5080
5275
|
|
|
@@ -5154,8 +5349,7 @@ export namespace ExampleListResponse {
|
|
|
5154
5349
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
5155
5350
|
* defined
|
|
5156
5351
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
5157
|
-
* - \`
|
|
5158
|
-
* value
|
|
5352
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
5159
5353
|
*
|
|
5160
5354
|
* By default, the input is not required.
|
|
5161
5355
|
*/
|
|
@@ -5212,8 +5406,7 @@ export namespace ExampleListResponse {
|
|
|
5212
5406
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
5213
5407
|
* defined
|
|
5214
5408
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
5215
|
-
* - \`
|
|
5216
|
-
* value
|
|
5409
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
5217
5410
|
*
|
|
5218
5411
|
* By default, the input is not required.
|
|
5219
5412
|
*/
|
|
@@ -5224,12 +5417,9 @@ export namespace ExampleListResponse {
|
|
|
5224
5417
|
always?: boolean;
|
|
5225
5418
|
|
|
5226
5419
|
/**
|
|
5227
|
-
* Makes this input required when
|
|
5228
|
-
*
|
|
5229
|
-
* - Key: name of the input to check
|
|
5230
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
5420
|
+
* Makes this input required when other inputs have one of the listed values
|
|
5231
5421
|
*/
|
|
5232
|
-
|
|
5422
|
+
conditional?: Required.Conditional;
|
|
5233
5423
|
|
|
5234
5424
|
/**
|
|
5235
5425
|
* Makes this input required when another input is defined:
|
|
@@ -5247,6 +5437,26 @@ export namespace ExampleListResponse {
|
|
|
5247
5437
|
*/
|
|
5248
5438
|
ifNotDefined?: unknown;
|
|
5249
5439
|
}
|
|
5440
|
+
|
|
5441
|
+
export namespace Required {
|
|
5442
|
+
/**
|
|
5443
|
+
* Makes this input required when other inputs have one of the listed values
|
|
5444
|
+
*/
|
|
5445
|
+
export interface Conditional {
|
|
5446
|
+
/**
|
|
5447
|
+
* The conditions to check:
|
|
5448
|
+
*
|
|
5449
|
+
* - Key: name of the input to check
|
|
5450
|
+
* - Value: values of that input that satisfy the condition
|
|
5451
|
+
*/
|
|
5452
|
+
values: unknown;
|
|
5453
|
+
|
|
5454
|
+
/**
|
|
5455
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
5456
|
+
*/
|
|
5457
|
+
operator?: 'and' | 'or';
|
|
5458
|
+
}
|
|
5459
|
+
}
|
|
5250
5460
|
}
|
|
5251
5461
|
|
|
5252
5462
|
/**
|
|
@@ -5287,8 +5497,7 @@ export namespace ExampleListResponse {
|
|
|
5287
5497
|
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
5288
5498
|
* defined
|
|
5289
5499
|
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
5290
|
-
* - \`
|
|
5291
|
-
* value
|
|
5500
|
+
* - \`conditional\`: Input is required when other inputs have specific values
|
|
5292
5501
|
*
|
|
5293
5502
|
* By default, the input is not required.
|
|
5294
5503
|
*/
|
|
@@ -5299,12 +5508,9 @@ export namespace ExampleListResponse {
|
|
|
5299
5508
|
always?: boolean;
|
|
5300
5509
|
|
|
5301
5510
|
/**
|
|
5302
|
-
* Makes this input required when
|
|
5303
|
-
*
|
|
5304
|
-
* - Key: name of the input to check
|
|
5305
|
-
* - Value: operation and allowed values that trigger the requirement
|
|
5511
|
+
* Makes this input required when other inputs have one of the listed values
|
|
5306
5512
|
*/
|
|
5307
|
-
|
|
5513
|
+
conditional?: Required.Conditional;
|
|
5308
5514
|
|
|
5309
5515
|
/**
|
|
5310
5516
|
* Makes this input required when another input is defined:
|
|
@@ -5322,6 +5528,26 @@ export namespace ExampleListResponse {
|
|
|
5322
5528
|
*/
|
|
5323
5529
|
ifNotDefined?: unknown;
|
|
5324
5530
|
}
|
|
5531
|
+
|
|
5532
|
+
export namespace Required {
|
|
5533
|
+
/**
|
|
5534
|
+
* Makes this input required when other inputs have one of the listed values
|
|
5535
|
+
*/
|
|
5536
|
+
export interface Conditional {
|
|
5537
|
+
/**
|
|
5538
|
+
* The conditions to check:
|
|
5539
|
+
*
|
|
5540
|
+
* - Key: name of the input to check
|
|
5541
|
+
* - Value: values of that input that satisfy the condition
|
|
5542
|
+
*/
|
|
5543
|
+
values: unknown;
|
|
5544
|
+
|
|
5545
|
+
/**
|
|
5546
|
+
* How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
|
|
5547
|
+
*/
|
|
5548
|
+
operator?: 'and' | 'or';
|
|
5549
|
+
}
|
|
5550
|
+
}
|
|
5325
5551
|
}
|
|
5326
5552
|
|
|
5327
5553
|
/**
|
|
@@ -5379,7 +5605,7 @@ export namespace ExampleListResponse {
|
|
|
5379
5605
|
|
|
5380
5606
|
/**
|
|
5381
5607
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
5382
|
-
* top of the generation itself, such as `
|
|
5608
|
+
* top of the generation itself, such as `quality-gate`.
|
|
5383
5609
|
*
|
|
5384
5610
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
5385
5611
|
* values here.
|
|
@@ -5409,7 +5635,7 @@ export namespace ExampleListResponse {
|
|
|
5409
5635
|
export namespace Billing {
|
|
5410
5636
|
/**
|
|
5411
5637
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
5412
|
-
* top of the generation itself, such as `
|
|
5638
|
+
* top of the generation itself, such as `quality-gate`.
|
|
5413
5639
|
*
|
|
5414
5640
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
5415
5641
|
* values here.
|
|
@@ -5429,7 +5655,7 @@ export namespace ExampleListResponse {
|
|
|
5429
5655
|
export interface CuCostDetails {
|
|
5430
5656
|
'ip-detection'?: number;
|
|
5431
5657
|
|
|
5432
|
-
'
|
|
5658
|
+
'quality-gate'?: number;
|
|
5433
5659
|
}
|
|
5434
5660
|
}
|
|
5435
5661
|
}
|