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

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 (77) hide show
  1. package/api/sureel-api.d.ts +267 -0
  2. package/api/sureel-api.d.ts.map +1 -1
  3. package/api/sureel-api.js +473 -38
  4. package/api/sureel-api.js.map +1 -1
  5. package/esm/api/sureel-api.d.ts +267 -0
  6. package/esm/api/sureel-api.d.ts.map +1 -1
  7. package/esm/api/sureel-api.js +472 -37
  8. package/esm/api/sureel-api.js.map +1 -1
  9. package/esm/models/analysis-history-entry.d.ts +3 -3
  10. package/esm/models/analysis-history-entry.d.ts.map +1 -1
  11. package/esm/models/artist-collections-inner.d.ts +3 -3
  12. package/esm/models/artist-collections-inner.d.ts.map +1 -1
  13. package/esm/models/index.d.ts +10 -2
  14. package/esm/models/index.d.ts.map +1 -1
  15. package/esm/models/index.js +10 -2
  16. package/esm/models/index.js.map +1 -1
  17. package/esm/models/prompt-history-entry.d.ts +3 -3
  18. package/esm/models/prompt-history-entry.d.ts.map +1 -1
  19. package/esm/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.d.ts +67 -0
  20. package/esm/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.d.ts.map +1 -0
  21. package/esm/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.js +15 -0
  22. package/esm/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.js.map +1 -0
  23. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.d.ts +31 -0
  24. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.d.ts.map +1 -0
  25. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.js +15 -0
  26. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.js.map +1 -0
  27. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.d.ts +44 -0
  28. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.d.ts.map +1 -0
  29. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.js +15 -0
  30. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.js.map +1 -0
  31. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.d.ts +44 -0
  32. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.d.ts.map +1 -0
  33. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.js +15 -0
  34. package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.js.map +1 -0
  35. package/esm/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts +3 -3
  36. package/esm/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts.map +1 -1
  37. package/esm/models/v1-ai-audio-ldm-request-id-get200-response.d.ts +3 -3
  38. package/esm/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -1
  39. package/esm/models/v1-ai-files-upload-files-post200-response.d.ts +25 -0
  40. package/esm/models/v1-ai-files-upload-files-post200-response.d.ts.map +1 -0
  41. package/esm/models/v1-ai-files-upload-files-post200-response.js +15 -0
  42. package/esm/models/v1-ai-files-upload-files-post200-response.js.map +1 -0
  43. package/models/analysis-history-entry.d.ts +3 -3
  44. package/models/analysis-history-entry.d.ts.map +1 -1
  45. package/models/artist-collections-inner.d.ts +3 -3
  46. package/models/artist-collections-inner.d.ts.map +1 -1
  47. package/models/index.d.ts +10 -2
  48. package/models/index.d.ts.map +1 -1
  49. package/models/index.js +10 -2
  50. package/models/index.js.map +1 -1
  51. package/models/prompt-history-entry.d.ts +3 -3
  52. package/models/prompt-history-entry.d.ts.map +1 -1
  53. package/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.d.ts +67 -0
  54. package/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.d.ts.map +1 -0
  55. package/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.js +16 -0
  56. package/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.js.map +1 -0
  57. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.d.ts +31 -0
  58. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.d.ts.map +1 -0
  59. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.js +16 -0
  60. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.js.map +1 -0
  61. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.d.ts +44 -0
  62. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.d.ts.map +1 -0
  63. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.js +16 -0
  64. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.js.map +1 -0
  65. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.d.ts +44 -0
  66. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.d.ts.map +1 -0
  67. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.js +16 -0
  68. package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.js.map +1 -0
  69. package/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts +3 -3
  70. package/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts.map +1 -1
  71. package/models/v1-ai-audio-ldm-request-id-get200-response.d.ts +3 -3
  72. package/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -1
  73. package/models/v1-ai-files-upload-files-post200-response.d.ts +25 -0
  74. package/models/v1-ai-files-upload-files-post200-response.d.ts.map +1 -0
  75. package/models/v1-ai-files-upload-files-post200-response.js +16 -0
  76. package/models/v1-ai-files-upload-files-post200-response.js.map +1 -0
  77. package/package.json +1 -1
@@ -406,6 +406,45 @@ export const SureelApiAxiosParamCreator = function (configuration) {
406
406
  options: localVarRequestOptions,
407
407
  };
408
408
  }),
409
+ /**
410
+ * Returns the signed url for the given filenames.
411
+ * @summary Generate signed URLs to put files to S3
412
+ * @param {GenerateSignedUrlsContentTypeEnum} contentType
413
+ * @param {UploadUrlRequest} uploadUrlRequest
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ */
417
+ generateSignedUrls: (contentType_9, uploadUrlRequest_1, ...args_11) => __awaiter(this, [contentType_9, uploadUrlRequest_1, ...args_11], void 0, function* (contentType, uploadUrlRequest, options = {}) {
418
+ // verify required parameter 'contentType' is not null or undefined
419
+ assertParamExists("generateSignedUrls", "contentType", contentType);
420
+ // verify required parameter 'uploadUrlRequest' is not null or undefined
421
+ assertParamExists("generateSignedUrls", "uploadUrlRequest", uploadUrlRequest);
422
+ const localVarPath = `/v1/ai/files/generate-upload-urls`;
423
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
424
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
425
+ let baseOptions;
426
+ if (configuration) {
427
+ baseOptions = configuration.baseOptions;
428
+ }
429
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
430
+ const localVarHeaderParameter = {};
431
+ const localVarQueryParameter = {};
432
+ // authentication OAuth2 required
433
+ // oauth required
434
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
435
+ localVarHeaderParameter["Content-Type"] = "application/json";
436
+ if (contentType != null) {
437
+ localVarHeaderParameter["Content-Type"] = String(contentType);
438
+ }
439
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
440
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
441
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
442
+ localVarRequestOptions.data = serializeDataIfNeeded(uploadUrlRequest, localVarRequestOptions, configuration);
443
+ return {
444
+ url: toPathString(localVarUrlObj),
445
+ options: localVarRequestOptions,
446
+ };
447
+ }),
409
448
  /**
410
449
  * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
411
450
  * @summary Get all artists
@@ -415,7 +454,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
415
454
  * @param {*} [options] Override http request option.
416
455
  * @throws {RequiredError}
417
456
  */
