@sureel/sdk 1.16.6 → 1.17.0-rc.1
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/api/sureel-api.d.ts +323 -10
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +518 -11
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +323 -10
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +518 -11
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/artifacts-per-epoch-entry.d.ts +2 -2
- package/esm/models/artist-collection-record-intersection.d.ts +18 -0
- package/esm/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/esm/models/artist-db.d.ts +36 -0
- package/esm/models/artist-db.d.ts.map +1 -1
- package/esm/models/artist-object.d.ts +36 -0
- package/esm/models/artist-object.d.ts.map +1 -1
- package/esm/models/artist-profile-data.d.ts +54 -0
- package/esm/models/artist-profile-data.d.ts.map +1 -1
- package/esm/models/asset-metadata-record.d.ts +6 -6
- package/esm/models/asset-metadata-record.d.ts.map +1 -1
- package/esm/models/contributor-identifiers.d.ts +55 -0
- package/esm/models/contributor-identifiers.d.ts.map +1 -0
- package/esm/models/contributor-identifiers.js +15 -0
- package/esm/models/contributor-identifiers.js.map +1 -0
- package/esm/models/create-collection-request.d.ts +28 -10
- package/esm/models/create-collection-request.d.ts.map +1 -1
- package/esm/models/create-collection-request.js.map +1 -1
- package/esm/models/customer-profile-data.d.ts +3 -3
- package/esm/models/customer-profile-data.d.ts.map +1 -1
- package/esm/models/evaluate-music-consent-body.d.ts +64 -0
- package/esm/models/evaluate-music-consent-body.d.ts.map +1 -0
- package/esm/models/evaluate-music-consent-body.js +15 -0
- package/esm/models/evaluate-music-consent-body.js.map +1 -0
- package/esm/models/evaluate-music-consent-response.d.ts +64 -0
- package/esm/models/evaluate-music-consent-response.d.ts.map +1 -0
- package/esm/models/evaluate-music-consent-response.js +15 -0
- package/esm/models/evaluate-music-consent-response.js.map +1 -0
- package/esm/models/evaluate-music-decision.d.ts +19 -0
- package/esm/models/evaluate-music-decision.d.ts.map +1 -0
- package/esm/models/evaluate-music-decision.js +15 -0
- package/esm/models/evaluate-music-decision.js.map +1 -0
- package/esm/models/evaluate-music-lifecycle-stage.d.ts +19 -0
- package/esm/models/evaluate-music-lifecycle-stage.d.ts.map +1 -0
- package/esm/models/evaluate-music-lifecycle-stage.js +15 -0
- package/esm/models/evaluate-music-lifecycle-stage.js.map +1 -0
- package/esm/models/evaluate-music-purpose.d.ts +19 -0
- package/esm/models/evaluate-music-purpose.d.ts.map +1 -0
- package/esm/models/evaluate-music-purpose.js +15 -0
- package/esm/models/evaluate-music-purpose.js.map +1 -0
- package/esm/models/evaluate-music-scope.d.ts +19 -0
- package/esm/models/evaluate-music-scope.d.ts.map +1 -0
- package/esm/models/evaluate-music-scope.js +15 -0
- package/esm/models/evaluate-music-scope.js.map +1 -0
- package/esm/models/evaluate-music-trace-entry.d.ts +43 -0
- package/esm/models/evaluate-music-trace-entry.d.ts.map +1 -0
- package/esm/models/evaluate-music-trace-entry.js +15 -0
- package/esm/models/evaluate-music-trace-entry.js.map +1 -0
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts +18 -0
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/esm/models/get-music-consent-response.d.ts +52 -0
- package/esm/models/get-music-consent-response.d.ts.map +1 -0
- package/esm/models/get-music-consent-response.js +15 -0
- package/esm/models/get-music-consent-response.js.map +1 -0
- package/esm/models/index.d.ts +44 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +44 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/model-file.d.ts +6 -6
- package/esm/models/model-file.d.ts.map +1 -1
- package/esm/models/music-ai-company-ref.d.ts +25 -0
- package/esm/models/music-ai-company-ref.d.ts.map +1 -0
- package/esm/models/music-ai-company-ref.js +15 -0
- package/esm/models/music-ai-company-ref.js.map +1 -0
- package/esm/models/music-consent-changes.d.ts +37 -0
- package/esm/models/music-consent-changes.d.ts.map +1 -0
- package/esm/models/music-consent-changes.js +15 -0
- package/esm/models/music-consent-changes.js.map +1 -0
- package/esm/models/music-consent-envelope.d.ts +26 -0
- package/esm/models/music-consent-envelope.d.ts.map +1 -0
- package/esm/models/music-consent-envelope.js +15 -0
- package/esm/models/music-consent-envelope.js.map +1 -0
- package/esm/models/music-consent-error.d.ts +44 -0
- package/esm/models/music-consent-error.d.ts.map +1 -0
- package/esm/models/music-consent-error.js +15 -0
- package/esm/models/music-consent-error.js.map +1 -0
- package/esm/models/music-consent-input.d.ts +33 -0
- package/esm/models/music-consent-input.d.ts.map +1 -0
- package/esm/models/music-consent-input.js +15 -0
- package/esm/models/music-consent-input.js.map +1 -0
- package/esm/models/music-consent-record-input.d.ts +42 -0
- package/esm/models/music-consent-record-input.d.ts.map +1 -0
- package/esm/models/music-consent-record-input.js +17 -0
- package/esm/models/music-consent-record-input.js.map +1 -0
- package/esm/models/music-consent-record.d.ts +44 -0
- package/esm/models/music-consent-record.d.ts.map +1 -0
- package/esm/models/music-consent-record.js +15 -0
- package/esm/models/music-consent-record.js.map +1 -0
- package/esm/models/music-consent.d.ts +40 -0
- package/esm/models/music-consent.d.ts.map +1 -0
- package/esm/models/music-consent.js +15 -0
- package/esm/models/music-consent.js.map +1 -0
- package/esm/models/music-decision.d.ts +19 -0
- package/esm/models/music-decision.d.ts.map +1 -0
- package/esm/models/music-decision.js +15 -0
- package/esm/models/music-decision.js.map +1 -0
- package/esm/models/music-default-decision-stored.d.ts +19 -0
- package/esm/models/music-default-decision-stored.d.ts.map +1 -0
- package/esm/models/music-default-decision-stored.js +15 -0
- package/esm/models/music-default-decision-stored.js.map +1 -0
- package/esm/models/music-default-decision.d.ts +19 -0
- package/esm/models/music-default-decision.d.ts.map +1 -0
- package/esm/models/music-default-decision.js +15 -0
- package/esm/models/music-default-decision.js.map +1 -0
- package/esm/models/music-evidence-input.d.ts +31 -0
- package/esm/models/music-evidence-input.d.ts.map +1 -0
- package/esm/models/music-evidence-input.js +15 -0
- package/esm/models/music-evidence-input.js.map +1 -0
- package/esm/models/music-evidence.d.ts +31 -0
- package/esm/models/music-evidence.d.ts.map +1 -0
- package/esm/models/music-evidence.js +15 -0
- package/esm/models/music-evidence.js.map +1 -0
- package/esm/models/music-grant-input.d.ts +116 -0
- package/esm/models/music-grant-input.d.ts.map +1 -0
- package/esm/models/music-grant-input.js +15 -0
- package/esm/models/music-grant-input.js.map +1 -0
- package/esm/models/music-grant-status.d.ts +19 -0
- package/esm/models/music-grant-status.d.ts.map +1 -0
- package/esm/models/music-grant-status.js +15 -0
- package/esm/models/music-grant-status.js.map +1 -0
- package/esm/models/music-grant.d.ts +124 -0
- package/esm/models/music-grant.d.ts.map +1 -0
- package/esm/models/music-grant.js +15 -0
- package/esm/models/music-grant.js.map +1 -0
- package/esm/models/music-grant1.d.ts +124 -0
- package/esm/models/music-grant1.d.ts.map +1 -0
- package/esm/models/music-grant1.js +15 -0
- package/esm/models/music-grant1.js.map +1 -0
- package/esm/models/music-granted-by.d.ts +50 -0
- package/esm/models/music-granted-by.d.ts.map +1 -0
- package/esm/models/music-granted-by.js +15 -0
- package/esm/models/music-granted-by.js.map +1 -0
- package/esm/models/music-grantor-role-stored.d.ts +19 -0
- package/esm/models/music-grantor-role-stored.d.ts.map +1 -0
- package/esm/models/music-grantor-role-stored.js +15 -0
- package/esm/models/music-grantor-role-stored.js.map +1 -0
- package/esm/models/music-layer-response.d.ts +19 -0
- package/esm/models/music-layer-response.d.ts.map +1 -0
- package/esm/models/music-layer-response.js +15 -0
- package/esm/models/music-layer-response.js.map +1 -0
- package/esm/models/music-lifecycle-stage.d.ts +19 -0
- package/esm/models/music-lifecycle-stage.d.ts.map +1 -0
- package/esm/models/music-lifecycle-stage.js +15 -0
- package/esm/models/music-lifecycle-stage.js.map +1 -0
- package/esm/models/music-purpose.d.ts +19 -0
- package/esm/models/music-purpose.d.ts.map +1 -0
- package/esm/models/music-purpose.js +15 -0
- package/esm/models/music-purpose.js.map +1 -0
- package/esm/models/music-revocation.d.ts +43 -0
- package/esm/models/music-revocation.d.ts.map +1 -0
- package/esm/models/music-revocation.js +15 -0
- package/esm/models/music-revocation.js.map +1 -0
- package/esm/models/music-roster-summary-state.d.ts +19 -0
- package/esm/models/music-roster-summary-state.d.ts.map +1 -0
- package/esm/models/music-roster-summary-state.js +15 -0
- package/esm/models/music-roster-summary-state.js.map +1 -0
- package/esm/models/music-roster-summary.d.ts +52 -0
- package/esm/models/music-roster-summary.d.ts.map +1 -0
- package/esm/models/music-roster-summary.js +15 -0
- package/esm/models/music-roster-summary.js.map +1 -0
- package/esm/models/music-roster-updated-by.d.ts +19 -0
- package/esm/models/music-roster-updated-by.d.ts.map +1 -0
- package/esm/models/music-roster-updated-by.js +15 -0
- package/esm/models/music-roster-updated-by.js.map +1 -0
- package/esm/models/music-scope.d.ts +19 -0
- package/esm/models/music-scope.d.ts.map +1 -0
- package/esm/models/music-scope.js +15 -0
- package/esm/models/music-scope.js.map +1 -0
- package/esm/models/music-writable-layer-response.d.ts +19 -0
- package/esm/models/music-writable-layer-response.d.ts.map +1 -0
- package/esm/models/music-writable-layer-response.js +15 -0
- package/esm/models/music-writable-layer-response.js.map +1 -0
- package/esm/models/name-image-likeness-response.d.ts +6 -0
- package/esm/models/name-image-likeness-response.d.ts.map +1 -1
- package/esm/models/nilv-roster-summary-state.d.ts +19 -0
- package/esm/models/nilv-roster-summary-state.d.ts.map +1 -0
- package/esm/models/nilv-roster-summary-state.js +15 -0
- package/esm/models/nilv-roster-summary-state.js.map +1 -0
- package/esm/models/nilv-roster-summary.d.ts +52 -0
- package/esm/models/nilv-roster-summary.d.ts.map +1 -0
- package/esm/models/nilv-roster-summary.js +15 -0
- package/esm/models/nilv-roster-summary.js.map +1 -0
- package/esm/models/nilv-roster-updated-by.d.ts +19 -0
- package/esm/models/nilv-roster-updated-by.d.ts.map +1 -0
- package/esm/models/nilv-roster-updated-by.js +15 -0
- package/esm/models/nilv-roster-updated-by.js.map +1 -0
- package/esm/models/post-music-consent-body.d.ts +26 -0
- package/esm/models/post-music-consent-body.d.ts.map +1 -0
- package/esm/models/post-music-consent-body.js +15 -0
- package/esm/models/post-music-consent-body.js.map +1 -0
- package/esm/models/post-music-consent-response.d.ts +32 -0
- package/esm/models/post-music-consent-response.d.ts.map +1 -0
- package/esm/models/post-music-consent-response.js +15 -0
- package/esm/models/post-music-consent-response.js.map +1 -0
- package/esm/models/publishing-contributor.d.ts +19 -12
- package/esm/models/publishing-contributor.d.ts.map +1 -1
- package/esm/models/recording-contributor.d.ts +7 -0
- package/esm/models/recording-contributor.d.ts.map +1 -1
- package/esm/models/roster-artist-profile-data.d.ts +333 -0
- package/esm/models/roster-artist-profile-data.d.ts.map +1 -0
- package/esm/models/roster-artist-profile-data.js +15 -0
- package/esm/models/roster-artist-profile-data.js.map +1 -0
- package/esm/models/roster-role-filter.d.ts +19 -0
- package/esm/models/roster-role-filter.d.ts.map +1 -0
- package/esm/models/roster-role-filter.js +15 -0
- package/esm/models/roster-role-filter.js.map +1 -0
- package/esm/models/track-inference-artifacts-body.d.ts +15 -3
- package/esm/models/track-inference-artifacts-body.d.ts.map +1 -1
- package/esm/models/track-training-artifacts-body.d.ts +8 -2
- package/esm/models/track-training-artifacts-body.d.ts.map +1 -1
- package/esm/models/training-artifact-entry.d.ts +1 -1
- package/esm/models/training-artifact-entry.d.ts.map +1 -1
- package/esm/models/update-asset-metadata-body.d.ts +6 -6
- package/esm/models/update-asset-metadata-body.d.ts.map +1 -1
- package/esm/models/update-collection-request.d.ts +24 -0
- package/esm/models/update-collection-request.d.ts.map +1 -1
- package/models/artifacts-per-epoch-entry.d.ts +2 -2
- package/models/artist-collection-record-intersection.d.ts +18 -0
- package/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/models/artist-db.d.ts +36 -0
- package/models/artist-db.d.ts.map +1 -1
- package/models/artist-object.d.ts +36 -0
- package/models/artist-object.d.ts.map +1 -1
- package/models/artist-profile-data.d.ts +54 -0
- package/models/artist-profile-data.d.ts.map +1 -1
- package/models/asset-metadata-record.d.ts +6 -6
- package/models/asset-metadata-record.d.ts.map +1 -1
- package/models/contributor-identifiers.d.ts +55 -0
- package/models/contributor-identifiers.d.ts.map +1 -0
- package/models/contributor-identifiers.js +16 -0
- package/models/contributor-identifiers.js.map +1 -0
- package/models/create-collection-request.d.ts +28 -10
- package/models/create-collection-request.d.ts.map +1 -1
- package/models/create-collection-request.js.map +1 -1
- package/models/customer-profile-data.d.ts +3 -3
- package/models/customer-profile-data.d.ts.map +1 -1
- package/models/evaluate-music-consent-body.d.ts +64 -0
- package/models/evaluate-music-consent-body.d.ts.map +1 -0
- package/models/evaluate-music-consent-body.js +16 -0
- package/models/evaluate-music-consent-body.js.map +1 -0
- package/models/evaluate-music-consent-response.d.ts +64 -0
- package/models/evaluate-music-consent-response.d.ts.map +1 -0
- package/models/evaluate-music-consent-response.js +16 -0
- package/models/evaluate-music-consent-response.js.map +1 -0
- package/models/evaluate-music-decision.d.ts +19 -0
- package/models/evaluate-music-decision.d.ts.map +1 -0
- package/models/evaluate-music-decision.js +16 -0
- package/models/evaluate-music-decision.js.map +1 -0
- package/models/evaluate-music-lifecycle-stage.d.ts +19 -0
- package/models/evaluate-music-lifecycle-stage.d.ts.map +1 -0
- package/models/evaluate-music-lifecycle-stage.js +16 -0
- package/models/evaluate-music-lifecycle-stage.js.map +1 -0
- package/models/evaluate-music-purpose.d.ts +19 -0
- package/models/evaluate-music-purpose.d.ts.map +1 -0
- package/models/evaluate-music-purpose.js +16 -0
- package/models/evaluate-music-purpose.js.map +1 -0
- package/models/evaluate-music-scope.d.ts +19 -0
- package/models/evaluate-music-scope.d.ts.map +1 -0
- package/models/evaluate-music-scope.js +16 -0
- package/models/evaluate-music-scope.js.map +1 -0
- package/models/evaluate-music-trace-entry.d.ts +43 -0
- package/models/evaluate-music-trace-entry.d.ts.map +1 -0
- package/models/evaluate-music-trace-entry.js +16 -0
- package/models/evaluate-music-trace-entry.js.map +1 -0
- package/models/get-collection-with-lyrics-and-stems-response.d.ts +18 -0
- package/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/models/get-music-consent-response.d.ts +52 -0
- package/models/get-music-consent-response.d.ts.map +1 -0
- package/models/get-music-consent-response.js +16 -0
- package/models/get-music-consent-response.js.map +1 -0
- package/models/index.d.ts +44 -0
- package/models/index.d.ts.map +1 -1
- package/models/index.js +44 -0
- package/models/index.js.map +1 -1
- package/models/model-file.d.ts +6 -6
- package/models/model-file.d.ts.map +1 -1
- package/models/music-ai-company-ref.d.ts +25 -0
- package/models/music-ai-company-ref.d.ts.map +1 -0
- package/models/music-ai-company-ref.js +16 -0
- package/models/music-ai-company-ref.js.map +1 -0
- package/models/music-consent-changes.d.ts +37 -0
- package/models/music-consent-changes.d.ts.map +1 -0
- package/models/music-consent-changes.js +16 -0
- package/models/music-consent-changes.js.map +1 -0
- package/models/music-consent-envelope.d.ts +26 -0
- package/models/music-consent-envelope.d.ts.map +1 -0
- package/models/music-consent-envelope.js +16 -0
- package/models/music-consent-envelope.js.map +1 -0
- package/models/music-consent-error.d.ts +44 -0
- package/models/music-consent-error.d.ts.map +1 -0
- package/models/music-consent-error.js +16 -0
- package/models/music-consent-error.js.map +1 -0
- package/models/music-consent-input.d.ts +33 -0
- package/models/music-consent-input.d.ts.map +1 -0
- package/models/music-consent-input.js +16 -0
- package/models/music-consent-input.js.map +1 -0
- package/models/music-consent-record-input.d.ts +42 -0
- package/models/music-consent-record-input.d.ts.map +1 -0
- package/models/music-consent-record-input.js +20 -0
- package/models/music-consent-record-input.js.map +1 -0
- package/models/music-consent-record.d.ts +44 -0
- package/models/music-consent-record.d.ts.map +1 -0
- package/models/music-consent-record.js +16 -0
- package/models/music-consent-record.js.map +1 -0
- package/models/music-consent.d.ts +40 -0
- package/models/music-consent.d.ts.map +1 -0
- package/models/music-consent.js +16 -0
- package/models/music-consent.js.map +1 -0
- package/models/music-decision.d.ts +19 -0
- package/models/music-decision.d.ts.map +1 -0
- package/models/music-decision.js +16 -0
- package/models/music-decision.js.map +1 -0
- package/models/music-default-decision-stored.d.ts +19 -0
- package/models/music-default-decision-stored.d.ts.map +1 -0
- package/models/music-default-decision-stored.js +16 -0
- package/models/music-default-decision-stored.js.map +1 -0
- package/models/music-default-decision.d.ts +19 -0
- package/models/music-default-decision.d.ts.map +1 -0
- package/models/music-default-decision.js +16 -0
- package/models/music-default-decision.js.map +1 -0
- package/models/music-evidence-input.d.ts +31 -0
- package/models/music-evidence-input.d.ts.map +1 -0
- package/models/music-evidence-input.js +16 -0
- package/models/music-evidence-input.js.map +1 -0
- package/models/music-evidence.d.ts +31 -0
- package/models/music-evidence.d.ts.map +1 -0
- package/models/music-evidence.js +16 -0
- package/models/music-evidence.js.map +1 -0
- package/models/music-grant-input.d.ts +116 -0
- package/models/music-grant-input.d.ts.map +1 -0
- package/models/music-grant-input.js +16 -0
- package/models/music-grant-input.js.map +1 -0
- package/models/music-grant-status.d.ts +19 -0
- package/models/music-grant-status.d.ts.map +1 -0
- package/models/music-grant-status.js +16 -0
- package/models/music-grant-status.js.map +1 -0
- package/models/music-grant.d.ts +124 -0
- package/models/music-grant.d.ts.map +1 -0
- package/models/music-grant.js +16 -0
- package/models/music-grant.js.map +1 -0
- package/models/music-grant1.d.ts +124 -0
- package/models/music-grant1.d.ts.map +1 -0
- package/models/music-grant1.js +16 -0
- package/models/music-grant1.js.map +1 -0
- package/models/music-granted-by.d.ts +50 -0
- package/models/music-granted-by.d.ts.map +1 -0
- package/models/music-granted-by.js +16 -0
- package/models/music-granted-by.js.map +1 -0
- package/models/music-grantor-role-stored.d.ts +19 -0
- package/models/music-grantor-role-stored.d.ts.map +1 -0
- package/models/music-grantor-role-stored.js +16 -0
- package/models/music-grantor-role-stored.js.map +1 -0
- package/models/music-layer-response.d.ts +19 -0
- package/models/music-layer-response.d.ts.map +1 -0
- package/models/music-layer-response.js +16 -0
- package/models/music-layer-response.js.map +1 -0
- package/models/music-lifecycle-stage.d.ts +19 -0
- package/models/music-lifecycle-stage.d.ts.map +1 -0
- package/models/music-lifecycle-stage.js +16 -0
- package/models/music-lifecycle-stage.js.map +1 -0
- package/models/music-purpose.d.ts +19 -0
- package/models/music-purpose.d.ts.map +1 -0
- package/models/music-purpose.js +16 -0
- package/models/music-purpose.js.map +1 -0
- package/models/music-revocation.d.ts +43 -0
- package/models/music-revocation.d.ts.map +1 -0
- package/models/music-revocation.js +16 -0
- package/models/music-revocation.js.map +1 -0
- package/models/music-roster-summary-state.d.ts +19 -0
- package/models/music-roster-summary-state.d.ts.map +1 -0
- package/models/music-roster-summary-state.js +16 -0
- package/models/music-roster-summary-state.js.map +1 -0
- package/models/music-roster-summary.d.ts +52 -0
- package/models/music-roster-summary.d.ts.map +1 -0
- package/models/music-roster-summary.js +16 -0
- package/models/music-roster-summary.js.map +1 -0
- package/models/music-roster-updated-by.d.ts +19 -0
- package/models/music-roster-updated-by.d.ts.map +1 -0
- package/models/music-roster-updated-by.js +16 -0
- package/models/music-roster-updated-by.js.map +1 -0
- package/models/music-scope.d.ts +19 -0
- package/models/music-scope.d.ts.map +1 -0
- package/models/music-scope.js +16 -0
- package/models/music-scope.js.map +1 -0
- package/models/music-writable-layer-response.d.ts +19 -0
- package/models/music-writable-layer-response.d.ts.map +1 -0
- package/models/music-writable-layer-response.js +16 -0
- package/models/music-writable-layer-response.js.map +1 -0
- package/models/name-image-likeness-response.d.ts +6 -0
- package/models/name-image-likeness-response.d.ts.map +1 -1
- package/models/nilv-roster-summary-state.d.ts +19 -0
- package/models/nilv-roster-summary-state.d.ts.map +1 -0
- package/models/nilv-roster-summary-state.js +16 -0
- package/models/nilv-roster-summary-state.js.map +1 -0
- package/models/nilv-roster-summary.d.ts +52 -0
- package/models/nilv-roster-summary.d.ts.map +1 -0
- package/models/nilv-roster-summary.js +16 -0
- package/models/nilv-roster-summary.js.map +1 -0
- package/models/nilv-roster-updated-by.d.ts +19 -0
- package/models/nilv-roster-updated-by.d.ts.map +1 -0
- package/models/nilv-roster-updated-by.js +16 -0
- package/models/nilv-roster-updated-by.js.map +1 -0
- package/models/post-music-consent-body.d.ts +26 -0
- package/models/post-music-consent-body.d.ts.map +1 -0
- package/models/post-music-consent-body.js +16 -0
- package/models/post-music-consent-body.js.map +1 -0
- package/models/post-music-consent-response.d.ts +32 -0
- package/models/post-music-consent-response.d.ts.map +1 -0
- package/models/post-music-consent-response.js +16 -0
- package/models/post-music-consent-response.js.map +1 -0
- package/models/publishing-contributor.d.ts +19 -12
- package/models/publishing-contributor.d.ts.map +1 -1
- package/models/recording-contributor.d.ts +7 -0
- package/models/recording-contributor.d.ts.map +1 -1
- package/models/roster-artist-profile-data.d.ts +333 -0
- package/models/roster-artist-profile-data.d.ts.map +1 -0
- package/models/roster-artist-profile-data.js +16 -0
- package/models/roster-artist-profile-data.js.map +1 -0
- package/models/roster-role-filter.d.ts +19 -0
- package/models/roster-role-filter.d.ts.map +1 -0
- package/models/roster-role-filter.js +16 -0
- package/models/roster-role-filter.js.map +1 -0
- package/models/track-inference-artifacts-body.d.ts +15 -3
- package/models/track-inference-artifacts-body.d.ts.map +1 -1
- package/models/track-training-artifacts-body.d.ts +8 -2
- package/models/track-training-artifacts-body.d.ts.map +1 -1
- package/models/training-artifact-entry.d.ts +1 -1
- package/models/training-artifact-entry.d.ts.map +1 -1
- package/models/update-asset-metadata-body.d.ts +6 -6
- package/models/update-asset-metadata-body.d.ts.map +1 -1
- package/models/update-collection-request.d.ts +24 -0
- package/models/update-collection-request.d.ts.map +1 -1
- package/package.json +1 -1
package/esm/api/sureel-api.js
CHANGED
|
@@ -808,6 +808,75 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
808
808
|
options: localVarRequestOptions,
|
|
809
809
|
};
|
|
810
810
|
},
|
|
811
|
+
/**
|
|
812
|
+
*
|
|
813
|
+
* @summary Ask what a party\'s music consent record permits for a given request
|
|
814
|
+
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
815
|
+
* @param {*} [options] Override http request option.
|
|
816
|
+
* @throws {RequiredError}
|
|
817
|
+
*/
|
|
818
|
+
evaluateMusicConsent: async (evaluateMusicConsentBody, options = {}) => {
|
|
819
|
+
// verify required parameter 'evaluateMusicConsentBody' is not null or undefined
|
|
820
|
+
assertParamExists("evaluateMusicConsent", "evaluateMusicConsentBody", evaluateMusicConsentBody);
|
|
821
|
+
const localVarPath = `/v1/ai/artist/settings/music/evaluate`;
|
|
822
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
823
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
824
|
+
let baseOptions;
|
|
825
|
+
if (configuration) {
|
|
826
|
+
baseOptions = configuration.baseOptions;
|
|
827
|
+
}
|
|
828
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
829
|
+
const localVarHeaderParameter = {};
|
|
830
|
+
const localVarQueryParameter = {};
|
|
831
|
+
// authentication OAuth2 required
|
|
832
|
+
// oauth required
|
|
833
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
834
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
835
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
836
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
837
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
838
|
+
localVarRequestOptions.data = serializeDataIfNeeded(evaluateMusicConsentBody, localVarRequestOptions, configuration);
|
|
839
|
+
return {
|
|
840
|
+
url: toPathString(localVarUrlObj),
|
|
841
|
+
options: localVarRequestOptions,
|
|
842
|
+
};
|
|
843
|
+
},
|
|
844
|
+
/**
|
|
845
|
+
*
|
|
846
|
+
* @summary Ask what a party\'s music consent record permits for a given request
|
|
847
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
848
|
+
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
849
|
+
* @param {*} [options] Override http request option.
|
|
850
|
+
* @throws {RequiredError}
|
|
851
|
+
*/
|
|
852
|
+
evaluateMusicConsentByUsername: async (username, evaluateMusicConsentBody, options = {}) => {
|
|
853
|
+
// verify required parameter 'username' is not null or undefined
|
|
854
|
+
assertParamExists("evaluateMusicConsentByUsername", "username", username);
|
|
855
|
+
// verify required parameter 'evaluateMusicConsentBody' is not null or undefined
|
|
856
|
+
assertParamExists("evaluateMusicConsentByUsername", "evaluateMusicConsentBody", evaluateMusicConsentBody);
|
|
857
|
+
const localVarPath = `/v1/ai/artist/{username}/settings/music/evaluate`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
858
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
859
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
860
|
+
let baseOptions;
|
|
861
|
+
if (configuration) {
|
|
862
|
+
baseOptions = configuration.baseOptions;
|
|
863
|
+
}
|
|
864
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
865
|
+
const localVarHeaderParameter = {};
|
|
866
|
+
const localVarQueryParameter = {};
|
|
867
|
+
// authentication OAuth2 required
|
|
868
|
+
// oauth required
|
|
869
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
870
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
871
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
872
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
873
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
874
|
+
localVarRequestOptions.data = serializeDataIfNeeded(evaluateMusicConsentBody, localVarRequestOptions, configuration);
|
|
875
|
+
return {
|
|
876
|
+
url: toPathString(localVarUrlObj),
|
|
877
|
+
options: localVarRequestOptions,
|
|
878
|
+
};
|
|
879
|
+
},
|
|
811
880
|
/**
|
|
812
881
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
813
882
|
* @summary Face swap
|
|
@@ -1378,10 +1447,14 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1378
1447
|
* @param {string} labelName
|
|
1379
1448
|
* @param {number} [take] The `take` parameter is the number of artists to return per page.
|
|
1380
1449
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
1450
|
+
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
1451
|
+
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
1452
|
+
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
1453
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\'s customer_name, songwriters through its publisher_name; singer-songwriters appear once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
1381
1454
|
* @param {*} [options] Override http request option.
|
|
1382
1455
|
* @throws {RequiredError}
|
|
1383
1456
|
*/
|
|
1384
|
-
getCustomerData: async (labelName, take, cursor, options = {}) => {
|
|
1457
|
+
getCustomerData: async (labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options = {}) => {
|
|
1385
1458
|
// verify required parameter 'labelName' is not null or undefined
|
|
1386
1459
|
assertParamExists("getCustomerData", "labelName", labelName);
|
|
1387
1460
|
const localVarPath = `/v1/ai/record-label/{labelName}`.replace(`{${"labelName"}}`, encodeURIComponent(String(labelName)));
|
|
@@ -1403,6 +1476,86 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1403
1476
|
if (cursor !== undefined) {
|
|
1404
1477
|
localVarQueryParameter["cursor"] = cursor;
|
|
1405
1478
|
}
|
|
1479
|
+
if (includeNilv !== undefined) {
|
|
1480
|
+
localVarQueryParameter["include_nilv"] = includeNilv;
|
|
1481
|
+
}
|
|
1482
|
+
if (includeMusicConsent !== undefined) {
|
|
1483
|
+
localVarQueryParameter["include_music_consent"] =
|
|
1484
|
+
includeMusicConsent;
|
|
1485
|
+
}
|
|
1486
|
+
if (includeHidden !== undefined) {
|
|
1487
|
+
localVarQueryParameter["include_hidden"] = includeHidden;
|
|
1488
|
+
}
|
|
1489
|
+
if (roles) {
|
|
1490
|
+
localVarQueryParameter["roles"] = Array.from(roles);
|
|
1491
|
+
}
|
|
1492
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1493
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1494
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1495
|
+
return {
|
|
1496
|
+
url: toPathString(localVarUrlObj),
|
|
1497
|
+
options: localVarRequestOptions,
|
|
1498
|
+
};
|
|
1499
|
+
},
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
1503
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
*/
|
|
1507
|
+
getMusicConsent: async (version, options = {}) => {
|
|
1508
|
+
const localVarPath = `/v1/ai/artist/settings/music`;
|
|
1509
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1510
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1511
|
+
let baseOptions;
|
|
1512
|
+
if (configuration) {
|
|
1513
|
+
baseOptions = configuration.baseOptions;
|
|
1514
|
+
}
|
|
1515
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1516
|
+
const localVarHeaderParameter = {};
|
|
1517
|
+
const localVarQueryParameter = {};
|
|
1518
|
+
// authentication OAuth2 required
|
|
1519
|
+
// oauth required
|
|
1520
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1521
|
+
if (version !== undefined) {
|
|
1522
|
+
localVarQueryParameter["version"] = version;
|
|
1523
|
+
}
|
|
1524
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1525
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1526
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1527
|
+
return {
|
|
1528
|
+
url: toPathString(localVarUrlObj),
|
|
1529
|
+
options: localVarRequestOptions,
|
|
1530
|
+
};
|
|
1531
|
+
},
|
|
1532
|
+
/**
|
|
1533
|
+
*
|
|
1534
|
+
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
1535
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
1536
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1537
|
+
* @param {*} [options] Override http request option.
|
|
1538
|
+
* @throws {RequiredError}
|
|
1539
|
+
*/
|
|
1540
|
+
getMusicConsentByUsername: async (username, version, options = {}) => {
|
|
1541
|
+
// verify required parameter 'username' is not null or undefined
|
|
1542
|
+
assertParamExists("getMusicConsentByUsername", "username", username);
|
|
1543
|
+
const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1544
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1545
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1546
|
+
let baseOptions;
|
|
1547
|
+
if (configuration) {
|
|
1548
|
+
baseOptions = configuration.baseOptions;
|
|
1549
|
+
}
|
|
1550
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1551
|
+
const localVarHeaderParameter = {};
|
|
1552
|
+
const localVarQueryParameter = {};
|
|
1553
|
+
// authentication OAuth2 required
|
|
1554
|
+
// oauth required
|
|
1555
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1556
|
+
if (version !== undefined) {
|
|
1557
|
+
localVarQueryParameter["version"] = version;
|
|
1558
|
+
}
|
|
1406
1559
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1407
1560
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1408
1561
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2061,6 +2214,93 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2061
2214
|
options: localVarRequestOptions,
|
|
2062
2215
|
};
|
|
2063
2216
|
},
|
|
2217
|
+
/**
|
|
2218
|
+
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
|
|
2219
|
+
* @summary Replace a party\'s music consents, appending a new consent version
|
|
2220
|
+
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2221
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2222
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2223
|
+
* @param {*} [options] Override http request option.
|
|
2224
|
+
* @throws {RequiredError}
|
|
2225
|
+
*/
|
|
2226
|
+
saveMusicConsent: async (postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2227
|
+
// verify required parameter 'postMusicConsentBody' is not null or undefined
|
|
2228
|
+
assertParamExists("saveMusicConsent", "postMusicConsentBody", postMusicConsentBody);
|
|
2229
|
+
const localVarPath = `/v1/ai/artist/settings/music`;
|
|
2230
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2232
|
+
let baseOptions;
|
|
2233
|
+
if (configuration) {
|
|
2234
|
+
baseOptions = configuration.baseOptions;
|
|
2235
|
+
}
|
|
2236
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2237
|
+
const localVarHeaderParameter = {};
|
|
2238
|
+
const localVarQueryParameter = {};
|
|
2239
|
+
// authentication OAuth2 required
|
|
2240
|
+
// oauth required
|
|
2241
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2242
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2243
|
+
if (ifMatch != null) {
|
|
2244
|
+
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2245
|
+
}
|
|
2246
|
+
if (idempotencyKey != null) {
|
|
2247
|
+
localVarHeaderParameter["idempotency-key"] =
|
|
2248
|
+
String(idempotencyKey);
|
|
2249
|
+
}
|
|
2250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2252
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2253
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postMusicConsentBody, localVarRequestOptions, configuration);
|
|
2254
|
+
return {
|
|
2255
|
+
url: toPathString(localVarUrlObj),
|
|
2256
|
+
options: localVarRequestOptions,
|
|
2257
|
+
};
|
|
2258
|
+
},
|
|
2259
|
+
/**
|
|
2260
|
+
* A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
|
|
2261
|
+
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
2262
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
2263
|
+
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2264
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2265
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2266
|
+
* @param {*} [options] Override http request option.
|
|
2267
|
+
* @throws {RequiredError}
|
|
2268
|
+
*/
|
|
2269
|
+
saveMusicConsentByUsername: async (username, postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2270
|
+
// verify required parameter 'username' is not null or undefined
|
|
2271
|
+
assertParamExists("saveMusicConsentByUsername", "username", username);
|
|
2272
|
+
// verify required parameter 'postMusicConsentBody' is not null or undefined
|
|
2273
|
+
assertParamExists("saveMusicConsentByUsername", "postMusicConsentBody", postMusicConsentBody);
|
|
2274
|
+
const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2275
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2276
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2277
|
+
let baseOptions;
|
|
2278
|
+
if (configuration) {
|
|
2279
|
+
baseOptions = configuration.baseOptions;
|
|
2280
|
+
}
|
|
2281
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2282
|
+
const localVarHeaderParameter = {};
|
|
2283
|
+
const localVarQueryParameter = {};
|
|
2284
|
+
// authentication OAuth2 required
|
|
2285
|
+
// oauth required
|
|
2286
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2287
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2288
|
+
if (ifMatch != null) {
|
|
2289
|
+
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2290
|
+
}
|
|
2291
|
+
if (idempotencyKey != null) {
|
|
2292
|
+
localVarHeaderParameter["idempotency-key"] =
|
|
2293
|
+
String(idempotencyKey);
|
|
2294
|
+
}
|
|
2295
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2297
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2298
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postMusicConsentBody, localVarRequestOptions, configuration);
|
|
2299
|
+
return {
|
|
2300
|
+
url: toPathString(localVarUrlObj),
|
|
2301
|
+
options: localVarRequestOptions,
|
|
2302
|
+
};
|
|
2303
|
+
},
|
|
2064
2304
|
/**
|
|
2065
2305
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
2066
2306
|
* @summary Set filepaths for a collection
|
|
@@ -2523,7 +2763,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2523
2763
|
};
|
|
2524
2764
|
},
|
|
2525
2765
|
/**
|
|
2526
|
-
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
2766
|
+
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
2527
2767
|
* @summary Upload files as form-data
|
|
2528
2768
|
* @param {UploadFilesContentTypeEnum} contentType
|
|
2529
2769
|
* @param {string} contentType2
|
|
@@ -2921,6 +3161,35 @@ export const SureelApiFp = function (configuration) {
|
|
|
2921
3161
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.evaluateArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2922
3162
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2923
3163
|
},
|
|
3164
|
+
/**
|
|
3165
|
+
*
|
|
3166
|
+
* @summary Ask what a party\'s music consent record permits for a given request
|
|
3167
|
+
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
3168
|
+
* @param {*} [options] Override http request option.
|
|
3169
|
+
* @throws {RequiredError}
|
|
3170
|
+
*/
|
|
3171
|
+
async evaluateMusicConsent(evaluateMusicConsentBody, options) {
|
|
3172
|
+
var _a, _b, _c;
|
|
3173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateMusicConsent(evaluateMusicConsentBody, options);
|
|
3174
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3175
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.evaluateMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3177
|
+
},
|
|
3178
|
+
/**
|
|
3179
|
+
*
|
|
3180
|
+
* @summary Ask what a party\'s music consent record permits for a given request
|
|
3181
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
3182
|
+
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
3183
|
+
* @param {*} [options] Override http request option.
|
|
3184
|
+
* @throws {RequiredError}
|
|
3185
|
+
*/
|
|
3186
|
+
async evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
|
|
3187
|
+
var _a, _b, _c;
|
|
3188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options);
|
|
3189
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3190
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.evaluateMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3191
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3192
|
+
},
|
|
2924
3193
|
/**
|
|
2925
3194
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
2926
3195
|
* @summary Face swap
|
|
@@ -3147,16 +3416,49 @@ export const SureelApiFp = function (configuration) {
|
|
|
3147
3416
|
* @param {string} labelName
|
|
3148
3417
|
* @param {number} [take] The `take` parameter is the number of artists to return per page.
|
|
3149
3418
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3419
|
+
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
3420
|
+
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
3421
|
+
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
3422
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\'s customer_name, songwriters through its publisher_name; singer-songwriters appear once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
3150
3423
|
* @param {*} [options] Override http request option.
|
|
3151
3424
|
* @throws {RequiredError}
|
|
3152
3425
|
*/
|
|
3153
|
-
async getCustomerData(labelName, take, cursor, options) {
|
|
3426
|
+
async getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
|
|
3154
3427
|
var _a, _b, _c;
|
|
3155
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, options);
|
|
3428
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options);
|
|
3156
3429
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3157
3430
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getCustomerData"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3158
3431
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3159
3432
|
},
|
|
3433
|
+
/**
|
|
3434
|
+
*
|
|
3435
|
+
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
3436
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3437
|
+
* @param {*} [options] Override http request option.
|
|
3438
|
+
* @throws {RequiredError}
|
|
3439
|
+
*/
|
|
3440
|
+
async getMusicConsent(version, options) {
|
|
3441
|
+
var _a, _b, _c;
|
|
3442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsent(version, options);
|
|
3443
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3444
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3446
|
+
},
|
|
3447
|
+
/**
|
|
3448
|
+
*
|
|
3449
|
+
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
3450
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
3451
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3452
|
+
* @param {*} [options] Override http request option.
|
|
3453
|
+
* @throws {RequiredError}
|
|
3454
|
+
*/
|
|
3455
|
+
async getMusicConsentByUsername(username, version, options) {
|
|
3456
|
+
var _a, _b, _c;
|
|
3457
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsentByUsername(username, version, options);
|
|
3458
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3459
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3460
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3461
|
+
},
|
|
3160
3462
|
/**
|
|
3161
3463
|
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
3162
3464
|
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
@@ -3406,6 +3708,39 @@ export const SureelApiFp = function (configuration) {
|
|
|
3406
3708
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3407
3709
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3408
3710
|
},
|
|
3711
|
+
/**
|
|
3712
|
+
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
|
|
3713
|
+
* @summary Replace a party\'s music consents, appending a new consent version
|
|
3714
|
+
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
3715
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
3716
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
3717
|
+
* @param {*} [options] Override http request option.
|
|
3718
|
+
* @throws {RequiredError}
|
|
3719
|
+
*/
|
|
3720
|
+
async saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
3721
|
+
var _a, _b, _c;
|
|
3722
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options);
|
|
3723
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3724
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3725
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3726
|
+
},
|
|
3727
|
+
/**
|
|
3728
|
+
* A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
|
|
3729
|
+
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
3730
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
3731
|
+
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
3732
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
3733
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
3734
|
+
* @param {*} [options] Override http request option.
|
|
3735
|
+
* @throws {RequiredError}
|
|
3736
|
+
*/
|
|
3737
|
+
async saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
3738
|
+
var _a, _b, _c;
|
|
3739
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options);
|
|
3740
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3741
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3742
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3743
|
+
},
|
|
3409
3744
|
/**
|
|
3410
3745
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
3411
3746
|
* @summary Set filepaths for a collection
|
|
@@ -3587,7 +3922,7 @@ export const SureelApiFp = function (configuration) {
|
|
|
3587
3922
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3588
3923
|
},
|
|
3589
3924
|
/**
|
|
3590
|
-
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
3925
|
+
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
3591
3926
|
* @summary Upload files as form-data
|
|
3592
3927
|
* @param {UploadFilesContentTypeEnum} contentType
|
|
3593
3928
|
* @param {string} contentType2
|
|
@@ -3894,6 +4229,31 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3894
4229
|
.evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
|
|
3895
4230
|
.then((request) => request(axios, basePath));
|
|
3896
4231
|
},
|
|
4232
|
+
/**
|
|
4233
|
+
*
|
|
4234
|
+
* @summary Ask what a party\'s music consent record permits for a given request
|
|
4235
|
+
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
4236
|
+
* @param {*} [options] Override http request option.
|
|
4237
|
+
* @throws {RequiredError}
|
|
4238
|
+
*/
|
|
4239
|
+
evaluateMusicConsent(evaluateMusicConsentBody, options) {
|
|
4240
|
+
return localVarFp
|
|
4241
|
+
.evaluateMusicConsent(evaluateMusicConsentBody, options)
|
|
4242
|
+
.then((request) => request(axios, basePath));
|
|
4243
|
+
},
|
|
4244
|
+
/**
|
|
4245
|
+
*
|
|
4246
|
+
* @summary Ask what a party\'s music consent record permits for a given request
|
|
4247
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
4248
|
+
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
4249
|
+
* @param {*} [options] Override http request option.
|
|
4250
|
+
* @throws {RequiredError}
|
|
4251
|
+
*/
|
|
4252
|
+
evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
|
|
4253
|
+
return localVarFp
|
|
4254
|
+
.evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
|
|
4255
|
+
.then((request) => request(axios, basePath));
|
|
4256
|
+
},
|
|
3897
4257
|
/**
|
|
3898
4258
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
3899
4259
|
* @summary Face swap
|
|
@@ -4092,12 +4452,41 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4092
4452
|
* @param {string} labelName
|
|
4093
4453
|
* @param {number} [take] The `take` parameter is the number of artists to return per page.
|
|
4094
4454
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4455
|
+
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
4456
|
+
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
4457
|
+
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
4458
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\'s customer_name, songwriters through its publisher_name; singer-songwriters appear once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
4459
|
+
* @param {*} [options] Override http request option.
|
|
4460
|
+
* @throws {RequiredError}
|
|
4461
|
+
*/
|
|
4462
|
+
getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
|
|
4463
|
+
return localVarFp
|
|
4464
|
+
.getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options)
|
|
4465
|
+
.then((request) => request(axios, basePath));
|
|
4466
|
+
},
|
|
4467
|
+
/**
|
|
4468
|
+
*
|
|
4469
|
+
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
4470
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4471
|
+
* @param {*} [options] Override http request option.
|
|
4472
|
+
* @throws {RequiredError}
|
|
4473
|
+
*/
|
|
4474
|
+
getMusicConsent(version, options) {
|
|
4475
|
+
return localVarFp
|
|
4476
|
+
.getMusicConsent(version, options)
|
|
4477
|
+
.then((request) => request(axios, basePath));
|
|
4478
|
+
},
|
|
4479
|
+
/**
|
|
4480
|
+
*
|
|
4481
|
+
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
4482
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
4483
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4095
4484
|
* @param {*} [options] Override http request option.
|
|
4096
4485
|
* @throws {RequiredError}
|
|
4097
4486
|
*/
|
|
4098
|
-
|
|
4487
|
+
getMusicConsentByUsername(username, version, options) {
|
|
4099
4488
|
return localVarFp
|
|
4100
|
-
.
|
|
4489
|
+
.getMusicConsentByUsername(username, version, options)
|
|
4101
4490
|
.then((request) => request(axios, basePath));
|
|
4102
4491
|
},
|
|
4103
4492
|
/**
|
|
@@ -4317,6 +4706,35 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4317
4706
|
.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
4318
4707
|
.then((request) => request(axios, basePath));
|
|
4319
4708
|
},
|
|
4709
|
+
/**
|
|
4710
|
+
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
|
|
4711
|
+
* @summary Replace a party\'s music consents, appending a new consent version
|
|
4712
|
+
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
4713
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4714
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4715
|
+
* @param {*} [options] Override http request option.
|
|
4716
|
+
* @throws {RequiredError}
|
|
4717
|
+
*/
|
|
4718
|
+
saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
4719
|
+
return localVarFp
|
|
4720
|
+
.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
4721
|
+
.then((request) => request(axios, basePath));
|
|
4722
|
+
},
|
|
4723
|
+
/**
|
|
4724
|
+
* A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
|
|
4725
|
+
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
4726
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
4727
|
+
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
4728
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4729
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4730
|
+
* @param {*} [options] Override http request option.
|
|
4731
|
+
* @throws {RequiredError}
|
|
4732
|
+
*/
|
|
4733
|
+
saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
4734
|
+
return localVarFp
|
|
4735
|
+
.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
4736
|
+
.then((request) => request(axios, basePath));
|
|
4737
|
+
},
|
|
4320
4738
|
/**
|
|
4321
4739
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
4322
4740
|
* @summary Set filepaths for a collection
|
|
@@ -4474,7 +4892,7 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4474
4892
|
.then((request) => request(axios, basePath));
|
|
4475
4893
|
},
|
|
4476
4894
|
/**
|
|
4477
|
-
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
4895
|
+
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
4478
4896
|
* @summary Upload files as form-data
|
|
4479
4897
|
* @param {UploadFilesContentTypeEnum} contentType
|
|
4480
4898
|
* @param {string} contentType2
|
|
@@ -4798,6 +5216,33 @@ export class SureelApi extends BaseAPI {
|
|
|
4798
5216
|
.evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
|
|
4799
5217
|
.then((request) => request(this.axios, this.basePath));
|
|
4800
5218
|
}
|
|
5219
|
+
/**
|
|
5220
|
+
*
|
|
5221
|
+
* @summary Ask what a party\'s music consent record permits for a given request
|
|
5222
|
+
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
5223
|
+
* @param {*} [options] Override http request option.
|
|
5224
|
+
* @throws {RequiredError}
|
|
5225
|
+
* @memberof SureelApi
|
|
5226
|
+
*/
|
|
5227
|
+
evaluateMusicConsent(evaluateMusicConsentBody, options) {
|
|
5228
|
+
return SureelApiFp(this.configuration)
|
|
5229
|
+
.evaluateMusicConsent(evaluateMusicConsentBody, options)
|
|
5230
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5231
|
+
}
|
|
5232
|
+
/**
|
|
5233
|
+
*
|
|
5234
|
+
* @summary Ask what a party\'s music consent record permits for a given request
|
|
5235
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
5236
|
+
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
5237
|
+
* @param {*} [options] Override http request option.
|
|
5238
|
+
* @throws {RequiredError}
|
|
5239
|
+
* @memberof SureelApi
|
|
5240
|
+
*/
|
|
5241
|
+
evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
|
|
5242
|
+
return SureelApiFp(this.configuration)
|
|
5243
|
+
.evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
|
|
5244
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5245
|
+
}
|
|
4801
5246
|
/**
|
|
4802
5247
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
4803
5248
|
* @summary Face swap
|
|
@@ -5010,13 +5455,44 @@ export class SureelApi extends BaseAPI {
|
|
|
5010
5455
|
* @param {string} labelName
|
|
5011
5456
|
* @param {number} [take] The `take` parameter is the number of artists to return per page.
|
|
5012
5457
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
5458
|
+
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
5459
|
+
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
5460
|
+
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
5461
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\'s customer_name, songwriters through its publisher_name; singer-songwriters appear once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
5462
|
+
* @param {*} [options] Override http request option.
|
|
5463
|
+
* @throws {RequiredError}
|
|
5464
|
+
* @memberof SureelApi
|
|
5465
|
+
*/
|
|
5466
|
+
getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
|
|
5467
|
+
return SureelApiFp(this.configuration)
|
|
5468
|
+
.getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options)
|
|
5469
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5470
|
+
}
|
|
5471
|
+
/**
|
|
5472
|
+
*
|
|
5473
|
+
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
5474
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5475
|
+
* @param {*} [options] Override http request option.
|
|
5476
|
+
* @throws {RequiredError}
|
|
5477
|
+
* @memberof SureelApi
|
|
5478
|
+
*/
|
|
5479
|
+
getMusicConsent(version, options) {
|
|
5480
|
+
return SureelApiFp(this.configuration)
|
|
5481
|
+
.getMusicConsent(version, options)
|
|
5482
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5483
|
+
}
|
|
5484
|
+
/**
|
|
5485
|
+
*
|
|
5486
|
+
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
5487
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
5488
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5013
5489
|
* @param {*} [options] Override http request option.
|
|
5014
5490
|
* @throws {RequiredError}
|
|
5015
5491
|
* @memberof SureelApi
|
|
5016
5492
|
*/
|
|
5017
|
-
|
|
5493
|
+
getMusicConsentByUsername(username, version, options) {
|
|
5018
5494
|
return SureelApiFp(this.configuration)
|
|
5019
|
-
.
|
|
5495
|
+
.getMusicConsentByUsername(username, version, options)
|
|
5020
5496
|
.then((request) => request(this.axios, this.basePath));
|
|
5021
5497
|
}
|
|
5022
5498
|
/**
|
|
@@ -5252,6 +5728,37 @@ export class SureelApi extends BaseAPI {
|
|
|
5252
5728
|
.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
5253
5729
|
.then((request) => request(this.axios, this.basePath));
|
|
5254
5730
|
}
|
|
5731
|
+
/**
|
|
5732
|
+
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
|
|
5733
|
+
* @summary Replace a party\'s music consents, appending a new consent version
|
|
5734
|
+
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
5735
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5736
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5737
|
+
* @param {*} [options] Override http request option.
|
|
5738
|
+
* @throws {RequiredError}
|
|
5739
|
+
* @memberof SureelApi
|
|
5740
|
+
*/
|
|
5741
|
+
saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
5742
|
+
return SureelApiFp(this.configuration)
|
|
5743
|
+
.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
5744
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5745
|
+
}
|
|
5746
|
+
/**
|
|
5747
|
+
* A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
|
|
5748
|
+
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
5749
|
+
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
5750
|
+
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
5751
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5752
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5753
|
+
* @param {*} [options] Override http request option.
|
|
5754
|
+
* @throws {RequiredError}
|
|
5755
|
+
* @memberof SureelApi
|
|
5756
|
+
*/
|
|
5757
|
+
saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
5758
|
+
return SureelApiFp(this.configuration)
|
|
5759
|
+
.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
5760
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5761
|
+
}
|
|
5255
5762
|
/**
|
|
5256
5763
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
5257
5764
|
* @summary Set filepaths for a collection
|
|
@@ -5421,7 +5928,7 @@ export class SureelApi extends BaseAPI {
|
|
|
5421
5928
|
.then((request) => request(this.axios, this.basePath));
|
|
5422
5929
|
}
|
|
5423
5930
|
/**
|
|
5424
|
-
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
5931
|
+
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
5425
5932
|
* @summary Upload files as form-data
|
|
5426
5933
|
* @param {UploadFilesContentTypeEnum} contentType
|
|
5427
5934
|
* @param {string} contentType2
|