@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/api/sureel-api.js
CHANGED
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.UpscaleImageContentTypeEnum = exports.UploadFilesContentTypeEnum = exports.
|
|
19
|
+
exports.UpscaleImageContentTypeEnum = exports.UploadFilesContentTypeEnum = exports.UpdateCollectionContentTypeEnum = exports.TrackTrainingArtifactsContentTypeEnum = exports.TrackInferenceArtifactsContentTypeEnum = exports.TextToAudioContentTypeEnum = exports.TextToArtistAudioContentTypeEnum = exports.StyleTransferContentTypeEnum = exports.StemSplitContentTypeEnum = exports.SongAnalysisContentTypeEnum = exports.SimilarSongFinderContentTypeEnum = exports.SetFilepathsContentTypeEnum = exports.RemoveBackgroundContentTypeEnum = exports.ReimagineContentTypeEnum = exports.OptOutAnalysisContentTypeEnum = exports.LyricsAnalysisContentTypeEnum = exports.InpaintContentTypeEnum = exports.ImageBlendingContentTypeEnum = exports.ImageAttributionAnalysisContentTypeEnum = exports.GetOwnCollectionsSortOrderEnum = exports.GetOwnCollectionsSortByEnum = exports.GetOwnCollectionsCollectionSearchFieldEnum = exports.GetArtistByUsernameSortOrderEnum = exports.GetArtistByUsernameSortByEnum = exports.GetArtistByUsernameCollectionSearchFieldEnum = exports.GeneratePutUploadUrlsContentTypeEnum = exports.GeneratePreviewContentTypeEnum = exports.FinetuneModelContentTypeEnum = exports.FaceSwapContentTypeEnum = exports.CreateCoverArtContentTypeEnum = exports.CreateCollectionContentTypeEnum = exports.ControlNetContentTypeEnum = exports.CalculateAttributionContentTypeEnum = exports.AvatarImageBlendingContentTypeEnum = exports.AudioToAudioContentTypeEnum = exports.AudioAttributionSetupContentTypeEnum = exports.AudioAttributionAnalysisContentTypeEnum = exports.AttributionSetupContentTypeEnum = exports.AttributionCalculationContentTypeEnum = exports.ApplyWatermarkContentTypeEnum = exports.AiDetectionContentTypeEnum = exports.AccidentalInfringementCheckContentTypeEnum = exports.SureelApi = exports.SureelApiFactory = exports.SureelApiFp = exports.SureelApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -754,13 +754,41 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
754
754
|
options: localVarRequestOptions,
|
|
755
755
|
};
|
|
756
756
|
},
|
|
757
|
+
/**
|
|
758
|
+
* Get a list of all AI companies registered in the system.
|
|
759
|
+
* @summary Get AI companies
|
|
760
|
+
* @param {*} [options] Override http request option.
|
|
761
|
+
* @throws {RequiredError}
|
|
762
|
+
*/
|
|
763
|
+
getAiCompanies: async (options = {}) => {
|
|
764
|
+
const localVarPath = `/v1/ai/ai-company/`;
|
|
765
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
766
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
767
|
+
let baseOptions;
|
|
768
|
+
if (configuration) {
|
|
769
|
+
baseOptions = configuration.baseOptions;
|
|
770
|
+
}
|
|
771
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
772
|
+
const localVarHeaderParameter = {};
|
|
773
|
+
const localVarQueryParameter = {};
|
|
774
|
+
// authentication OAuth2 required
|
|
775
|
+
// oauth required
|
|
776
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
777
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
778
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
779
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
780
|
+
return {
|
|
781
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
782
|
+
options: localVarRequestOptions,
|
|
783
|
+
};
|
|
784
|
+
},
|
|
757
785
|
/**
|
|
758
786
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
759
787
|
* @summary Get all artists
|
|
760
788
|
* @param {string} includeArtworks
|
|
761
789
|
* @param {string} [includeOriginalSongs]
|
|
762
790
|
* @param {string} [includeFullResArtworks]
|
|
763
|
-
* @param {number} [take] The
|
|
791
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
764
792
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
765
793
|
* @param {*} [options] Override http request option.
|
|
766
794
|
* @throws {RequiredError}
|
|
@@ -806,9 +834,9 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
806
834
|
/**
|
|
807
835
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
808
836
|
* @summary Analysis history
|
|
809
|
-
* @param {number} take The
|
|
837
|
+
* @param {number} take The `take` parameter is the number of analysis results to return per page.
|
|
810
838
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
811
|
-
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter
|
|
839
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter analysis results up to a certain timestamp.
|
|
812
840
|
* @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`.
|
|
813
841
|
* @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.
|
|
814
842
|
* @param {*} [options] Override http request option.
|
|
@@ -863,7 +891,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
863
891
|
* @param {string} username
|
|
864
892
|
* @param {string} [includeOriginalSongs]
|
|
865
893
|
* @param {string} [includeFullResArtworks]
|
|
866
|
-
* @param {number} [take] The
|
|
894
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
867
895
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
868
896
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
869
897
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -1142,7 +1170,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1142
1170
|
* @param {string} includeArtworks
|
|
1143
1171
|
* @param {string} [includeOriginalSongs]
|
|
1144
1172
|
* @param {string} [includeFullResArtworks]
|
|
1145
|
-
* @param {number} [take] The
|
|
1173
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
1146
1174
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
1147
1175
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
1148
1176
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -1397,7 +1425,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1397
1425
|
};
|
|
1398
1426
|
},
|
|
1399
1427
|
/**
|
|
1400
|
-
* Blend two images into a combination of both. The content image
|
|
1428
|
+
* 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.
|
|
1401
1429
|
* @summary Image blending
|
|
1402
1430
|
* @param {ImageBlendingContentTypeEnum} contentType
|
|
1403
1431
|
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
@@ -2091,45 +2119,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2091
2119
|
options: localVarRequestOptions,
|
|
2092
2120
|
};
|
|
2093
2121
|
},
|
|
2094
|
-
/**
|
|
2095
|
-
* Update the intellectual property rights for your songs.
|
|
2096
|
-
* @summary Update IP rights
|
|
2097
|
-
* @param {UpdateIpRightsContentTypeEnum} contentType
|
|
2098
|
-
* @param {IpRights1} ipRights1
|
|
2099
|
-
* @param {*} [options] Override http request option.
|
|
2100
|
-
* @throws {RequiredError}
|
|
2101
|
-
*/
|
|
2102
|
-
updateIpRights: async (contentType, ipRights1, options = {}) => {
|
|
2103
|
-
// verify required parameter 'contentType' is not null or undefined
|
|
2104
|
-
(0, common_1.assertParamExists)("updateIpRights", "contentType", contentType);
|
|
2105
|
-
// verify required parameter 'ipRights1' is not null or undefined
|
|
2106
|
-
(0, common_1.assertParamExists)("updateIpRights", "ipRights1", ipRights1);
|
|
2107
|
-
const localVarPath = `/v1/ai/artist/update-ip-rights`;
|
|
2108
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2109
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2110
|
-
let baseOptions;
|
|
2111
|
-
if (configuration) {
|
|
2112
|
-
baseOptions = configuration.baseOptions;
|
|
2113
|
-
}
|
|
2114
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
2115
|
-
const localVarHeaderParameter = {};
|
|
2116
|
-
const localVarQueryParameter = {};
|
|
2117
|
-
// authentication OAuth2 required
|
|
2118
|
-
// oauth required
|
|
2119
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2120
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2121
|
-
if (contentType != null) {
|
|
2122
|
-
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
2123
|
-
}
|
|
2124
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2125
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2126
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2127
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(ipRights1, localVarRequestOptions, configuration);
|
|
2128
|
-
return {
|
|
2129
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2130
|
-
options: localVarRequestOptions,
|
|
2131
|
-
};
|
|
2132
|
-
},
|
|
2133
2122
|
/**
|
|
2134
2123
|
* 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.
|
|
2135
2124
|
* @summary Upload files as form-data
|
|
@@ -2502,13 +2491,26 @@ const SureelApiFp = function (configuration) {
|
|
|
2502
2491
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.generatePutUploadUrls"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2503
2492
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2504
2493
|
},
|
|
2494
|
+
/**
|
|
2495
|
+
* Get a list of all AI companies registered in the system.
|
|
2496
|
+
* @summary Get AI companies
|
|
2497
|
+
* @param {*} [options] Override http request option.
|
|
2498
|
+
* @throws {RequiredError}
|
|
2499
|
+
*/
|
|
2500
|
+
async getAiCompanies(options) {
|
|
2501
|
+
var _a, _b, _c;
|
|
2502
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAiCompanies(options);
|
|
2503
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2504
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getAiCompanies"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2505
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2506
|
+
},
|
|
2505
2507
|
/**
|
|
2506
2508
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
2507
2509
|
* @summary Get all artists
|
|
2508
2510
|
* @param {string} includeArtworks
|
|
2509
2511
|
* @param {string} [includeOriginalSongs]
|
|
2510
2512
|
* @param {string} [includeFullResArtworks]
|
|
2511
|
-
* @param {number} [take] The
|
|
2513
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
2512
2514
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2513
2515
|
* @param {*} [options] Override http request option.
|
|
2514
2516
|
* @throws {RequiredError}
|
|
@@ -2523,9 +2525,9 @@ const SureelApiFp = function (configuration) {
|
|
|
2523
2525
|
/**
|
|
2524
2526
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
2525
2527
|
* @summary Analysis history
|
|
2526
|
-
* @param {number} take The
|
|
2528
|
+
* @param {number} take The `take` parameter is the number of analysis results to return per page.
|
|
2527
2529
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2528
|
-
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter
|
|
2530
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter analysis results up to a certain timestamp.
|
|
2529
2531
|
* @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`.
|
|
2530
2532
|
* @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.
|
|
2531
2533
|
* @param {*} [options] Override http request option.
|
|
@@ -2545,7 +2547,7 @@ const SureelApiFp = function (configuration) {
|
|
|
2545
2547
|
* @param {string} username
|
|
2546
2548
|
* @param {string} [includeOriginalSongs]
|
|
2547
2549
|
* @param {string} [includeFullResArtworks]
|
|
2548
|
-
* @param {number} [take] The
|
|
2550
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
2549
2551
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2550
2552
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
2551
2553
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -2655,7 +2657,7 @@ const SureelApiFp = function (configuration) {
|
|
|
2655
2657
|
* @param {string} includeArtworks
|
|
2656
2658
|
* @param {string} [includeOriginalSongs]
|
|
2657
2659
|
* @param {string} [includeFullResArtworks]
|
|
2658
|
-
* @param {number} [take] The
|
|
2660
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
2659
2661
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2660
2662
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
2661
2663
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -2747,7 +2749,7 @@ const SureelApiFp = function (configuration) {
|
|
|
2747
2749
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2748
2750
|
},
|
|
2749
2751
|
/**
|
|
2750
|
-
* Blend two images into a combination of both. The content image
|
|
2752
|
+
* 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.
|
|
2751
2753
|
* @summary Image blending
|
|
2752
2754
|
* @param {ImageBlendingContentTypeEnum} contentType
|
|
2753
2755
|
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
@@ -3016,21 +3018,6 @@ const SureelApiFp = function (configuration) {
|
|
|
3016
3018
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.updateCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3017
3019
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3018
3020
|
},
|
|
3019
|
-
/**
|
|
3020
|
-
* Update the intellectual property rights for your songs.
|
|
3021
|
-
* @summary Update IP rights
|
|
3022
|
-
* @param {UpdateIpRightsContentTypeEnum} contentType
|
|
3023
|
-
* @param {IpRights1} ipRights1
|
|
3024
|
-
* @param {*} [options] Override http request option.
|
|
3025
|
-
* @throws {RequiredError}
|
|
3026
|
-
*/
|
|
3027
|
-
async updateIpRights(contentType, ipRights1, options) {
|
|
3028
|
-
var _a, _b, _c;
|
|
3029
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateIpRights(contentType, ipRights1, options);
|
|
3030
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3031
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.updateIpRights"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3032
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3033
|
-
},
|
|
3034
3021
|
/**
|
|
3035
3022
|
* 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.
|
|
3036
3023
|
* @summary Upload files as form-data
|
|
@@ -3316,13 +3303,24 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3316
3303
|
.generatePutUploadUrls(contentType, uploadUrlRequest, options)
|
|
3317
3304
|
.then((request) => request(axios, basePath));
|
|
3318
3305
|
},
|
|
3306
|
+
/**
|
|
3307
|
+
* Get a list of all AI companies registered in the system.
|
|
3308
|
+
* @summary Get AI companies
|
|
3309
|
+
* @param {*} [options] Override http request option.
|
|
3310
|
+
* @throws {RequiredError}
|
|
3311
|
+
*/
|
|
3312
|
+
getAiCompanies(options) {
|
|
3313
|
+
return localVarFp
|
|
3314
|
+
.getAiCompanies(options)
|
|
3315
|
+
.then((request) => request(axios, basePath));
|
|
3316
|
+
},
|
|
3319
3317
|
/**
|
|
3320
3318
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
3321
3319
|
* @summary Get all artists
|
|
3322
3320
|
* @param {string} includeArtworks
|
|
3323
3321
|
* @param {string} [includeOriginalSongs]
|
|
3324
3322
|
* @param {string} [includeFullResArtworks]
|
|
3325
|
-
* @param {number} [take] The
|
|
3323
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
3326
3324
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3327
3325
|
* @param {*} [options] Override http request option.
|
|
3328
3326
|
* @throws {RequiredError}
|
|
@@ -3335,9 +3333,9 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3335
3333
|
/**
|
|
3336
3334
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
3337
3335
|
* @summary Analysis history
|
|
3338
|
-
* @param {number} take The
|
|
3336
|
+
* @param {number} take The `take` parameter is the number of analysis results to return per page.
|
|
3339
3337
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3340
|
-
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter
|
|
3338
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter analysis results up to a certain timestamp.
|
|
3341
3339
|
* @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`.
|
|
3342
3340
|
* @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.
|
|
3343
3341
|
* @param {*} [options] Override http request option.
|
|
@@ -3355,7 +3353,7 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3355
3353
|
* @param {string} username
|
|
3356
3354
|
* @param {string} [includeOriginalSongs]
|
|
3357
3355
|
* @param {string} [includeFullResArtworks]
|
|
3358
|
-
* @param {number} [take] The
|
|
3356
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
3359
3357
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3360
3358
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
3361
3359
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -3451,7 +3449,7 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3451
3449
|
* @param {string} includeArtworks
|
|
3452
3450
|
* @param {string} [includeOriginalSongs]
|
|
3453
3451
|
* @param {string} [includeFullResArtworks]
|
|
3454
|
-
* @param {number} [take] The
|
|
3452
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
3455
3453
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3456
3454
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
3457
3455
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -3531,7 +3529,7 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3531
3529
|
.then((request) => request(axios, basePath));
|
|
3532
3530
|
},
|
|
3533
3531
|
/**
|
|
3534
|
-
* Blend two images into a combination of both. The content image
|
|
3532
|
+
* 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.
|
|
3535
3533
|
* @summary Image blending
|
|
3536
3534
|
* @param {ImageBlendingContentTypeEnum} contentType
|
|
3537
3535
|
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
@@ -3764,19 +3762,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3764
3762
|
.updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
|
|
3765
3763
|
.then((request) => request(axios, basePath));
|
|
3766
3764
|
},
|
|
3767
|
-
/**
|
|
3768
|
-
* Update the intellectual property rights for your songs.
|
|
3769
|
-
* @summary Update IP rights
|
|
3770
|
-
* @param {UpdateIpRightsContentTypeEnum} contentType
|
|
3771
|
-
* @param {IpRights1} ipRights1
|
|
3772
|
-
* @param {*} [options] Override http request option.
|
|
3773
|
-
* @throws {RequiredError}
|
|
3774
|
-
*/
|
|
3775
|
-
updateIpRights(contentType, ipRights1, options) {
|
|
3776
|
-
return localVarFp
|
|
3777
|
-
.updateIpRights(contentType, ipRights1, options)
|
|
3778
|
-
.then((request) => request(axios, basePath));
|
|
3779
|
-
},
|
|
3780
3765
|
/**
|
|
3781
3766
|
* 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.
|
|
3782
3767
|
* @summary Upload files as form-data
|
|
@@ -4077,13 +4062,25 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
4077
4062
|
.generatePutUploadUrls(contentType, uploadUrlRequest, options)
|
|
4078
4063
|
.then((request) => request(this.axios, this.basePath));
|
|
4079
4064
|
}
|
|
4065
|
+
/**
|
|
4066
|
+
* Get a list of all AI companies registered in the system.
|
|
4067
|
+
* @summary Get AI companies
|
|
4068
|
+
* @param {*} [options] Override http request option.
|
|
4069
|
+
* @throws {RequiredError}
|
|
4070
|
+
* @memberof SureelApi
|
|
4071
|
+
*/
|
|
4072
|
+
getAiCompanies(options) {
|
|
4073
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
4074
|
+
.getAiCompanies(options)
|
|
4075
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4076
|
+
}
|
|
4080
4077
|
/**
|
|
4081
4078
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
4082
4079
|
* @summary Get all artists
|
|
4083
4080
|
* @param {string} includeArtworks
|
|
4084
4081
|
* @param {string} [includeOriginalSongs]
|
|
4085
4082
|
* @param {string} [includeFullResArtworks]
|
|
4086
|
-
* @param {number} [take] The
|
|
4083
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
4087
4084
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4088
4085
|
* @param {*} [options] Override http request option.
|
|
4089
4086
|
* @throws {RequiredError}
|
|
@@ -4097,9 +4094,9 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
4097
4094
|
/**
|
|
4098
4095
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
4099
4096
|
* @summary Analysis history
|
|
4100
|
-
* @param {number} take The
|
|
4097
|
+
* @param {number} take The `take` parameter is the number of analysis results to return per page.
|
|
4101
4098
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4102
|
-
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter
|
|
4099
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter analysis results up to a certain timestamp.
|
|
4103
4100
|
* @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`.
|
|
4104
4101
|
* @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.
|
|
4105
4102
|
* @param {*} [options] Override http request option.
|
|
@@ -4118,7 +4115,7 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
4118
4115
|
* @param {string} username
|
|
4119
4116
|
* @param {string} [includeOriginalSongs]
|
|
4120
4117
|
* @param {string} [includeFullResArtworks]
|
|
4121
|
-
* @param {number} [take] The
|
|
4118
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
4122
4119
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4123
4120
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
4124
4121
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -4221,7 +4218,7 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
4221
4218
|
* @param {string} includeArtworks
|
|
4222
4219
|
* @param {string} [includeOriginalSongs]
|
|
4223
4220
|
* @param {string} [includeFullResArtworks]
|
|
4224
|
-
* @param {number} [take] The
|
|
4221
|
+
* @param {number} [take] The `take` parameter is the number of collections to return per page.
|
|
4225
4222
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4226
4223
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
4227
4224
|
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
@@ -4307,7 +4304,7 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
4307
4304
|
.then((request) => request(this.axios, this.basePath));
|
|
4308
4305
|
}
|
|
4309
4306
|
/**
|
|
4310
|
-
* Blend two images into a combination of both. The content image
|
|
4307
|
+
* 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.
|
|
4311
4308
|
* @summary Image blending
|
|
4312
4309
|
* @param {ImageBlendingContentTypeEnum} contentType
|
|
4313
4310
|
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
@@ -4558,20 +4555,6 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
4558
4555
|
.updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
|
|
4559
4556
|
.then((request) => request(this.axios, this.basePath));
|
|
4560
4557
|
}
|
|
4561
|
-
/**
|
|
4562
|
-
* Update the intellectual property rights for your songs.
|
|
4563
|
-
* @summary Update IP rights
|
|
4564
|
-
* @param {UpdateIpRightsContentTypeEnum} contentType
|
|
4565
|
-
* @param {IpRights1} ipRights1
|
|
4566
|
-
* @param {*} [options] Override http request option.
|
|
4567
|
-
* @throws {RequiredError}
|
|
4568
|
-
* @memberof SureelApi
|
|
4569
|
-
*/
|
|
4570
|
-
updateIpRights(contentType, ipRights1, options) {
|
|
4571
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
4572
|
-
.updateIpRights(contentType, ipRights1, options)
|
|
4573
|
-
.then((request) => request(this.axios, this.basePath));
|
|
4574
|
-
}
|
|
4575
4558
|
/**
|
|
4576
4559
|
* 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.
|
|
4577
4560
|
* @summary Upload files as form-data
|
|
@@ -4848,12 +4831,6 @@ exports.TrackTrainingArtifactsContentTypeEnum = {
|
|
|
4848
4831
|
exports.UpdateCollectionContentTypeEnum = {
|
|
4849
4832
|
ApplicationJson: "application/json",
|
|
4850
4833
|
};
|
|
4851
|
-
/**
|
|
4852
|
-
* @export
|
|
4853
|
-
*/
|
|
4854
|
-
exports.UpdateIpRightsContentTypeEnum = {
|
|
4855
|
-
ApplicationJson: "application/json",
|
|
4856
|
-
};
|
|
4857
4834
|
/**
|
|
4858
4835
|
* @export
|
|
4859
4836
|
*/
|