@sureel/sdk 1.16.7 → 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 +308 -5
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +500 -7
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +308 -5
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +500 -7
- package/esm/api/sureel-api.js.map +1 -1
- 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/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 +40 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +40 -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/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 +61 -0
- package/esm/models/roster-artist-profile-data.d.ts.map +1 -1
- 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/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/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/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 +40 -0
- package/models/index.d.ts.map +1 -1
- package/models/index.js +40 -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/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 +61 -0
- package/models/roster-artist-profile-data.d.ts.map +1 -1
- 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/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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=music-consent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-consent.js","sourceRoot":"","sources":["../../../src/models/music-consent.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MusicDecision
|
|
16
|
+
*/
|
|
17
|
+
export interface MusicDecision {
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=music-decision.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-decision.d.ts","sourceRoot":"","sources":["../../../src/models/music-decision.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,aAAa;CAAG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=music-decision.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-decision.js","sourceRoot":"","sources":["../../../src/models/music-decision.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MusicDefaultDecisionStored
|
|
16
|
+
*/
|
|
17
|
+
export interface MusicDefaultDecisionStored {
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=music-default-decision-stored.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-default-decision-stored.d.ts","sourceRoot":"","sources":["../../../src/models/music-default-decision-stored.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;CAAG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=music-default-decision-stored.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-default-decision-stored.js","sourceRoot":"","sources":["../../../src/models/music-default-decision-stored.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MusicDefaultDecision
|
|
16
|
+
*/
|
|
17
|
+
export interface MusicDefaultDecision {
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=music-default-decision.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-default-decision.d.ts","sourceRoot":"","sources":["../../../src/models/music-default-decision.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;CAAG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=music-default-decision.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-default-decision.js","sourceRoot":"","sources":["../../../src/models/music-default-decision.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MusicEvidenceInput
|
|
16
|
+
*/
|
|
17
|
+
export interface MusicEvidenceInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MusicEvidenceInput
|
|
22
|
+
*/
|
|
23
|
+
agreement_uri?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MusicEvidenceInput
|
|
28
|
+
*/
|
|
29
|
+
signature_ref?: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=music-evidence-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-evidence-input.d.ts","sourceRoot":"","sources":["../../../src/models/music-evidence-input.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=music-evidence-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-evidence-input.js","sourceRoot":"","sources":["../../../src/models/music-evidence-input.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MusicEvidence
|
|
16
|
+
*/
|
|
17
|
+
export interface MusicEvidence {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MusicEvidence
|
|
22
|
+
*/
|
|
23
|
+
agreement_uri?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MusicEvidence
|
|
28
|
+
*/
|
|
29
|
+
signature_ref?: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=music-evidence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-evidence.d.ts","sourceRoot":"","sources":["../../../src/models/music-evidence.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=music-evidence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-evidence.js","sourceRoot":"","sources":["../../../src/models/music-evidence.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MusicAiCompanyRef } from "./music-ai-company-ref";
|
|
13
|
+
import type { MusicDecision } from "./music-decision";
|
|
14
|
+
import type { MusicEvidenceInput } from "./music-evidence-input";
|
|
15
|
+
import type { MusicLifecycleStage } from "./music-lifecycle-stage";
|
|
16
|
+
import type { MusicPurpose } from "./music-purpose";
|
|
17
|
+
import type { MusicScope } from "./music-scope";
|
|
18
|
+
import type { NilvPricing } from "./nilv-pricing";
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface MusicGrantInput
|
|
23
|
+
*/
|
|
24
|
+
export interface MusicGrantInput {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MusicGrantInput
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {MusicDecision}
|
|
34
|
+
* @memberof MusicGrantInput
|
|
35
|
+
*/
|
|
36
|
+
decision: MusicDecision;
|
|
37
|
+
/**
|
|
38
|
+
* The track layers the grant covers: the recording (the master) and/or the publishing side (the work: composition and lyrics).
|
|
39
|
+
* @type {Set<MusicScope>}
|
|
40
|
+
* @memberof MusicGrantInput
|
|
41
|
+
*/
|
|
42
|
+
scope: Set<MusicScope>;
|
|
43
|
+
/**
|
|
44
|
+
* Catalog references, or [\'*\'] for the party\'s whole catalog. Party-level today; per-track references (ISRC/ISWC) are an intended later narrowing.
|
|
45
|
+
* @type {Set<string>}
|
|
46
|
+
* @memberof MusicGrantInput
|
|
47
|
+
*/
|
|
48
|
+
asset_refs: Set<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Training consent covers [\'training\']; derivative consent covers [\'inference\', \'output\']. Stages, not the frontend\'s use labels, so finer-grained actions stay an additive change.
|
|
51
|
+
* @type {Set<MusicLifecycleStage>}
|
|
52
|
+
* @memberof MusicGrantInput
|
|
53
|
+
*/
|
|
54
|
+
lifecycle_stages: Set<MusicLifecycleStage>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Set<MusicAiCompanyRef>}
|
|
58
|
+
* @memberof MusicGrantInput
|
|
59
|
+
*/
|
|
60
|
+
ai_companies: Set<MusicAiCompanyRef>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Set<MusicPurpose>}
|
|
64
|
+
* @memberof MusicGrantInput
|
|
65
|
+
*/
|
|
66
|
+
purposes: Set<MusicPurpose>;
|
|
67
|
+
/**
|
|
68
|
+
* Inclusive, YYYY-MM-DD.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof MusicGrantInput
|
|
71
|
+
*/
|
|
72
|
+
valid_from: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof MusicGrantInput
|
|
77
|
+
*/
|
|
78
|
+
valid_until: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof MusicGrantInput
|
|
83
|
+
*/
|
|
84
|
+
license_terms_ref: string | null;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {NilvPricing}
|
|
88
|
+
* @memberof MusicGrantInput
|
|
89
|
+
*/
|
|
90
|
+
pricing: NilvPricing | null;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {Set<string>}
|
|
94
|
+
* @memberof MusicGrantInput
|
|
95
|
+
*/
|
|
96
|
+
supersedes: Set<string>;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof MusicGrantInput
|
|
101
|
+
*/
|
|
102
|
+
notes?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {object}
|
|
106
|
+
* @memberof MusicGrantInput
|
|
107
|
+
*/
|
|
108
|
+
granted_by: object;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {MusicEvidenceInput}
|
|
112
|
+
* @memberof MusicGrantInput
|
|
113
|
+
*/
|
|
114
|
+
evidence: MusicEvidenceInput | null;
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=music-grant-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-grant-input.d.ts","sourceRoot":"","sources":["../../../src/models/music-grant-input.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAG/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAGhE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAGlE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAGnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAG/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;;;OAIG;IACH,QAAQ,EAAE,aAAa,CAAA;IACvB;;;;OAIG;IACH,KAAK,EAAE,GAAG,CAAC,UAAU,CAAC,CAAA;IACtB;;;;OAIG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB;;;;OAIG;IACH,gBAAgB,EAAE,GAAG,CAAC,mBAAmB,CAAC,CAAA;IAC1C;;;;OAIG;IACH,YAAY,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;IACpC;;;;OAIG;IACH,QAAQ,EAAE,GAAG,CAAC,YAAY,CAAC,CAAA;IAC3B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC;;;;OAIG;IACH,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B;;;;OAIG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAAA;CACtC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=music-grant-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-grant-input.js","sourceRoot":"","sources":["../../../src/models/music-grant-input.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MusicGrantStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface MusicGrantStatus {
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=music-grant-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-grant-status.d.ts","sourceRoot":"","sources":["../../../src/models/music-grant-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;CAAG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=music-grant-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"music-grant-status.js","sourceRoot":"","sources":["../../../src/models/music-grant-status.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|