@scenario-labs/sdk 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/client.d.mts +20 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -5
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +42 -0
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +42 -0
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +79 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +75 -0
- package/core/pagination.mjs.map +1 -1
- package/internal/utils/values.d.mts +6 -0
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts +6 -0
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +11 -0
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +10 -0
- package/internal/utils/values.mjs.map +1 -1
- package/lib/generate.js +7 -7
- package/lib/generate.js.map +1 -1
- package/lib/generate.mjs +7 -7
- package/lib/generate.mjs.map +1 -1
- package/lib/job.d.mts +1 -1
- package/lib/job.d.mts.map +1 -1
- package/lib/job.d.ts +1 -1
- package/lib/job.d.ts.map +1 -1
- package/lib/job.js +5 -6
- package/lib/job.js.map +1 -1
- package/lib/job.mjs +6 -7
- package/lib/job.mjs.map +1 -1
- package/lib/models.d.mts.map +1 -1
- package/lib/models.d.ts.map +1 -1
- package/lib/models.js +7 -5
- package/lib/models.js.map +1 -1
- package/lib/models.mjs +8 -6
- package/lib/models.mjs.map +1 -1
- package/lib/query.d.mts +21 -0
- package/lib/query.d.mts.map +1 -0
- package/lib/query.d.ts +21 -0
- package/lib/query.d.ts.map +1 -0
- package/lib/query.js +36 -0
- package/lib/query.js.map +1 -0
- package/lib/query.mjs +33 -0
- package/lib/query.mjs.map +1 -0
- package/lib/scenario.d.mts +3 -0
- package/lib/scenario.d.mts.map +1 -1
- package/lib/scenario.d.ts +3 -0
- package/lib/scenario.d.ts.map +1 -1
- package/lib/scenario.js +6 -0
- package/lib/scenario.js.map +1 -1
- package/lib/scenario.mjs +6 -0
- package/lib/scenario.mjs.map +1 -1
- package/lib/scope.d.mts +27 -7
- package/lib/scope.d.mts.map +1 -1
- package/lib/scope.d.ts +27 -7
- package/lib/scope.d.ts.map +1 -1
- package/lib/scope.js +40 -7
- package/lib/scope.js.map +1 -1
- package/lib/scope.mjs +37 -7
- package/lib/scope.mjs.map +1 -1
- package/lib/upload.d.mts +1 -1
- package/lib/upload.d.mts.map +1 -1
- package/lib/upload.d.ts +1 -1
- package/lib/upload.d.ts.map +1 -1
- package/lib/upload.js +6 -7
- package/lib/upload.js.map +1 -1
- package/lib/upload.mjs +7 -8
- package/lib/upload.mjs.map +1 -1
- package/lib/workflow.d.mts.map +1 -1
- package/lib/workflow.d.ts.map +1 -1
- package/lib/workflow.js +8 -6
- package/lib/workflow.js.map +1 -1
- package/lib/workflow.mjs +9 -7
- package/lib/workflow.mjs.map +1 -1
- package/lib/workflow_validator.d.mts +5 -0
- package/lib/workflow_validator.d.mts.map +1 -1
- package/lib/workflow_validator.d.ts +5 -0
- package/lib/workflow_validator.d.ts.map +1 -1
- package/lib/workflow_validator.js +113 -0
- package/lib/workflow_validator.js.map +1 -1
- package/lib/workflow_validator.mjs +113 -0
- package/lib/workflow_validator.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assets/assets.d.mts +130 -31
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +130 -31
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js +34 -11
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs +34 -11
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/assets/download.d.mts +24 -5
- package/resources/assets/download.d.mts.map +1 -1
- package/resources/assets/download.d.ts +24 -5
- package/resources/assets/download.d.ts.map +1 -1
- package/resources/assets/download.js +15 -3
- package/resources/assets/download.js.map +1 -1
- package/resources/assets/download.mjs +15 -3
- package/resources/assets/download.mjs.map +1 -1
- package/resources/collections/assets.d.mts.map +1 -1
- package/resources/collections/assets.d.ts.map +1 -1
- package/resources/collections/assets.js +3 -2
- package/resources/collections/assets.js.map +1 -1
- package/resources/collections/assets.mjs +3 -2
- package/resources/collections/assets.mjs.map +1 -1
- package/resources/collections/collections.d.mts.map +1 -1
- package/resources/collections/collections.d.ts.map +1 -1
- package/resources/collections/collections.js +20 -5
- package/resources/collections/collections.js.map +1 -1
- package/resources/collections/collections.mjs +20 -5
- package/resources/collections/collections.mjs.map +1 -1
- package/resources/collections/models.d.mts.map +1 -1
- package/resources/collections/models.d.ts.map +1 -1
- package/resources/collections/models.js +3 -2
- package/resources/collections/models.js.map +1 -1
- package/resources/collections/models.mjs +3 -2
- package/resources/collections/models.mjs.map +1 -1
- package/resources/generate.d.mts +1719 -225
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +1719 -225
- package/resources/generate.d.ts.map +1 -1
- package/resources/generate.js +65 -8
- package/resources/generate.js.map +1 -1
- package/resources/generate.mjs +65 -8
- package/resources/generate.mjs.map +1 -1
- package/resources/index.d.mts +5 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/jobs.d.mts +176 -74
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +176 -74
- package/resources/jobs.d.ts.map +1 -1
- package/resources/jobs.js +16 -4
- package/resources/jobs.js.map +1 -1
- package/resources/jobs.mjs +16 -4
- package/resources/jobs.mjs.map +1 -1
- package/resources/models/description.d.mts +2 -2
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +2 -2
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/description.js +6 -2
- package/resources/models/description.js.map +1 -1
- package/resources/models/description.mjs +6 -2
- package/resources/models/description.mjs.map +1 -1
- package/resources/models/examples.d.mts +120 -48
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +120 -48
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/examples.js +6 -2
- package/resources/models/examples.js.map +1 -1
- package/resources/models/examples.mjs +6 -2
- package/resources/models/examples.mjs.map +1 -1
- package/resources/models/index.d.mts +3 -0
- package/resources/models/index.d.mts.map +1 -1
- package/resources/models/index.d.ts +3 -0
- package/resources/models/index.d.ts.map +1 -1
- package/resources/models/index.js +7 -1
- package/resources/models/index.js.map +1 -1
- package/resources/models/index.mjs +3 -0
- package/resources/models/index.mjs.map +1 -1
- package/resources/models/models.d.mts +215 -77
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +215 -77
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +52 -11
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +52 -11
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/presets.d.mts +1016 -0
- package/resources/models/presets.d.mts.map +1 -0
- package/resources/models/presets.d.ts +1016 -0
- package/resources/models/presets.d.ts.map +1 -0
- package/resources/models/presets.js +52 -0
- package/resources/models/presets.js.map +1 -0
- package/resources/models/presets.mjs +48 -0
- package/resources/models/presets.mjs.map +1 -0
- package/resources/models/prompt-guide.d.mts +64 -0
- package/resources/models/prompt-guide.d.mts.map +1 -0
- package/resources/models/prompt-guide.d.ts +64 -0
- package/resources/models/prompt-guide.d.ts.map +1 -0
- package/resources/models/prompt-guide.js +31 -0
- package/resources/models/prompt-guide.js.map +1 -0
- package/resources/models/prompt-guide.mjs +27 -0
- package/resources/models/prompt-guide.mjs.map +1 -0
- package/resources/models/scores.d.mts +278 -0
- package/resources/models/scores.d.mts.map +1 -0
- package/resources/models/scores.d.ts +278 -0
- package/resources/models/scores.d.ts.map +1 -0
- package/resources/models/scores.js +29 -0
- package/resources/models/scores.js.map +1 -0
- package/resources/models/scores.mjs +25 -0
- package/resources/models/scores.mjs.map +1 -0
- package/resources/models/train.d.mts +108 -45
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +108 -45
- package/resources/models/train.d.ts.map +1 -1
- package/resources/models/train.js +3 -2
- package/resources/models/train.js.map +1 -1
- package/resources/models/train.mjs +3 -2
- package/resources/models/train.mjs.map +1 -1
- package/resources/models/training-images.d.mts.map +1 -1
- package/resources/models/training-images.d.ts.map +1 -1
- package/resources/models/training-images.js +5 -4
- package/resources/models/training-images.js.map +1 -1
- package/resources/models/training-images.mjs +5 -4
- package/resources/models/training-images.mjs.map +1 -1
- package/resources/projects/api-keys.d.mts +54 -0
- package/resources/projects/api-keys.d.mts.map +1 -0
- package/resources/projects/api-keys.d.ts +54 -0
- package/resources/projects/api-keys.d.ts.map +1 -0
- package/resources/projects/api-keys.js +23 -0
- package/resources/projects/api-keys.js.map +1 -0
- package/resources/projects/api-keys.mjs +19 -0
- package/resources/projects/api-keys.mjs.map +1 -0
- package/resources/projects/brief.d.mts +149 -0
- package/resources/projects/brief.d.mts.map +1 -0
- package/resources/projects/brief.d.ts +149 -0
- package/resources/projects/brief.d.ts.map +1 -0
- package/resources/projects/brief.js +28 -0
- package/resources/projects/brief.js.map +1 -0
- package/resources/projects/brief.mjs +24 -0
- package/resources/projects/brief.mjs.map +1 -0
- package/resources/projects/index.d.mts +9 -0
- package/resources/projects/index.d.mts.map +1 -0
- package/resources/projects/index.d.ts +9 -0
- package/resources/projects/index.d.ts.map +1 -0
- package/resources/projects/index.js +21 -0
- package/resources/projects/index.js.map +1 -0
- package/resources/projects/index.mjs +10 -0
- package/resources/projects/index.mjs.map +1 -0
- package/resources/projects/instructions.d.mts +102 -0
- package/resources/projects/instructions.d.mts.map +1 -0
- package/resources/projects/instructions.d.ts +102 -0
- package/resources/projects/instructions.d.ts.map +1 -0
- package/resources/projects/instructions.js +24 -0
- package/resources/projects/instructions.js.map +1 -0
- package/resources/projects/instructions.mjs +20 -0
- package/resources/projects/instructions.mjs.map +1 -0
- package/resources/projects/members.d.mts +788 -0
- package/resources/projects/members.d.mts.map +1 -0
- package/resources/projects/members.d.ts +788 -0
- package/resources/projects/members.d.ts.map +1 -0
- package/resources/projects/members.js +30 -0
- package/resources/projects/members.js.map +1 -0
- package/resources/projects/members.mjs +26 -0
- package/resources/projects/members.mjs.map +1 -0
- package/resources/projects/memory.d.mts +102 -0
- package/resources/projects/memory.d.mts.map +1 -0
- package/resources/projects/memory.d.ts +102 -0
- package/resources/projects/memory.d.ts.map +1 -0
- package/resources/projects/memory.js +24 -0
- package/resources/projects/memory.js.map +1 -0
- package/resources/projects/memory.mjs +20 -0
- package/resources/projects/memory.mjs.map +1 -0
- package/resources/projects/projects.d.mts +1129 -0
- package/resources/projects/projects.d.mts.map +1 -0
- package/resources/projects/projects.d.ts +1129 -0
- package/resources/projects/projects.d.ts.map +1 -0
- package/resources/projects/projects.js +79 -0
- package/resources/projects/projects.js.map +1 -0
- package/resources/projects/projects.mjs +74 -0
- package/resources/projects/projects.mjs.map +1 -0
- package/resources/projects/watermark.d.mts +459 -0
- package/resources/projects/watermark.d.mts.map +1 -0
- package/resources/projects/watermark.d.ts +459 -0
- package/resources/projects/watermark.d.ts.map +1 -0
- package/resources/projects/watermark.js +46 -0
- package/resources/projects/watermark.js.map +1 -0
- package/resources/projects/watermark.mjs +42 -0
- package/resources/projects/watermark.mjs.map +1 -0
- package/resources/projects/webhook-endpoints/events.d.mts +87 -0
- package/resources/projects/webhook-endpoints/events.d.mts.map +1 -0
- package/resources/projects/webhook-endpoints/events.d.ts +87 -0
- package/resources/projects/webhook-endpoints/events.d.ts.map +1 -0
- package/resources/projects/webhook-endpoints/events.js +28 -0
- package/resources/projects/webhook-endpoints/events.js.map +1 -0
- package/resources/projects/webhook-endpoints/events.mjs +24 -0
- package/resources/projects/webhook-endpoints/events.mjs.map +1 -0
- package/resources/projects/webhook-endpoints/index.d.mts +3 -0
- package/resources/projects/webhook-endpoints/index.d.mts.map +1 -0
- package/resources/projects/webhook-endpoints/index.d.ts +3 -0
- package/resources/projects/webhook-endpoints/index.d.ts.map +1 -0
- package/resources/projects/webhook-endpoints/index.js +9 -0
- package/resources/projects/webhook-endpoints/index.js.map +1 -0
- package/resources/projects/webhook-endpoints/index.mjs +4 -0
- package/resources/projects/webhook-endpoints/index.mjs.map +1 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.d.mts +249 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.d.mts.map +1 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.d.ts +249 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.d.ts.map +1 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.js +44 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.js.map +1 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.mjs +39 -0
- package/resources/projects/webhook-endpoints/webhook-endpoints.mjs.map +1 -0
- package/resources/projects/webhook-endpoints.d.mts +2 -0
- package/resources/projects/webhook-endpoints.d.mts.map +1 -0
- package/resources/projects/webhook-endpoints.d.ts +2 -0
- package/resources/projects/webhook-endpoints.d.ts.map +1 -0
- package/resources/projects/webhook-endpoints.js +6 -0
- package/resources/projects/webhook-endpoints.js.map +1 -0
- package/resources/projects/webhook-endpoints.mjs +3 -0
- package/resources/projects/webhook-endpoints.mjs.map +1 -0
- package/resources/projects.d.mts +2 -0
- package/resources/projects.d.mts.map +1 -0
- package/resources/projects.d.ts +2 -0
- package/resources/projects.d.ts.map +1 -0
- package/resources/projects.js +6 -0
- package/resources/projects.js.map +1 -0
- package/resources/projects.mjs +3 -0
- package/resources/projects.mjs.map +1 -0
- package/resources/recommendations.d.mts +1107 -0
- package/resources/recommendations.d.mts.map +1 -0
- package/resources/recommendations.d.ts +1107 -0
- package/resources/recommendations.d.ts.map +1 -0
- package/resources/recommendations.js +17 -0
- package/resources/recommendations.js.map +1 -0
- package/resources/recommendations.mjs +13 -0
- package/resources/recommendations.mjs.map +1 -0
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +4 -3
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +4 -3
- package/resources/search.mjs.map +1 -1
- package/resources/tags.d.mts.map +1 -1
- package/resources/tags.d.ts.map +1 -1
- package/resources/tags.js +5 -1
- package/resources/tags.js.map +1 -1
- package/resources/tags.mjs +5 -1
- package/resources/tags.mjs.map +1 -1
- package/resources/teams/brief.d.mts +149 -0
- package/resources/teams/brief.d.mts.map +1 -0
- package/resources/teams/brief.d.ts +149 -0
- package/resources/teams/brief.d.ts.map +1 -0
- package/resources/teams/brief.js +28 -0
- package/resources/teams/brief.js.map +1 -0
- package/resources/teams/brief.mjs +24 -0
- package/resources/teams/brief.mjs.map +1 -0
- package/resources/teams/index.d.mts +7 -0
- package/resources/teams/index.d.mts.map +1 -0
- package/resources/teams/index.d.ts +7 -0
- package/resources/teams/index.d.ts.map +1 -0
- package/resources/teams/index.js +17 -0
- package/resources/teams/index.js.map +1 -0
- package/resources/teams/index.mjs +8 -0
- package/resources/teams/index.mjs.map +1 -0
- package/resources/teams/ip-filters.d.mts +115 -0
- package/resources/teams/ip-filters.d.mts.map +1 -0
- package/resources/teams/ip-filters.d.ts +115 -0
- package/resources/teams/ip-filters.d.ts.map +1 -0
- package/resources/teams/ip-filters.js +45 -0
- package/resources/teams/ip-filters.js.map +1 -0
- package/resources/teams/ip-filters.mjs +41 -0
- package/resources/teams/ip-filters.mjs.map +1 -0
- package/resources/teams/members.d.mts +204 -0
- package/resources/teams/members.d.mts.map +1 -0
- package/resources/teams/members.d.ts +204 -0
- package/resources/teams/members.d.ts.map +1 -0
- package/resources/teams/members.js +30 -0
- package/resources/teams/members.js.map +1 -0
- package/resources/teams/members.mjs +26 -0
- package/resources/teams/members.mjs.map +1 -0
- package/resources/teams/teams.d.mts +878 -0
- package/resources/teams/teams.d.mts.map +1 -0
- package/resources/teams/teams.d.ts +878 -0
- package/resources/teams/teams.d.ts.map +1 -0
- package/resources/teams/teams.js +66 -0
- package/resources/teams/teams.js.map +1 -0
- package/resources/teams/teams.mjs +61 -0
- package/resources/teams/teams.mjs.map +1 -0
- package/resources/teams/watermark.d.mts +459 -0
- package/resources/teams/watermark.d.mts.map +1 -0
- package/resources/teams/watermark.d.ts +459 -0
- package/resources/teams/watermark.d.ts.map +1 -0
- package/resources/teams/watermark.js +46 -0
- package/resources/teams/watermark.js.map +1 -0
- package/resources/teams/watermark.mjs +42 -0
- package/resources/teams/watermark.mjs.map +1 -0
- package/resources/teams/webhook-endpoints/events.d.mts +87 -0
- package/resources/teams/webhook-endpoints/events.d.mts.map +1 -0
- package/resources/teams/webhook-endpoints/events.d.ts +87 -0
- package/resources/teams/webhook-endpoints/events.d.ts.map +1 -0
- package/resources/teams/webhook-endpoints/events.js +28 -0
- package/resources/teams/webhook-endpoints/events.js.map +1 -0
- package/resources/teams/webhook-endpoints/events.mjs +24 -0
- package/resources/teams/webhook-endpoints/events.mjs.map +1 -0
- package/resources/teams/webhook-endpoints/index.d.mts +3 -0
- package/resources/teams/webhook-endpoints/index.d.mts.map +1 -0
- package/resources/teams/webhook-endpoints/index.d.ts +3 -0
- package/resources/teams/webhook-endpoints/index.d.ts.map +1 -0
- package/resources/teams/webhook-endpoints/index.js +9 -0
- package/resources/teams/webhook-endpoints/index.js.map +1 -0
- package/resources/teams/webhook-endpoints/index.mjs +4 -0
- package/resources/teams/webhook-endpoints/index.mjs.map +1 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.d.mts +250 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.d.mts.map +1 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.d.ts +250 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.d.ts.map +1 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.js +45 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.js.map +1 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.mjs +40 -0
- package/resources/teams/webhook-endpoints/webhook-endpoints.mjs.map +1 -0
- package/resources/teams/webhook-endpoints.d.mts +2 -0
- package/resources/teams/webhook-endpoints.d.mts.map +1 -0
- package/resources/teams/webhook-endpoints.d.ts +2 -0
- package/resources/teams/webhook-endpoints.d.ts.map +1 -0
- package/resources/teams/webhook-endpoints.js +6 -0
- package/resources/teams/webhook-endpoints.js.map +1 -0
- package/resources/teams/webhook-endpoints.mjs +3 -0
- package/resources/teams/webhook-endpoints.mjs.map +1 -0
- package/resources/teams.d.mts +2 -0
- package/resources/teams.d.mts.map +1 -0
- package/resources/teams.d.ts +2 -0
- package/resources/teams.d.ts.map +1 -0
- package/resources/teams.js +6 -0
- package/resources/teams.js.map +1 -0
- package/resources/teams.mjs +3 -0
- package/resources/teams.mjs.map +1 -0
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts.map +1 -1
- package/resources/uploads.js +15 -3
- package/resources/uploads.js.map +1 -1
- package/resources/uploads.mjs +15 -3
- package/resources/uploads.mjs.map +1 -1
- package/resources/usages.d.mts +51 -24
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +51 -24
- package/resources/usages.d.ts.map +1 -1
- package/resources/usages.js +2 -1
- package/resources/usages.js.map +1 -1
- package/resources/usages.mjs +2 -1
- package/resources/usages.mjs.map +1 -1
- package/resources/workflows.d.mts +1381 -280
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +1381 -280
- package/resources/workflows.d.ts.map +1 -1
- package/resources/workflows.js +39 -8
- package/resources/workflows.js.map +1 -1
- package/resources/workflows.mjs +39 -8
- package/resources/workflows.mjs.map +1 -1
- package/src/client.ts +101 -0
- package/src/core/pagination.ts +144 -0
- package/src/internal/utils/values.ts +10 -0
- package/src/lib/generate.ts +7 -7
- package/src/lib/job.ts +9 -7
- package/src/lib/models.ts +8 -6
- package/src/lib/query.ts +42 -0
- package/src/lib/scenario.ts +8 -0
- package/src/lib/scope.ts +42 -7
- package/src/lib/upload.ts +10 -8
- package/src/lib/workflow.ts +9 -7
- package/src/lib/workflow_validator.ts +115 -0
- package/src/resources/assets/assets.ts +192 -33
- package/src/resources/assets/download.ts +43 -8
- package/src/resources/collections/assets.ts +3 -2
- package/src/resources/collections/collections.ts +20 -5
- package/src/resources/collections/models.ts +3 -2
- package/src/resources/generate.ts +2350 -186
- package/src/resources/index.ts +34 -0
- package/src/resources/jobs.ts +204 -74
- package/src/resources/models/description.ts +10 -2
- package/src/resources/models/examples.ts +140 -46
- package/src/resources/models/index.ts +25 -0
- package/src/resources/models/models.ts +326 -88
- package/src/resources/models/presets.ts +1335 -0
- package/src/resources/models/prompt-guide.ts +102 -0
- package/src/resources/models/scores.ts +383 -0
- package/src/resources/models/train.ts +121 -46
- package/src/resources/models/training-images.ts +5 -4
- package/src/resources/projects/api-keys.ts +86 -0
- package/src/resources/projects/brief.ts +197 -0
- package/src/resources/projects/index.ts +71 -0
- package/src/resources/projects/instructions.ts +134 -0
- package/src/resources/projects/members.ts +958 -0
- package/src/resources/projects/memory.ts +134 -0
- package/src/resources/projects/projects.ts +1478 -0
- package/src/resources/projects/watermark.ts +590 -0
- package/src/resources/projects/webhook-endpoints/events.ts +179 -0
- package/src/resources/projects/webhook-endpoints/index.ts +19 -0
- package/src/resources/projects/webhook-endpoints/webhook-endpoints.ts +452 -0
- package/src/resources/projects/webhook-endpoints.ts +3 -0
- package/src/resources/projects.ts +3 -0
- package/src/resources/recommendations.ts +1502 -0
- package/src/resources/search.ts +4 -3
- package/src/resources/tags.ts +5 -1
- package/src/resources/teams/brief.ts +193 -0
- package/src/resources/teams/index.ts +62 -0
- package/src/resources/teams/ip-filters.ts +177 -0
- package/src/resources/teams/members.ts +282 -0
- package/src/resources/teams/teams.ts +1255 -0
- package/src/resources/teams/watermark.ts +590 -0
- package/src/resources/teams/webhook-endpoints/events.ts +179 -0
- package/src/resources/teams/webhook-endpoints/index.ts +19 -0
- package/src/resources/teams/webhook-endpoints/webhook-endpoints.ts +453 -0
- package/src/resources/teams/webhook-endpoints.ts +3 -0
- package/src/resources/teams.ts +3 -0
- package/src/resources/uploads.ts +15 -3
- package/src/resources/usages.ts +58 -23
- package/src/resources/workflows.ts +1707 -241
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
|
+
export declare class Events extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve one delivery event of one of the team's webhook endpoints
|
|
7
|
+
*/
|
|
8
|
+
retrieve(eventID: string, params: EventRetrieveParams, options?: RequestOptions): APIPromise<EventRetrieveResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* List the delivery events of one of the team's webhook endpoints
|
|
11
|
+
*/
|
|
12
|
+
list(webhookEndpointID: string, params: EventListParams, options?: RequestOptions): APIPromise<EventListResponse>;
|
|
13
|
+
}
|
|
14
|
+
export interface EventRetrieveResponse {
|
|
15
|
+
webhookEvent: EventRetrieveResponse.WebhookEvent;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace EventRetrieveResponse {
|
|
18
|
+
interface WebhookEvent {
|
|
19
|
+
id: string;
|
|
20
|
+
attempts: Array<WebhookEvent.Attempt>;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
endpointId: string;
|
|
23
|
+
payload: unknown;
|
|
24
|
+
sentAt: string;
|
|
25
|
+
status: 'created' | 'failed' | 'retrying' | 'success';
|
|
26
|
+
/**
|
|
27
|
+
* Every event a webhook endpoint can subscribe to: a project endpoint takes the
|
|
28
|
+
* job lifecycle events, a team endpoint takes the alert events.
|
|
29
|
+
*/
|
|
30
|
+
type: '*' | 'asset.download.completed' | 'asset.download.created' | 'asset.download.failed' | 'generation.completed' | 'generation.created' | 'generation.failed' | 'inference.cancelled' | 'inference.completed' | 'inference.created' | 'inference.failed' | 'model.download.completed' | 'model.download.created' | 'model.download.failed' | 'model.training.cancelled' | 'model.training.completed' | 'model.training.failed' | 'model.training.started' | 'team.credit.threshold.crossed';
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
}
|
|
33
|
+
namespace WebhookEvent {
|
|
34
|
+
interface Attempt {
|
|
35
|
+
responseStatusCode: number;
|
|
36
|
+
sentAt: string;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export interface EventListResponse {
|
|
41
|
+
/**
|
|
42
|
+
* A list of the team webhook events
|
|
43
|
+
*/
|
|
44
|
+
items: Array<EventListResponse.Item>;
|
|
45
|
+
/**
|
|
46
|
+
* A token to query the next page of events
|
|
47
|
+
*/
|
|
48
|
+
nextPaginationToken?: string;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace EventListResponse {
|
|
51
|
+
interface Item {
|
|
52
|
+
id: string;
|
|
53
|
+
endpointId: string;
|
|
54
|
+
status: 'created' | 'failed' | 'retrying' | 'success';
|
|
55
|
+
/**
|
|
56
|
+
* Every event a webhook endpoint can subscribe to: a project endpoint takes the
|
|
57
|
+
* job lifecycle events, a team endpoint takes the alert events.
|
|
58
|
+
*/
|
|
59
|
+
type: '*' | 'asset.download.completed' | 'asset.download.created' | 'asset.download.failed' | 'generation.completed' | 'generation.created' | 'generation.failed' | 'inference.cancelled' | 'inference.completed' | 'inference.created' | 'inference.failed' | 'model.download.completed' | 'model.download.created' | 'model.download.failed' | 'model.training.cancelled' | 'model.training.completed' | 'model.training.failed' | 'model.training.started' | 'team.credit.threshold.crossed';
|
|
60
|
+
updatedAt: string;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export interface EventRetrieveParams {
|
|
64
|
+
/**
|
|
65
|
+
* The team Id
|
|
66
|
+
*/
|
|
67
|
+
teamId: string;
|
|
68
|
+
/**
|
|
69
|
+
* The webhook endpoint that delivered the event
|
|
70
|
+
*/
|
|
71
|
+
webhookEndpointId: string;
|
|
72
|
+
}
|
|
73
|
+
export interface EventListParams {
|
|
74
|
+
/**
|
|
75
|
+
* Path param: The team Id
|
|
76
|
+
*/
|
|
77
|
+
teamId: string;
|
|
78
|
+
/**
|
|
79
|
+
* Query param: A token you received in a previous request to query the next page
|
|
80
|
+
* of items
|
|
81
|
+
*/
|
|
82
|
+
paginationToken?: string;
|
|
83
|
+
}
|
|
84
|
+
export declare namespace Events {
|
|
85
|
+
export { type EventRetrieveResponse as EventRetrieveResponse, type EventListResponse as EventListResponse, type EventRetrieveParams as EventRetrieveParams, type EventListParams as EventListParams, };
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/resources/teams/webhook-endpoints/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAInE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAQpC;;OAEG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,eAAe,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;CAOjC;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,qBAAqB,CAAC,YAAY,CAAC;CAClD;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,YAAY;QAC3B,EAAE,EAAE,MAAM,CAAC;QAEX,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC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0BAA0B,GAC1B,0BAA0B,GAC1B,uBAAuB,GACvB,wBAAwB,GACxB,+BAA+B,CAAC;QAEpC,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Events = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
7
|
+
const values_1 = require("../../../internal/utils/values.js");
|
|
8
|
+
class Events extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve one delivery event of one of the team's webhook endpoints
|
|
11
|
+
*/
|
|
12
|
+
retrieve(eventID, params, options) {
|
|
13
|
+
const { teamId, webhookEndpointId } = params;
|
|
14
|
+
return this._client.get((0, path_1.path) `/teams/${teamId}/webhook-endpoints/${webhookEndpointId}/events/${eventID}`, options);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* List the delivery events of one of the team's webhook endpoints
|
|
18
|
+
*/
|
|
19
|
+
list(webhookEndpointID, params, options) {
|
|
20
|
+
const { teamId, ...query } = params;
|
|
21
|
+
return this._client.get((0, path_1.path) `/teams/${teamId}/webhook-endpoints/${webhookEndpointID}/events`, {
|
|
22
|
+
...options,
|
|
23
|
+
query: { ...query, ...(0, values_1.omitUndefined)(options?.query) },
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.Events = Events;
|
|
28
|
+
//# sourceMappingURL=events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/resources/teams/webhook-endpoints/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AACpD,8DAA+D;AAE/D,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,QAAQ,CACN,OAAe,EACf,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,MAAM,CAAC;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,WAAI,EAAA,UAAU,MAAM,sBAAsB,iBAAiB,WAAW,OAAO,EAAE,EAC/E,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,IAAI,CACF,iBAAyB,EACzB,MAAuB,EACvB,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,sBAAsB,iBAAiB,SAAS,EAAE;YAC5F,GAAG,OAAO;YACV,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,GAAG,IAAA,sBAAa,EAAC,OAAO,EAAE,KAAK,CAAC,EAAE;SACtD,CAAC,CAAC;IACL,CAAC;CACF;AA9BD,wBA8BC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
4
|
+
import { omitUndefined } from "../../../internal/utils/values.mjs";
|
|
5
|
+
export class Events extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Retrieve one delivery event of one of the team's webhook endpoints
|
|
8
|
+
*/
|
|
9
|
+
retrieve(eventID, params, options) {
|
|
10
|
+
const { teamId, webhookEndpointId } = params;
|
|
11
|
+
return this._client.get(path `/teams/${teamId}/webhook-endpoints/${webhookEndpointId}/events/${eventID}`, options);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* List the delivery events of one of the team's webhook endpoints
|
|
15
|
+
*/
|
|
16
|
+
list(webhookEndpointID, params, options) {
|
|
17
|
+
const { teamId, ...query } = params;
|
|
18
|
+
return this._client.get(path `/teams/${teamId}/webhook-endpoints/${webhookEndpointID}/events`, {
|
|
19
|
+
...options,
|
|
20
|
+
query: { ...query, ...omitUndefined(options?.query) },
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=events.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../../src/resources/teams/webhook-endpoints/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AACpD,OAAO,EAAE,aAAa,EAAE,2CAAuC;AAE/D,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CACN,OAAe,EACf,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,MAAM,CAAC;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAI,CAAA,UAAU,MAAM,sBAAsB,iBAAiB,WAAW,OAAO,EAAE,EAC/E,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,IAAI,CACF,iBAAyB,EACzB,MAAuB,EACvB,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,MAAM,sBAAsB,iBAAiB,SAAS,EAAE;YAC5F,GAAG,OAAO;YACV,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE;SACtD,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Events, type EventRetrieveResponse, type EventListResponse, type EventRetrieveParams, type EventListParams, } from "./events.mjs";
|
|
2
|
+
export { WebhookEndpoints, type WebhookEndpointCreateResponse, type WebhookEndpointUpdateResponse, type WebhookEndpointListResponse, type WebhookEndpointDeleteResponse, type WebhookEndpointCreateParams, type WebhookEndpointUpdateParams, type WebhookEndpointDeleteParams, } from "./webhook-endpoints.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/teams/webhook-endpoints/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,qBAAiB;AAClB,OAAO,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,GACjC,gCAA4B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Events, type EventRetrieveResponse, type EventListResponse, type EventRetrieveParams, type EventListParams, } from "./events.js";
|
|
2
|
+
export { WebhookEndpoints, type WebhookEndpointCreateResponse, type WebhookEndpointUpdateResponse, type WebhookEndpointListResponse, type WebhookEndpointDeleteResponse, type WebhookEndpointCreateParams, type WebhookEndpointUpdateParams, type WebhookEndpointDeleteParams, } from "./webhook-endpoints.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/teams/webhook-endpoints/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,oBAAiB;AAClB,OAAO,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,GACjC,+BAA4B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.WebhookEndpoints = exports.Events = void 0;
|
|
5
|
+
var events_1 = require("./events.js");
|
|
6
|
+
Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return events_1.Events; } });
|
|
7
|
+
var webhook_endpoints_1 = require("./webhook-endpoints.js");
|
|
8
|
+
Object.defineProperty(exports, "WebhookEndpoints", { enumerable: true, get: function () { return webhook_endpoints_1.WebhookEndpoints; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/teams/webhook-endpoints/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,4DAS6B;AAR3B,qHAAA,gBAAgB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/teams/webhook-endpoints/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,MAAM,GAKP,qBAAiB;AAClB,OAAO,EACL,gBAAgB,GAQjB,gCAA4B"}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as EventsAPI from "./events.mjs";
|
|
3
|
+
import { EventListParams, EventListResponse, EventRetrieveParams, EventRetrieveResponse, Events } from "./events.mjs";
|
|
4
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
|
+
export declare class WebhookEndpoints extends APIResource {
|
|
7
|
+
events: EventsAPI.Events;
|
|
8
|
+
/**
|
|
9
|
+
* Register a new webhook endpoint for the team, at most 10 of them. The response
|
|
10
|
+
* carries the secret, which is never returned again
|
|
11
|
+
*/
|
|
12
|
+
create(teamID: string, body: WebhookEndpointCreateParams, options?: RequestOptions): APIPromise<WebhookEndpointCreateResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Update a particular webhook endpoint for a team
|
|
15
|
+
*/
|
|
16
|
+
update(webhookEndpointID: string, params: WebhookEndpointUpdateParams, options?: RequestOptions): APIPromise<WebhookEndpointUpdateResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* List the team's webhook endpoints
|
|
19
|
+
*/
|
|
20
|
+
list(teamID: string, options?: RequestOptions): APIPromise<WebhookEndpointListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Delete a particular webhook endpoint by its Id
|
|
23
|
+
*/
|
|
24
|
+
delete(webhookEndpointID: string, params: WebhookEndpointDeleteParams, options?: RequestOptions): APIPromise<unknown>;
|
|
25
|
+
}
|
|
26
|
+
export interface WebhookEndpointCreateResponse {
|
|
27
|
+
/**
|
|
28
|
+
* The creation response, and the only one that carries the secret: it is generated
|
|
29
|
+
* once and never returned again, so a client that loses it has to recreate the
|
|
30
|
+
* endpoint.
|
|
31
|
+
*/
|
|
32
|
+
webhookEndpoint: WebhookEndpointCreateResponse.WebhookEndpoint;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace WebhookEndpointCreateResponse {
|
|
35
|
+
/**
|
|
36
|
+
* The creation response, and the only one that carries the secret: it is generated
|
|
37
|
+
* once and never returned again, so a client that loses it has to recreate the
|
|
38
|
+
* endpoint.
|
|
39
|
+
*/
|
|
40
|
+
interface WebhookEndpoint {
|
|
41
|
+
/**
|
|
42
|
+
* The ID of the webhook endpoint
|
|
43
|
+
*/
|
|
44
|
+
id: string;
|
|
45
|
+
/**
|
|
46
|
+
* The date and time the webhook endpoint was created
|
|
47
|
+
*/
|
|
48
|
+
createdAt: string;
|
|
49
|
+
/**
|
|
50
|
+
* Whether the webhook is enabled
|
|
51
|
+
*/
|
|
52
|
+
enabled: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The events that trigger the webhook. ['*'] indicates that all events are enabled
|
|
55
|
+
*/
|
|
56
|
+
enabledEvents: Array<'*' | 'asset.download.completed' | 'asset.download.created' | 'asset.download.failed' | 'generation.completed' | 'generation.created' | 'generation.failed' | 'inference.cancelled' | 'inference.completed' | 'inference.created' | 'inference.failed' | 'model.download.completed' | 'model.download.created' | 'model.download.failed' | 'model.training.cancelled' | 'model.training.completed' | 'model.training.failed' | 'model.training.started' | 'team.credit.threshold.crossed'>;
|
|
57
|
+
/**
|
|
58
|
+
* The number of calls to the webhook endpoint that have failed
|
|
59
|
+
*/
|
|
60
|
+
nbFailedCalls: number;
|
|
61
|
+
/**
|
|
62
|
+
* The number of calls to the webhook endpoint
|
|
63
|
+
*/
|
|
64
|
+
nbTotalCalls: number;
|
|
65
|
+
/**
|
|
66
|
+
* The ID of the owner of the webhook endpoint: a project id for job lifecycle
|
|
67
|
+
* events, a team id for alert events
|
|
68
|
+
*/
|
|
69
|
+
ownerId: string;
|
|
70
|
+
/**
|
|
71
|
+
* Whether the owner is a project or a team. Required to tell them apart: a project
|
|
72
|
+
* created before the team/project split shares its team's id
|
|
73
|
+
*/
|
|
74
|
+
ownerType: 'project' | 'team';
|
|
75
|
+
/**
|
|
76
|
+
* The endpoint's secret, used to generate webhook signatures
|
|
77
|
+
*/
|
|
78
|
+
secret: string;
|
|
79
|
+
/**
|
|
80
|
+
* The date and time the webhook endpoint was updated
|
|
81
|
+
*/
|
|
82
|
+
updatedAt: string;
|
|
83
|
+
/**
|
|
84
|
+
* The URL of the webhook endpoint
|
|
85
|
+
*/
|
|
86
|
+
url: string;
|
|
87
|
+
/**
|
|
88
|
+
* A description of the webhook endpoint
|
|
89
|
+
*/
|
|
90
|
+
description?: string;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
export interface WebhookEndpointUpdateResponse {
|
|
94
|
+
webhookEndpoint: WebhookEndpointUpdateResponse.WebhookEndpoint;
|
|
95
|
+
}
|
|
96
|
+
export declare namespace WebhookEndpointUpdateResponse {
|
|
97
|
+
interface WebhookEndpoint {
|
|
98
|
+
/**
|
|
99
|
+
* The ID of the webhook endpoint
|
|
100
|
+
*/
|
|
101
|
+
id: string;
|
|
102
|
+
/**
|
|
103
|
+
* The date and time the webhook endpoint was created
|
|
104
|
+
*/
|
|
105
|
+
createdAt: string;
|
|
106
|
+
/**
|
|
107
|
+
* Whether the webhook is enabled
|
|
108
|
+
*/
|
|
109
|
+
enabled: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* The events that trigger the webhook. ['*'] indicates that all events are enabled
|
|
112
|
+
*/
|
|
113
|
+
enabledEvents: Array<'*' | 'asset.download.completed' | 'asset.download.created' | 'asset.download.failed' | 'generation.completed' | 'generation.created' | 'generation.failed' | 'inference.cancelled' | 'inference.completed' | 'inference.created' | 'inference.failed' | 'model.download.completed' | 'model.download.created' | 'model.download.failed' | 'model.training.cancelled' | 'model.training.completed' | 'model.training.failed' | 'model.training.started' | 'team.credit.threshold.crossed'>;
|
|
114
|
+
/**
|
|
115
|
+
* The number of calls to the webhook endpoint that have failed
|
|
116
|
+
*/
|
|
117
|
+
nbFailedCalls: number;
|
|
118
|
+
/**
|
|
119
|
+
* The number of calls to the webhook endpoint
|
|
120
|
+
*/
|
|
121
|
+
nbTotalCalls: number;
|
|
122
|
+
/**
|
|
123
|
+
* The ID of the owner of the webhook endpoint: a project id for job lifecycle
|
|
124
|
+
* events, a team id for alert events
|
|
125
|
+
*/
|
|
126
|
+
ownerId: string;
|
|
127
|
+
/**
|
|
128
|
+
* Whether the owner is a project or a team. Required to tell them apart: a project
|
|
129
|
+
* created before the team/project split shares its team's id
|
|
130
|
+
*/
|
|
131
|
+
ownerType: 'project' | 'team';
|
|
132
|
+
/**
|
|
133
|
+
* The date and time the webhook endpoint was updated
|
|
134
|
+
*/
|
|
135
|
+
updatedAt: string;
|
|
136
|
+
/**
|
|
137
|
+
* The URL of the webhook endpoint
|
|
138
|
+
*/
|
|
139
|
+
url: string;
|
|
140
|
+
/**
|
|
141
|
+
* A description of the webhook endpoint
|
|
142
|
+
*/
|
|
143
|
+
description?: string;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export interface WebhookEndpointListResponse {
|
|
147
|
+
/**
|
|
148
|
+
* A list of the team webhooks
|
|
149
|
+
*/
|
|
150
|
+
webhookEndpoints: Array<WebhookEndpointListResponse.WebhookEndpoint>;
|
|
151
|
+
}
|
|
152
|
+
export declare namespace WebhookEndpointListResponse {
|
|
153
|
+
interface WebhookEndpoint {
|
|
154
|
+
/**
|
|
155
|
+
* The ID of the webhook endpoint
|
|
156
|
+
*/
|
|
157
|
+
id: string;
|
|
158
|
+
/**
|
|
159
|
+
* The date and time the webhook endpoint was created
|
|
160
|
+
*/
|
|
161
|
+
createdAt: string;
|
|
162
|
+
/**
|
|
163
|
+
* Whether the webhook is enabled
|
|
164
|
+
*/
|
|
165
|
+
enabled: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* The events that trigger the webhook. ['*'] indicates that all events are enabled
|
|
168
|
+
*/
|
|
169
|
+
enabledEvents: Array<'*' | 'asset.download.completed' | 'asset.download.created' | 'asset.download.failed' | 'generation.completed' | 'generation.created' | 'generation.failed' | 'inference.cancelled' | 'inference.completed' | 'inference.created' | 'inference.failed' | 'model.download.completed' | 'model.download.created' | 'model.download.failed' | 'model.training.cancelled' | 'model.training.completed' | 'model.training.failed' | 'model.training.started' | 'team.credit.threshold.crossed'>;
|
|
170
|
+
/**
|
|
171
|
+
* The number of calls to the webhook endpoint that have failed
|
|
172
|
+
*/
|
|
173
|
+
nbFailedCalls: number;
|
|
174
|
+
/**
|
|
175
|
+
* The number of calls to the webhook endpoint
|
|
176
|
+
*/
|
|
177
|
+
nbTotalCalls: number;
|
|
178
|
+
/**
|
|
179
|
+
* The ID of the owner of the webhook endpoint: a project id for job lifecycle
|
|
180
|
+
* events, a team id for alert events
|
|
181
|
+
*/
|
|
182
|
+
ownerId: string;
|
|
183
|
+
/**
|
|
184
|
+
* Whether the owner is a project or a team. Required to tell them apart: a project
|
|
185
|
+
* created before the team/project split shares its team's id
|
|
186
|
+
*/
|
|
187
|
+
ownerType: 'project' | 'team';
|
|
188
|
+
/**
|
|
189
|
+
* The date and time the webhook endpoint was updated
|
|
190
|
+
*/
|
|
191
|
+
updatedAt: string;
|
|
192
|
+
/**
|
|
193
|
+
* The URL of the webhook endpoint
|
|
194
|
+
*/
|
|
195
|
+
url: string;
|
|
196
|
+
/**
|
|
197
|
+
* A description of the webhook endpoint
|
|
198
|
+
*/
|
|
199
|
+
description?: string;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
export type WebhookEndpointDeleteResponse = unknown;
|
|
203
|
+
export interface WebhookEndpointCreateParams {
|
|
204
|
+
/**
|
|
205
|
+
* The events that trigger the webhook. ['*'] indicates that all events are enabled
|
|
206
|
+
*/
|
|
207
|
+
enabledEvents: Array<'*' | 'asset.download.completed' | 'asset.download.created' | 'asset.download.failed' | 'generation.completed' | 'generation.created' | 'generation.failed' | 'inference.cancelled' | 'inference.completed' | 'inference.created' | 'inference.failed' | 'model.download.completed' | 'model.download.created' | 'model.download.failed' | 'model.training.cancelled' | 'model.training.completed' | 'model.training.failed' | 'model.training.started' | 'team.credit.threshold.crossed'>;
|
|
208
|
+
/**
|
|
209
|
+
* The URL of the webhook endpoint. Must be an absolute http(s) URL
|
|
210
|
+
*/
|
|
211
|
+
url: string;
|
|
212
|
+
/**
|
|
213
|
+
* A description of the webhook endpoint
|
|
214
|
+
*/
|
|
215
|
+
description?: string;
|
|
216
|
+
}
|
|
217
|
+
export interface WebhookEndpointUpdateParams {
|
|
218
|
+
/**
|
|
219
|
+
* Path param: The team Id
|
|
220
|
+
*/
|
|
221
|
+
teamId: string;
|
|
222
|
+
/**
|
|
223
|
+
* Body param: A description of the webhook endpoint
|
|
224
|
+
*/
|
|
225
|
+
description?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Body param: Whether the webhook is enabled
|
|
228
|
+
*/
|
|
229
|
+
enabled?: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Body param: The events that trigger the webhook. ['*'] indicates that all events
|
|
232
|
+
* are enabled
|
|
233
|
+
*/
|
|
234
|
+
enabledEvents?: Array<'*' | 'asset.download.completed' | 'asset.download.created' | 'asset.download.failed' | 'generation.completed' | 'generation.created' | 'generation.failed' | 'inference.cancelled' | 'inference.completed' | 'inference.created' | 'inference.failed' | 'model.download.completed' | 'model.download.created' | 'model.download.failed' | 'model.training.cancelled' | 'model.training.completed' | 'model.training.failed' | 'model.training.started' | 'team.credit.threshold.crossed'>;
|
|
235
|
+
/**
|
|
236
|
+
* Body param: The URL of the webhook endpoint. Must be an absolute http(s) URL
|
|
237
|
+
*/
|
|
238
|
+
url?: string;
|
|
239
|
+
}
|
|
240
|
+
export interface WebhookEndpointDeleteParams {
|
|
241
|
+
/**
|
|
242
|
+
* The team Id
|
|
243
|
+
*/
|
|
244
|
+
teamId: string;
|
|
245
|
+
}
|
|
246
|
+
export declare namespace WebhookEndpoints {
|
|
247
|
+
export { type WebhookEndpointCreateResponse as WebhookEndpointCreateResponse, type WebhookEndpointUpdateResponse as WebhookEndpointUpdateResponse, type WebhookEndpointListResponse as WebhookEndpointListResponse, type WebhookEndpointDeleteResponse as WebhookEndpointDeleteResponse, type WebhookEndpointCreateParams as WebhookEndpointCreateParams, type WebhookEndpointUpdateParams as WebhookEndpointUpdateParams, type WebhookEndpointDeleteParams as WebhookEndpointDeleteParams, };
|
|
248
|
+
export { Events as Events, type EventRetrieveResponse as EventRetrieveResponse, type EventListResponse as EventListResponse, type EventRetrieveParams as EventRetrieveParams, type EventListParams as EventListParams, };
|
|
249
|
+
}
|
|
250
|
+
//# sourceMappingURL=webhook-endpoints.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-endpoints.d.mts","sourceRoot":"","sources":["../../../src/resources/teams/webhook-endpoints/webhook-endpoints.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,MAAM,EACP,qBAAiB;AAClB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;OAGG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;OAEG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAA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