@sureel/sdk 1.15.0-rc.2 → 1.15.0-rc.21
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 +68 -85
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +89 -112
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +68 -85
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +88 -111
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/ai-company-item.d.ts +25 -0
- package/esm/models/ai-company-item.d.ts.map +1 -0
- package/esm/models/ai-company-item.js +15 -0
- package/esm/models/ai-company-item.js.map +1 -0
- package/esm/models/ai-company-scoped-consent.d.ts +37 -0
- package/esm/models/ai-company-scoped-consent.d.ts.map +1 -0
- package/esm/models/ai-company-scoped-consent.js +15 -0
- package/esm/models/ai-company-scoped-consent.js.map +1 -0
- package/esm/models/analysis-history-entry-provenance.d.ts +19 -0
- package/esm/models/analysis-history-entry-provenance.d.ts.map +1 -0
- package/esm/models/analysis-history-entry-provenance.js +15 -0
- package/esm/models/analysis-history-entry-provenance.js.map +1 -0
- package/esm/models/analysis-history-entry.d.ts +12 -5
- package/esm/models/analysis-history-entry.d.ts.map +1 -1
- package/esm/models/artist-collection-record-intersection.d.ts +9 -3
- package/esm/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/esm/models/artist-db.d.ts +6 -0
- package/esm/models/artist-db.d.ts.map +1 -1
- package/esm/models/artist-object.d.ts +6 -0
- package/esm/models/artist-object.d.ts.map +1 -1
- package/esm/models/artist-profile-data.d.ts +6 -0
- package/esm/models/artist-profile-data.d.ts.map +1 -1
- package/esm/models/artist-profile-picture.d.ts +6 -0
- package/esm/models/artist-profile-picture.d.ts.map +1 -1
- package/esm/models/asset-metadata-record-for-display.d.ts +0 -7
- package/esm/models/asset-metadata-record-for-display.d.ts.map +1 -1
- package/esm/models/asset-metadata-record.d.ts +0 -7
- package/esm/models/asset-metadata-record.d.ts.map +1 -1
- package/esm/models/attribution-values-inner.d.ts +36 -0
- package/esm/models/attribution-values-inner.d.ts.map +1 -1
- package/esm/models/attribution1.d.ts +7 -0
- package/esm/models/attribution1.d.ts.map +1 -1
- package/esm/models/audio-attribution-analysis-top-metrics.d.ts +3 -3
- package/esm/models/audio-attribution-analysis-top-metrics.d.ts.map +1 -1
- package/esm/models/create-collection-request.d.ts +3 -17
- package/esm/models/create-collection-request.d.ts.map +1 -1
- package/esm/models/create-collection-request.js.map +1 -1
- package/esm/models/customer-profile-data.d.ts +12 -0
- package/esm/models/customer-profile-data.d.ts.map +1 -1
- package/esm/models/get-ai-companies-response.d.ts +26 -0
- package/esm/models/get-ai-companies-response.d.ts.map +1 -0
- package/esm/models/get-ai-companies-response.js +15 -0
- package/esm/models/get-ai-companies-response.js.map +1 -0
- package/esm/models/get-audio-ldm-response.d.ts +5 -5
- package/esm/models/get-audio-ldm-response.d.ts.map +1 -1
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts +9 -3
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/esm/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.d.ts +19 -0
- package/esm/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.d.ts.map +1 -0
- package/esm/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.js +15 -0
- package/esm/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.js.map +1 -0
- package/esm/models/get-registry-opt-in-out-metrics-response.d.ts +3 -2
- package/esm/models/get-registry-opt-in-out-metrics-response.d.ts.map +1 -1
- package/esm/models/identical-matches.d.ts +3 -10
- package/esm/models/identical-matches.d.ts.map +1 -1
- package/esm/models/identical-matches1.d.ts +10 -3
- package/esm/models/identical-matches1.d.ts.map +1 -1
- package/esm/models/index.d.ts +8 -5
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +8 -5
- package/esm/models/index.js.map +1 -1
- package/esm/models/model-file.d.ts +15 -10
- package/esm/models/model-file.d.ts.map +1 -1
- package/esm/models/opt-in-rules-for-metrics-item.d.ts +50 -0
- package/esm/models/opt-in-rules-for-metrics-item.d.ts.map +1 -0
- package/esm/models/opt-in-rules-for-metrics-item.js +15 -0
- package/esm/models/opt-in-rules-for-metrics-item.js.map +1 -0
- package/esm/models/opt-in-rules.d.ts +69 -0
- package/esm/models/opt-in-rules.d.ts.map +1 -0
- package/esm/models/opt-in-rules.js +15 -0
- package/esm/models/opt-in-rules.js.map +1 -0
- package/esm/models/post-audio-to-audio-body.d.ts +0 -7
- package/esm/models/post-audio-to-audio-body.d.ts.map +1 -1
- package/esm/models/prompt-history-entry.d.ts +12 -5
- package/esm/models/prompt-history-entry.d.ts.map +1 -1
- package/esm/models/publishing-contributor.d.ts +13 -0
- package/esm/models/publishing-contributor.d.ts.map +1 -1
- package/esm/models/recording-contributor.d.ts +19 -6
- package/esm/models/recording-contributor.d.ts.map +1 -1
- package/esm/models/similar-audio-file-with-metrics.d.ts +6 -0
- package/esm/models/similar-audio-file-with-metrics.d.ts.map +1 -1
- package/esm/models/time-scoped-consent.d.ts +31 -0
- package/esm/models/time-scoped-consent.d.ts.map +1 -0
- package/esm/models/time-scoped-consent.js +15 -0
- package/esm/models/time-scoped-consent.js.map +1 -0
- package/esm/models/top-metric.d.ts +6 -0
- package/esm/models/top-metric.d.ts.map +1 -1
- package/esm/models/top-metrics.d.ts +3 -3
- package/esm/models/top-metrics.d.ts.map +1 -1
- package/esm/models/update-asset-metadata-body.d.ts +19 -7
- package/esm/models/update-asset-metadata-body.d.ts.map +1 -1
- package/esm/models/update-collection-request.d.ts +3 -3
- package/esm/models/update-collection-request.d.ts.map +1 -1
- package/models/ai-company-item.d.ts +25 -0
- package/models/ai-company-item.d.ts.map +1 -0
- package/models/ai-company-item.js +16 -0
- package/models/ai-company-item.js.map +1 -0
- package/models/ai-company-scoped-consent.d.ts +37 -0
- package/models/ai-company-scoped-consent.d.ts.map +1 -0
- package/models/ai-company-scoped-consent.js +16 -0
- package/models/ai-company-scoped-consent.js.map +1 -0
- package/models/analysis-history-entry-provenance.d.ts +19 -0
- package/models/analysis-history-entry-provenance.d.ts.map +1 -0
- package/models/analysis-history-entry-provenance.js +16 -0
- package/models/analysis-history-entry-provenance.js.map +1 -0
- package/models/analysis-history-entry.d.ts +12 -5
- package/models/analysis-history-entry.d.ts.map +1 -1
- package/models/artist-collection-record-intersection.d.ts +9 -3
- package/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/models/artist-db.d.ts +6 -0
- package/models/artist-db.d.ts.map +1 -1
- package/models/artist-object.d.ts +6 -0
- package/models/artist-object.d.ts.map +1 -1
- package/models/artist-profile-data.d.ts +6 -0
- package/models/artist-profile-data.d.ts.map +1 -1
- package/models/artist-profile-picture.d.ts +6 -0
- package/models/artist-profile-picture.d.ts.map +1 -1
- package/models/asset-metadata-record-for-display.d.ts +0 -7
- package/models/asset-metadata-record-for-display.d.ts.map +1 -1
- package/models/asset-metadata-record.d.ts +0 -7
- package/models/asset-metadata-record.d.ts.map +1 -1
- package/models/attribution-values-inner.d.ts +36 -0
- package/models/attribution-values-inner.d.ts.map +1 -1
- package/models/attribution1.d.ts +7 -0
- package/models/attribution1.d.ts.map +1 -1
- package/models/audio-attribution-analysis-top-metrics.d.ts +3 -3
- package/models/audio-attribution-analysis-top-metrics.d.ts.map +1 -1
- package/models/create-collection-request.d.ts +3 -17
- package/models/create-collection-request.d.ts.map +1 -1
- package/models/create-collection-request.js.map +1 -1
- package/models/customer-profile-data.d.ts +12 -0
- package/models/customer-profile-data.d.ts.map +1 -1
- package/models/get-ai-companies-response.d.ts +26 -0
- package/models/get-ai-companies-response.d.ts.map +1 -0
- package/models/get-ai-companies-response.js +16 -0
- package/models/get-ai-companies-response.js.map +1 -0
- package/models/get-audio-ldm-response.d.ts +5 -5
- package/models/get-audio-ldm-response.d.ts.map +1 -1
- package/models/get-collection-with-lyrics-and-stems-response.d.ts +9 -3
- package/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.d.ts +19 -0
- package/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.d.ts.map +1 -0
- package/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.js +16 -0
- package/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.js.map +1 -0
- package/models/get-registry-opt-in-out-metrics-response.d.ts +3 -2
- package/models/get-registry-opt-in-out-metrics-response.d.ts.map +1 -1
- package/models/identical-matches.d.ts +3 -10
- package/models/identical-matches.d.ts.map +1 -1
- package/models/identical-matches1.d.ts +10 -3
- package/models/identical-matches1.d.ts.map +1 -1
- package/models/index.d.ts +8 -5
- package/models/index.d.ts.map +1 -1
- package/models/index.js +8 -5
- package/models/index.js.map +1 -1
- package/models/model-file.d.ts +15 -10
- package/models/model-file.d.ts.map +1 -1
- package/models/opt-in-rules-for-metrics-item.d.ts +50 -0
- package/models/opt-in-rules-for-metrics-item.d.ts.map +1 -0
- package/models/opt-in-rules-for-metrics-item.js +16 -0
- package/models/opt-in-rules-for-metrics-item.js.map +1 -0
- package/models/opt-in-rules.d.ts +69 -0
- package/models/opt-in-rules.d.ts.map +1 -0
- package/models/opt-in-rules.js +16 -0
- package/models/opt-in-rules.js.map +1 -0
- package/models/post-audio-to-audio-body.d.ts +0 -7
- package/models/post-audio-to-audio-body.d.ts.map +1 -1
- package/models/prompt-history-entry.d.ts +12 -5
- package/models/prompt-history-entry.d.ts.map +1 -1
- package/models/publishing-contributor.d.ts +13 -0
- package/models/publishing-contributor.d.ts.map +1 -1
- package/models/recording-contributor.d.ts +19 -6
- package/models/recording-contributor.d.ts.map +1 -1
- package/models/similar-audio-file-with-metrics.d.ts +6 -0
- package/models/similar-audio-file-with-metrics.d.ts.map +1 -1
- package/models/time-scoped-consent.d.ts +31 -0
- package/models/time-scoped-consent.d.ts.map +1 -0
- package/models/time-scoped-consent.js +16 -0
- package/models/time-scoped-consent.js.map +1 -0
- package/models/top-metric.d.ts +6 -0
- package/models/top-metric.d.ts.map +1 -1
- package/models/top-metrics.d.ts +3 -3
- package/models/top-metrics.d.ts.map +1 -1
- package/models/update-asset-metadata-body.d.ts +19 -7
- package/models/update-asset-metadata-body.d.ts.map +1 -1
- package/models/update-collection-request.d.ts +3 -3
- package/models/update-collection-request.d.ts.map +1 -1
- package/package.json +1 -1
package/esm/api/sureel-api.js
CHANGED
|
@@ -748,13 +748,41 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
748
748
|
options: localVarRequestOptions,
|
|
749
749
|
};
|
|
750
750
|
},
|
|
751
|
+
/**
|
|
752
|
+
* Get a list of all AI companies registered in the system.
|
|
753
|
+
* @summary Get AI companies
|
|
754
|
+
* @param {*} [options] Override http request option.
|
|
755
|
+
* @throws {RequiredError}
|
|
756
|
+
*/
|
|
757
|
+
getAiCompanies: async (options = {}) => {
|
|
758
|
+
const localVarPath = `/v1/ai/ai-company/`;
|
|
759
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
760
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
761
|
+
let baseOptions;
|
|
762
|
+
if (configuration) {
|
|
763
|
+
baseOptions = configuration.baseOptions;
|
|
764
|
+
}
|
|
765
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
766
|
+
const localVarHeaderParameter = {};
|
|
767
|
+
const localVarQueryParameter = {};
|
|
768
|
+
// authentication OAuth2 required
|
|
769
|
+
// oauth required
|
|
770
|
+
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
771
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
772
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
773
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
774
|
+
return {
|
|
775
|
+
url: toPathString(localVarUrlObj),
|
|
776
|
+
options: localVarRequestOptions,
|
|
777
|
+
};
|
|
778
|
+
},
|
|
751
779
|
/**
|
|
752
780
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
753
781
|
* @summary Get all artists
|
|
754
782
|
* @param {string} includeArtworks
|
|
755
783
|
* @param {string} [includeOriginalSongs]
|
|
756
784
|
* @param {string} [includeFullResArtworks]
|
|
757
|
-
* @param {number} [take] The
|
|
785
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
758
786
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
759
787
|
* @param {*} [options] Override http request option.
|
|
760
788
|
* @throws {RequiredError}
|
|
@@ -800,9 +828,9 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
800
828
|
/**
|
|
801
829
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
802
830
|
* @summary Analysis history
|
|
803
|
-
* @param {number} take The
|
|
831
|
+
* @param {number} take The `take` parameter is the number of analysis results to return per page.
|
|
804
832
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
805
|
-
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter
|
|
833
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter analysis results up to a certain timestamp.
|
|
806
834
|
* @param {AnalysisRequestType} [requestType] Specifies the type of the request to retrieve. Possible values: `/audio-attribution-analysis`, `/calculate-audio-attribution`, `/opt-out-analysis`, `/accidental-infringement-check`, `/ai-generated-audio-detection`, `/lyrics-analysis`, `/similar-song-finder`, `/song-analysis`, `/stem-split`, `/attribution-analysis`, `/calculate-image-attribution`, `/calculate-provenance`.
|
|
807
835
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
808
836
|
* @param {*} [options] Override http request option.
|
|
@@ -857,7 +885,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
857
885
|
* @param {string} username
|
|
858
886
|
* @param {string} [includeOriginalSongs]
|
|
859
887
|
* @param {string} [includeFullResArtworks]
|
|
860
|
-
* @param {number} [take] The
|
|
888
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
861
889
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
862
890
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
863
891
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -1136,7 +1164,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1136
1164
|
* @param {string} includeArtworks
|
|
1137
1165
|
* @param {string} [includeOriginalSongs]
|
|
1138
1166
|
* @param {string} [includeFullResArtworks]
|
|
1139
|
-
* @param {number} [take] The
|
|
1167
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
1140
1168
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
1141
1169
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
1142
1170
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -1391,7 +1419,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1391
1419
|
};
|
|
1392
1420
|
},
|
|
1393
1421
|
/**
|
|
1394
|
-
* Blend two images into a combination of both. The content image
|
|
1422
|
+
* Blend two images into a combination of both. The content image influences the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
|
|
1395
1423
|
* @summary Image blending
|
|
1396
1424
|
* @param {ImageBlendingContentTypeEnum} contentType
|
|
1397
1425
|
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
@@ -2085,45 +2113,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2085
2113
|
options: localVarRequestOptions,
|
|
2086
2114
|
};
|
|
2087
2115
|
},
|
|
2088
|
-
/**
|
|
2089
|
-
* Update the intellectual property rights for your songs.
|
|
2090
|
-
* @summary Update IP rights
|
|
2091
|
-
* @param {UpdateIpRightsContentTypeEnum} contentType
|
|
2092
|
-
* @param {IpRights1} ipRights1
|
|
2093
|
-
* @param {*} [options] Override http request option.
|
|
2094
|
-
* @throws {RequiredError}
|
|
2095
|
-
*/
|
|
2096
|
-
updateIpRights: async (contentType, ipRights1, options = {}) => {
|
|
2097
|
-
// verify required parameter 'contentType' is not null or undefined
|
|
2098
|
-
assertParamExists("updateIpRights", "contentType", contentType);
|
|
2099
|
-
// verify required parameter 'ipRights1' is not null or undefined
|
|
2100
|
-
assertParamExists("updateIpRights", "ipRights1", ipRights1);
|
|
2101
|
-
const localVarPath = `/v1/ai/artist/update-ip-rights`;
|
|
2102
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2103
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2104
|
-
let baseOptions;
|
|
2105
|
-
if (configuration) {
|
|
2106
|
-
baseOptions = configuration.baseOptions;
|
|
2107
|
-
}
|
|
2108
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
2109
|
-
const localVarHeaderParameter = {};
|
|
2110
|
-
const localVarQueryParameter = {};
|
|
2111
|
-
// authentication OAuth2 required
|
|
2112
|
-
// oauth required
|
|
2113
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2114
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2115
|
-
if (contentType != null) {
|
|
2116
|
-
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
2117
|
-
}
|
|
2118
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2119
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2120
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2121
|
-
localVarRequestOptions.data = serializeDataIfNeeded(ipRights1, localVarRequestOptions, configuration);
|
|
2122
|
-
return {
|
|
2123
|
-
url: toPathString(localVarUrlObj),
|
|
2124
|
-
options: localVarRequestOptions,
|
|
2125
|
-
};
|
|
2126
|
-
},
|
|
2127
2116
|
/**
|
|
2128
2117
|
* Upload audio, image, video, or metadata files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
|
|
2129
2118
|
* @summary Upload files as form-data
|
|
@@ -2495,13 +2484,26 @@ export const SureelApiFp = function (configuration) {
|
|
|
2495
2484
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.generatePutUploadUrls"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2496
2485
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2497
2486
|
},
|
|
2487
|
+
/**
|
|
2488
|
+
* Get a list of all AI companies registered in the system.
|
|
2489
|
+
* @summary Get AI companies
|
|
2490
|
+
* @param {*} [options] Override http request option.
|
|
2491
|
+
* @throws {RequiredError}
|
|
2492
|
+
*/
|
|
2493
|
+
async getAiCompanies(options) {
|
|
2494
|
+
var _a, _b, _c;
|
|
2495
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAiCompanies(options);
|
|
2496
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2497
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getAiCompanies"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2498
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2499
|
+
},
|
|
2498
2500
|
/**
|
|
2499
2501
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
2500
2502
|
* @summary Get all artists
|
|
2501
2503
|
* @param {string} includeArtworks
|
|
2502
2504
|
* @param {string} [includeOriginalSongs]
|
|
2503
2505
|
* @param {string} [includeFullResArtworks]
|
|
2504
|
-
* @param {number} [take] The
|
|
2506
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
2505
2507
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2506
2508
|
* @param {*} [options] Override http request option.
|
|
2507
2509
|
* @throws {RequiredError}
|
|
@@ -2516,9 +2518,9 @@ export const SureelApiFp = function (configuration) {
|
|
|
2516
2518
|
/**
|
|
2517
2519
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
2518
2520
|
* @summary Analysis history
|
|
2519
|
-
* @param {number} take The
|
|
2521
|
+
* @param {number} take The `take` parameter is the number of analysis results to return per page.
|
|
2520
2522
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2521
|
-
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter
|
|
2523
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter analysis results up to a certain timestamp.
|
|
2522
2524
|
* @param {AnalysisRequestType} [requestType] Specifies the type of the request to retrieve. Possible values: `/audio-attribution-analysis`, `/calculate-audio-attribution`, `/opt-out-analysis`, `/accidental-infringement-check`, `/ai-generated-audio-detection`, `/lyrics-analysis`, `/similar-song-finder`, `/song-analysis`, `/stem-split`, `/attribution-analysis`, `/calculate-image-attribution`, `/calculate-provenance`.
|
|
2523
2525
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
2524
2526
|
* @param {*} [options] Override http request option.
|
|
@@ -2538,7 +2540,7 @@ export const SureelApiFp = function (configuration) {
|
|
|
2538
2540
|
* @param {string} username
|
|
2539
2541
|
* @param {string} [includeOriginalSongs]
|
|
2540
2542
|
* @param {string} [includeFullResArtworks]
|
|
2541
|
-
* @param {number} [take] The
|
|
2543
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
2542
2544
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2543
2545
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
2544
2546
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -2648,7 +2650,7 @@ export const SureelApiFp = function (configuration) {
|
|
|
2648
2650
|
* @param {string} includeArtworks
|
|
2649
2651
|
* @param {string} [includeOriginalSongs]
|
|
2650
2652
|
* @param {string} [includeFullResArtworks]
|
|
2651
|
-
* @param {number} [take] The
|
|
2653
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
2652
2654
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2653
2655
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
2654
2656
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -2740,7 +2742,7 @@ export const SureelApiFp = function (configuration) {
|
|
|
2740
2742
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2741
2743
|
},
|
|
2742
2744
|
/**
|
|
2743
|
-
* Blend two images into a combination of both. The content image
|
|
2745
|
+
* Blend two images into a combination of both. The content image influences the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
|
|
2744
2746
|
* @summary Image blending
|
|
2745
2747
|
* @param {ImageBlendingContentTypeEnum} contentType
|
|
2746
2748
|
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
@@ -3009,21 +3011,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
3009
3011
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.updateCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3010
3012
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3011
3013
|
},
|
|
3012
|
-
/**
|
|
3013
|
-
* Update the intellectual property rights for your songs.
|
|
3014
|
-
* @summary Update IP rights
|
|
3015
|
-
* @param {UpdateIpRightsContentTypeEnum} contentType
|
|
3016
|
-
* @param {IpRights1} ipRights1
|
|
3017
|
-
* @param {*} [options] Override http request option.
|
|
3018
|
-
* @throws {RequiredError}
|
|
3019
|
-
*/
|
|
3020
|
-
async updateIpRights(contentType, ipRights1, options) {
|
|
3021
|
-
var _a, _b, _c;
|
|
3022
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateIpRights(contentType, ipRights1, options);
|
|
3023
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3024
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.updateIpRights"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3025
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3026
|
-
},
|
|
3027
3014
|
/**
|
|
3028
3015
|
* Upload audio, image, video, or metadata files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
|
|
3029
3016
|
* @summary Upload files as form-data
|
|
@@ -3308,13 +3295,24 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3308
3295
|
.generatePutUploadUrls(contentType, uploadUrlRequest, options)
|
|
3309
3296
|
.then((request) => request(axios, basePath));
|
|
3310
3297
|
},
|
|
3298
|
+
/**
|
|
3299
|
+
* Get a list of all AI companies registered in the system.
|
|
3300
|
+
* @summary Get AI companies
|
|
3301
|
+
* @param {*} [options] Override http request option.
|
|
3302
|
+
* @throws {RequiredError}
|
|
3303
|
+
*/
|
|
3304
|
+
getAiCompanies(options) {
|
|
3305
|
+
return localVarFp
|
|
3306
|
+
.getAiCompanies(options)
|
|
3307
|
+
.then((request) => request(axios, basePath));
|
|
3308
|
+
},
|
|
3311
3309
|
/**
|
|
3312
3310
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
3313
3311
|
* @summary Get all artists
|
|
3314
3312
|
* @param {string} includeArtworks
|
|
3315
3313
|
* @param {string} [includeOriginalSongs]
|
|
3316
3314
|
* @param {string} [includeFullResArtworks]
|
|
3317
|
-
* @param {number} [take] The
|
|
3315
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
3318
3316
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3319
3317
|
* @param {*} [options] Override http request option.
|
|
3320
3318
|
* @throws {RequiredError}
|
|
@@ -3327,9 +3325,9 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3327
3325
|
/**
|
|
3328
3326
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
3329
3327
|
* @summary Analysis history
|
|
3330
|
-
* @param {number} take The
|
|
3328
|
+
* @param {number} take The `take` parameter is the number of analysis results to return per page.
|
|
3331
3329
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3332
|
-
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter
|
|
3330
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter analysis results up to a certain timestamp.
|
|
3333
3331
|
* @param {AnalysisRequestType} [requestType] Specifies the type of the request to retrieve. Possible values: `/audio-attribution-analysis`, `/calculate-audio-attribution`, `/opt-out-analysis`, `/accidental-infringement-check`, `/ai-generated-audio-detection`, `/lyrics-analysis`, `/similar-song-finder`, `/song-analysis`, `/stem-split`, `/attribution-analysis`, `/calculate-image-attribution`, `/calculate-provenance`.
|
|
3334
3332
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
3335
3333
|
* @param {*} [options] Override http request option.
|
|
@@ -3347,7 +3345,7 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3347
3345
|
* @param {string} username
|
|
3348
3346
|
* @param {string} [includeOriginalSongs]
|
|
3349
3347
|
* @param {string} [includeFullResArtworks]
|
|
3350
|
-
* @param {number} [take] The
|
|
3348
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
3351
3349
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3352
3350
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
3353
3351
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -3443,7 +3441,7 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3443
3441
|
* @param {string} includeArtworks
|
|
3444
3442
|
* @param {string} [includeOriginalSongs]
|
|
3445
3443
|
* @param {string} [includeFullResArtworks]
|
|
3446
|
-
* @param {number} [take] The
|
|
3444
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
3447
3445
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3448
3446
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
3449
3447
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -3523,7 +3521,7 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3523
3521
|
.then((request) => request(axios, basePath));
|
|
3524
3522
|
},
|
|
3525
3523
|
/**
|
|
3526
|
-
* Blend two images into a combination of both. The content image
|
|
3524
|
+
* Blend two images into a combination of both. The content image influences the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
|
|
3527
3525
|
* @summary Image blending
|
|
3528
3526
|
* @param {ImageBlendingContentTypeEnum} contentType
|
|
3529
3527
|
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
@@ -3756,19 +3754,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3756
3754
|
.updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
|
|
3757
3755
|
.then((request) => request(axios, basePath));
|
|
3758
3756
|
},
|
|
3759
|
-
/**
|
|
3760
|
-
* Update the intellectual property rights for your songs.
|
|
3761
|
-
* @summary Update IP rights
|
|
3762
|
-
* @param {UpdateIpRightsContentTypeEnum} contentType
|
|
3763
|
-
* @param {IpRights1} ipRights1
|
|
3764
|
-
* @param {*} [options] Override http request option.
|
|
3765
|
-
* @throws {RequiredError}
|
|
3766
|
-
*/
|
|
3767
|
-
updateIpRights(contentType, ipRights1, options) {
|
|
3768
|
-
return localVarFp
|
|
3769
|
-
.updateIpRights(contentType, ipRights1, options)
|
|
3770
|
-
.then((request) => request(axios, basePath));
|
|
3771
|
-
},
|
|
3772
3757
|
/**
|
|
3773
3758
|
* Upload audio, image, video, or metadata files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
|
|
3774
3759
|
* @summary Upload files as form-data
|
|
@@ -4068,13 +4053,25 @@ export class SureelApi extends BaseAPI {
|
|
|
4068
4053
|
.generatePutUploadUrls(contentType, uploadUrlRequest, options)
|
|
4069
4054
|
.then((request) => request(this.axios, this.basePath));
|
|
4070
4055
|
}
|
|
4056
|
+
/**
|
|
4057
|
+
* Get a list of all AI companies registered in the system.
|
|
4058
|
+
* @summary Get AI companies
|
|
4059
|
+
* @param {*} [options] Override http request option.
|
|
4060
|
+
* @throws {RequiredError}
|
|
4061
|
+
* @memberof SureelApi
|
|
4062
|
+
*/
|
|
4063
|
+
getAiCompanies(options) {
|
|
4064
|
+
return SureelApiFp(this.configuration)
|
|
4065
|
+
.getAiCompanies(options)
|
|
4066
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4067
|
+
}
|
|
4071
4068
|
/**
|
|
4072
4069
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
4073
4070
|
* @summary Get all artists
|
|
4074
4071
|
* @param {string} includeArtworks
|
|
4075
4072
|
* @param {string} [includeOriginalSongs]
|
|
4076
4073
|
* @param {string} [includeFullResArtworks]
|
|
4077
|
-
* @param {number} [take] The
|
|
4074
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
4078
4075
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4079
4076
|
* @param {*} [options] Override http request option.
|
|
4080
4077
|
* @throws {RequiredError}
|
|
@@ -4088,9 +4085,9 @@ export class SureelApi extends BaseAPI {
|
|
|
4088
4085
|
/**
|
|
4089
4086
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
4090
4087
|
* @summary Analysis history
|
|
4091
|
-
* @param {number} take The
|
|
4088
|
+
* @param {number} take The `take` parameter is the number of analysis results to return per page.
|
|
4092
4089
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4093
|
-
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter
|
|
4090
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter analysis results up to a certain timestamp.
|
|
4094
4091
|
* @param {AnalysisRequestType} [requestType] Specifies the type of the request to retrieve. Possible values: `/audio-attribution-analysis`, `/calculate-audio-attribution`, `/opt-out-analysis`, `/accidental-infringement-check`, `/ai-generated-audio-detection`, `/lyrics-analysis`, `/similar-song-finder`, `/song-analysis`, `/stem-split`, `/attribution-analysis`, `/calculate-image-attribution`, `/calculate-provenance`.
|
|
4095
4092
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
4096
4093
|
* @param {*} [options] Override http request option.
|
|
@@ -4109,7 +4106,7 @@ export class SureelApi extends BaseAPI {
|
|
|
4109
4106
|
* @param {string} username
|
|
4110
4107
|
* @param {string} [includeOriginalSongs]
|
|
4111
4108
|
* @param {string} [includeFullResArtworks]
|
|
4112
|
-
* @param {number} [take] The
|
|
4109
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
4113
4110
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4114
4111
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
4115
4112
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -4212,7 +4209,7 @@ export class SureelApi extends BaseAPI {
|
|
|
4212
4209
|
* @param {string} includeArtworks
|
|
4213
4210
|
* @param {string} [includeOriginalSongs]
|
|
4214
4211
|
* @param {string} [includeFullResArtworks]
|
|
4215
|
-
* @param {number} [take] The
|
|
4212
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
4216
4213
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4217
4214
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
4218
4215
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -4298,7 +4295,7 @@ export class SureelApi extends BaseAPI {
|
|
|
4298
4295
|
.then((request) => request(this.axios, this.basePath));
|
|
4299
4296
|
}
|
|
4300
4297
|
/**
|
|
4301
|
-
* Blend two images into a combination of both. The content image
|
|
4298
|
+
* Blend two images into a combination of both. The content image influences the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
|
|
4302
4299
|
* @summary Image blending
|
|
4303
4300
|
* @param {ImageBlendingContentTypeEnum} contentType
|
|
4304
4301
|
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
@@ -4549,20 +4546,6 @@ export class SureelApi extends BaseAPI {
|
|
|
4549
4546
|
.updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
|
|
4550
4547
|
.then((request) => request(this.axios, this.basePath));
|
|
4551
4548
|
}
|
|
4552
|
-
/**
|
|
4553
|
-
* Update the intellectual property rights for your songs.
|
|
4554
|
-
* @summary Update IP rights
|
|
4555
|
-
* @param {UpdateIpRightsContentTypeEnum} contentType
|
|
4556
|
-
* @param {IpRights1} ipRights1
|
|
4557
|
-
* @param {*} [options] Override http request option.
|
|
4558
|
-
* @throws {RequiredError}
|
|
4559
|
-
* @memberof SureelApi
|
|
4560
|
-
*/
|
|
4561
|
-
updateIpRights(contentType, ipRights1, options) {
|
|
4562
|
-
return SureelApiFp(this.configuration)
|
|
4563
|
-
.updateIpRights(contentType, ipRights1, options)
|
|
4564
|
-
.then((request) => request(this.axios, this.basePath));
|
|
4565
|
-
}
|
|
4566
4549
|
/**
|
|
4567
4550
|
* Upload audio, image, video, or metadata files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
|
|
4568
4551
|
* @summary Upload files as form-data
|
|
@@ -4838,12 +4821,6 @@ export const TrackTrainingArtifactsContentTypeEnum = {
|
|
|
4838
4821
|
export const UpdateCollectionContentTypeEnum = {
|
|
4839
4822
|
ApplicationJson: "application/json",
|
|
4840
4823
|
};
|
|
4841
|
-
/**
|
|
4842
|
-
* @export
|
|
4843
|
-
*/
|
|
4844
|
-
export const UpdateIpRightsContentTypeEnum = {
|
|
4845
|
-
ApplicationJson: "application/json",
|
|
4846
|
-
};
|
|
4847
4824
|
/**
|
|
4848
4825
|
* @export
|
|
4849
4826
|
*/
|