@sureel/sdk 1.9.4-rc.25 → 1.9.4-rc.26

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.
Files changed (75) hide show
  1. package/api/sureel-api.d.ts +0 -184
  2. package/api/sureel-api.d.ts.map +1 -1
  3. package/api/sureel-api.js +38 -352
  4. package/api/sureel-api.js.map +1 -1
  5. package/esm/api/sureel-api.d.ts +0 -184
  6. package/esm/api/sureel-api.d.ts.map +1 -1
  7. package/esm/api/sureel-api.js +37 -351
  8. package/esm/api/sureel-api.js.map +1 -1
  9. package/esm/models/apply-watermark-request.d.ts +2 -2
  10. package/esm/models/avatar-image-blending-request.d.ts +2 -2
  11. package/esm/models/calculate-attribution-request.d.ts +1 -1
  12. package/esm/models/control-net-request.d.ts +2 -2
  13. package/esm/models/create-collection-request-files-inner-external-stems-inner.d.ts +1 -1
  14. package/esm/models/create-collection-request-files-inner.d.ts +1 -1
  15. package/esm/models/create-collection-request.d.ts +10 -5
  16. package/esm/models/create-collection-request.d.ts.map +1 -1
  17. package/esm/models/create-collection-request.js +5 -1
  18. package/esm/models/create-collection-request.js.map +1 -1
  19. package/esm/models/generate-preview-request.d.ts +2 -2
  20. package/esm/models/image-blending-request.d.ts +2 -2
  21. package/esm/models/index.d.ts +0 -5
  22. package/esm/models/index.d.ts.map +1 -1
  23. package/esm/models/index.js +0 -5
  24. package/esm/models/index.js.map +1 -1
  25. package/esm/models/inpaint-request.d.ts +3 -3
  26. package/esm/models/reimagine-request.d.ts +2 -2
  27. package/esm/models/remove-background-request.d.ts +1 -1
  28. package/esm/models/set-filepaths-request-files-inner.d.ts +1 -1
  29. package/esm/models/style-image.d.ts +1 -1
  30. package/esm/models/style-transfer-request.d.ts +2 -2
  31. package/esm/models/text-to-image-request.d.ts +1 -1
  32. package/esm/models/update-collection-request.d.ts +1 -1
  33. package/esm/models/upscale-request.d.ts +2 -2
  34. package/esm/models/v1-ai-audio-ldm-ai-generated-audio-detection-post-request.d.ts +1 -1
  35. package/esm/models/v1-ai-audio-ldm-audio-attribution-analysis-post-request.d.ts +1 -1
  36. package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts +1 -1
  37. package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts +1 -1
  38. package/esm/models/v1-ai-audio-ldm-lyrics-analysis-post-request.d.ts +1 -1
  39. package/esm/models/v1-ai-audio-ldm-stem-split-post-request.d.ts +1 -1
  40. package/esm/models/v1-ai-ldm-attribution-analysis-post-request.d.ts +1 -1
  41. package/esm/models/v1-ai-ldm-cover-art-post-request.d.ts +2 -2
  42. package/models/apply-watermark-request.d.ts +2 -2
  43. package/models/avatar-image-blending-request.d.ts +2 -2
  44. package/models/calculate-attribution-request.d.ts +1 -1
  45. package/models/control-net-request.d.ts +2 -2
  46. package/models/create-collection-request-files-inner-external-stems-inner.d.ts +1 -1
  47. package/models/create-collection-request-files-inner.d.ts +1 -1
  48. package/models/create-collection-request.d.ts +10 -5
  49. package/models/create-collection-request.d.ts.map +1 -1
  50. package/models/create-collection-request.js +6 -0
  51. package/models/create-collection-request.js.map +1 -1
  52. package/models/generate-preview-request.d.ts +2 -2
  53. package/models/image-blending-request.d.ts +2 -2
  54. package/models/index.d.ts +0 -5
  55. package/models/index.d.ts.map +1 -1
  56. package/models/index.js +0 -5
  57. package/models/index.js.map +1 -1
  58. package/models/inpaint-request.d.ts +3 -3
  59. package/models/reimagine-request.d.ts +2 -2
  60. package/models/remove-background-request.d.ts +1 -1
  61. package/models/set-filepaths-request-files-inner.d.ts +1 -1
  62. package/models/style-image.d.ts +1 -1
  63. package/models/style-transfer-request.d.ts +2 -2
  64. package/models/text-to-image-request.d.ts +1 -1
  65. package/models/update-collection-request.d.ts +1 -1
  66. package/models/upscale-request.d.ts +2 -2
  67. package/models/v1-ai-audio-ldm-ai-generated-audio-detection-post-request.d.ts +1 -1
  68. package/models/v1-ai-audio-ldm-audio-attribution-analysis-post-request.d.ts +1 -1
  69. package/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts +1 -1
  70. package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts +1 -1
  71. package/models/v1-ai-audio-ldm-lyrics-analysis-post-request.d.ts +1 -1
  72. package/models/v1-ai-audio-ldm-stem-split-post-request.d.ts +1 -1
  73. package/models/v1-ai-ldm-attribution-analysis-post-request.d.ts +1 -1
  74. package/models/v1-ai-ldm-cover-art-post-request.d.ts +2 -2
  75. package/package.json +1 -1
