@sureel/sdk 1.16.3-rc.1 → 1.16.6
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 +426 -0
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +698 -0
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +426 -0
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +698 -0
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/artist-settings-changes.d.ts +37 -0
- package/esm/models/artist-settings-changes.d.ts.map +1 -0
- package/esm/models/artist-settings-changes.js +15 -0
- package/esm/models/artist-settings-changes.js.map +1 -0
- package/esm/models/artist-settings-duplicate-error.d.ts +51 -0
- package/esm/models/artist-settings-duplicate-error.d.ts.map +1 -0
- package/esm/models/artist-settings-duplicate-error.js +15 -0
- package/esm/models/artist-settings-duplicate-error.js.map +1 -0
- package/esm/models/artist-settings-envelope.d.ts +26 -0
- package/esm/models/artist-settings-envelope.d.ts.map +1 -0
- package/esm/models/artist-settings-envelope.js +15 -0
- package/esm/models/artist-settings-envelope.js.map +1 -0
- package/esm/models/artist-settings-error.d.ts +44 -0
- package/esm/models/artist-settings-error.d.ts.map +1 -0
- package/esm/models/artist-settings-error.js +15 -0
- package/esm/models/artist-settings-error.js.map +1 -0
- package/esm/models/artist-settings-ingestion-summary.d.ts +38 -0
- package/esm/models/artist-settings-ingestion-summary.d.ts.map +1 -0
- package/esm/models/artist-settings-ingestion-summary.js +15 -0
- package/esm/models/artist-settings-ingestion-summary.js.map +1 -0
- package/esm/models/create-nil-asset-upload-url-body.d.ts +25 -0
- package/esm/models/create-nil-asset-upload-url-body.d.ts.map +1 -0
- package/esm/models/create-nil-asset-upload-url-body.js +15 -0
- package/esm/models/create-nil-asset-upload-url-body.js.map +1 -0
- package/esm/models/create-nil-asset-upload-url-response.d.ts +37 -0
- package/esm/models/create-nil-asset-upload-url-response.d.ts.map +1 -0
- package/esm/models/create-nil-asset-upload-url-response.js +15 -0
- package/esm/models/create-nil-asset-upload-url-response.js.map +1 -0
- package/esm/models/evaluate-artist-settings-body.d.ts +70 -0
- package/esm/models/evaluate-artist-settings-body.d.ts.map +1 -0
- package/esm/models/evaluate-artist-settings-body.js +15 -0
- package/esm/models/evaluate-artist-settings-body.js.map +1 -0
- package/esm/models/evaluate-artist-settings-response.d.ts +64 -0
- package/esm/models/evaluate-artist-settings-response.d.ts.map +1 -0
- package/esm/models/evaluate-artist-settings-response.js +15 -0
- package/esm/models/evaluate-artist-settings-response.js.map +1 -0
- package/esm/models/evaluate-decision.d.ts +19 -0
- package/esm/models/evaluate-decision.d.ts.map +1 -0
- package/esm/models/evaluate-decision.js +15 -0
- package/esm/models/evaluate-decision.js.map +1 -0
- package/esm/models/evaluate-lifecycle-stage.d.ts +19 -0
- package/esm/models/evaluate-lifecycle-stage.d.ts.map +1 -0
- package/esm/models/evaluate-lifecycle-stage.js +15 -0
- package/esm/models/evaluate-lifecycle-stage.js.map +1 -0
- package/esm/models/evaluate-purpose.d.ts +19 -0
- package/esm/models/evaluate-purpose.d.ts.map +1 -0
- package/esm/models/evaluate-purpose.js +15 -0
- package/esm/models/evaluate-purpose.js.map +1 -0
- package/esm/models/evaluate-scope.d.ts +19 -0
- package/esm/models/evaluate-scope.d.ts.map +1 -0
- package/esm/models/evaluate-scope.js +15 -0
- package/esm/models/evaluate-scope.js.map +1 -0
- package/esm/models/evaluate-trace-entry.d.ts +43 -0
- package/esm/models/evaluate-trace-entry.d.ts.map +1 -0
- package/esm/models/evaluate-trace-entry.js +15 -0
- package/esm/models/evaluate-trace-entry.js.map +1 -0
- package/esm/models/get-artist-settings-response.d.ts +38 -0
- package/esm/models/get-artist-settings-response.d.ts.map +1 -0
- package/esm/models/get-artist-settings-response.js +15 -0
- package/esm/models/get-artist-settings-response.js.map +1 -0
- package/esm/models/index.d.ts +57 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +57 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/name-image-likeness-input.d.ts +88 -0
- package/esm/models/name-image-likeness-input.d.ts.map +1 -0
- package/esm/models/name-image-likeness-input.js +17 -0
- package/esm/models/name-image-likeness-input.js.map +1 -0
- package/esm/models/name-image-likeness-response.d.ts +84 -0
- package/esm/models/name-image-likeness-response.d.ts.map +1 -0
- package/esm/models/name-image-likeness-response.js +15 -0
- package/esm/models/name-image-likeness-response.js.map +1 -0
- package/esm/models/nil-ingestion-asset-status.d.ts +63 -0
- package/esm/models/nil-ingestion-asset-status.d.ts.map +1 -0
- package/esm/models/nil-ingestion-asset-status.js +15 -0
- package/esm/models/nil-ingestion-asset-status.js.map +1 -0
- package/esm/models/nil-ingestion-status-response.d.ts +64 -0
- package/esm/models/nil-ingestion-status-response.d.ts.map +1 -0
- package/esm/models/nil-ingestion-status-response.js +15 -0
- package/esm/models/nil-ingestion-status-response.js.map +1 -0
- package/esm/models/nilv-ai-company-ref.d.ts +25 -0
- package/esm/models/nilv-ai-company-ref.d.ts.map +1 -0
- package/esm/models/nilv-ai-company-ref.js +15 -0
- package/esm/models/nilv-ai-company-ref.js.map +1 -0
- package/esm/models/nilv-biography.d.ts +25 -0
- package/esm/models/nilv-biography.d.ts.map +1 -0
- package/esm/models/nilv-biography.js +15 -0
- package/esm/models/nilv-biography.js.map +1 -0
- package/esm/models/nilv-consent-input.d.ts +33 -0
- package/esm/models/nilv-consent-input.d.ts.map +1 -0
- package/esm/models/nilv-consent-input.js +15 -0
- package/esm/models/nilv-consent-input.js.map +1 -0
- package/esm/models/nilv-consent-response.d.ts +46 -0
- package/esm/models/nilv-consent-response.d.ts.map +1 -0
- package/esm/models/nilv-consent-response.js +15 -0
- package/esm/models/nilv-consent-response.js.map +1 -0
- package/esm/models/nilv-decision.d.ts +19 -0
- package/esm/models/nilv-decision.d.ts.map +1 -0
- package/esm/models/nilv-decision.js +15 -0
- package/esm/models/nilv-decision.js.map +1 -0
- package/esm/models/nilv-default-decision-response.d.ts +19 -0
- package/esm/models/nilv-default-decision-response.d.ts.map +1 -0
- package/esm/models/nilv-default-decision-response.js +15 -0
- package/esm/models/nilv-default-decision-response.js.map +1 -0
- package/esm/models/nilv-default-decision.d.ts +19 -0
- package/esm/models/nilv-default-decision.d.ts.map +1 -0
- package/esm/models/nilv-default-decision.js +15 -0
- package/esm/models/nilv-default-decision.js.map +1 -0
- package/esm/models/nilv-dna-state.d.ts +19 -0
- package/esm/models/nilv-dna-state.d.ts.map +1 -0
- package/esm/models/nilv-dna-state.js +15 -0
- package/esm/models/nilv-dna-state.js.map +1 -0
- package/esm/models/nilv-duplicate-asset.d.ts +56 -0
- package/esm/models/nilv-duplicate-asset.d.ts.map +1 -0
- package/esm/models/nilv-duplicate-asset.js +15 -0
- package/esm/models/nilv-duplicate-asset.js.map +1 -0
- package/esm/models/nilv-duplicate-reason.d.ts +19 -0
- package/esm/models/nilv-duplicate-reason.d.ts.map +1 -0
- package/esm/models/nilv-duplicate-reason.js +15 -0
- package/esm/models/nilv-duplicate-reason.js.map +1 -0
- package/esm/models/nilv-evidence-input.d.ts +31 -0
- package/esm/models/nilv-evidence-input.d.ts.map +1 -0
- package/esm/models/nilv-evidence-input.js +15 -0
- package/esm/models/nilv-evidence-input.js.map +1 -0
- package/esm/models/nilv-evidence-response.d.ts +31 -0
- package/esm/models/nilv-evidence-response.d.ts.map +1 -0
- package/esm/models/nilv-evidence-response.js +15 -0
- package/esm/models/nilv-evidence-response.js.map +1 -0
- package/esm/models/nilv-genre.d.ts +37 -0
- package/esm/models/nilv-genre.d.ts.map +1 -0
- package/esm/models/nilv-genre.js +15 -0
- package/esm/models/nilv-genre.js.map +1 -0
- package/esm/models/nilv-grant-input.d.ts +122 -0
- package/esm/models/nilv-grant-input.d.ts.map +1 -0
- package/esm/models/nilv-grant-input.js +15 -0
- package/esm/models/nilv-grant-input.js.map +1 -0
- package/esm/models/nilv-grant-response.d.ts +130 -0
- package/esm/models/nilv-grant-response.d.ts.map +1 -0
- package/esm/models/nilv-grant-response.js +15 -0
- package/esm/models/nilv-grant-response.js.map +1 -0
- package/esm/models/nilv-grant-response1.d.ts +130 -0
- package/esm/models/nilv-grant-response1.d.ts.map +1 -0
- package/esm/models/nilv-grant-response1.js +15 -0
- package/esm/models/nilv-grant-response1.js.map +1 -0
- package/esm/models/nilv-grant-status-response.d.ts +19 -0
- package/esm/models/nilv-grant-status-response.d.ts.map +1 -0
- package/esm/models/nilv-grant-status-response.js +15 -0
- package/esm/models/nilv-grant-status-response.js.map +1 -0
- package/esm/models/nilv-granted-by.d.ts +50 -0
- package/esm/models/nilv-granted-by.d.ts.map +1 -0
- package/esm/models/nilv-granted-by.js +15 -0
- package/esm/models/nilv-granted-by.js.map +1 -0
- package/esm/models/nilv-grantor-role-stored.d.ts +19 -0
- package/esm/models/nilv-grantor-role-stored.d.ts.map +1 -0
- package/esm/models/nilv-grantor-role-stored.js +15 -0
- package/esm/models/nilv-grantor-role-stored.js.map +1 -0
- package/esm/models/nilv-ingest-request-state.d.ts +19 -0
- package/esm/models/nilv-ingest-request-state.d.ts.map +1 -0
- package/esm/models/nilv-ingest-request-state.js +15 -0
- package/esm/models/nilv-ingest-request-state.js.map +1 -0
- package/esm/models/nilv-ingest-state.d.ts +19 -0
- package/esm/models/nilv-ingest-state.d.ts.map +1 -0
- package/esm/models/nilv-ingest-state.js +15 -0
- package/esm/models/nilv-ingest-state.js.map +1 -0
- package/esm/models/nilv-labelled-file-input.d.ts +55 -0
- package/esm/models/nilv-labelled-file-input.d.ts.map +1 -0
- package/esm/models/nilv-labelled-file-input.js +15 -0
- package/esm/models/nilv-labelled-file-input.js.map +1 -0
- package/esm/models/nilv-labelled-file-response.d.ts +69 -0
- package/esm/models/nilv-labelled-file-response.d.ts.map +1 -0
- package/esm/models/nilv-labelled-file-response.js +15 -0
- package/esm/models/nilv-labelled-file-response.js.map +1 -0
- package/esm/models/nilv-lifecycle-stage.d.ts +19 -0
- package/esm/models/nilv-lifecycle-stage.d.ts.map +1 -0
- package/esm/models/nilv-lifecycle-stage.js +15 -0
- package/esm/models/nilv-lifecycle-stage.js.map +1 -0
- package/esm/models/nilv-linguistic-sample-input.d.ts +55 -0
- package/esm/models/nilv-linguistic-sample-input.d.ts.map +1 -0
- package/esm/models/nilv-linguistic-sample-input.js +15 -0
- package/esm/models/nilv-linguistic-sample-input.js.map +1 -0
- package/esm/models/nilv-linguistic-sample-response.d.ts +69 -0
- package/esm/models/nilv-linguistic-sample-response.d.ts.map +1 -0
- package/esm/models/nilv-linguistic-sample-response.js +15 -0
- package/esm/models/nilv-linguistic-sample-response.js.map +1 -0
- package/esm/models/nilv-name.d.ts +43 -0
- package/esm/models/nilv-name.d.ts.map +1 -0
- package/esm/models/nilv-name.js +15 -0
- package/esm/models/nilv-name.js.map +1 -0
- package/esm/models/nilv-persona-input.d.ts +54 -0
- package/esm/models/nilv-persona-input.d.ts.map +1 -0
- package/esm/models/nilv-persona-input.js +15 -0
- package/esm/models/nilv-persona-input.js.map +1 -0
- package/esm/models/nilv-persona-response.d.ts +54 -0
- package/esm/models/nilv-persona-response.d.ts.map +1 -0
- package/esm/models/nilv-persona-response.js +15 -0
- package/esm/models/nilv-persona-response.js.map +1 -0
- package/esm/models/nilv-pricing-model.d.ts +19 -0
- package/esm/models/nilv-pricing-model.d.ts.map +1 -0
- package/esm/models/nilv-pricing-model.js +15 -0
- package/esm/models/nilv-pricing-model.js.map +1 -0
- package/esm/models/nilv-pricing.d.ts +50 -0
- package/esm/models/nilv-pricing.d.ts.map +1 -0
- package/esm/models/nilv-pricing.js +15 -0
- package/esm/models/nilv-pricing.js.map +1 -0
- package/esm/models/nilv-purpose.d.ts +19 -0
- package/esm/models/nilv-purpose.d.ts.map +1 -0
- package/esm/models/nilv-purpose.js +15 -0
- package/esm/models/nilv-purpose.js.map +1 -0
- package/esm/models/nilv-revocation.d.ts +43 -0
- package/esm/models/nilv-revocation.d.ts.map +1 -0
- package/esm/models/nilv-revocation.js +15 -0
- package/esm/models/nilv-revocation.js.map +1 -0
- package/esm/models/nilv-scope.d.ts +19 -0
- package/esm/models/nilv-scope.d.ts.map +1 -0
- package/esm/models/nilv-scope.js +15 -0
- package/esm/models/nilv-scope.js.map +1 -0
- package/esm/models/nilv-social-handle.d.ts +43 -0
- package/esm/models/nilv-social-handle.d.ts.map +1 -0
- package/esm/models/nilv-social-handle.js +15 -0
- package/esm/models/nilv-social-handle.js.map +1 -0
- package/esm/models/nilv-style.d.ts +37 -0
- package/esm/models/nilv-style.d.ts.map +1 -0
- package/esm/models/nilv-style.js +15 -0
- package/esm/models/nilv-style.js.map +1 -0
- package/esm/models/post-artist-settings-body.d.ts +26 -0
- package/esm/models/post-artist-settings-body.d.ts.map +1 -0
- package/esm/models/post-artist-settings-body.js +15 -0
- package/esm/models/post-artist-settings-body.js.map +1 -0
- package/esm/models/post-artist-settings-response.d.ts +39 -0
- package/esm/models/post-artist-settings-response.d.ts.map +1 -0
- package/esm/models/post-artist-settings-response.js +15 -0
- package/esm/models/post-artist-settings-response.js.map +1 -0
- package/models/artist-settings-changes.d.ts +37 -0
- package/models/artist-settings-changes.d.ts.map +1 -0
- package/models/artist-settings-changes.js +16 -0
- package/models/artist-settings-changes.js.map +1 -0
- package/models/artist-settings-duplicate-error.d.ts +51 -0
- package/models/artist-settings-duplicate-error.d.ts.map +1 -0
- package/models/artist-settings-duplicate-error.js +16 -0
- package/models/artist-settings-duplicate-error.js.map +1 -0
- package/models/artist-settings-envelope.d.ts +26 -0
- package/models/artist-settings-envelope.d.ts.map +1 -0
- package/models/artist-settings-envelope.js +16 -0
- package/models/artist-settings-envelope.js.map +1 -0
- package/models/artist-settings-error.d.ts +44 -0
- package/models/artist-settings-error.d.ts.map +1 -0
- package/models/artist-settings-error.js +16 -0
- package/models/artist-settings-error.js.map +1 -0
- package/models/artist-settings-ingestion-summary.d.ts +38 -0
- package/models/artist-settings-ingestion-summary.d.ts.map +1 -0
- package/models/artist-settings-ingestion-summary.js +16 -0
- package/models/artist-settings-ingestion-summary.js.map +1 -0
- package/models/create-nil-asset-upload-url-body.d.ts +25 -0
- package/models/create-nil-asset-upload-url-body.d.ts.map +1 -0
- package/models/create-nil-asset-upload-url-body.js +16 -0
- package/models/create-nil-asset-upload-url-body.js.map +1 -0
- package/models/create-nil-asset-upload-url-response.d.ts +37 -0
- package/models/create-nil-asset-upload-url-response.d.ts.map +1 -0
- package/models/create-nil-asset-upload-url-response.js +16 -0
- package/models/create-nil-asset-upload-url-response.js.map +1 -0
- package/models/evaluate-artist-settings-body.d.ts +70 -0
- package/models/evaluate-artist-settings-body.d.ts.map +1 -0
- package/models/evaluate-artist-settings-body.js +16 -0
- package/models/evaluate-artist-settings-body.js.map +1 -0
- package/models/evaluate-artist-settings-response.d.ts +64 -0
- package/models/evaluate-artist-settings-response.d.ts.map +1 -0
- package/models/evaluate-artist-settings-response.js +16 -0
- package/models/evaluate-artist-settings-response.js.map +1 -0
- package/models/evaluate-decision.d.ts +19 -0
- package/models/evaluate-decision.d.ts.map +1 -0
- package/models/evaluate-decision.js +16 -0
- package/models/evaluate-decision.js.map +1 -0
- package/models/evaluate-lifecycle-stage.d.ts +19 -0
- package/models/evaluate-lifecycle-stage.d.ts.map +1 -0
- package/models/evaluate-lifecycle-stage.js +16 -0
- package/models/evaluate-lifecycle-stage.js.map +1 -0
- package/models/evaluate-purpose.d.ts +19 -0
- package/models/evaluate-purpose.d.ts.map +1 -0
- package/models/evaluate-purpose.js +16 -0
- package/models/evaluate-purpose.js.map +1 -0
- package/models/evaluate-scope.d.ts +19 -0
- package/models/evaluate-scope.d.ts.map +1 -0
- package/models/evaluate-scope.js +16 -0
- package/models/evaluate-scope.js.map +1 -0
- package/models/evaluate-trace-entry.d.ts +43 -0
- package/models/evaluate-trace-entry.d.ts.map +1 -0
- package/models/evaluate-trace-entry.js +16 -0
- package/models/evaluate-trace-entry.js.map +1 -0
- package/models/get-artist-settings-response.d.ts +38 -0
- package/models/get-artist-settings-response.d.ts.map +1 -0
- package/models/get-artist-settings-response.js +16 -0
- package/models/get-artist-settings-response.js.map +1 -0
- package/models/index.d.ts +57 -0
- package/models/index.d.ts.map +1 -1
- package/models/index.js +57 -0
- package/models/index.js.map +1 -1
- package/models/name-image-likeness-input.d.ts +88 -0
- package/models/name-image-likeness-input.d.ts.map +1 -0
- package/models/name-image-likeness-input.js +20 -0
- package/models/name-image-likeness-input.js.map +1 -0
- package/models/name-image-likeness-response.d.ts +84 -0
- package/models/name-image-likeness-response.d.ts.map +1 -0
- package/models/name-image-likeness-response.js +16 -0
- package/models/name-image-likeness-response.js.map +1 -0
- package/models/nil-ingestion-asset-status.d.ts +63 -0
- package/models/nil-ingestion-asset-status.d.ts.map +1 -0
- package/models/nil-ingestion-asset-status.js +16 -0
- package/models/nil-ingestion-asset-status.js.map +1 -0
- package/models/nil-ingestion-status-response.d.ts +64 -0
- package/models/nil-ingestion-status-response.d.ts.map +1 -0
- package/models/nil-ingestion-status-response.js +16 -0
- package/models/nil-ingestion-status-response.js.map +1 -0
- package/models/nilv-ai-company-ref.d.ts +25 -0
- package/models/nilv-ai-company-ref.d.ts.map +1 -0
- package/models/nilv-ai-company-ref.js +16 -0
- package/models/nilv-ai-company-ref.js.map +1 -0
- package/models/nilv-biography.d.ts +25 -0
- package/models/nilv-biography.d.ts.map +1 -0
- package/models/nilv-biography.js +16 -0
- package/models/nilv-biography.js.map +1 -0
- package/models/nilv-consent-input.d.ts +33 -0
- package/models/nilv-consent-input.d.ts.map +1 -0
- package/models/nilv-consent-input.js +16 -0
- package/models/nilv-consent-input.js.map +1 -0
- package/models/nilv-consent-response.d.ts +46 -0
- package/models/nilv-consent-response.d.ts.map +1 -0
- package/models/nilv-consent-response.js +16 -0
- package/models/nilv-consent-response.js.map +1 -0
- package/models/nilv-decision.d.ts +19 -0
- package/models/nilv-decision.d.ts.map +1 -0
- package/models/nilv-decision.js +16 -0
- package/models/nilv-decision.js.map +1 -0
- package/models/nilv-default-decision-response.d.ts +19 -0
- package/models/nilv-default-decision-response.d.ts.map +1 -0
- package/models/nilv-default-decision-response.js +16 -0
- package/models/nilv-default-decision-response.js.map +1 -0
- package/models/nilv-default-decision.d.ts +19 -0
- package/models/nilv-default-decision.d.ts.map +1 -0
- package/models/nilv-default-decision.js +16 -0
- package/models/nilv-default-decision.js.map +1 -0
- package/models/nilv-dna-state.d.ts +19 -0
- package/models/nilv-dna-state.d.ts.map +1 -0
- package/models/nilv-dna-state.js +16 -0
- package/models/nilv-dna-state.js.map +1 -0
- package/models/nilv-duplicate-asset.d.ts +56 -0
- package/models/nilv-duplicate-asset.d.ts.map +1 -0
- package/models/nilv-duplicate-asset.js +16 -0
- package/models/nilv-duplicate-asset.js.map +1 -0
- package/models/nilv-duplicate-reason.d.ts +19 -0
- package/models/nilv-duplicate-reason.d.ts.map +1 -0
- package/models/nilv-duplicate-reason.js +16 -0
- package/models/nilv-duplicate-reason.js.map +1 -0
- package/models/nilv-evidence-input.d.ts +31 -0
- package/models/nilv-evidence-input.d.ts.map +1 -0
- package/models/nilv-evidence-input.js +16 -0
- package/models/nilv-evidence-input.js.map +1 -0
- package/models/nilv-evidence-response.d.ts +31 -0
- package/models/nilv-evidence-response.d.ts.map +1 -0
- package/models/nilv-evidence-response.js +16 -0
- package/models/nilv-evidence-response.js.map +1 -0
- package/models/nilv-genre.d.ts +37 -0
- package/models/nilv-genre.d.ts.map +1 -0
- package/models/nilv-genre.js +16 -0
- package/models/nilv-genre.js.map +1 -0
- package/models/nilv-grant-input.d.ts +122 -0
- package/models/nilv-grant-input.d.ts.map +1 -0
- package/models/nilv-grant-input.js +16 -0
- package/models/nilv-grant-input.js.map +1 -0
- package/models/nilv-grant-response.d.ts +130 -0
- package/models/nilv-grant-response.d.ts.map +1 -0
- package/models/nilv-grant-response.js +16 -0
- package/models/nilv-grant-response.js.map +1 -0
- package/models/nilv-grant-response1.d.ts +130 -0
- package/models/nilv-grant-response1.d.ts.map +1 -0
- package/models/nilv-grant-response1.js +16 -0
- package/models/nilv-grant-response1.js.map +1 -0
- package/models/nilv-grant-status-response.d.ts +19 -0
- package/models/nilv-grant-status-response.d.ts.map +1 -0
- package/models/nilv-grant-status-response.js +16 -0
- package/models/nilv-grant-status-response.js.map +1 -0
- package/models/nilv-granted-by.d.ts +50 -0
- package/models/nilv-granted-by.d.ts.map +1 -0
- package/models/nilv-granted-by.js +16 -0
- package/models/nilv-granted-by.js.map +1 -0
- package/models/nilv-grantor-role-stored.d.ts +19 -0
- package/models/nilv-grantor-role-stored.d.ts.map +1 -0
- package/models/nilv-grantor-role-stored.js +16 -0
- package/models/nilv-grantor-role-stored.js.map +1 -0
- package/models/nilv-ingest-request-state.d.ts +19 -0
- package/models/nilv-ingest-request-state.d.ts.map +1 -0
- package/models/nilv-ingest-request-state.js +16 -0
- package/models/nilv-ingest-request-state.js.map +1 -0
- package/models/nilv-ingest-state.d.ts +19 -0
- package/models/nilv-ingest-state.d.ts.map +1 -0
- package/models/nilv-ingest-state.js +16 -0
- package/models/nilv-ingest-state.js.map +1 -0
- package/models/nilv-labelled-file-input.d.ts +55 -0
- package/models/nilv-labelled-file-input.d.ts.map +1 -0
- package/models/nilv-labelled-file-input.js +16 -0
- package/models/nilv-labelled-file-input.js.map +1 -0
- package/models/nilv-labelled-file-response.d.ts +69 -0
- package/models/nilv-labelled-file-response.d.ts.map +1 -0
- package/models/nilv-labelled-file-response.js +16 -0
- package/models/nilv-labelled-file-response.js.map +1 -0
- package/models/nilv-lifecycle-stage.d.ts +19 -0
- package/models/nilv-lifecycle-stage.d.ts.map +1 -0
- package/models/nilv-lifecycle-stage.js +16 -0
- package/models/nilv-lifecycle-stage.js.map +1 -0
- package/models/nilv-linguistic-sample-input.d.ts +55 -0
- package/models/nilv-linguistic-sample-input.d.ts.map +1 -0
- package/models/nilv-linguistic-sample-input.js +16 -0
- package/models/nilv-linguistic-sample-input.js.map +1 -0
- package/models/nilv-linguistic-sample-response.d.ts +69 -0
- package/models/nilv-linguistic-sample-response.d.ts.map +1 -0
- package/models/nilv-linguistic-sample-response.js +16 -0
- package/models/nilv-linguistic-sample-response.js.map +1 -0
- package/models/nilv-name.d.ts +43 -0
- package/models/nilv-name.d.ts.map +1 -0
- package/models/nilv-name.js +16 -0
- package/models/nilv-name.js.map +1 -0
- package/models/nilv-persona-input.d.ts +54 -0
- package/models/nilv-persona-input.d.ts.map +1 -0
- package/models/nilv-persona-input.js +16 -0
- package/models/nilv-persona-input.js.map +1 -0
- package/models/nilv-persona-response.d.ts +54 -0
- package/models/nilv-persona-response.d.ts.map +1 -0
- package/models/nilv-persona-response.js +16 -0
- package/models/nilv-persona-response.js.map +1 -0
- package/models/nilv-pricing-model.d.ts +19 -0
- package/models/nilv-pricing-model.d.ts.map +1 -0
- package/models/nilv-pricing-model.js +16 -0
- package/models/nilv-pricing-model.js.map +1 -0
- package/models/nilv-pricing.d.ts +50 -0
- package/models/nilv-pricing.d.ts.map +1 -0
- package/models/nilv-pricing.js +16 -0
- package/models/nilv-pricing.js.map +1 -0
- package/models/nilv-purpose.d.ts +19 -0
- package/models/nilv-purpose.d.ts.map +1 -0
- package/models/nilv-purpose.js +16 -0
- package/models/nilv-purpose.js.map +1 -0
- package/models/nilv-revocation.d.ts +43 -0
- package/models/nilv-revocation.d.ts.map +1 -0
- package/models/nilv-revocation.js +16 -0
- package/models/nilv-revocation.js.map +1 -0
- package/models/nilv-scope.d.ts +19 -0
- package/models/nilv-scope.d.ts.map +1 -0
- package/models/nilv-scope.js +16 -0
- package/models/nilv-scope.js.map +1 -0
- package/models/nilv-social-handle.d.ts +43 -0
- package/models/nilv-social-handle.d.ts.map +1 -0
- package/models/nilv-social-handle.js +16 -0
- package/models/nilv-social-handle.js.map +1 -0
- package/models/nilv-style.d.ts +37 -0
- package/models/nilv-style.d.ts.map +1 -0
- package/models/nilv-style.js +16 -0
- package/models/nilv-style.js.map +1 -0
- package/models/post-artist-settings-body.d.ts +26 -0
- package/models/post-artist-settings-body.d.ts.map +1 -0
- package/models/post-artist-settings-body.js +16 -0
- package/models/post-artist-settings-body.js.map +1 -0
- package/models/post-artist-settings-response.d.ts +39 -0
- package/models/post-artist-settings-response.d.ts.map +1 -0
- package/models/post-artist-settings-response.js +16 -0
- package/models/post-artist-settings-response.js.map +1 -0
- package/package.json +1 -1
package/esm/api/sureel-api.js
CHANGED
|
@@ -608,6 +608,75 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
608
608
|
options: localVarRequestOptions,
|
|
609
609
|
};
|
|
610
610
|
},
|
|
611
|
+
/**
|
|
612
|
+
* The key is generated by the server; a client never chooses one. Upload the bytes, compute their SHA-256, then submit the record with both.
|
|
613
|
+
* @summary Get a short-lived URL for uploading a NILV asset
|
|
614
|
+
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
*/
|
|
618
|
+
createNilAssetUploadUrl: async (createNilAssetUploadUrlBody, options = {}) => {
|
|
619
|
+
// verify required parameter 'createNilAssetUploadUrlBody' is not null or undefined
|
|
620
|
+
assertParamExists("createNilAssetUploadUrl", "createNilAssetUploadUrlBody", createNilAssetUploadUrlBody);
|
|
621
|
+
const localVarPath = `/v1/ai/artist/settings/assets/upload-url`;
|
|
622
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
623
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
624
|
+
let baseOptions;
|
|
625
|
+
if (configuration) {
|
|
626
|
+
baseOptions = configuration.baseOptions;
|
|
627
|
+
}
|
|
628
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
629
|
+
const localVarHeaderParameter = {};
|
|
630
|
+
const localVarQueryParameter = {};
|
|
631
|
+
// authentication OAuth2 required
|
|
632
|
+
// oauth required
|
|
633
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
634
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
635
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
636
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
637
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
638
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createNilAssetUploadUrlBody, localVarRequestOptions, configuration);
|
|
639
|
+
return {
|
|
640
|
+
url: toPathString(localVarUrlObj),
|
|
641
|
+
options: localVarRequestOptions,
|
|
642
|
+
};
|
|
643
|
+
},
|
|
644
|
+
/**
|
|
645
|
+
* The key is scoped to the artist named in the path, not to the caller. Without this a label could not supply assets on an artist\'s behalf at all.
|
|
646
|
+
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
647
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
648
|
+
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
649
|
+
* @param {*} [options] Override http request option.
|
|
650
|
+
* @throws {RequiredError}
|
|
651
|
+
*/
|
|
652
|
+
createNilAssetUploadUrlByUsername: async (username, createNilAssetUploadUrlBody, options = {}) => {
|
|
653
|
+
// verify required parameter 'username' is not null or undefined
|
|
654
|
+
assertParamExists("createNilAssetUploadUrlByUsername", "username", username);
|
|
655
|
+
// verify required parameter 'createNilAssetUploadUrlBody' is not null or undefined
|
|
656
|
+
assertParamExists("createNilAssetUploadUrlByUsername", "createNilAssetUploadUrlBody", createNilAssetUploadUrlBody);
|
|
657
|
+
const localVarPath = `/v1/ai/artist/{username}/settings/assets/upload-url`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
658
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
659
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
660
|
+
let baseOptions;
|
|
661
|
+
if (configuration) {
|
|
662
|
+
baseOptions = configuration.baseOptions;
|
|
663
|
+
}
|
|
664
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
665
|
+
const localVarHeaderParameter = {};
|
|
666
|
+
const localVarQueryParameter = {};
|
|
667
|
+
// authentication OAuth2 required
|
|
668
|
+
// oauth required
|
|
669
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
670
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
671
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
672
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
673
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
674
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createNilAssetUploadUrlBody, localVarRequestOptions, configuration);
|
|
675
|
+
return {
|
|
676
|
+
url: toPathString(localVarUrlObj),
|
|
677
|
+
options: localVarRequestOptions,
|
|
678
|
+
};
|
|
679
|
+
},
|
|
611
680
|
/**
|
|
612
681
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
613
682
|
* @summary Delete collection
|
|
@@ -670,6 +739,75 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
670
739
|
options: localVarRequestOptions,
|
|
671
740
|
};
|
|
672
741
|
},
|
|
742
|
+
/**
|
|
743
|
+
*
|
|
744
|
+
* @summary Ask what an artist\'s consent record permits for a given request
|
|
745
|
+
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
746
|
+
* @param {*} [options] Override http request option.
|
|
747
|
+
* @throws {RequiredError}
|
|
748
|
+
*/
|
|
749
|
+
evaluateArtistSettings: async (evaluateArtistSettingsBody, options = {}) => {
|
|
750
|
+
// verify required parameter 'evaluateArtistSettingsBody' is not null or undefined
|
|
751
|
+
assertParamExists("evaluateArtistSettings", "evaluateArtistSettingsBody", evaluateArtistSettingsBody);
|
|
752
|
+
const localVarPath = `/v1/ai/artist/settings/evaluate`;
|
|
753
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
754
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
755
|
+
let baseOptions;
|
|
756
|
+
if (configuration) {
|
|
757
|
+
baseOptions = configuration.baseOptions;
|
|
758
|
+
}
|
|
759
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
760
|
+
const localVarHeaderParameter = {};
|
|
761
|
+
const localVarQueryParameter = {};
|
|
762
|
+
// authentication OAuth2 required
|
|
763
|
+
// oauth required
|
|
764
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
765
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
766
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
767
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
768
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
769
|
+
localVarRequestOptions.data = serializeDataIfNeeded(evaluateArtistSettingsBody, localVarRequestOptions, configuration);
|
|
770
|
+
return {
|
|
771
|
+
url: toPathString(localVarUrlObj),
|
|
772
|
+
options: localVarRequestOptions,
|
|
773
|
+
};
|
|
774
|
+
},
|
|
775
|
+
/**
|
|
776
|
+
*
|
|
777
|
+
* @summary Ask what an artist\'s consent record permits for a given request
|
|
778
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
779
|
+
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
780
|
+
* @param {*} [options] Override http request option.
|
|
781
|
+
* @throws {RequiredError}
|
|
782
|
+
*/
|
|
783
|
+
evaluateArtistSettingsByUsername: async (username, evaluateArtistSettingsBody, options = {}) => {
|
|
784
|
+
// verify required parameter 'username' is not null or undefined
|
|
785
|
+
assertParamExists("evaluateArtistSettingsByUsername", "username", username);
|
|
786
|
+
// verify required parameter 'evaluateArtistSettingsBody' is not null or undefined
|
|
787
|
+
assertParamExists("evaluateArtistSettingsByUsername", "evaluateArtistSettingsBody", evaluateArtistSettingsBody);
|
|
788
|
+
const localVarPath = `/v1/ai/artist/{username}/settings/evaluate`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
789
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
790
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
791
|
+
let baseOptions;
|
|
792
|
+
if (configuration) {
|
|
793
|
+
baseOptions = configuration.baseOptions;
|
|
794
|
+
}
|
|
795
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
796
|
+
const localVarHeaderParameter = {};
|
|
797
|
+
const localVarQueryParameter = {};
|
|
798
|
+
// authentication OAuth2 required
|
|
799
|
+
// oauth required
|
|
800
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
801
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
802
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
803
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
804
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
805
|
+
localVarRequestOptions.data = serializeDataIfNeeded(evaluateArtistSettingsBody, localVarRequestOptions, configuration);
|
|
806
|
+
return {
|
|
807
|
+
url: toPathString(localVarUrlObj),
|
|
808
|
+
options: localVarRequestOptions,
|
|
809
|
+
};
|
|
810
|
+
},
|
|
673
811
|
/**
|
|
674
812
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
675
813
|
* @summary Face swap
|
|
@@ -1066,6 +1204,73 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1066
1204
|
options: localVarRequestOptions,
|
|
1067
1205
|
};
|
|
1068
1206
|
},
|
|
1207
|
+
/**
|
|
1208
|
+
*
|
|
1209
|
+
* @summary Get an artist\'s settings, including their NILV consent record
|
|
1210
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1211
|
+
* @param {*} [options] Override http request option.
|
|
1212
|
+
* @throws {RequiredError}
|
|
1213
|
+
*/
|
|
1214
|
+
getArtistSettings: async (version, options = {}) => {
|
|
1215
|
+
const localVarPath = `/v1/ai/artist/settings/`;
|
|
1216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1218
|
+
let baseOptions;
|
|
1219
|
+
if (configuration) {
|
|
1220
|
+
baseOptions = configuration.baseOptions;
|
|
1221
|
+
}
|
|
1222
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1223
|
+
const localVarHeaderParameter = {};
|
|
1224
|
+
const localVarQueryParameter = {};
|
|
1225
|
+
// authentication OAuth2 required
|
|
1226
|
+
// oauth required
|
|
1227
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1228
|
+
if (version !== undefined) {
|
|
1229
|
+
localVarQueryParameter["version"] = version;
|
|
1230
|
+
}
|
|
1231
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1232
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1233
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1234
|
+
return {
|
|
1235
|
+
url: toPathString(localVarUrlObj),
|
|
1236
|
+
options: localVarRequestOptions,
|
|
1237
|
+
};
|
|
1238
|
+
},
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
1242
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
1243
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1244
|
+
* @param {*} [options] Override http request option.
|
|
1245
|
+
* @throws {RequiredError}
|
|
1246
|
+
*/
|
|
1247
|
+
getArtistSettingsByUsername: async (username, version, options = {}) => {
|
|
1248
|
+
// verify required parameter 'username' is not null or undefined
|
|
1249
|
+
assertParamExists("getArtistSettingsByUsername", "username", username);
|
|
1250
|
+
const localVarPath = `/v1/ai/artist/{username}/settings`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1251
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1252
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1253
|
+
let baseOptions;
|
|
1254
|
+
if (configuration) {
|
|
1255
|
+
baseOptions = configuration.baseOptions;
|
|
1256
|
+
}
|
|
1257
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1258
|
+
const localVarHeaderParameter = {};
|
|
1259
|
+
const localVarQueryParameter = {};
|
|
1260
|
+
// authentication OAuth2 required
|
|
1261
|
+
// oauth required
|
|
1262
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1263
|
+
if (version !== undefined) {
|
|
1264
|
+
localVarQueryParameter["version"] = version;
|
|
1265
|
+
}
|
|
1266
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1268
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1269
|
+
return {
|
|
1270
|
+
url: toPathString(localVarUrlObj),
|
|
1271
|
+
options: localVarRequestOptions,
|
|
1272
|
+
};
|
|
1273
|
+
},
|
|
1069
1274
|
/**
|
|
1070
1275
|
* Retrieve asset metadata by using fileId.
|
|
1071
1276
|
* @summary Get asset metadata
|
|
@@ -1206,6 +1411,37 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1206
1411
|
options: localVarRequestOptions,
|
|
1207
1412
|
};
|
|
1208
1413
|
},
|
|
1414
|
+
/**
|
|
1415
|
+
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
1416
|
+
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
1417
|
+
* @param {string} requestId The request_id returned by a settings write.
|
|
1418
|
+
* @param {*} [options] Override http request option.
|
|
1419
|
+
* @throws {RequiredError}
|
|
1420
|
+
*/
|
|
1421
|
+
getNilIngestionStatus: async (requestId, options = {}) => {
|
|
1422
|
+
// verify required parameter 'requestId' is not null or undefined
|
|
1423
|
+
assertParamExists("getNilIngestionStatus", "requestId", requestId);
|
|
1424
|
+
const localVarPath = `/v1/ai/artist/settings/ingestion/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
1425
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1426
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1427
|
+
let baseOptions;
|
|
1428
|
+
if (configuration) {
|
|
1429
|
+
baseOptions = configuration.baseOptions;
|
|
1430
|
+
}
|
|
1431
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1432
|
+
const localVarHeaderParameter = {};
|
|
1433
|
+
const localVarQueryParameter = {};
|
|
1434
|
+
// authentication OAuth2 required
|
|
1435
|
+
// oauth required
|
|
1436
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1437
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1439
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1440
|
+
return {
|
|
1441
|
+
url: toPathString(localVarUrlObj),
|
|
1442
|
+
options: localVarRequestOptions,
|
|
1443
|
+
};
|
|
1444
|
+
},
|
|
1209
1445
|
/**
|
|
1210
1446
|
* Get all collections that are opted-out.
|
|
1211
1447
|
* @summary Get opted-out collections
|
|
@@ -1738,6 +1974,93 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1738
1974
|
options: localVarRequestOptions,
|
|
1739
1975
|
};
|
|
1740
1976
|
},
|
|
1977
|
+
/**
|
|
1978
|
+
* 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.
|
|
1979
|
+
* @summary Replace an artist\'s settings, appending a new consent version
|
|
1980
|
+
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
1981
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
1982
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
1983
|
+
* @param {*} [options] Override http request option.
|
|
1984
|
+
* @throws {RequiredError}
|
|
1985
|
+
*/
|
|
1986
|
+
saveArtistSettings: async (postArtistSettingsBody, ifMatch, idempotencyKey, options = {}) => {
|
|
1987
|
+
// verify required parameter 'postArtistSettingsBody' is not null or undefined
|
|
1988
|
+
assertParamExists("saveArtistSettings", "postArtistSettingsBody", postArtistSettingsBody);
|
|
1989
|
+
const localVarPath = `/v1/ai/artist/settings/`;
|
|
1990
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1991
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1992
|
+
let baseOptions;
|
|
1993
|
+
if (configuration) {
|
|
1994
|
+
baseOptions = configuration.baseOptions;
|
|
1995
|
+
}
|
|
1996
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1997
|
+
const localVarHeaderParameter = {};
|
|
1998
|
+
const localVarQueryParameter = {};
|
|
1999
|
+
// authentication OAuth2 required
|
|
2000
|
+
// oauth required
|
|
2001
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2002
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2003
|
+
if (ifMatch != null) {
|
|
2004
|
+
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2005
|
+
}
|
|
2006
|
+
if (idempotencyKey != null) {
|
|
2007
|
+
localVarHeaderParameter["idempotency-key"] =
|
|
2008
|
+
String(idempotencyKey);
|
|
2009
|
+
}
|
|
2010
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2011
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2012
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2013
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postArtistSettingsBody, localVarRequestOptions, configuration);
|
|
2014
|
+
return {
|
|
2015
|
+
url: toPathString(localVarUrlObj),
|
|
2016
|
+
options: localVarRequestOptions,
|
|
2017
|
+
};
|
|
2018
|
+
},
|
|
2019
|
+
/**
|
|
2020
|
+
* 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.
|
|
2021
|
+
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
2022
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
2023
|
+
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
2024
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2025
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2026
|
+
* @param {*} [options] Override http request option.
|
|
2027
|
+
* @throws {RequiredError}
|
|
2028
|
+
*/
|
|
2029
|
+
saveArtistSettingsByUsername: async (username, postArtistSettingsBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2030
|
+
// verify required parameter 'username' is not null or undefined
|
|
2031
|
+
assertParamExists("saveArtistSettingsByUsername", "username", username);
|
|
2032
|
+
// verify required parameter 'postArtistSettingsBody' is not null or undefined
|
|
2033
|
+
assertParamExists("saveArtistSettingsByUsername", "postArtistSettingsBody", postArtistSettingsBody);
|
|
2034
|
+
const localVarPath = `/v1/ai/artist/{username}/settings`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2035
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2036
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2037
|
+
let baseOptions;
|
|
2038
|
+
if (configuration) {
|
|
2039
|
+
baseOptions = configuration.baseOptions;
|
|
2040
|
+
}
|
|
2041
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2042
|
+
const localVarHeaderParameter = {};
|
|
2043
|
+
const localVarQueryParameter = {};
|
|
2044
|
+
// authentication OAuth2 required
|
|
2045
|
+
// oauth required
|
|
2046
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2047
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2048
|
+
if (ifMatch != null) {
|
|
2049
|
+
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2050
|
+
}
|
|
2051
|
+
if (idempotencyKey != null) {
|
|
2052
|
+
localVarHeaderParameter["idempotency-key"] =
|
|
2053
|
+
String(idempotencyKey);
|
|
2054
|
+
}
|
|
2055
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2056
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2057
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2058
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postArtistSettingsBody, localVarRequestOptions, configuration);
|
|
2059
|
+
return {
|
|
2060
|
+
url: toPathString(localVarUrlObj),
|
|
2061
|
+
options: localVarRequestOptions,
|
|
2062
|
+
};
|
|
2063
|
+
},
|
|
1741
2064
|
/**
|
|
1742
2065
|
* 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.
|
|
1743
2066
|
* @summary Set filepaths for a collection
|
|
@@ -2512,6 +2835,35 @@ export const SureelApiFp = function (configuration) {
|
|
|
2512
2835
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.createCoverArt"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2513
2836
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2514
2837
|
},
|
|
2838
|
+
/**
|
|
2839
|
+
* The key is generated by the server; a client never chooses one. Upload the bytes, compute their SHA-256, then submit the record with both.
|
|
2840
|
+
* @summary Get a short-lived URL for uploading a NILV asset
|
|
2841
|
+
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
2842
|
+
* @param {*} [options] Override http request option.
|
|
2843
|
+
* @throws {RequiredError}
|
|
2844
|
+
*/
|
|
2845
|
+
async createNilAssetUploadUrl(createNilAssetUploadUrlBody, options) {
|
|
2846
|
+
var _a, _b, _c;
|
|
2847
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createNilAssetUploadUrl(createNilAssetUploadUrlBody, options);
|
|
2848
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2849
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.createNilAssetUploadUrl"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2850
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2851
|
+
},
|
|
2852
|
+
/**
|
|
2853
|
+
* The key is scoped to the artist named in the path, not to the caller. Without this a label could not supply assets on an artist\'s behalf at all.
|
|
2854
|
+
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
2855
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
2856
|
+
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
2857
|
+
* @param {*} [options] Override http request option.
|
|
2858
|
+
* @throws {RequiredError}
|
|
2859
|
+
*/
|
|
2860
|
+
async createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options) {
|
|
2861
|
+
var _a, _b, _c;
|
|
2862
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options);
|
|
2863
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2864
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.createNilAssetUploadUrlByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2865
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2866
|
+
},
|
|
2515
2867
|
/**
|
|
2516
2868
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
2517
2869
|
* @summary Delete collection
|
|
@@ -2540,6 +2892,35 @@ export const SureelApiFp = function (configuration) {
|
|
|
2540
2892
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.deleteRequestById"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2541
2893
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2542
2894
|
},
|
|
2895
|
+
/**
|
|
2896
|
+
*
|
|
2897
|
+
* @summary Ask what an artist\'s consent record permits for a given request
|
|
2898
|
+
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
2899
|
+
* @param {*} [options] Override http request option.
|
|
2900
|
+
* @throws {RequiredError}
|
|
2901
|
+
*/
|
|
2902
|
+
async evaluateArtistSettings(evaluateArtistSettingsBody, options) {
|
|
2903
|
+
var _a, _b, _c;
|
|
2904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateArtistSettings(evaluateArtistSettingsBody, options);
|
|
2905
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2906
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.evaluateArtistSettings"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2907
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2908
|
+
},
|
|
2909
|
+
/**
|
|
2910
|
+
*
|
|
2911
|
+
* @summary Ask what an artist\'s consent record permits for a given request
|
|
2912
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
2913
|
+
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
2914
|
+
* @param {*} [options] Override http request option.
|
|
2915
|
+
* @throws {RequiredError}
|
|
2916
|
+
*/
|
|
2917
|
+
async evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options) {
|
|
2918
|
+
var _a, _b, _c;
|
|
2919
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options);
|
|
2920
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2921
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.evaluateArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2922
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2923
|
+
},
|
|
2543
2924
|
/**
|
|
2544
2925
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
2545
2926
|
* @summary Face swap
|
|
@@ -2688,6 +3069,35 @@ export const SureelApiFp = function (configuration) {
|
|
|
2688
3069
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getArtistByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2689
3070
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2690
3071
|
},
|
|
3072
|
+
/**
|
|
3073
|
+
*
|
|
3074
|
+
* @summary Get an artist\'s settings, including their NILV consent record
|
|
3075
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3076
|
+
* @param {*} [options] Override http request option.
|
|
3077
|
+
* @throws {RequiredError}
|
|
3078
|
+
*/
|
|
3079
|
+
async getArtistSettings(version, options) {
|
|
3080
|
+
var _a, _b, _c;
|
|
3081
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistSettings(version, options);
|
|
3082
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3083
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getArtistSettings"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3084
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3085
|
+
},
|
|
3086
|
+
/**
|
|
3087
|
+
*
|
|
3088
|
+
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
3089
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
3090
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3091
|
+
* @param {*} [options] Override http request option.
|
|
3092
|
+
* @throws {RequiredError}
|
|
3093
|
+
*/
|
|
3094
|
+
async getArtistSettingsByUsername(username, version, options) {
|
|
3095
|
+
var _a, _b, _c;
|
|
3096
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistSettingsByUsername(username, version, options);
|
|
3097
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3098
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3099
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3100
|
+
},
|
|
2691
3101
|
/**
|
|
2692
3102
|
* Retrieve asset metadata by using fileId.
|
|
2693
3103
|
* @summary Get asset metadata
|
|
@@ -2747,6 +3157,20 @@ export const SureelApiFp = function (configuration) {
|
|
|
2747
3157
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getCustomerData"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2748
3158
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2749
3159
|
},
|
|
3160
|
+
/**
|
|
3161
|
+
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
3162
|
+
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
3163
|
+
* @param {string} requestId The request_id returned by a settings write.
|
|
3164
|
+
* @param {*} [options] Override http request option.
|
|
3165
|
+
* @throws {RequiredError}
|
|
3166
|
+
*/
|
|
3167
|
+
async getNilIngestionStatus(requestId, options) {
|
|
3168
|
+
var _a, _b, _c;
|
|
3169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNilIngestionStatus(requestId, options);
|
|
3170
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3171
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getNilIngestionStatus"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3172
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3173
|
+
},
|
|
2750
3174
|
/**
|
|
2751
3175
|
* Get all collections that are opted-out.
|
|
2752
3176
|
* @summary Get opted-out collections
|
|
@@ -2949,6 +3373,39 @@ export const SureelApiFp = function (configuration) {
|
|
|
2949
3373
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.removeBackground"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2950
3374
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2951
3375
|
},
|
|
3376
|
+
/**
|
|
3377
|
+
* 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.
|
|
3378
|
+
* @summary Replace an artist\'s settings, appending a new consent version
|
|
3379
|
+
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
3380
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
3381
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
3382
|
+
* @param {*} [options] Override http request option.
|
|
3383
|
+
* @throws {RequiredError}
|
|
3384
|
+
*/
|
|
3385
|
+
async saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
3386
|
+
var _a, _b, _c;
|
|
3387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options);
|
|
3388
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3389
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveArtistSettings"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3390
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3391
|
+
},
|
|
3392
|
+
/**
|
|
3393
|
+
* 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.
|
|
3394
|
+
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
3395
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
3396
|
+
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
3397
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
3398
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
3399
|
+
* @param {*} [options] Override http request option.
|
|
3400
|
+
* @throws {RequiredError}
|
|
3401
|
+
*/
|
|
3402
|
+
async saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
3403
|
+
var _a, _b, _c;
|
|
3404
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options);
|
|
3405
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3406
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3407
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3408
|
+
},
|
|
2952
3409
|
/**
|
|
2953
3410
|
* 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.
|
|
2954
3411
|
* @summary Set filepaths for a collection
|
|
@@ -3363,6 +3820,31 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3363
3820
|
.createCoverArt(contentType, coverArtRequest, options)
|
|
3364
3821
|
.then((request) => request(axios, basePath));
|
|
3365
3822
|
},
|
|
3823
|
+
/**
|
|
3824
|
+
* The key is generated by the server; a client never chooses one. Upload the bytes, compute their SHA-256, then submit the record with both.
|
|
3825
|
+
* @summary Get a short-lived URL for uploading a NILV asset
|
|
3826
|
+
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
3827
|
+
* @param {*} [options] Override http request option.
|
|
3828
|
+
* @throws {RequiredError}
|
|
3829
|
+
*/
|
|
3830
|
+
createNilAssetUploadUrl(createNilAssetUploadUrlBody, options) {
|
|
3831
|
+
return localVarFp
|
|
3832
|
+
.createNilAssetUploadUrl(createNilAssetUploadUrlBody, options)
|
|
3833
|
+
.then((request) => request(axios, basePath));
|
|
3834
|
+
},
|
|
3835
|
+
/**
|
|
3836
|
+
* The key is scoped to the artist named in the path, not to the caller. Without this a label could not supply assets on an artist\'s behalf at all.
|
|
3837
|
+
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
3838
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
3839
|
+
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
3840
|
+
* @param {*} [options] Override http request option.
|
|
3841
|
+
* @throws {RequiredError}
|
|
3842
|
+
*/
|
|
3843
|
+
createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options) {
|
|
3844
|
+
return localVarFp
|
|
3845
|
+
.createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options)
|
|
3846
|
+
.then((request) => request(axios, basePath));
|
|
3847
|
+
},
|
|
3366
3848
|
/**
|
|
3367
3849
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
3368
3850
|
* @summary Delete collection
|
|
@@ -3387,6 +3869,31 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3387
3869
|
.deleteRequestById(requestId, options)
|
|
3388
3870
|
.then((request) => request(axios, basePath));
|
|
3389
3871
|
},
|
|
3872
|
+
/**
|
|
3873
|
+
*
|
|
3874
|
+
* @summary Ask what an artist\'s consent record permits for a given request
|
|
3875
|
+
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
3876
|
+
* @param {*} [options] Override http request option.
|
|
3877
|
+
* @throws {RequiredError}
|
|
3878
|
+
*/
|
|
3879
|
+
evaluateArtistSettings(evaluateArtistSettingsBody, options) {
|
|
3880
|
+
return localVarFp
|
|
3881
|
+
.evaluateArtistSettings(evaluateArtistSettingsBody, options)
|
|
3882
|
+
.then((request) => request(axios, basePath));
|
|
3883
|
+
},
|
|
3884
|
+
/**
|
|
3885
|
+
*
|
|
3886
|
+
* @summary Ask what an artist\'s consent record permits for a given request
|
|
3887
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
3888
|
+
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
3889
|
+
* @param {*} [options] Override http request option.
|
|
3890
|
+
* @throws {RequiredError}
|
|
3891
|
+
*/
|
|
3892
|
+
evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options) {
|
|
3893
|
+
return localVarFp
|
|
3894
|
+
.evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
|
|
3895
|
+
.then((request) => request(axios, basePath));
|
|
3896
|
+
},
|
|
3390
3897
|
/**
|
|
3391
3898
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
3392
3899
|
* @summary Face swap
|
|
@@ -3517,6 +4024,31 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3517
4024
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options)
|
|
3518
4025
|
.then((request) => request(axios, basePath));
|
|
3519
4026
|
},
|
|
4027
|
+
/**
|
|
4028
|
+
*
|
|
4029
|
+
* @summary Get an artist\'s settings, including their NILV consent record
|
|
4030
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4031
|
+
* @param {*} [options] Override http request option.
|
|
4032
|
+
* @throws {RequiredError}
|
|
4033
|
+
*/
|
|
4034
|
+
getArtistSettings(version, options) {
|
|
4035
|
+
return localVarFp
|
|
4036
|
+
.getArtistSettings(version, options)
|
|
4037
|
+
.then((request) => request(axios, basePath));
|
|
4038
|
+
},
|
|
4039
|
+
/**
|
|
4040
|
+
*
|
|
4041
|
+
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
4042
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
4043
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4044
|
+
* @param {*} [options] Override http request option.
|
|
4045
|
+
* @throws {RequiredError}
|
|
4046
|
+
*/
|
|
4047
|
+
getArtistSettingsByUsername(username, version, options) {
|
|
4048
|
+
return localVarFp
|
|
4049
|
+
.getArtistSettingsByUsername(username, version, options)
|
|
4050
|
+
.then((request) => request(axios, basePath));
|
|
4051
|
+
},
|
|
3520
4052
|
/**
|
|
3521
4053
|
* Retrieve asset metadata by using fileId.
|
|
3522
4054
|
* @summary Get asset metadata
|
|
@@ -3568,6 +4100,18 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3568
4100
|
.getCustomerData(labelName, take, cursor, options)
|
|
3569
4101
|
.then((request) => request(axios, basePath));
|
|
3570
4102
|
},
|
|
4103
|
+
/**
|
|
4104
|
+
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
4105
|
+
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
4106
|
+
* @param {string} requestId The request_id returned by a settings write.
|
|
4107
|
+
* @param {*} [options] Override http request option.
|
|
4108
|
+
* @throws {RequiredError}
|
|
4109
|
+
*/
|
|
4110
|
+
getNilIngestionStatus(requestId, options) {
|
|
4111
|
+
return localVarFp
|
|
4112
|
+
.getNilIngestionStatus(requestId, options)
|
|
4113
|
+
.then((request) => request(axios, basePath));
|
|
4114
|
+
},
|
|
3571
4115
|
/**
|
|
3572
4116
|
* Get all collections that are opted-out.
|
|
3573
4117
|
* @summary Get opted-out collections
|
|
@@ -3744,6 +4288,35 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3744
4288
|
.removeBackground(contentType, removeBackgroundRequest, options)
|
|
3745
4289
|
.then((request) => request(axios, basePath));
|
|
3746
4290
|
},
|
|
4291
|
+
/**
|
|
4292
|
+
* 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.
|
|
4293
|
+
* @summary Replace an artist\'s settings, appending a new consent version
|
|
4294
|
+
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
4295
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4296
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4297
|
+
* @param {*} [options] Override http request option.
|
|
4298
|
+
* @throws {RequiredError}
|
|
4299
|
+
*/
|
|
4300
|
+
saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
4301
|
+
return localVarFp
|
|
4302
|
+
.saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
4303
|
+
.then((request) => request(axios, basePath));
|
|
4304
|
+
},
|
|
4305
|
+
/**
|
|
4306
|
+
* 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.
|
|
4307
|
+
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
4308
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
4309
|
+
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
4310
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4311
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4312
|
+
* @param {*} [options] Override http request option.
|
|
4313
|
+
* @throws {RequiredError}
|
|
4314
|
+
*/
|
|
4315
|
+
saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
4316
|
+
return localVarFp
|
|
4317
|
+
.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
4318
|
+
.then((request) => request(axios, basePath));
|
|
4319
|
+
},
|
|
3747
4320
|
/**
|
|
3748
4321
|
* 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.
|
|
3749
4322
|
* @summary Set filepaths for a collection
|
|
@@ -4145,6 +4718,33 @@ export class SureelApi extends BaseAPI {
|
|
|
4145
4718
|
.createCoverArt(contentType, coverArtRequest, options)
|
|
4146
4719
|
.then((request) => request(this.axios, this.basePath));
|
|
4147
4720
|
}
|
|
4721
|
+
/**
|
|
4722
|
+
* The key is generated by the server; a client never chooses one. Upload the bytes, compute their SHA-256, then submit the record with both.
|
|
4723
|
+
* @summary Get a short-lived URL for uploading a NILV asset
|
|
4724
|
+
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
4725
|
+
* @param {*} [options] Override http request option.
|
|
4726
|
+
* @throws {RequiredError}
|
|
4727
|
+
* @memberof SureelApi
|
|
4728
|
+
*/
|
|
4729
|
+
createNilAssetUploadUrl(createNilAssetUploadUrlBody, options) {
|
|
4730
|
+
return SureelApiFp(this.configuration)
|
|
4731
|
+
.createNilAssetUploadUrl(createNilAssetUploadUrlBody, options)
|
|
4732
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4733
|
+
}
|
|
4734
|
+
/**
|
|
4735
|
+
* The key is scoped to the artist named in the path, not to the caller. Without this a label could not supply assets on an artist\'s behalf at all.
|
|
4736
|
+
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
4737
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
4738
|
+
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
4739
|
+
* @param {*} [options] Override http request option.
|
|
4740
|
+
* @throws {RequiredError}
|
|
4741
|
+
* @memberof SureelApi
|
|
4742
|
+
*/
|
|
4743
|
+
createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options) {
|
|
4744
|
+
return SureelApiFp(this.configuration)
|
|
4745
|
+
.createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options)
|
|
4746
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4747
|
+
}
|
|
4148
4748
|
/**
|
|
4149
4749
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
4150
4750
|
* @summary Delete collection
|
|
@@ -4171,6 +4771,33 @@ export class SureelApi extends BaseAPI {
|
|
|
4171
4771
|
.deleteRequestById(requestId, options)
|
|
4172
4772
|
.then((request) => request(this.axios, this.basePath));
|
|
4173
4773
|
}
|
|
4774
|
+
/**
|
|
4775
|
+
*
|
|
4776
|
+
* @summary Ask what an artist\'s consent record permits for a given request
|
|
4777
|
+
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
4778
|
+
* @param {*} [options] Override http request option.
|
|
4779
|
+
* @throws {RequiredError}
|
|
4780
|
+
* @memberof SureelApi
|
|
4781
|
+
*/
|
|
4782
|
+
evaluateArtistSettings(evaluateArtistSettingsBody, options) {
|
|
4783
|
+
return SureelApiFp(this.configuration)
|
|
4784
|
+
.evaluateArtistSettings(evaluateArtistSettingsBody, options)
|
|
4785
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4786
|
+
}
|
|
4787
|
+
/**
|
|
4788
|
+
*
|
|
4789
|
+
* @summary Ask what an artist\'s consent record permits for a given request
|
|
4790
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
4791
|
+
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
4792
|
+
* @param {*} [options] Override http request option.
|
|
4793
|
+
* @throws {RequiredError}
|
|
4794
|
+
* @memberof SureelApi
|
|
4795
|
+
*/
|
|
4796
|
+
evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options) {
|
|
4797
|
+
return SureelApiFp(this.configuration)
|
|
4798
|
+
.evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
|
|
4799
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4800
|
+
}
|
|
4174
4801
|
/**
|
|
4175
4802
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
4176
4803
|
* @summary Face swap
|
|
@@ -4310,6 +4937,33 @@ export class SureelApi extends BaseAPI {
|
|
|
4310
4937
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options)
|
|
4311
4938
|
.then((request) => request(this.axios, this.basePath));
|
|
4312
4939
|
}
|
|
4940
|
+
/**
|
|
4941
|
+
*
|
|
4942
|
+
* @summary Get an artist\'s settings, including their NILV consent record
|
|
4943
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4944
|
+
* @param {*} [options] Override http request option.
|
|
4945
|
+
* @throws {RequiredError}
|
|
4946
|
+
* @memberof SureelApi
|
|
4947
|
+
*/
|
|
4948
|
+
getArtistSettings(version, options) {
|
|
4949
|
+
return SureelApiFp(this.configuration)
|
|
4950
|
+
.getArtistSettings(version, options)
|
|
4951
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4952
|
+
}
|
|
4953
|
+
/**
|
|
4954
|
+
*
|
|
4955
|
+
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
4956
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
4957
|
+
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4958
|
+
* @param {*} [options] Override http request option.
|
|
4959
|
+
* @throws {RequiredError}
|
|
4960
|
+
* @memberof SureelApi
|
|
4961
|
+
*/
|
|
4962
|
+
getArtistSettingsByUsername(username, version, options) {
|
|
4963
|
+
return SureelApiFp(this.configuration)
|
|
4964
|
+
.getArtistSettingsByUsername(username, version, options)
|
|
4965
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4966
|
+
}
|
|
4313
4967
|
/**
|
|
4314
4968
|
* Retrieve asset metadata by using fileId.
|
|
4315
4969
|
* @summary Get asset metadata
|
|
@@ -4365,6 +5019,19 @@ export class SureelApi extends BaseAPI {
|
|
|
4365
5019
|
.getCustomerData(labelName, take, cursor, options)
|
|
4366
5020
|
.then((request) => request(this.axios, this.basePath));
|
|
4367
5021
|
}
|
|
5022
|
+
/**
|
|
5023
|
+
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
5024
|
+
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
5025
|
+
* @param {string} requestId The request_id returned by a settings write.
|
|
5026
|
+
* @param {*} [options] Override http request option.
|
|
5027
|
+
* @throws {RequiredError}
|
|
5028
|
+
* @memberof SureelApi
|
|
5029
|
+
*/
|
|
5030
|
+
getNilIngestionStatus(requestId, options) {
|
|
5031
|
+
return SureelApiFp(this.configuration)
|
|
5032
|
+
.getNilIngestionStatus(requestId, options)
|
|
5033
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5034
|
+
}
|
|
4368
5035
|
/**
|
|
4369
5036
|
* Get all collections that are opted-out.
|
|
4370
5037
|
* @summary Get opted-out collections
|
|
@@ -4554,6 +5221,37 @@ export class SureelApi extends BaseAPI {
|
|
|
4554
5221
|
.removeBackground(contentType, removeBackgroundRequest, options)
|
|
4555
5222
|
.then((request) => request(this.axios, this.basePath));
|
|
4556
5223
|
}
|
|
5224
|
+
/**
|
|
5225
|
+
* 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.
|
|
5226
|
+
* @summary Replace an artist\'s settings, appending a new consent version
|
|
5227
|
+
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
5228
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5229
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5230
|
+
* @param {*} [options] Override http request option.
|
|
5231
|
+
* @throws {RequiredError}
|
|
5232
|
+
* @memberof SureelApi
|
|
5233
|
+
*/
|
|
5234
|
+
saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
5235
|
+
return SureelApiFp(this.configuration)
|
|
5236
|
+
.saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
5237
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5238
|
+
}
|
|
5239
|
+
/**
|
|
5240
|
+
* 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.
|
|
5241
|
+
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
5242
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
5243
|
+
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
5244
|
+
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5245
|
+
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5246
|
+
* @param {*} [options] Override http request option.
|
|
5247
|
+
* @throws {RequiredError}
|
|
5248
|
+
* @memberof SureelApi
|
|
5249
|
+
*/
|
|
5250
|
+
saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
5251
|
+
return SureelApiFp(this.configuration)
|
|
5252
|
+
.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
5253
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5254
|
+
}
|
|
4557
5255
|
/**
|
|
4558
5256
|
* 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.
|
|
4559
5257
|
* @summary Set filepaths for a collection
|