418
- 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 = {}) {
457
+ 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 = {}) {
419
458
  // verify required parameter 'includeArtworks' is not null or undefined
420
459
  assertParamExists("getAllArtists", "includeArtworks", includeArtworks);
421
460
  const localVarPath = `/v1/ai/artist/`;
@@ -457,7 +496,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
457
496
  * @param {*} [options] Override http request option.
458
497
  * @throws {RequiredError}
459
498
  */
460
- 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 = {}) {
499
+ 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 = {}) {
461
500
  // verify required parameter 'take' is not null or undefined
462
501
  assertParamExists("getAnalysisHistory", "take", take);
463
502
  const localVarPath = `/v1/ai/analysis-history/`;
@@ -504,7 +543,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
504
543
  * @param {*} [options] Override http request option.
505
544
  * @throws {RequiredError}
506
545
  */
507
- 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 = {}) {
546
+ 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 = {}) {
508
547
  // verify required parameter 'includeArtworks' is not null or undefined
509
548
  assertParamExists("getArtistByUsername", "includeArtworks", includeArtworks);
510
549
  // verify required parameter 'username' is not null or undefined
@@ -546,7 +585,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
546
585
  * @param {*} [options] Override http request option.
547
586
  * @throws {RequiredError}
548
587
  */
549
- getOptedOutCollections: (take_2, cursor_2, ...args_14) => __awaiter(this, [take_2, cursor_2, ...args_14], void 0, function* (take, cursor, options = {}) {
588
+ getOptedOutCollections: (take_2, cursor_2, ...args_15) => __awaiter(this, [take_2, cursor_2, ...args_15], void 0, function* (take, cursor, options = {}) {
550
589
  // verify required parameter 'take' is not null or undefined
551
590
  assertParamExists("getOptedOutCollections", "take", take);
552
591
  const localVarPath = `/v1/ai/artist/collections/opted-out`;
@@ -585,7 +624,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
585
624
  * @param {*} [options] Override http request option.
586
625
  * @throws {RequiredError}
587
626
  */
588
- 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 = {}) {
627
+ 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 = {}) {
589
628
  // verify required parameter 'includeArtworks' is not null or undefined
590
629
  assertParamExists("getOwnCollections", "includeArtworks", includeArtworks);
591
630
  const localVarPath = `/v1/ai/artist/collections`;
@@ -630,7 +669,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
630
669
  * @param {*} [options] Override http request option.
631
670
  * @throws {RequiredError}
632
671
  */
633
- 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 = {}) {
672
+ 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 = {}) {
634
673
  // verify required parameter 'take' is not null or undefined
635
674
  assertParamExists("getPromptHistory", "take", take);
636
675
  const localVarPath = `/v1/ai/prompt-history/`;
@@ -675,7 +714,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
675
714
  * @param {*} [options] Override http request option.
676
715
  * @throws {RequiredError}
677
716
  */
678
- getResultByRequestId: (requestId_2, topNAttributionResults_3, ...args_17) => __awaiter(this, [requestId_2, topNAttributionResults_3, ...args_17], void 0, function* (requestId, topNAttributionResults, options = {}) {
717
+ getResultByRequestId: (requestId_2, topNAttributionResults_3, ...args_18) => __awaiter(this, [requestId_2, topNAttributionResults_3, ...args_18], void 0, function* (requestId, topNAttributionResults, options = {}) {
679
718
  // verify required parameter 'requestId' is not null or undefined
680
719
  assertParamExists("getResultByRequestId", "requestId", requestId);
681
720
  const localVarPath = `/v1/ai/ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
@@ -709,7 +748,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
709
748
  * @param {*} [options] Override http request option.
710
749
  * @throws {RequiredError}
711
750
  */
712
- getStylePresets: (...args_18) => __awaiter(this, [...args_18], void 0, function* (options = {}) {
751
+ getStylePresets: (...args_19) => __awaiter(this, [...args_19], void 0, function* (options = {}) {
713
752
  const localVarPath = `/v1/ai/ldm/style-presets`;
714
753
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
715
754
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -731,6 +770,40 @@ export const SureelApiAxiosParamCreator = function (configuration) {
731
770
  options: localVarRequestOptions,
732
771
  };
733
772
  }),
773
+ /**
774
+ * Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
775
+ * @summary Get signed URLs of previously uploaded files
776
+ * @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;
777
+ * @param {*} [options] Override http request option.
778
+ * @throws {RequiredError}
779
+ */
780
+ getUploadedFiles: (keys_1, ...args_20) => __awaiter(this, [keys_1, ...args_20], void 0, function* (keys, options = {}) {
781
+ // verify required parameter 'keys' is not null or undefined
782
+ assertParamExists("getUploadedFiles", "keys", keys);
783
+ const localVarPath = `/v1/ai/files/get-uploaded-files`;
784
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
785
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
786
+ let baseOptions;
787
+ if (configuration) {
788
+ baseOptions = configuration.baseOptions;
789
+ }
790
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
791
+ const localVarHeaderParameter = {};
792
+ const localVarQueryParameter = {};
793
+ // authentication OAuth2 required
794
+ // oauth required
795
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
796
+ if (keys) {
797
+ localVarQueryParameter["keys"] = keys;
798
+ }
799
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
800
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
801
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
802
+ return {
803
+ url: toPathString(localVarUrlObj),
804
+ options: localVarRequestOptions,
805
+ };
806
+ }),
734
807
  /**
735
808
  * 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.
736
809
  * @summary Image blending
@@ -739,7 +812,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
739
812
  * @param {*} [options] Override http request option.
740
813
  * @throws {RequiredError}
741
814
  */
742
- imageBlending: (contentType_9, imageBlendingRequest_1, ...args_19) => __awaiter(this, [contentType_9, imageBlendingRequest_1, ...args_19], void 0, function* (contentType, imageBlendingRequest, options = {}) {
815
+ imageBlending: (contentType_10, imageBlendingRequest_1, ...args_21) => __awaiter(this, [contentType_10, imageBlendingRequest_1, ...args_21], void 0, function* (contentType, imageBlendingRequest, options = {}) {
743
816
  // verify required parameter 'contentType' is not null or undefined
744
817
  assertParamExists("imageBlending", "contentType", contentType);
745
818
  // verify required parameter 'imageBlendingRequest' is not null or undefined
@@ -778,7 +851,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
778
851
  * @param {*} [options] Override http request option.
779
852
  * @throws {RequiredError}
780
853
  */
781
- inpaint: (contentType_10, inpaintRequest_1, ...args_20) => __awaiter(this, [contentType_10, inpaintRequest_1, ...args_20], void 0, function* (contentType, inpaintRequest, options = {}) {
854
+ inpaint: (contentType_11, inpaintRequest_1, ...args_22) => __awaiter(this, [contentType_11, inpaintRequest_1, ...args_22], void 0, function* (contentType, inpaintRequest, options = {}) {
782
855
  // verify required parameter 'contentType' is not null or undefined
783
856
  assertParamExists("inpaint", "contentType", contentType);
784
857
  // verify required parameter 'inpaintRequest' is not null or undefined
@@ -817,7 +890,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
817
890
  * @param {*} [options] Override http request option.
818
891
  * @throws {RequiredError}
819
892
  */
820
- reimagine: (contentType_11, reimagineRequest_1, ...args_21) => __awaiter(this, [contentType_11, reimagineRequest_1, ...args_21], void 0, function* (contentType, reimagineRequest, options = {}) {
893
+ reimagine: (contentType_12, reimagineRequest_1, ...args_23) => __awaiter(this, [contentType_12, reimagineRequest_1, ...args_23], void 0, function* (contentType, reimagineRequest, options = {}) {
821
894
  // verify required parameter 'contentType' is not null or undefined
822
895
  assertParamExists("reimagine", "contentType", contentType);
823
896
  // verify required parameter 'reimagineRequest' is not null or undefined
@@ -856,7 +929,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
856
929
  * @param {*} [options] Override http request option.
857
930
  * @throws {RequiredError}
858
931
  */
859
- removeBackground: (contentType_12, removeBackgroundRequest_1, ...args_22) => __awaiter(this, [contentType_12, removeBackgroundRequest_1, ...args_22], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
932
+ removeBackground: (contentType_13, removeBackgroundRequest_1, ...args_24) => __awaiter(this, [contentType_13, removeBackgroundRequest_1, ...args_24], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
860
933
  // verify required parameter 'contentType' is not null or undefined
861
934
  assertParamExists("removeBackground", "contentType", contentType);
862
935
  // verify required parameter 'removeBackgroundRequest' is not null or undefined
@@ -895,7 +968,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
895
968
  * @param {*} [options] Override http request option.
896
969
  * @throws {RequiredError}
897
970
  */
898
- setFilepaths: (contentType_13, setFilepathsRequest_1, ...args_23) => __awaiter(this, [contentType_13, setFilepathsRequest_1, ...args_23], void 0, function* (contentType, setFilepathsRequest, options = {}) {
971
+ setFilepaths: (contentType_14, setFilepathsRequest_1, ...args_25) => __awaiter(this, [contentType_14, setFilepathsRequest_1, ...args_25], void 0, function* (contentType, setFilepathsRequest, options = {}) {
899
972
  // verify required parameter 'contentType' is not null or undefined
900
973
  assertParamExists("setFilepaths", "contentType", contentType);
901
974
  // verify required parameter 'setFilepathsRequest' is not null or undefined
@@ -934,7 +1007,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
934
1007
  * @param {*} [options] Override http request option.
935
1008
  * @throws {RequiredError}
936
1009
  */
937
- styleTransfer: (contentType_14, styleTransferRequest_1, ...args_24) => __awaiter(this, [contentType_14, styleTransferRequest_1, ...args_24], void 0, function* (contentType, styleTransferRequest, options = {}) {
1010
+ styleTransfer: (contentType_15, styleTransferRequest_1, ...args_26) => __awaiter(this, [contentType_15, styleTransferRequest_1, ...args_26], void 0, function* (contentType, styleTransferRequest, options = {}) {
938
1011
  // verify required parameter 'contentType' is not null or undefined
939
1012
  assertParamExists("styleTransfer", "contentType", contentType);
940
1013
  // verify required parameter 'styleTransferRequest' is not null or undefined
@@ -972,7 +1045,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
972
1045
  * @param {*} [options] Override http request option.
973
1046
  * @throws {RequiredError}
974
1047
  */
975
- textToImage: (textToImageRequest_1, ...args_25) => __awaiter(this, [textToImageRequest_1, ...args_25], void 0, function* (textToImageRequest, options = {}) {
1048
+ textToImage: (textToImageRequest_1, ...args_27) => __awaiter(this, [textToImageRequest_1, ...args_27], void 0, function* (textToImageRequest, options = {}) {
976
1049
  // verify required parameter 'textToImageRequest' is not null or undefined
977
1050
  assertParamExists("textToImage", "textToImageRequest", textToImageRequest);
978
1051
  const localVarPath = `/v1/ai/ldm/queue`;
@@ -1007,7 +1080,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1007
1080
  * @param {*} [options] Override http request option.
1008
1081
  * @throws {RequiredError}
1009
1082
  */
1010
- 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 = {}) {
1083
+ 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 = {}) {
1011
1084
  // verify required parameter 'collectionUuid' is not null or undefined
1012
1085
  assertParamExists("updateCollection", "collectionUuid", collectionUuid);
1013
1086
  // verify required parameter 'contentType' is not null or undefined
@@ -1046,7 +1119,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1046
1119
  * @param {*} [options] Override http request option.
1047
1120
  * @throws {RequiredError}
1048
1121
  */
1049
- updateIpRights: (contentType_16, updateIpRightsRequest_1, ...args_27) => __awaiter(this, [contentType_16, updateIpRightsRequest_1, ...args_27], void 0, function* (contentType, updateIpRightsRequest, options = {}) {
1122
+ updateIpRights: (contentType_17, updateIpRightsRequest_1, ...args_29) => __awaiter(this, [contentType_17, updateIpRightsRequest_1, ...args_29], void 0, function* (contentType, updateIpRightsRequest, options = {}) {
1050
1123
  // verify required parameter 'contentType' is not null or undefined
1051
1124
  assertParamExists("updateIpRights", "contentType", contentType);
1052
1125
  // verify required parameter 'updateIpRightsRequest' is not null or undefined
@@ -1085,7 +1158,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1085
1158
  * @param {*} [options] Override http request option.
1086
1159
  * @throws {RequiredError}
1087
1160
  */
1088
- upscaleImage: (contentType_17, upscaleRequest_1, ...args_28) => __awaiter(this, [contentType_17, upscaleRequest_1, ...args_28], void 0, function* (contentType, upscaleRequest, options = {}) {
1161
+ upscaleImage: (contentType_18, upscaleRequest_1, ...args_30) => __awaiter(this, [contentType_18, upscaleRequest_1, ...args_30], void 0, function* (contentType, upscaleRequest, options = {}) {
1089
1162
  // verify required parameter 'contentType' is not null or undefined
1090
1163
  assertParamExists("upscaleImage", "contentType", contentType);
1091
1164
  // verify required parameter 'upscaleRequest' is not null or undefined
@@ -1116,6 +1189,84 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1116
1189
  options: localVarRequestOptions,
1117
1190
  };
1118
1191
  }),
1192
+ /**
1193
+ * Track inference artifacts for audio AI models.
1194
+ * @summary Track inference artifacts
1195
+ * @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum} contentType
1196
+ * @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest} v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest
1197
+ * @param {*} [options] Override http request option.
1198
+ * @throws {RequiredError}
1199
+ */
1200
+ v1AiAiModelArtifactsTrackAiInferenceArtifactsPost: (contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...args_31) => __awaiter(this, [contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...args_31], void 0, function* (contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options = {}) {
1201
+ // verify required parameter 'contentType' is not null or undefined
1202
+ assertParamExists("v1AiAiModelArtifactsTrackAiInferenceArtifactsPost", "contentType", contentType);
1203
+ // verify required parameter 'v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest' is not null or undefined
1204
+ assertParamExists("v1AiAiModelArtifactsTrackAiInferenceArtifactsPost", "v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest", v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest);
1205
+ const localVarPath = `/v1/ai/ai-model-artifacts/track-ai-inference-artifacts`;
1206
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1207
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1208
+ let baseOptions;
1209
+ if (configuration) {
1210
+ baseOptions = configuration.baseOptions;
1211
+ }
1212
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1213
+ const localVarHeaderParameter = {};
1214
+ const localVarQueryParameter = {};
1215
+ // authentication OAuth2 required
1216
+ // oauth required
1217
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1218
+ localVarHeaderParameter["Content-Type"] = "application/json";
1219
+ if (contentType != null) {
1220
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1221
+ }
1222
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1223
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1224
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1225
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, localVarRequestOptions, configuration);
1226
+ return {
1227
+ url: toPathString(localVarUrlObj),
1228
+ options: localVarRequestOptions,
1229
+ };
1230
+ }),
1231
+ /**
1232
+ * Track training artifacts for audio AI models.
1233
+ * @summary Track training artifacts
1234
+ * @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum} contentType
1235
+ * @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest} v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest
1236
+ * @param {*} [options] Override http request option.
1237
+ * @throws {RequiredError}
1238
+ */
1239
+ v1AiAiModelArtifactsTrackAiTrainingArtifactsPost: (contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...args_32) => __awaiter(this, [contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...args_32], void 0, function* (contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options = {}) {
1240
+ // verify required parameter 'contentType' is not null or undefined
1241
+ assertParamExists("v1AiAiModelArtifactsTrackAiTrainingArtifactsPost", "contentType", contentType);
1242
+ // verify required parameter 'v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest' is not null or undefined
1243
+ assertParamExists("v1AiAiModelArtifactsTrackAiTrainingArtifactsPost", "v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest", v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest);
1244
+ const localVarPath = `/v1/ai/ai-model-artifacts/track-ai-training-artifacts`;
1245
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1246
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1247
+ let baseOptions;
1248
+ if (configuration) {
1249
+ baseOptions = configuration.baseOptions;
1250
+ }
1251
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1252
+ const localVarHeaderParameter = {};
1253
+ const localVarQueryParameter = {};
1254
+ // authentication OAuth2 required
1255
+ // oauth required
1256
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1257
+ localVarHeaderParameter["Content-Type"] = "application/json";
1258
+ if (contentType != null) {
1259
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1260
+ }
1261
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1262
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1263
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1264
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, localVarRequestOptions, configuration);
1265
+ return {
1266
+ url: toPathString(localVarUrlObj),
1267
+ options: localVarRequestOptions,
1268
+ };
1269
+ }),
1119
1270
  /**
1120
1271
  * Retrieve a collection including lyrics and stems if already extracted.
1121
1272
  * @summary Get collection (with lyrics and stems)
@@ -1123,7 +1274,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1123
1274
  * @param {*} [options] Override http request option.
1124
1275
  * @throws {RequiredError}
1125
1276
  */
1126
- v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...args_29) => __awaiter(this, [collectionUuid_3, ...args_29], void 0, function* (collectionUuid, options = {}) {
1277
+ v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...args_33) => __awaiter(this, [collectionUuid_3, ...args_33], void 0, function* (collectionUuid, options = {}) {
1127
1278
  // verify required parameter 'collectionUuid' is not null or undefined
1128
1279
  assertParamExists("v1AiArtistCollectionCollectionUuidGet", "collectionUuid", collectionUuid);
1129
1280
  const localVarPath = `/v1/ai/artist/collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
@@ -1155,7 +1306,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1155
1306
  * @param {*} [options] Override http request option.
1156
1307
  * @throws {RequiredError}
1157
1308
  */
1158
- v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_18, v1AiAudioLdmStemSplitPostRequest_1, ...args_30) => __awaiter(this, [contentType_18, v1AiAudioLdmStemSplitPostRequest_1, ...args_30], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1309
+ v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...args_34) => __awaiter(this, [contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1159
1310
  // verify required parameter 'contentType' is not null or undefined
1160
1311
  assertParamExists("v1AiAudioLdmAccidentalInfringementCheckPost", "contentType", contentType);
1161
1312
  // verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
@@ -1194,7 +1345,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1194
1345
  * @param {*} [options] Override http request option.
1195
1346
  * @throws {RequiredError}
1196
1347
  */
1197
- v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_19, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_31) => __awaiter(this, [contentType_19, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_31], void 0, function* (contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options = {}) {
1348
+ v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_35) => __awaiter(this, [contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_35], void 0, function* (contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options = {}) {
1198
1349
  // verify required parameter 'contentType' is not null or undefined
1199
1350
  assertParamExists("v1AiAudioLdmAiGeneratedAudioDetectionPost", "contentType", contentType);
1200
1351
  // verify required parameter 'v1AiAudioLdmAiGeneratedAudioDetectionPostRequest' is not null or undefined
@@ -1233,7 +1384,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1233
1384
  * @param {*} [options] Override http request option.
1234
1385
  * @throws {RequiredError}
1235
1386
  */
1236
- v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_20, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_32) => __awaiter(this, [contentType_20, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_32], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1387
+ v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_36) => __awaiter(this, [contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_36], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1237
1388
  // verify required parameter 'contentType' is not null or undefined
1238
1389
  assertParamExists("v1AiAudioLdmAudioAttributionAnalysisPost", "contentType", contentType);
1239
1390
  // verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
@@ -1272,7 +1423,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1272
1423
  * @param {*} [options] Override http request option.
1273
1424
  * @throws {RequiredError}
1274
1425
  */
1275
- v1AiAudioLdmAudioAttributionSetupPost: (contentType_21, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_33) => __awaiter(this, [contentType_21, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_33], void 0, function* (contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options = {}) {
1426
+ v1AiAudioLdmAudioAttributionSetupPost: (contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_37) => __awaiter(this, [contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_37], void 0, function* (contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options = {}) {
1276
1427
  // verify required parameter 'contentType' is not null or undefined
1277
1428
  assertParamExists("v1AiAudioLdmAudioAttributionSetupPost", "contentType", contentType);
1278
1429
  // verify required parameter 'v1AiAudioLdmAudioAttributionSetupPostRequest' is not null or undefined
@@ -1311,7 +1462,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1311
1462
  * @param {*} [options] Override http request option.
1312
1463
  * @throws {RequiredError}
1313
1464
  */
1314
- v1AiAudioLdmAudioToAudioPost: (contentType_22, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_34) => __awaiter(this, [contentType_22, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
1465
+ v1AiAudioLdmAudioToAudioPost: (contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_38) => __awaiter(this, [contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_38], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
1315
1466
  // verify required parameter 'contentType' is not null or undefined
1316
1467
  assertParamExists("v1AiAudioLdmAudioToAudioPost", "contentType", contentType);
1317
1468
  // verify required parameter 'v1AiAudioLdmAudioToAudioPostRequest' is not null or undefined
@@ -1350,7 +1501,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1350
1501
  * @param {*} [options] Override http request option.
1351
1502
  * @throws {RequiredError}
1352
1503
  */
1353
- v1AiAudioLdmCalculateAudioAttributionPost: (contentType_23, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_35) => __awaiter(this, [contentType_23, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_35], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
1504
+ v1AiAudioLdmCalculateAudioAttributionPost: (contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_39) => __awaiter(this, [contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_39], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
1354
1505
  // verify required parameter 'contentType' is not null or undefined
1355
1506
  assertParamExists("v1AiAudioLdmCalculateAudioAttributionPost", "contentType", contentType);
1356
1507
  // verify required parameter 'v1AiAudioLdmCalculateAudioAttributionPostRequest' is not null or undefined
@@ -1388,7 +1539,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1388
1539
  * @param {*} [options] Override http request option.
1389
1540
  * @throws {RequiredError}
1390
1541
  */
1391
- v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...args_36) => __awaiter(this, [collectionUuid_4, ...args_36], void 0, function* (collectionUuid, options = {}) {
1542
+ v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...args_40) => __awaiter(this, [collectionUuid_4, ...args_40], void 0, function* (collectionUuid, options = {}) {
1392
1543
  const localVarPath = `/v1/ai/audio-ldm/external-ai-monitoring`;
1393
1544
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1394
1545
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1421,7 +1572,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1421
1572
  * @param {*} [options] Override http request option.
1422
1573
  * @throws {RequiredError}
1423
1574
  */
1424
- v1AiAudioLdmLyricsAnalysisPost: (contentType_24, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_37) => __awaiter(this, [contentType_24, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_37], void 0, function* (contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options = {}) {
1575
+ v1AiAudioLdmLyricsAnalysisPost: (contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_41) => __awaiter(this, [contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_41], void 0, function* (contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options = {}) {
1425
1576
  // verify required parameter 'contentType' is not null or undefined
1426
1577
  assertParamExists("v1AiAudioLdmLyricsAnalysisPost", "contentType", contentType);
1427
1578
  // verify required parameter 'v1AiAudioLdmLyricsAnalysisPostRequest' is not null or undefined
@@ -1460,7 +1611,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1460
1611
  * @param {*} [options] Override http request option.
1461
1612
  * @throws {RequiredError}
1462
1613
  */
1463
- v1AiAudioLdmOptOutAnalysisPost: (contentType_25, v1AiAudioLdmStemSplitPostRequest_2, ...args_38) => __awaiter(this, [contentType_25, v1AiAudioLdmStemSplitPostRequest_2, ...args_38], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1614
+ v1AiAudioLdmOptOutAnalysisPost: (contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...args_42) => __awaiter(this, [contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...args_42], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1464
1615
  // verify required parameter 'contentType' is not null or undefined
1465
1616
  assertParamExists("v1AiAudioLdmOptOutAnalysisPost", "contentType", contentType);
1466
1617
  // verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
@@ -1499,7 +1650,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1499
1650
  * @param {*} [options] Override http request option.
1500
1651
  * @throws {RequiredError}
1501
1652
  */
1502
- v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...args_39) => __awaiter(this, [requestId_3, topNAttributionResults_4, ...args_39], void 0, function* (requestId, topNAttributionResults, options = {}) {
1653
+ v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...args_43) => __awaiter(this, [requestId_3, topNAttributionResults_4, ...args_43], void 0, function* (requestId, topNAttributionResults, options = {}) {
1503
1654
  // verify required parameter 'requestId' is not null or undefined
1504
1655
  assertParamExists("v1AiAudioLdmRequestIdGet", "requestId", requestId);
1505
1656
  const localVarPath = `/v1/ai/audio-ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
@@ -1535,7 +1686,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1535
1686
  * @param {*} [options] Override http request option.
1536
1687
  * @throws {RequiredError}
1537
1688
  */
1538
- v1AiAudioLdmSimilarSongFinderPost: (contentType_26, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_40) => __awaiter(this, [contentType_26, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_40], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1689
+ v1AiAudioLdmSimilarSongFinderPost: (contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_44) => __awaiter(this, [contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_44], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1539
1690
  // verify required parameter 'contentType' is not null or undefined
1540
1691
  assertParamExists("v1AiAudioLdmSimilarSongFinderPost", "contentType", contentType);
1541
1692
  // verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
@@ -1574,7 +1725,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1574
1725
  * @param {*} [options] Override http request option.
1575
1726
  * @throws {RequiredError}
1576
1727
  */
1577
- v1AiAudioLdmSongAnalysisPost: (contentType_27, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_41) => __awaiter(this, [contentType_27, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_41], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1728
+ v1AiAudioLdmSongAnalysisPost: (contentType_30, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_45) => __awaiter(this, [contentType_30, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_45], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
1578
1729
  // verify required parameter 'contentType' is not null or undefined
1579
1730
  assertParamExists("v1AiAudioLdmSongAnalysisPost", "contentType", contentType);
1580
1731
  // verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
@@ -1613,7 +1764,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1613
1764
  * @param {*} [options] Override http request option.
1614
1765
  * @throws {RequiredError}
1615
1766
  */
1616
- v1AiAudioLdmStemSplitPost: (contentType_28, v1AiAudioLdmStemSplitPostRequest_3, ...args_42) => __awaiter(this, [contentType_28, v1AiAudioLdmStemSplitPostRequest_3, ...args_42], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1767
+ v1AiAudioLdmStemSplitPost: (contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...args_46) => __awaiter(this, [contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...args_46], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1617
1768
  // verify required parameter 'contentType' is not null or undefined
1618
1769
  assertParamExists("v1AiAudioLdmStemSplitPost", "contentType", contentType);
1619
1770
  // verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
@@ -1652,7 +1803,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1652
1803
  * @param {*} [options] Override http request option.
1653
1804
  * @throws {RequiredError}
1654
1805
  */
1655
- v1AiAudioLdmTextToArtistAudioPost: (contentType_29, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_43) => __awaiter(this, [contentType_29, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_43], void 0, function* (contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options = {}) {
1806
+ v1AiAudioLdmTextToArtistAudioPost: (contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_47) => __awaiter(this, [contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_47], void 0, function* (contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options = {}) {
1656
1807
  // verify required parameter 'contentType' is not null or undefined
1657
1808
  assertParamExists("v1AiAudioLdmTextToArtistAudioPost", "contentType", contentType);
1658
1809
  // verify required parameter 'v1AiAudioLdmTextToArtistAudioPostRequest' is not null or undefined
@@ -1691,7 +1842,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1691
1842
  * @param {*} [options] Override http request option.
1692
1843
  * @throws {RequiredError}
1693
1844
  */
1694
- v1AiAudioLdmTextToAudioPost: (contentType_30, v1AiAudioLdmTextToAudioPostRequest_1, ...args_44) => __awaiter(this, [contentType_30, v1AiAudioLdmTextToAudioPostRequest_1, ...args_44], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
1845
+ v1AiAudioLdmTextToAudioPost: (contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...args_48) => __awaiter(this, [contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...args_48], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
1695
1846
  // verify required parameter 'contentType' is not null or undefined
1696
1847
  assertParamExists("v1AiAudioLdmTextToAudioPost", "contentType", contentType);
1697
1848
  // verify required parameter 'v1AiAudioLdmTextToAudioPostRequest' is not null or undefined
@@ -1722,6 +1873,46 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1722
1873
  options: localVarRequestOptions,
1723
1874
  };
1724
1875
  }),
1876
+ /**
1877
+ * 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 - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
1878
+ * @summary Upload files as form-data
1879
+ * @param {V1AiFilesUploadFilesPostContentTypeEnum} contentType
1880
+ * @param {string} contentType2
1881
+ * @param {*} [options] Override http request option.
1882
+ * @throws {RequiredError}
1883
+ */
1884
+ v1AiFilesUploadFilesPost: (contentType_34, contentType2_1, ...args_49) => __awaiter(this, [contentType_34, contentType2_1, ...args_49], void 0, function* (contentType, contentType2, options = {}) {
1885
+ // verify required parameter 'contentType' is not null or undefined
1886
+ assertParamExists("v1AiFilesUploadFilesPost", "contentType", contentType);
1887
+ // verify required parameter 'contentType2' is not null or undefined
1888
+ assertParamExists("v1AiFilesUploadFilesPost", "contentType2", contentType2);
1889
+ const localVarPath = `/v1/ai/files/upload-files`;
1890
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1891
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1892
+ let baseOptions;
1893
+ if (configuration) {
1894
+ baseOptions = configuration.baseOptions;
1895
+ }
1896
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1897
+ const localVarHeaderParameter = {};
1898
+ const localVarQueryParameter = {};
1899
+ // authentication OAuth2 required
1900
+ // oauth required
1901
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1902
+ if (contentType !== undefined) {
1903
+ localVarQueryParameter["contentType"] = contentType;
1904
+ }
1905
+ if (contentType2 != null) {
1906
+ localVarHeaderParameter["Content-Type"] = String(contentType2);
1907
+ }
1908
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1909
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1910
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1911
+ return {
1912
+ url: toPathString(localVarUrlObj),
1913
+ options: localVarRequestOptions,
1914
+ };
1915
+ }),
1725
1916
  /**
1726
1917
  * 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.
1727
1918
  * @summary Attribution analysis
@@ -1730,7 +1921,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1730
1921
  * @param {*} [options] Override http request option.
1731
1922
  * @throws {RequiredError}
1732
1923
  */
1733
- v1AiLdmAttributionAnalysisPost: (contentType_31, v1AiLdmAttributionAnalysisPostRequest_1, ...args_45) => __awaiter(this, [contentType_31, v1AiLdmAttributionAnalysisPostRequest_1, ...args_45], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
1924
+ v1AiLdmAttributionAnalysisPost: (contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...args_50) => __awaiter(this, [contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...args_50], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
1734
1925
  // verify required parameter 'contentType' is not null or undefined
1735
1926
  assertParamExists("v1AiLdmAttributionAnalysisPost", "contentType", contentType);
1736
1927
  // verify required parameter 'v1AiLdmAttributionAnalysisPostRequest' is not null or undefined
@@ -1769,7 +1960,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1769
1960
  * @param {*} [options] Override http request option.
1770
1961
  * @throws {RequiredError}
1771
1962
  */
1772
- v1AiLdmCoverArtPost: (contentType_32, v1AiLdmCoverArtPostRequest_1, ...args_46) => __awaiter(this, [contentType_32, v1AiLdmCoverArtPostRequest_1, ...args_46], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
1963
+ v1AiLdmCoverArtPost: (contentType_36, v1AiLdmCoverArtPostRequest_1, ...args_51) => __awaiter(this, [contentType_36, v1AiLdmCoverArtPostRequest_1, ...args_51], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
1773
1964
  // verify required parameter 'contentType' is not null or undefined
1774
1965
  assertParamExists("v1AiLdmCoverArtPost", "contentType", contentType);
1775
1966
  // verify required parameter 'v1AiLdmCoverArtPostRequest' is not null or undefined
@@ -1808,7 +1999,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1808
1999
  * @param {*} [options] Override http request option.
1809
2000
  * @throws {RequiredError}
1810
2001
  */
1811
- v1AiLdmImageAttributionSetupPost: (contentType_33, v1AiLdmImageAttributionSetupPostRequest_1, ...args_47) => __awaiter(this, [contentType_33, v1AiLdmImageAttributionSetupPostRequest_1, ...args_47], void 0, function* (contentType, v1AiLdmImageAttributionSetupPostRequest, options = {}) {
2002
+ v1AiLdmImageAttributionSetupPost: (contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...args_52) => __awaiter(this, [contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...args_52], void 0, function* (contentType, v1AiLdmImageAttributionSetupPostRequest, options = {}) {
1812
2003
  // verify required parameter 'contentType' is not null or undefined
1813
2004
  assertParamExists("v1AiLdmImageAttributionSetupPost", "contentType", contentType);
1814
2005
  // verify required parameter 'v1AiLdmImageAttributionSetupPostRequest' is not null or undefined
@@ -2016,6 +2207,23 @@ export const SureelApiFp = function (configuration) {
2016
2207
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2017
2208
  });
2018
2209
  },
2210
+ /**
2211
+ * Returns the signed url for the given filenames.
2212
+ * @summary Generate signed URLs to put files to S3
2213
+ * @param {GenerateSignedUrlsContentTypeEnum} contentType
2214
+ * @param {UploadUrlRequest} uploadUrlRequest
2215
+ * @param {*} [options] Override http request option.
2216
+ * @throws {RequiredError}
2217
+ */
2218
+ generateSignedUrls(contentType, uploadUrlRequest, options) {
2219
+ return __awaiter(this, void 0, void 0, function* () {
2220
+ var _a, _b, _c;
2221
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateSignedUrls(contentType, uploadUrlRequest, options);
2222
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2223
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.generateSignedUrls"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2224
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2225
+ });
2226
+ },
2019
2227
  /**
2020
2228
  * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
2021
2229
  * @summary Get all artists
@@ -2158,6 +2366,22 @@ export const SureelApiFp = function (configuration) {
2158
2366
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2159
2367
  });
2160
2368
  },
2369
+ /**
2370
+ * Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
2371
+ * @summary Get signed URLs of previously uploaded files
2372
+ * @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;
2373
+ * @param {*} [options] Override http request option.
2374
+ * @throws {RequiredError}
2375
+ */
2376
+ getUploadedFiles(keys, options) {
2377
+ return __awaiter(this, void 0, void 0, function* () {
2378
+ var _a, _b, _c;
2379
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUploadedFiles(keys, options);
2380
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2381
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getUploadedFiles"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2382
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2383
+ });
2384
+ },
2161
2385
  /**
2162
2386
  * 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.
2163
2387
  * @summary Image blending
@@ -2328,6 +2552,40 @@ export const SureelApiFp = function (configuration) {
2328
2552
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2329
2553
  });
2330
2554
  },
2555
+ /**
2556
+ * Track inference artifacts for audio AI models.
2557
+ * @summary Track inference artifacts
2558
+ * @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum} contentType
2559
+ * @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest} v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest
2560
+ * @param {*} [options] Override http request option.
2561
+ * @throws {RequiredError}
2562
+ */
2563
+ v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options) {
2564
+ return __awaiter(this, void 0, void 0, function* () {
2565
+ var _a, _b, _c;
2566
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options);
2567
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2568
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAiModelArtifactsTrackAiInferenceArtifactsPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2569
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2570
+ });
2571
+ },
2572
+ /**
2573
+ * Track training artifacts for audio AI models.
2574
+ * @summary Track training artifacts
2575
+ * @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum} contentType
2576
+ * @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest} v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest
2577
+ * @param {*} [options] Override http request option.
2578
+ * @throws {RequiredError}
2579
+ */
2580
+ v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options) {
2581
+ return __awaiter(this, void 0, void 0, function* () {
2582
+ var _a, _b, _c;
2583
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options);
2584
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2585
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAiModelArtifactsTrackAiTrainingArtifactsPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2586
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2587
+ });
2588
+ },
2331
2589
  /**
2332
2590
  * Retrieve a collection including lyrics and stems if already extracted.
2333
2591
  * @summary Get collection (with lyrics and stems)
@@ -2598,6 +2856,23 @@ export const SureelApiFp = function (configuration) {
2598
2856
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2599
2857
  });
2600
2858
  },
2859
+ /**
2860
+ * 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 - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
2861
+ * @summary Upload files as form-data
2862
+ * @param {V1AiFilesUploadFilesPostContentTypeEnum} contentType
2863
+ * @param {string} contentType2
2864
+ * @param {*} [options] Override http request option.
2865
+ * @throws {RequiredError}
2866
+ */
2867
+ v1AiFilesUploadFilesPost(contentType, contentType2, options) {
2868
+ return __awaiter(this, void 0, void 0, function* () {
2869
+ var _a, _b, _c;
2870
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiFilesUploadFilesPost(contentType, contentType2, options);
2871
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2872
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiFilesUploadFilesPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2873
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2874
+ });
2875
+ },
2601
2876
  /**
2602
2877
  * 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.
2603
2878
  * @summary Attribution analysis
@@ -2786,6 +3061,19 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
2786
3061
  .generatePreview(contentType, generatePreviewRequest, options)
2787
3062
  .then((request) => request(axios, basePath));
2788
3063
  },
3064
+ /**
3065
+ * Returns the signed url for the given filenames.
3066
+ * @summary Generate signed URLs to put files to S3
3067
+ * @param {GenerateSignedUrlsContentTypeEnum} contentType
3068
+ * @param {UploadUrlRequest} uploadUrlRequest
3069
+ * @param {*} [options] Override http request option.
3070
+ * @throws {RequiredError}
3071
+ */
3072
+ generateSignedUrls(contentType, uploadUrlRequest, options) {
3073
+ return localVarFp
3074
+ .generateSignedUrls(contentType, uploadUrlRequest, options)
3075
+ .then((request) => request(axios, basePath));
3076
+ },
2789
3077
  /**
2790
3078
  * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
2791
3079
  * @summary Get all artists
@@ -2896,6 +3184,18 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
2896
3184
  .getStylePresets(options)
2897
3185
  .then((request) => request(axios, basePath));
2898
3186
  },
3187
+ /**
3188
+ * Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
3189
+ * @summary Get signed URLs of previously uploaded files
3190
+ * @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;
3191
+ * @param {*} [options] Override http request option.
3192
+ * @throws {RequiredError}
3193
+ */
3194
+ getUploadedFiles(keys, options) {
3195
+ return localVarFp
3196
+ .getUploadedFiles(keys, options)
3197
+ .then((request) => request(axios, basePath));
3198
+ },
2899
3199
  /**
2900
3200
  * 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.
2901
3201
  * @summary Image blending
@@ -3026,6 +3326,32 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
3026
3326
  .upscaleImage(contentType, upscaleRequest, options)
3027
3327
  .then((request) => request(axios, basePath));
3028
3328
  },
3329
+ /**
3330
+ * Track inference artifacts for audio AI models.
3331
+ * @summary Track inference artifacts
3332
+ * @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum} contentType
3333
+ * @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest} v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest
3334
+ * @param {*} [options] Override http request option.
3335
+ * @throws {RequiredError}
3336
+ */
3337
+ v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options) {
3338
+ return localVarFp
3339
+ .v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options)
3340
+ .then((request) => request(axios, basePath));
3341
+ },
3342
+ /**
3343
+ * Track training artifacts for audio AI models.
3344
+ * @summary Track training artifacts
3345
+ * @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum} contentType
3346
+ * @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest} v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest
3347
+ * @param {*} [options] Override http request option.
3348
+ * @throws {RequiredError}
3349
+ */
3350
+ v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options) {
3351
+ return localVarFp
3352
+ .v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options)
3353
+ .then((request) => request(axios, basePath));
3354
+ },
3029
3355
  /**
3030
3356
  * Retrieve a collection including lyrics and stems if already extracted.
3031
3357
  * @summary Get collection (with lyrics and stems)
@@ -3232,6 +3558,19 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
3232
3558
  .v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
3233
3559
  .then((request) => request(axios, basePath));
3234
3560
  },
3561
+ /**
3562
+ * 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 - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
3563
+ * @summary Upload files as form-data
3564
+ * @param {V1AiFilesUploadFilesPostContentTypeEnum} contentType
3565
+ * @param {string} contentType2
3566
+ * @param {*} [options] Override http request option.
3567
+ * @throws {RequiredError}
3568
+ */
3569
+ v1AiFilesUploadFilesPost(contentType, contentType2, options) {
3570
+ return localVarFp
3571
+ .v1AiFilesUploadFilesPost(contentType, contentType2, options)
3572
+ .then((request) => request(axios, basePath));
3573
+ },
3235
3574
  /**
3236
3575
  * 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.
3237
3576
  * @summary Attribution analysis
@@ -3418,6 +3757,20 @@ export class SureelApi extends BaseAPI {
3418
3757
  .generatePreview(contentType, generatePreviewRequest, options)
3419
3758
  .then((request) => request(this.axios, this.basePath));
3420
3759
  }
3760
+ /**
3761
+ * Returns the signed url for the given filenames.
3762
+ * @summary Generate signed URLs to put files to S3
3763
+ * @param {GenerateSignedUrlsContentTypeEnum} contentType
3764
+ * @param {UploadUrlRequest} uploadUrlRequest
3765
+ * @param {*} [options] Override http request option.
3766
+ * @throws {RequiredError}
3767
+ * @memberof SureelApi
3768
+ */
3769
+ generateSignedUrls(contentType, uploadUrlRequest, options) {
3770
+ return SureelApiFp(this.configuration)
3771
+ .generateSignedUrls(contentType, uploadUrlRequest, options)
3772
+ .then((request) => request(this.axios, this.basePath));
3773
+ }
3421
3774
  /**
3422
3775
  * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
3423
3776
  * @summary Get all artists
@@ -3536,6 +3889,19 @@ export class SureelApi extends BaseAPI {
3536
3889
  .getStylePresets(options)
3537
3890
  .then((request) => request(this.axios, this.basePath));
3538
3891
  }
3892
+ /**
3893
+ * Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
3894
+ * @summary Get signed URLs of previously uploaded files
3895
+ * @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;
3896
+ * @param {*} [options] Override http request option.
3897
+ * @throws {RequiredError}
3898
+ * @memberof SureelApi
3899
+ */
3900
+ getUploadedFiles(keys, options) {
3901
+ return SureelApiFp(this.configuration)
3902
+ .getUploadedFiles(keys, options)
3903
+ .then((request) => request(this.axios, this.basePath));
3904
+ }
3539
3905
  /**
3540
3906
  * 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.
3541
3907
  * @summary Image blending
@@ -3676,6 +4042,34 @@ export class SureelApi extends BaseAPI {
3676
4042
  .upscaleImage(contentType, upscaleRequest, options)
3677
4043
  .then((request) => request(this.axios, this.basePath));
3678
4044
  }
4045
+ /**
4046
+ * Track inference artifacts for audio AI models.
4047
+ * @summary Track inference artifacts
4048
+ * @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum} contentType
4049
+ * @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest} v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest
4050
+ * @param {*} [options] Override http request option.
4051
+ * @throws {RequiredError}
4052
+ * @memberof SureelApi
4053
+ */
4054
+ v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options) {
4055
+ return SureelApiFp(this.configuration)
4056
+ .v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options)
4057
+ .then((request) => request(this.axios, this.basePath));
4058
+ }
4059
+ /**
4060
+ * Track training artifacts for audio AI models.
4061
+ * @summary Track training artifacts
4062
+ * @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum} contentType
4063
+ * @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest} v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest
4064
+ * @param {*} [options] Override http request option.
4065
+ * @throws {RequiredError}
4066
+ * @memberof SureelApi
4067
+ */
4068
+ v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options) {
4069
+ return SureelApiFp(this.configuration)
4070
+ .v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options)
4071
+ .then((request) => request(this.axios, this.basePath));
4072
+ }
3679
4073
  /**
3680
4074
  * Retrieve a collection including lyrics and stems if already extracted.
3681
4075
  * @summary Get collection (with lyrics and stems)
@@ -3898,6 +4292,20 @@ export class SureelApi extends BaseAPI {
3898
4292
  .v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
3899
4293
  .then((request) => request(this.axios, this.basePath));
3900
4294
  }
4295
+ /**
4296
+ * 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 - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
4297
+ * @summary Upload files as form-data
4298
+ * @param {V1AiFilesUploadFilesPostContentTypeEnum} contentType
4299
+ * @param {string} contentType2
4300
+ * @param {*} [options] Override http request option.
4301
+ * @throws {RequiredError}
4302
+ * @memberof SureelApi
4303
+ */
4304
+ v1AiFilesUploadFilesPost(contentType, contentType2, options) {
4305
+ return SureelApiFp(this.configuration)
4306
+ .v1AiFilesUploadFilesPost(contentType, contentType2, options)
4307
+ .then((request) => request(this.axios, this.basePath));
4308
+ }
3901
4309
  /**
3902
4310
  * 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.
3903
4311
  * @summary Attribution analysis
@@ -3989,6 +4397,12 @@ export const FinetuneModelContentTypeEnum = {
3989
4397
  export const GeneratePreviewContentTypeEnum = {
3990
4398
  ApplicationJson: "application/json",
3991
4399
  };
4400
+ /**
4401
+ * @export
4402
+ */
4403
+ export const GenerateSignedUrlsContentTypeEnum = {
4404
+ ApplicationJson: "application/json",
4405
+ };
3992
4406
  /**
3993
4407
  * @export
3994
4408
  */
@@ -4043,6 +4457,18 @@ export const UpdateIpRightsContentTypeEnum = {
4043
4457
  export const UpscaleImageContentTypeEnum = {
4044
4458
  ApplicationJson: "application/json",
4045
4459
  };
4460
+ /**
4461
+ * @export
4462
+ */
4463
+ export const V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum = {
4464
+ ApplicationJson: "application/json",
4465
+ };
4466
+ /**
4467
+ * @export
4468
+ */
4469
+ export const V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum = {
4470
+ ApplicationJson: "application/json",
4471
+ };
4046
4472
  /**
4047
4473
  * @export
4048
4474
  */
@@ -4121,6 +4547,15 @@ export const V1AiAudioLdmTextToArtistAudioPostContentTypeEnum = {
4121
4547
  export const V1AiAudioLdmTextToAudioPostContentTypeEnum = {
4122
4548
  ApplicationJson: "application/json",
4123
4549
  };
4550
+ /**
4551
+ * @export
4552
+ */
4553
+ export const V1AiFilesUploadFilesPostContentTypeEnum = {
4554
+ Audio: "audio",
4555
+ Image: "image",
4556
+ Video: "video",
4557
+ Metadata: "metadata",
4558
+ };
4124
4559
  /**
4125
4560
  * @export
4126
4561
  */