package/api/sureel-api.js CHANGED
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.V1AiLdmImageAttributionSetupPostContentTypeEnum = exports.V1AiLdmCoverArtPostContentTypeEnum = exports.V1AiLdmAttributionAnalysisPostContentTypeEnum = exports.V1AiAudioLdmTextToAudioPostContentTypeEnum = exports.V1AiAudioLdmTextToArtistAudioPostContentTypeEnum = exports.V1AiAudioLdmStemSplitPostContentTypeEnum = exports.V1AiAudioLdmSongAnalysisPostContentTypeEnum = exports.V1AiAudioLdmSimilarSongFinderPostContentTypeEnum = exports.V1AiAudioLdmOptOutAnalysisPostContentTypeEnum = exports.V1AiAudioLdmLyricsAnalysisPostContentTypeEnum = exports.V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum = exports.V1AiAudioLdmAudioToAudioPostContentTypeEnum = exports.V1AiAudioLdmAudioAttributionSetupPostContentTypeEnum = exports.V1AiAudioLdmAudioAttributionAnalysisPostContentTypeEnum = exports.V1AiAudioLdmAiGeneratedAudioDetectionPostContentTypeEnum = exports.V1AiAudioLdmAccidentalInfringementCheckPostContentTypeEnum = exports.UpscaleImageContentTypeEnum = exports.UpdateIpRightsContentTypeEnum = exports.UpdateCollectionContentTypeEnum = exports.StyleTransferContentTypeEnum = exports.SetFilepathsContentTypeEnum = exports.RemoveBackgroundContentTypeEnum = exports.ReimagineContentTypeEnum = exports.InpaintContentTypeEnum = exports.ImageBlendingContentTypeEnum = exports.GenerateSignedUrlsContentTypeEnum = exports.GeneratePreviewContentTypeEnum = exports.FinetuneModelContentTypeEnum = exports.FaceSwapContentTypeEnum = exports.CreateCollectionContentTypeEnum = exports.ControlNetContentTypeEnum = exports.CalculateAttributionContentTypeEnum = exports.AvatarImageBlendingContentTypeEnum = exports.ApplyWatermarkContentTypeEnum = exports.SureelApi = exports.SureelApiFactory = exports.SureelApiFp = exports.SureelApiAxiosParamCreator = void 0;
28
+ exports.V1AiLdmImageAttributionSetupPostContentTypeEnum = exports.V1AiLdmCoverArtPostContentTypeEnum = exports.V1AiLdmAttributionAnalysisPostContentTypeEnum = exports.V1AiAudioLdmTextToAudioPostContentTypeEnum = exports.V1AiAudioLdmTextToArtistAudioPostContentTypeEnum = exports.V1AiAudioLdmStemSplitPostContentTypeEnum = exports.V1AiAudioLdmSongAnalysisPostContentTypeEnum = exports.V1AiAudioLdmSimilarSongFinderPostContentTypeEnum = exports.V1AiAudioLdmOptOutAnalysisPostContentTypeEnum = exports.V1AiAudioLdmLyricsAnalysisPostContentTypeEnum = exports.V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum = exports.V1AiAudioLdmAudioToAudioPostContentTypeEnum = exports.V1AiAudioLdmAudioAttributionSetupPostContentTypeEnum = exports.V1AiAudioLdmAudioAttributionAnalysisPostContentTypeEnum = exports.V1AiAudioLdmAiGeneratedAudioDetectionPostContentTypeEnum = exports.V1AiAudioLdmAccidentalInfringementCheckPostContentTypeEnum = exports.UpscaleImageContentTypeEnum = exports.UpdateIpRightsContentTypeEnum = exports.UpdateCollectionContentTypeEnum = exports.StyleTransferContentTypeEnum = exports.SetFilepathsContentTypeEnum = exports.RemoveBackgroundContentTypeEnum = exports.ReimagineContentTypeEnum = exports.InpaintContentTypeEnum = exports.ImageBlendingContentTypeEnum = exports.GeneratePreviewContentTypeEnum = exports.FinetuneModelContentTypeEnum = exports.FaceSwapContentTypeEnum = exports.CreateCollectionContentTypeEnum = exports.ControlNetContentTypeEnum = exports.CalculateAttributionContentTypeEnum = exports.AvatarImageBlendingContentTypeEnum = exports.ApplyWatermarkContentTypeEnum = exports.SureelApi = exports.SureelApiFactory = exports.SureelApiFp = exports.SureelApiAxiosParamCreator = void 0;
29
29
  const axios_1 = __importDefault(require("axios"));
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -412,45 +412,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
412
412
  options: localVarRequestOptions,
413
413
  };
414
414
  }),
415
- /**
416
- * Returns the signed url for the given filenames.
417
- * @summary Generate signed URLs to put files to S3
418
- * @param {GenerateSignedUrlsContentTypeEnum} contentType
419
- * @param {UploadUrlRequest} uploadUrlRequest
420
- * @param {*} [options] Override http request option.
421
- * @throws {RequiredError}
422
- */
423
- generateSignedUrls: (contentType_9, uploadUrlRequest_1, ...args_11) => __awaiter(this, [contentType_9, uploadUrlRequest_1, ...args_11], void 0, function* (contentType, uploadUrlRequest, options = {}) {
424
- // verify required parameter 'contentType' is not null or undefined
425
- (0, common_1.assertParamExists)("generateSignedUrls", "contentType", contentType);
426
- // verify required parameter 'uploadUrlRequest' is not null or undefined
427
- (0, common_1.assertParamExists)("generateSignedUrls", "uploadUrlRequest", uploadUrlRequest);
428
- const localVarPath = `/v1/ai/artist/generate-upload-urls`;
429
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
430
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
431
- let baseOptions;
432
- if (configuration) {
433
- baseOptions = configuration.baseOptions;
434
- }
435
- const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
436
- const localVarHeaderParameter = {};
437
- const localVarQueryParameter = {};
438
- // authentication OAuth2 required
439
- // oauth required
440
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
441
- localVarHeaderParameter["Content-Type"] = "application/json";
442
- if (contentType != null) {
443
- localVarHeaderParameter["Content-Type"] = String(contentType);
444
- }
445
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
446
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
447
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
448
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(uploadUrlRequest, localVarRequestOptions, configuration);
449
- return {
450
- url: (0, common_1.toPathString)(localVarUrlObj),
451
- options: localVarRequestOptions,
452
- };
453
- }),
454
415
  /**
455
416
  * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
456
417
  * @summary Get all artists
@@ -460,7 +421,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
460
421
  * @param {*} [options] Override http request option.
461
422
  * @throws {RequiredError}
462
423
  */
463
- getAllArtists: (includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...args_12) => __awaiter(this, [includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...args_12], void 0, function* (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) {
424
+ getAllArtists: (includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...args_11) => __awaiter(this, [includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...args_11], void 0, function* (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) {
464
425
  // verify required parameter 'includeArtworks' is not null or undefined
465
426
  (0, common_1.assertParamExists)("getAllArtists", "includeArtworks", includeArtworks);
466
427
  const localVarPath = `/v1/ai/artist/`;
@@ -502,7 +463,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
502
463
  * @param {*} [options] Override http request option.
503
464
  * @throws {RequiredError}
504
465
  */
505
- getAnalysisHistory: (take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...args_13) => __awaiter(this, [take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...args_13], void 0, function* (take, cursor, maxTimestamp, topNAttributionResults, options = {}) {
466
+ getAnalysisHistory: (take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...args_12) => __awaiter(this, [take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...args_12], void 0, function* (take, cursor, maxTimestamp, topNAttributionResults, options = {}) {
506
467
  // verify required parameter 'take' is not null or undefined
507
468
  (0, common_1.assertParamExists)("getAnalysisHistory", "take", take);
508
469
  const localVarPath = `/v1/ai/analysis-history/`;
@@ -549,7 +510,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
549
510
  * @param {*} [options] Override http request option.
550
511
  * @throws {RequiredError}
551
512
  */
552
- getArtistByUsername: (includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...args_14) => __awaiter(this, [includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...args_14], void 0, function* (includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options = {}) {
513
+ getArtistByUsername: (includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...args_13) => __awaiter(this, [includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...args_13], void 0, function* (includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options = {}) {
553
514
  // verify required parameter 'includeArtworks' is not null or undefined
554
515
  (0, common_1.assertParamExists)("getArtistByUsername", "includeArtworks", includeArtworks);
555
516
  // verify required parameter 'username' is not null or undefined
@@ -591,7 +552,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
591
552
  * @param {*} [options] Override http request option.
592
553
  * @throws {RequiredError}
593
554
  */
594
- getOptedOutCollections: (take_2, cursor_2, ...args_15) => __awaiter(this, [take_2, cursor_2, ...args_15], void 0, function* (take, cursor, options = {}) {
555
+ getOptedOutCollections: (take_2, cursor_2, ...args_14) => __awaiter(this, [take_2, cursor_2, ...args_14], void 0, function* (take, cursor, options = {}) {
595
556
  // verify required parameter 'take' is not null or undefined
596
557
  (0, common_1.assertParamExists)("getOptedOutCollections", "take", take);
597
558
  const localVarPath = `/v1/ai/artist/collections/opted-out`;
@@ -630,7 +591,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
630
591
  * @param {*} [options] Override http request option.
631
592
  * @throws {RequiredError}
632
593
  */
633
- getOwnCollections: (includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_16) => __awaiter(this, [includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_16], void 0, function* (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) {
594
+ getOwnCollections: (includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_15) => __awaiter(this, [includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_15], void 0, function* (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) {
634
595
  // verify required parameter 'includeArtworks' is not null or undefined
635
596
  (0, common_1.assertParamExists)("getOwnCollections", "includeArtworks", includeArtworks);
636
597
  const localVarPath = `/v1/ai/artist/collections`;
@@ -675,7 +636,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
675
636
  * @param {*} [options] Override http request option.
676
637
  * @throws {RequiredError}
677
638
  */
678
- getPromptHistory: (take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_17) => __awaiter(this, [take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_17], void 0, function* (take, cursor, maxTimestamp, topNAttributionResults, options = {}) {
639
+ getPromptHistory: (take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_16) => __awaiter(this, [take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_16], void 0, function* (take, cursor, maxTimestamp, topNAttributionResults, options = {}) {
679
640
  // verify required parameter 'take' is not null or undefined
680
641
  (0, common_1.assertParamExists)("getPromptHistory", "take", take);
681
642
  const localVarPath = `/v1/ai/prompt-history/`;
@@ -720,7 +681,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
720
681
  * @param {*} [options] Override http request option.
721
682
  * @throws {RequiredError}
722
683
  */
723
- getResultByRequestId: (requestId_2, topNAttributionResults_3, ...args_18) => __awaiter(this, [requestId_2, topNAttributionResults_3, ...args_18], void 0, function* (requestId, topNAttributionResults, options = {}) {
684
+ getResultByRequestId: (requestId_2, topNAttributionResults_3, ...args_17) => __awaiter(this, [requestId_2, topNAttributionResults_3, ...args_17], void 0, function* (requestId, topNAttributionResults, options = {}) {
724
685
  // verify required parameter 'requestId' is not null or undefined
725
686
  (0, common_1.assertParamExists)("getResultByRequestId", "requestId", requestId);
726
687
  const localVarPath = `/v1/ai/ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
@@ -754,7 +715,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
754
715
  * @param {*} [options] Override http request option.
755
716
  * @throws {RequiredError}
756
717
  */
757
- getStylePresets: (...args_19) => __awaiter(this, [...args_19], void 0, function* (options = {}) {
718
+ getStylePresets: (...args_18) => __awaiter(this, [...args_18], void 0, function* (options = {}) {
758
719
  const localVarPath = `/v1/ai/ldm/style-presets`;
759
720
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
760
721
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -776,40 +737,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
776
737
  options: localVarRequestOptions,
777
738
  };
778
739
  }),
779
- /**
780
- * Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
781
- * @summary Get signed URLs of previously uploaded files
782
- * @param {Array<string>} keys The S3 key of the file retrieved from the &#x60;/generate-upload-urls&#x60; endpoint. Multiple keys can be added to the query string simultaneouly like this: &#x60;/get-uploaded-files?keys&#x3D;key1.mp3&amp;keys&#x3D;key2.mp3&#x60;
783
- * @param {*} [options] Override http request option.
784
- * @throws {RequiredError}
785
- */
786
- getUploadedFiles: (keys_1, ...args_20) => __awaiter(this, [keys_1, ...args_20], void 0, function* (keys, options = {}) {
787
- // verify required parameter 'keys' is not null or undefined
788
- (0, common_1.assertParamExists)("getUploadedFiles", "keys", keys);
789
- const localVarPath = `/v1/ai/artist/get-uploaded-files`;
790
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
791
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
792
- let baseOptions;
793
- if (configuration) {
794
- baseOptions = configuration.baseOptions;
795
- }
796
- const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
797
- const localVarHeaderParameter = {};
798
- const localVarQueryParameter = {};
799
- // authentication OAuth2 required
800
- // oauth required
801
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
802
- if (keys) {
803
- localVarQueryParameter["keys"] = keys;
804
- }
805
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
806
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
807
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
808
- return {
809
- url: (0, common_1.toPathString)(localVarUrlObj),
810
- options: localVarRequestOptions,
811
- };
812
- }),
813
740
  /**
814
741
  * Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
815
742
  * @summary Image blending
@@ -818,7 +745,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
818
745
  * @param {*} [options] Override http request option.
819
746
  * @throws {RequiredError}
820
747
  */
821
- imageBlending: (contentType_10, imageBlendingRequest_1, ...args_21) => __awaiter(this, [contentType_10, imageBlendingRequest_1, ...args_21], void 0, function* (contentType, imageBlendingRequest, options = {}) {
748
+ imageBlending: (contentType_9, imageBlendingRequest_1, ...args_19) => __awaiter(this, [contentType_9, imageBlendingRequest_1, ...args_19], void 0, function* (contentType, imageBlendingRequest, options = {}) {
822
749
  // verify required parameter 'contentType' is not null or undefined
823
750
  (0, common_1.assertParamExists)("imageBlending", "contentType", contentType);
824
751
  // verify required parameter 'imageBlendingRequest' is not null or undefined
@@ -857,7 +784,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
857
784
  * @param {*} [options] Override http request option.
858
785
  * @throws {RequiredError}
859
786
  */
860
- inpaint: (contentType_11, inpaintRequest_1, ...args_22) => __awaiter(this, [contentType_11, inpaintRequest_1, ...args_22], void 0, function* (contentType, inpaintRequest, options = {}) {
787
+ inpaint: (contentType_10, inpaintRequest_1, ...args_20) => __awaiter(this, [contentType_10, inpaintRequest_1, ...args_20], void 0, function* (contentType, inpaintRequest, options = {}) {
861
788
  // verify required parameter 'contentType' is not null or undefined
862
789
  (0, common_1.assertParamExists)("inpaint", "contentType", contentType);
863
790
  // verify required parameter 'inpaintRequest' is not null or undefined
@@ -896,7 +823,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
896
823
  * @param {*} [options] Override http request option.
897
824
  * @throws {RequiredError}
898
825
  */
899
- reimagine: (contentType_12, reimagineRequest_1, ...args_23) => __awaiter(this, [contentType_12, reimagineRequest_1, ...args_23], void 0, function* (contentType, reimagineRequest, options = {}) {
826
+ reimagine: (contentType_11, reimagineRequest_1, ...args_21) => __awaiter(this, [contentType_11, reimagineRequest_1, ...args_21], void 0, function* (contentType, reimagineRequest, options = {}) {
900
827
  // verify required parameter 'contentType' is not null or undefined
901
828
  (0, common_1.assertParamExists)("reimagine", "contentType", contentType);
902
829
  // verify required parameter 'reimagineRequest' is not null or undefined
@@ -935,7 +862,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
935
862
  * @param {*} [options] Override http request option.
936
863
  * @throws {RequiredError}
937
864
  */
938
- removeBackground: (contentType_13, removeBackgroundRequest_1, ...args_24) => __awaiter(this, [contentType_13, removeBackgroundRequest_1, ...args_24], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
865
+ removeBackground: (contentType_12, removeBackgroundRequest_1, ...args_22) => __awaiter(this, [contentType_12, removeBackgroundRequest_1, ...args_22], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
939
866
  // verify required parameter 'contentType' is not null or undefined
940
867
  (0, common_1.assertParamExists)("removeBackground", "contentType", contentType);
941
868
  // verify required parameter 'removeBackgroundRequest' is not null or undefined
@@ -974,7 +901,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
974
901
  * @param {*} [options] Override http request option.
975
902
  * @throws {RequiredError}
976
903
  */
977
- setFilepaths: (contentType_14, setFilepathsRequest_1, ...args_25) => __awaiter(this, [contentType_14, setFilepathsRequest_1, ...args_25], void 0, function* (contentType, setFilepathsRequest, options = {}) {
904
+ setFilepaths: (contentType_13, setFilepathsRequest_1, ...args_23) => __awaiter(this, [contentType_13, setFilepathsRequest_1, ...args_23], void 0, function* (contentType, setFilepathsRequest, options = {}) {
978
905
  // verify required parameter 'contentType' is not null or undefined
979
906
  (0, common_1.assertParamExists)("setFilepaths", "contentType", contentType);
980
907
  // verify required parameter 'setFilepathsRequest' is not null or undefined
@@ -1013,7 +940,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1013
940
  * @param {*} [options] Override http request option.
1014
941
  * @throws {RequiredError}
1015
942
  */
1016
- styleTransfer: (contentType_15, styleTransferRequest_1, ...args_26) => __awaiter(this, [contentType_15, styleTransferRequest_1, ...args_26], void 0, function* (contentType, styleTransferRequest, options = {}) {
943
+ styleTransfer: (contentType_14, styleTransferRequest_1, ...args_24) => __awaiter(this, [contentType_14, styleTransferRequest_1, ...args_24], void 0, function* (contentType, styleTransferRequest, options = {}) {
1017
944
  // verify required parameter 'contentType' is not null or undefined
1018
945
  (0, common_1.assertParamExists)("styleTransfer", "contentType", contentType);
1019
946
  // verify required parameter 'styleTransferRequest' is not null or undefined
@@ -1051,7 +978,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1051
978
  * @param {*} [options] Override http request option.
1052
979
  * @throws {RequiredError}
1053
980
  */
1054
- textToImage: (textToImageRequest_1, ...args_27) => __awaiter(this, [textToImageRequest_1, ...args_27], void 0, function* (textToImageRequest, options = {}) {
981
+ textToImage: (textToImageRequest_1, ...args_25) => __awaiter(this, [textToImageRequest_1, ...args_25], void 0, function* (textToImageRequest, options = {}) {
1055
982
  // verify required parameter 'textToImageRequest' is not null or undefined
1056
983
  (0, common_1.assertParamExists)("textToImage", "textToImageRequest", textToImageRequest);
1057
984
  const localVarPath = `/v1/ai/ldm/queue`;
@@ -1086,7 +1013,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1086
1013
  * @param {*} [options] Override http request option.
1087
1014
  * @throws {RequiredError}
1088
1015
  */
1089
- updateCollection: (collectionUuid_2, contentType_16, updateCollectionRequest_1, ...args_28) => __awaiter(this, [collectionUuid_2, contentType_16, updateCollectionRequest_1, ...args_28], void 0, function* (collectionUuid, contentType, updateCollectionRequest, options = {}) {
1016
+ updateCollection: (collectionUuid_2, contentType_15, updateCollectionRequest_1, ...args_26) => __awaiter(this, [collectionUuid_2, contentType_15, updateCollectionRequest_1, ...args_26], void 0, function* (collectionUuid, contentType, updateCollectionRequest, options = {}) {
1090
1017
  // verify required parameter 'collectionUuid' is not null or undefined
1091
1018
  (0, common_1.assertParamExists)("updateCollection", "collectionUuid", collectionUuid);
1092
1019
  // verify required parameter 'contentType' is not null or undefined
@@ -1125,7 +1052,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1125
1052
  * @param {*} [options] Override http request option.
1126
1053
  * @throws {RequiredError}
1127
1054
  */
1128
- updateIpRights: (contentType_17, updateIpRightsRequest_1, ...args_29) => __awaiter(this, [contentType_17, updateIpRightsRequest_1, ...args_29], void 0, function* (contentType, updateIpRightsRequest, options = {}) {
1055
+ updateIpRights: (contentType_16, updateIpRightsRequest_1, ...args_27) => __awaiter(this, [contentType_16, updateIpRightsRequest_1, ...args_27], void 0, function* (contentType, updateIpRightsRequest, options = {}) {
1129
1056
  // verify required parameter 'contentType' is not null or undefined
1130
1057
  (0, common_1.assertParamExists)("updateIpRights", "contentType", contentType);
1131
1058
  // verify required parameter 'updateIpRightsRequest' is not null or undefined
@@ -1156,40 +1083,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
1156
1083
  options: localVarRequestOptions,
1157
1084
  };
1158
1085
  }),
1159
- /**
1160
- * Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB. The minimum height and width should be 400.
1161
- * @summary Upload images
1162
- * @param {string} contentType
1163
- * @param {*} [options] Override http request option.
1164
- * @throws {RequiredError}
1165
- */
1166
- uploadImages: (contentType_18, ...args_30) => __awaiter(this, [contentType_18, ...args_30], void 0, function* (contentType, options = {}) {
1167
- // verify required parameter 'contentType' is not null or undefined
1168
- (0, common_1.assertParamExists)("uploadImages", "contentType", contentType);
1169
- const localVarPath = `/v1/ai/ldm/upload-images`;
1170
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1171
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1172
- let baseOptions;
1173
- if (configuration) {
1174
- baseOptions = configuration.baseOptions;
1175
- }
1176
- const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1177
- const localVarHeaderParameter = {};
1178
- const localVarQueryParameter = {};
1179
- // authentication OAuth2 required
1180
- // oauth required
1181
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1182
- if (contentType != null) {
1183
- localVarHeaderParameter["Content-Type"] = String(contentType);
1184
- }
1185
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1186
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1187
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1188
- return {
1189
- url: (0, common_1.toPathString)(localVarUrlObj),
1190
- options: localVarRequestOptions,
1191
- };
1192
- }),
1193
1086
  /**
1194
1087
  * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
1195
1088
  * @summary Upscaling
@@ -1198,7 +1091,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1198
1091
  * @param {*} [options] Override http request option.
1199
1092
  * @throws {RequiredError}
1200
1093
  */
1201
- upscaleImage: (contentType_19, upscaleRequest_1, ...args_31) => __awaiter(this, [contentType_19, upscaleRequest_1, ...args_31], void 0, function* (contentType, upscaleRequest, options = {}) {
1094
+ upscaleImage: (contentType_17, upscaleRequest_1, ...args_28) => __awaiter(this, [contentType_17, upscaleRequest_1, ...args_28], void 0, function* (contentType, upscaleRequest, options = {}) {
1202
1095
  // verify required parameter 'contentType' is not null or undefined
1203
1096
  (0, common_1.assertParamExists)("upscaleImage", "contentType", contentType);
1204
1097
  // verify required parameter 'upscaleRequest' is not null or undefined
@@ -1236,7 +1129,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1236
1129
  * @param {*} [options] Override http request option.
1237
1130
  * @throws {RequiredError}
1238
1131
  */
1239
- v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...args_32) => __awaiter(this, [collectionUuid_3, ...args_32], void 0, function* (collectionUuid, options = {}) {
1132
+ v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...args_29) => __awaiter(this, [collectionUuid_3, ...args_29], void 0, function* (collectionUuid, options = {}) {
1240
1133
  // verify required parameter 'collectionUuid' is not null or undefined
1241
1134
  (0, common_1.assertParamExists)("v1AiArtistCollectionCollectionUuidGet", "collectionUuid", collectionUuid);
1242
1135
  const localVarPath = `/v1/ai/artist/collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
@@ -1268,7 +1161,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1268
1161
  * @param {*} [options] Override http request option.
1269
1162
  * @throws {RequiredError}
1270
1163
  */
1271
- v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_20, v1AiAudioLdmStemSplitPostRequest_1, ...args_33) => __awaiter(this, [contentType_20, v1AiAudioLdmStemSplitPostRequest_1, ...args_33], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1164
+ v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_18, v1AiAudioLdmStemSplitPostRequest_1, ...args_30) => __awaiter(this, [contentType_18, v1AiAudioLdmStemSplitPostRequest_1, ...args_30], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1272
1165
  // verify required parameter 'contentType' is not null or undefined
1273
1166
  (0, common_1.assertParamExists)("v1AiAudioLdmAccidentalInfringementCheckPost", "contentType", contentType);
1274
1167
  // verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
@@ -1307,7 +1200,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1307
1200
  * @param {*} [options] Override http request option.
1308
1201
  * @throws {RequiredError}
1309
1202
  */
1310
- v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_21, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_34) => __awaiter(this, [contentType_21, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options = {}) {
1203
+ v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_19, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_31) => __awaiter(this, [contentType_19, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_31], void 0, function* (contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options = {}) {
1311
1204
  // verify required parameter 'contentType' is not null or undefined
1312
1205
  (0, common_1.assertParamExists)("v1AiAudioLdmAiGeneratedAudioDetectionPost", "contentType", contentType);
1313
1206
  // verify required parameter 'v1AiAudioLdmAiGeneratedAudioDetectionPostRequest' is not null or undefined
@@ -1346,7 +1239,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1346
1239
  * @param {*} [options] Override http request option.
1347
1240
  * @throws {RequiredError}
1348
1241
  */
1349
- v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_22, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_35) => __awaiter(this, [contentType_22, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_35], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1242
+ v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_20, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_32) => __awaiter(this, [contentType_20, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_32], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1350
1243
  // verify required parameter 'contentType' is not null or undefined
1351
1244
  (0, common_1.assertParamExists)("v1AiAudioLdmAudioAttributionAnalysisPost", "contentType", contentType);
1352
1245
  // verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
@@ -1385,7 +1278,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1385
1278
  * @param {*} [options] Override http request option.
1386
1279
  * @throws {RequiredError}
1387
1280
  */
1388
- v1AiAudioLdmAudioAttributionSetupPost: (contentType_23, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_36) => __awaiter(this, [contentType_23, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_36], void 0, function* (contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options = {}) {
1281
+ v1AiAudioLdmAudioAttributionSetupPost: (contentType_21, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_33) => __awaiter(this, [contentType_21, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_33], void 0, function* (contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options = {}) {
1389
1282
  // verify required parameter 'contentType' is not null or undefined
1390
1283
  (0, common_1.assertParamExists)("v1AiAudioLdmAudioAttributionSetupPost", "contentType", contentType);
1391
1284
  // verify required parameter 'v1AiAudioLdmAudioAttributionSetupPostRequest' is not null or undefined
@@ -1424,7 +1317,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1424
1317
  * @param {*} [options] Override http request option.
1425
1318
  * @throws {RequiredError}
1426
1319
  */
1427
- v1AiAudioLdmAudioToAudioPost: (contentType_24, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_37) => __awaiter(this, [contentType_24, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_37], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
1320
+ v1AiAudioLdmAudioToAudioPost: (contentType_22, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_34) => __awaiter(this, [contentType_22, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
1428
1321
  // verify required parameter 'contentType' is not null or undefined
1429
1322
  (0, common_1.assertParamExists)("v1AiAudioLdmAudioToAudioPost", "contentType", contentType);
1430
1323
  // verify required parameter 'v1AiAudioLdmAudioToAudioPostRequest' is not null or undefined
@@ -1463,7 +1356,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1463
1356
  * @param {*} [options] Override http request option.
1464
1357
  * @throws {RequiredError}
1465
1358
  */
1466
- v1AiAudioLdmCalculateAudioAttributionPost: (contentType_25, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_38) => __awaiter(this, [contentType_25, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_38], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
1359
+ v1AiAudioLdmCalculateAudioAttributionPost: (contentType_23, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_35) => __awaiter(this, [contentType_23, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_35], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
1467
1360
  // verify required parameter 'contentType' is not null or undefined
1468
1361
  (0, common_1.assertParamExists)("v1AiAudioLdmCalculateAudioAttributionPost", "contentType", contentType);
1469
1362
  // verify required parameter 'v1AiAudioLdmCalculateAudioAttributionPostRequest' is not null or undefined
@@ -1501,7 +1394,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1501
1394
  * @param {*} [options] Override http request option.
1502
1395
  * @throws {RequiredError}
1503
1396
  */
1504
- v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...args_39) => __awaiter(this, [collectionUuid_4, ...args_39], void 0, function* (collectionUuid, options = {}) {
1397
+ v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...args_36) => __awaiter(this, [collectionUuid_4, ...args_36], void 0, function* (collectionUuid, options = {}) {
1505
1398
  const localVarPath = `/v1/ai/audio-ldm/external-ai-monitoring`;
1506
1399
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1507
1400
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1534,7 +1427,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1534
1427
  * @param {*} [options] Override http request option.
1535
1428
  * @throws {RequiredError}
1536
1429
  */
1537
- v1AiAudioLdmLyricsAnalysisPost: (contentType_26, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_40) => __awaiter(this, [contentType_26, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_40], void 0, function* (contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options = {}) {
1430
+ v1AiAudioLdmLyricsAnalysisPost: (contentType_24, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_37) => __awaiter(this, [contentType_24, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_37], void 0, function* (contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options = {}) {
1538
1431
  // verify required parameter 'contentType' is not null or undefined
1539
1432
  (0, common_1.assertParamExists)("v1AiAudioLdmLyricsAnalysisPost", "contentType", contentType);
1540
1433
  // verify required parameter 'v1AiAudioLdmLyricsAnalysisPostRequest' is not null or undefined
@@ -1573,7 +1466,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1573
1466
  * @param {*} [options] Override http request option.
1574
1467
  * @throws {RequiredError}
1575
1468
  */
1576
- v1AiAudioLdmOptOutAnalysisPost: (contentType_27, v1AiAudioLdmStemSplitPostRequest_2, ...args_41) => __awaiter(this, [contentType_27, v1AiAudioLdmStemSplitPostRequest_2, ...args_41], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1469
+ v1AiAudioLdmOptOutAnalysisPost: (contentType_25, v1AiAudioLdmStemSplitPostRequest_2, ...args_38) => __awaiter(this, [contentType_25, v1AiAudioLdmStemSplitPostRequest_2, ...args_38], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1577
1470
  // verify required parameter 'contentType' is not null or undefined
1578
1471
  (0, common_1.assertParamExists)("v1AiAudioLdmOptOutAnalysisPost", "contentType", contentType);
1579
1472
  // verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
@@ -1612,7 +1505,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1612
1505
  * @param {*} [options] Override http request option.
1613
1506
  * @throws {RequiredError}
1614
1507
  */
1615
- v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...args_42) => __awaiter(this, [requestId_3, topNAttributionResults_4, ...args_42], void 0, function* (requestId, topNAttributionResults, options = {}) {
1508
+ v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...args_39) => __awaiter(this, [requestId_3, topNAttributionResults_4, ...args_39], void 0, function* (requestId, topNAttributionResults, options = {}) {
1616
1509
  // verify required parameter 'requestId' is not null or undefined
1617
1510
  (0, common_1.assertParamExists)("v1AiAudioLdmRequestIdGet", "requestId", requestId);
1618
1511
  const localVarPath = `/v1/ai/audio-ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
@@ -1648,7 +1541,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1648
1541
  * @param {*} [options] Override http request option.
1649
1542
  * @throws {RequiredError}
1650
1543
  */
1651
- v1AiAudioLdmSimilarSongFinderPost: (contentType_28, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_43) => __awaiter(this, [contentType_28, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_43], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1544
+ v1AiAudioLdmSimilarSongFinderPost: (contentType_26, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_40) => __awaiter(this, [contentType_26, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_40], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1652
1545
  // verify required parameter 'contentType' is not null or undefined
1653
1546
  (0, common_1.assertParamExists)("v1AiAudioLdmSimilarSongFinderPost", "contentType", contentType);
1654
1547
  // verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
@@ -1687,7 +1580,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1687
1580
  * @param {*} [options] Override http request option.
1688
1581
  * @throws {RequiredError}
1689
1582
  */
1690
- v1AiAudioLdmSongAnalysisPost: (contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_44) => __awaiter(this, [contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_44], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1583
+ v1AiAudioLdmSongAnalysisPost: (contentType_27, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_41) => __awaiter(this, [contentType_27, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_41], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1691
1584
  // verify required parameter 'contentType' is not null or undefined
1692
1585
  (0, common_1.assertParamExists)("v1AiAudioLdmSongAnalysisPost", "contentType", contentType);
1693
1586
  // verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
@@ -1726,7 +1619,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1726
1619
  * @param {*} [options] Override http request option.
1727
1620
  * @throws {RequiredError}
1728
1621
  */
1729
- v1AiAudioLdmStemSplitPost: (contentType_30, v1AiAudioLdmStemSplitPostRequest_3, ...args_45) => __awaiter(this, [contentType_30, v1AiAudioLdmStemSplitPostRequest_3, ...args_45], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1622
+ v1AiAudioLdmStemSplitPost: (contentType_28, v1AiAudioLdmStemSplitPostRequest_3, ...args_42) => __awaiter(this, [contentType_28, v1AiAudioLdmStemSplitPostRequest_3, ...args_42], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1730
1623
  // verify required parameter 'contentType' is not null or undefined
1731
1624
  (0, common_1.assertParamExists)("v1AiAudioLdmStemSplitPost", "contentType", contentType);
1732
1625
  // verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
@@ -1765,7 +1658,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1765
1658
  * @param {*} [options] Override http request option.
1766
1659
  * @throws {RequiredError}
1767
1660
  */
1768
- v1AiAudioLdmTextToArtistAudioPost: (contentType_31, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_46) => __awaiter(this, [contentType_31, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_46], void 0, function* (contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options = {}) {
1661
+ v1AiAudioLdmTextToArtistAudioPost: (contentType_29, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_43) => __awaiter(this, [contentType_29, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_43], void 0, function* (contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options = {}) {
1769
1662
  // verify required parameter 'contentType' is not null or undefined
1770
1663
  (0, common_1.assertParamExists)("v1AiAudioLdmTextToArtistAudioPost", "contentType", contentType);
1771
1664
  // verify required parameter 'v1AiAudioLdmTextToArtistAudioPostRequest' is not null or undefined
@@ -1804,7 +1697,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1804
1697
  * @param {*} [options] Override http request option.
1805
1698
  * @throws {RequiredError}
1806
1699
  */
1807
- v1AiAudioLdmTextToAudioPost: (contentType_32, v1AiAudioLdmTextToAudioPostRequest_1, ...args_47) => __awaiter(this, [contentType_32, v1AiAudioLdmTextToAudioPostRequest_1, ...args_47], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
1700
+ v1AiAudioLdmTextToAudioPost: (contentType_30, v1AiAudioLdmTextToAudioPostRequest_1, ...args_44) => __awaiter(this, [contentType_30, v1AiAudioLdmTextToAudioPostRequest_1, ...args_44], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
1808
1701
  // verify required parameter 'contentType' is not null or undefined
1809
1702
  (0, common_1.assertParamExists)("v1AiAudioLdmTextToAudioPost", "contentType", contentType);
1810
1703
  // verify required parameter 'v1AiAudioLdmTextToAudioPostRequest' is not null or undefined
@@ -1835,40 +1728,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
1835
1728
  options: localVarRequestOptions,
1836
1729
  };
1837
1730
  }),
1838
- /**
1839
- * Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB.
1840
- * @summary Upload audios
1841
- * @param {string} contentType
1842
- * @param {*} [options] Override http request option.
1843
- * @throws {RequiredError}
1844
- */
1845
- v1AiAudioLdmUploadAudiosPost: (contentType_33, ...args_48) => __awaiter(this, [contentType_33, ...args_48], void 0, function* (contentType, options = {}) {
1846
- // verify required parameter 'contentType' is not null or undefined
1847
- (0, common_1.assertParamExists)("v1AiAudioLdmUploadAudiosPost", "contentType", contentType);
1848
- const localVarPath = `/v1/ai/audio-ldm/upload-audios`;
1849
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1850
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1851
- let baseOptions;
1852
- if (configuration) {
1853
- baseOptions = configuration.baseOptions;
1854
- }
1855
- const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1856
- const localVarHeaderParameter = {};
1857
- const localVarQueryParameter = {};
1858
- // authentication OAuth2 required
1859
- // oauth required
1860
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1861
- if (contentType != null) {
1862
- localVarHeaderParameter["Content-Type"] = String(contentType);
1863
- }
1864
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1865
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1866
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1867
- return {
1868
- url: (0, common_1.toPathString)(localVarUrlObj),
1869
- options: localVarRequestOptions,
1870
- };
1871
- }),
1872
1731
  /**
1873
1732
  * Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how similar the images are, independent of spatial shifts. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
1874
1733
  * @summary Attribution analysis
@@ -1877,7 +1736,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1877
1736
  * @param {*} [options] Override http request option.
1878
1737
  * @throws {RequiredError}
1879
1738
  */
1880
- v1AiLdmAttributionAnalysisPost: (contentType_34, v1AiLdmAttributionAnalysisPostRequest_1, ...args_49) => __awaiter(this, [contentType_34, v1AiLdmAttributionAnalysisPostRequest_1, ...args_49], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
1739
+ v1AiLdmAttributionAnalysisPost: (contentType_31, v1AiLdmAttributionAnalysisPostRequest_1, ...args_45) => __awaiter(this, [contentType_31, v1AiLdmAttributionAnalysisPostRequest_1, ...args_45], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
1881
1740
  // verify required parameter 'contentType' is not null or undefined
1882
1741
  (0, common_1.assertParamExists)("v1AiLdmAttributionAnalysisPost", "contentType", contentType);
1883
1742
  // verify required parameter 'v1AiLdmAttributionAnalysisPostRequest' is not null or undefined
@@ -1916,7 +1775,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1916
1775
  * @param {*} [options] Override http request option.
1917
1776
  * @throws {RequiredError}
1918
1777
  */
1919
- v1AiLdmCoverArtPost: (contentType_35, v1AiLdmCoverArtPostRequest_1, ...args_50) => __awaiter(this, [contentType_35, v1AiLdmCoverArtPostRequest_1, ...args_50], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
1778
+ v1AiLdmCoverArtPost: (contentType_32, v1AiLdmCoverArtPostRequest_1, ...args_46) => __awaiter(this, [contentType_32, v1AiLdmCoverArtPostRequest_1, ...args_46], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
1920
1779
  // verify required parameter 'contentType' is not null or undefined
1921
1780
  (0, common_1.assertParamExists)("v1AiLdmCoverArtPost", "contentType", contentType);
1922
1781
  // verify required parameter 'v1AiLdmCoverArtPostRequest' is not null or undefined
@@ -1955,7 +1814,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1955
1814
  * @param {*} [options] Override http request option.
1956
1815
  * @throws {RequiredError}
1957
1816
  */
1958
- v1AiLdmImageAttributionSetupPost: (contentType_36, v1AiLdmImageAttributionSetupPostRequest_1, ...args_51) => __awaiter(this, [contentType_36, v1AiLdmImageAttributionSetupPostRequest_1, ...args_51], void 0, function* (contentType, v1AiLdmImageAttributionSetupPostRequest, options = {}) {
1817
+ v1AiLdmImageAttributionSetupPost: (contentType_33, v1AiLdmImageAttributionSetupPostRequest_1, ...args_47) => __awaiter(this, [contentType_33, v1AiLdmImageAttributionSetupPostRequest_1, ...args_47], void 0, function* (contentType, v1AiLdmImageAttributionSetupPostRequest, options = {}) {
1959
1818
  // verify required parameter 'contentType' is not null or undefined
1960
1819
  (0, common_1.assertParamExists)("v1AiLdmImageAttributionSetupPost", "contentType", contentType);
1961
1820
  // verify required parameter 'v1AiLdmImageAttributionSetupPostRequest' is not null or undefined
@@ -2164,23 +2023,6 @@ const SureelApiFp = function (configuration) {
2164
2023
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2165
2024
  });
2166
2025
  },
2167
- /**
2168
- * Returns the signed url for the given filenames.
2169
- * @summary Generate signed URLs to put files to S3
2170
- * @param {GenerateSignedUrlsContentTypeEnum} contentType
2171
- * @param {UploadUrlRequest} uploadUrlRequest
2172
- * @param {*} [options] Override http request option.
2173
- * @throws {RequiredError}
2174
- */
2175
- generateSignedUrls(contentType, uploadUrlRequest, options) {
2176
- return __awaiter(this, void 0, void 0, function* () {
2177
- var _a, _b, _c;
2178
- const localVarAxiosArgs = yield localVarAxiosParamCreator.generateSignedUrls(contentType, uploadUrlRequest, options);
2179
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2180
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.generateSignedUrls"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2181
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2182
- });
2183
- },
2184
2026
  /**
2185
2027
  * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
2186
2028
  * @summary Get all artists
@@ -2323,22 +2165,6 @@ const SureelApiFp = function (configuration) {
2323
2165
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2324
2166
  });
2325
2167
  },
2326
- /**
2327
- * Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
2328
- * @summary Get signed URLs of previously uploaded files
2329
- * @param {Array<string>} keys The S3 key of the file retrieved from the &#x60;/generate-upload-urls&#x60; endpoint. Multiple keys can be added to the query string simultaneouly like this: &#x60;/get-uploaded-files?keys&#x3D;key1.mp3&amp;keys&#x3D;key2.mp3&#x60;
2330
- * @param {*} [options] Override http request option.
2331
- * @throws {RequiredError}
2332
- */
2333
- getUploadedFiles(keys, options) {
2334
- return __awaiter(this, void 0, void 0, function* () {
2335
- var _a, _b, _c;
2336
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUploadedFiles(keys, options);
2337
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2338
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getUploadedFiles"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2339
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2340
- });
2341
- },
2342
2168
  /**
2343
2169
  * Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
2344
2170
  * @summary Image blending
@@ -2492,22 +2318,6 @@ const SureelApiFp = function (configuration) {
2492
2318
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2493
2319
  });
2494
2320
  },
2495
- /**
2496
- * Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB. The minimum height and width should be 400.
2497
- * @summary Upload images
2498
- * @param {string} contentType
2499
- * @param {*} [options] Override http request option.
2500
- * @throws {RequiredError}
2501
- */
2502
- uploadImages(contentType, options) {
2503
- return __awaiter(this, void 0, void 0, function* () {
2504
- var _a, _b, _c;
2505
- const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadImages(contentType, options);
2506
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2507
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.uploadImages"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2508
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2509
- });
2510
- },
2511
2321
  /**
2512
2322
  * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
2513
2323
  * @summary Upscaling
@@ -2795,22 +2605,6 @@ const SureelApiFp = function (configuration) {
2795
2605
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2796
2606
  });
2797
2607
  },
2798
- /**
2799
- * Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB.
2800
- * @summary Upload audios
2801
- * @param {string} contentType
2802
- * @param {*} [options] Override http request option.
2803
- * @throws {RequiredError}
2804
- */
2805
- v1AiAudioLdmUploadAudiosPost(contentType, options) {
2806
- return __awaiter(this, void 0, void 0, function* () {
2807
- var _a, _b, _c;
2808
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmUploadAudiosPost(contentType, options);
2809
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2810
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmUploadAudiosPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2811
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2812
- });
2813
- },
2814
2608
  /**
2815
2609
  * Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how similar the images are, independent of spatial shifts. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
2816
2610
  * @summary Attribution analysis
@@ -3000,19 +2794,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
3000
2794
  .generatePreview(contentType, generatePreviewRequest, options)
3001
2795
  .then((request) => request(axios, basePath));
3002
2796
  },
3003
- /**
3004
- * Returns the signed url for the given filenames.
3005
- * @summary Generate signed URLs to put files to S3
3006
- * @param {GenerateSignedUrlsContentTypeEnum} contentType
3007
- * @param {UploadUrlRequest} uploadUrlRequest
3008
- * @param {*} [options] Override http request option.
3009
- * @throws {RequiredError}
3010
- */
3011
- generateSignedUrls(contentType, uploadUrlRequest, options) {
3012
- return localVarFp
3013
- .generateSignedUrls(contentType, uploadUrlRequest, options)
3014
- .then((request) => request(axios, basePath));
3015
- },
3016
2797
  /**
3017
2798
  * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
3018
2799
  * @summary Get all artists
@@ -3123,18 +2904,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
3123
2904
  .getStylePresets(options)
3124
2905
  .then((request) => request(axios, basePath));
3125
2906
  },
3126
- /**
3127
- * Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
3128
- * @summary Get signed URLs of previously uploaded files
3129
- * @param {Array<string>} keys The S3 key of the file retrieved from the &#x60;/generate-upload-urls&#x60; endpoint. Multiple keys can be added to the query string simultaneouly like this: &#x60;/get-uploaded-files?keys&#x3D;key1.mp3&amp;keys&#x3D;key2.mp3&#x60;
3130
- * @param {*} [options] Override http request option.
3131
- * @throws {RequiredError}
3132
- */
3133
- getUploadedFiles(keys, options) {
3134
- return localVarFp
3135
- .getUploadedFiles(keys, options)
3136
- .then((request) => request(axios, basePath));
3137
- },
3138
2907
  /**
3139
2908
  * Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
3140
2909
  * @summary Image blending
@@ -3252,18 +3021,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
3252
3021
  .updateIpRights(contentType, updateIpRightsRequest, options)
3253
3022
  .then((request) => request(axios, basePath));
3254
3023
  },
3255
- /**
3256
- * Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB. The minimum height and width should be 400.
3257
- * @summary Upload images
3258
- * @param {string} contentType
3259
- * @param {*} [options] Override http request option.
3260
- * @throws {RequiredError}
3261
- */
3262
- uploadImages(contentType, options) {
3263
- return localVarFp
3264
- .uploadImages(contentType, options)
3265
- .then((request) => request(axios, basePath));
3266
- },
3267
3024
  /**
3268
3025
  * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
3269
3026
  * @summary Upscaling
@@ -3483,18 +3240,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
3483
3240
  .v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
3484
3241
  .then((request) => request(axios, basePath));
3485
3242
  },
3486
- /**
3487
- * Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB.
3488
- * @summary Upload audios
3489
- * @param {string} contentType
3490
- * @param {*} [options] Override http request option.
3491
- * @throws {RequiredError}
3492
- */
3493
- v1AiAudioLdmUploadAudiosPost(contentType, options) {
3494
- return localVarFp
3495
- .v1AiAudioLdmUploadAudiosPost(contentType, options)
3496
- .then((request) => request(axios, basePath));
3497
- },
3498
3243
  /**
3499
3244
  * Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how similar the images are, independent of spatial shifts. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
3500
3245
  * @summary Attribution analysis
@@ -3682,20 +3427,6 @@ class SureelApi extends base_1.BaseAPI {
3682
3427
  .generatePreview(contentType, generatePreviewRequest, options)
3683
3428
  .then((request) => request(this.axios, this.basePath));
3684
3429
  }
3685
- /**
3686
- * Returns the signed url for the given filenames.
3687
- * @summary Generate signed URLs to put files to S3
3688
- * @param {GenerateSignedUrlsContentTypeEnum} contentType
3689
- * @param {UploadUrlRequest} uploadUrlRequest
3690
- * @param {*} [options] Override http request option.
3691
- * @throws {RequiredError}
3692
- * @memberof SureelApi
3693
- */
3694
- generateSignedUrls(contentType, uploadUrlRequest, options) {
3695
- return (0, exports.SureelApiFp)(this.configuration)
3696
- .generateSignedUrls(contentType, uploadUrlRequest, options)
3697
- .then((request) => request(this.axios, this.basePath));
3698
- }
3699
3430
  /**
3700
3431
  * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
3701
3432
  * @summary Get all artists
@@ -3814,19 +3545,6 @@ class SureelApi extends base_1.BaseAPI {
3814
3545
  .getStylePresets(options)
3815
3546
  .then((request) => request(this.axios, this.basePath));
3816
3547
  }
3817
- /**
3818
- * Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
3819
- * @summary Get signed URLs of previously uploaded files
3820
- * @param {Array<string>} keys The S3 key of the file retrieved from the &#x60;/generate-upload-urls&#x60; endpoint. Multiple keys can be added to the query string simultaneouly like this: &#x60;/get-uploaded-files?keys&#x3D;key1.mp3&amp;keys&#x3D;key2.mp3&#x60;
3821
- * @param {*} [options] Override http request option.
3822
- * @throws {RequiredError}
3823
- * @memberof SureelApi
3824
- */
3825
- getUploadedFiles(keys, options) {
3826
- return (0, exports.SureelApiFp)(this.configuration)
3827
- .getUploadedFiles(keys, options)
3828
- .then((request) => request(this.axios, this.basePath));
3829
- }
3830
3548
  /**
3831
3549
  * Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
3832
3550
  * @summary Image blending
@@ -3953,19 +3671,6 @@ class SureelApi extends base_1.BaseAPI {
3953
3671
  .updateIpRights(contentType, updateIpRightsRequest, options)
3954
3672
  .then((request) => request(this.axios, this.basePath));
3955
3673
  }
3956
- /**
3957
- * Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB. The minimum height and width should be 400.
3958
- * @summary Upload images
3959
- * @param {string} contentType
3960
- * @param {*} [options] Override http request option.
3961
- * @throws {RequiredError}
3962
- * @memberof SureelApi
3963
- */
3964
- uploadImages(contentType, options) {
3965
- return (0, exports.SureelApiFp)(this.configuration)
3966
- .uploadImages(contentType, options)
3967
- .then((request) => request(this.axios, this.basePath));
3968
- }
3969
3674
  /**
3970
3675
  * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
3971
3676
  * @summary Upscaling
@@ -4202,19 +3907,6 @@ class SureelApi extends base_1.BaseAPI {
4202
3907
  .v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
4203
3908
  .then((request) => request(this.axios, this.basePath));
4204
3909
  }
4205
- /**
4206
- * Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB.
4207
- * @summary Upload audios
4208
- * @param {string} contentType
4209
- * @param {*} [options] Override http request option.
4210
- * @throws {RequiredError}
4211
- * @memberof SureelApi
4212
- */
4213
- v1AiAudioLdmUploadAudiosPost(contentType, options) {
4214
- return (0, exports.SureelApiFp)(this.configuration)
4215
- .v1AiAudioLdmUploadAudiosPost(contentType, options)
4216
- .then((request) => request(this.axios, this.basePath));
4217
- }
4218
3910
  /**
4219
3911
  * Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how similar the images are, independent of spatial shifts. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
4220
3912
  * @summary Attribution analysis
@@ -4307,12 +3999,6 @@ exports.FinetuneModelContentTypeEnum = {
4307
3999
  exports.GeneratePreviewContentTypeEnum = {
4308
4000
  ApplicationJson: "application/json",
4309
4001
  };
4310
- /**
4311
- * @export
4312
- */
4313
- exports.GenerateSignedUrlsContentTypeEnum = {
4314
- ApplicationJson: "application/json",
4315
- };
4316
4002
  /**
4317
4003
  * @export
4318
4004
  */