@sureel/sdk 1.17.5-rc.2 → 1.17.5-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/sureel-api.d.ts +170 -0
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +284 -0
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +170 -0
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +284 -0
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/index.d.ts +3 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +3 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/permission-notify-body.d.ts +25 -0
- package/esm/models/permission-notify-body.d.ts.map +1 -0
- package/esm/models/permission-notify-body.js +15 -0
- package/esm/models/permission-notify-body.js.map +1 -0
- package/esm/models/permission-notify-error.d.ts +38 -0
- package/esm/models/permission-notify-error.d.ts.map +1 -0
- package/esm/models/permission-notify-error.js +15 -0
- package/esm/models/permission-notify-error.js.map +1 -0
- package/esm/models/permission-notify-response.d.ts +25 -0
- package/esm/models/permission-notify-response.d.ts.map +1 -0
- package/esm/models/permission-notify-response.js +15 -0
- package/esm/models/permission-notify-response.js.map +1 -0
- package/esm/models/roster-party.d.ts +6 -0
- package/esm/models/roster-party.d.ts.map +1 -1
- package/models/index.d.ts +3 -0
- package/models/index.d.ts.map +1 -1
- package/models/index.js +3 -0
- package/models/index.js.map +1 -1
- package/models/permission-notify-body.d.ts +25 -0
- package/models/permission-notify-body.d.ts.map +1 -0
- package/models/permission-notify-body.js +16 -0
- package/models/permission-notify-body.js.map +1 -0
- package/models/permission-notify-error.d.ts +38 -0
- package/models/permission-notify-error.d.ts.map +1 -0
- package/models/permission-notify-error.js +16 -0
- package/models/permission-notify-error.js.map +1 -0
- package/models/permission-notify-response.d.ts +25 -0
- package/models/permission-notify-response.d.ts.map +1 -0
- package/models/permission-notify-response.js +16 -0
- package/models/permission-notify-response.js.map +1 -0
- package/models/roster-party.d.ts +6 -0
- package/models/roster-party.d.ts.map +1 -1
- package/package.json +1 -1
package/api/sureel-api.js
CHANGED
|
@@ -1824,6 +1824,65 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1824
1824
|
options: localVarRequestOptions,
|
|
1825
1825
|
};
|
|
1826
1826
|
},
|
|
1827
|
+
/**
|
|
1828
|
+
*
|
|
1829
|
+
* @summary Whether the caller is emailed when permissions change on this account
|
|
1830
|
+
* @param {*} [options] Override http request option.
|
|
1831
|
+
* @throws {RequiredError}
|
|
1832
|
+
*/
|
|
1833
|
+
getPermissionNotify: async (options = {}) => {
|
|
1834
|
+
const localVarPath = `/v1/ai/artist/settings/notify`;
|
|
1835
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1836
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1837
|
+
let baseOptions;
|
|
1838
|
+
if (configuration) {
|
|
1839
|
+
baseOptions = configuration.baseOptions;
|
|
1840
|
+
}
|
|
1841
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1842
|
+
const localVarHeaderParameter = {};
|
|
1843
|
+
const localVarQueryParameter = {};
|
|
1844
|
+
// authentication OAuth2 required
|
|
1845
|
+
// oauth required
|
|
1846
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1847
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1849
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1850
|
+
return {
|
|
1851
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1852
|
+
options: localVarRequestOptions,
|
|
1853
|
+
};
|
|
1854
|
+
},
|
|
1855
|
+
/**
|
|
1856
|
+
*
|
|
1857
|
+
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
1858
|
+
* @param {string} username
|
|
1859
|
+
* @param {*} [options] Override http request option.
|
|
1860
|
+
* @throws {RequiredError}
|
|
1861
|
+
*/
|
|
1862
|
+
getPermissionNotifyByUsername: async (username, options = {}) => {
|
|
1863
|
+
// verify required parameter 'username' is not null or undefined
|
|
1864
|
+
(0, common_1.assertParamExists)("getPermissionNotifyByUsername", "username", username);
|
|
1865
|
+
const localVarPath = `/v1/ai/artist/{username}/settings/notify`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1866
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1867
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1868
|
+
let baseOptions;
|
|
1869
|
+
if (configuration) {
|
|
1870
|
+
baseOptions = configuration.baseOptions;
|
|
1871
|
+
}
|
|
1872
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1873
|
+
const localVarHeaderParameter = {};
|
|
1874
|
+
const localVarQueryParameter = {};
|
|
1875
|
+
// authentication OAuth2 required
|
|
1876
|
+
// oauth required
|
|
1877
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1878
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1880
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1881
|
+
return {
|
|
1882
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1883
|
+
options: localVarRequestOptions,
|
|
1884
|
+
};
|
|
1885
|
+
},
|
|
1827
1886
|
/**
|
|
1828
1887
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
1829
1888
|
* @summary Prompt history
|
|
@@ -2215,6 +2274,75 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2215
2274
|
options: localVarRequestOptions,
|
|
2216
2275
|
};
|
|
2217
2276
|
},
|
|
2277
|
+
/**
|
|
2278
|
+
*
|
|
2279
|
+
* @summary Turn email on or off for permission changes on this account. Off is the default, and a user who is off is not emailed.
|
|
2280
|
+
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2281
|
+
* @param {*} [options] Override http request option.
|
|
2282
|
+
* @throws {RequiredError}
|
|
2283
|
+
*/
|
|
2284
|
+
putPermissionNotify: async (permissionNotifyBody, options = {}) => {
|
|
2285
|
+
// verify required parameter 'permissionNotifyBody' is not null or undefined
|
|
2286
|
+
(0, common_1.assertParamExists)("putPermissionNotify", "permissionNotifyBody", permissionNotifyBody);
|
|
2287
|
+
const localVarPath = `/v1/ai/artist/settings/notify`;
|
|
2288
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2289
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2290
|
+
let baseOptions;
|
|
2291
|
+
if (configuration) {
|
|
2292
|
+
baseOptions = configuration.baseOptions;
|
|
2293
|
+
}
|
|
2294
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
2295
|
+
const localVarHeaderParameter = {};
|
|
2296
|
+
const localVarQueryParameter = {};
|
|
2297
|
+
// authentication OAuth2 required
|
|
2298
|
+
// oauth required
|
|
2299
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2300
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2301
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2302
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2303
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2304
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(permissionNotifyBody, localVarRequestOptions, configuration);
|
|
2305
|
+
return {
|
|
2306
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2307
|
+
options: localVarRequestOptions,
|
|
2308
|
+
};
|
|
2309
|
+
},
|
|
2310
|
+
/**
|
|
2311
|
+
*
|
|
2312
|
+
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
2313
|
+
* @param {string} username
|
|
2314
|
+
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2315
|
+
* @param {*} [options] Override http request option.
|
|
2316
|
+
* @throws {RequiredError}
|
|
2317
|
+
*/
|
|
2318
|
+
putPermissionNotifyByUsername: async (username, permissionNotifyBody, options = {}) => {
|
|
2319
|
+
// verify required parameter 'username' is not null or undefined
|
|
2320
|
+
(0, common_1.assertParamExists)("putPermissionNotifyByUsername", "username", username);
|
|
2321
|
+
// verify required parameter 'permissionNotifyBody' is not null or undefined
|
|
2322
|
+
(0, common_1.assertParamExists)("putPermissionNotifyByUsername", "permissionNotifyBody", permissionNotifyBody);
|
|
2323
|
+
const localVarPath = `/v1/ai/artist/{username}/settings/notify`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2325
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2326
|
+
let baseOptions;
|
|
2327
|
+
if (configuration) {
|
|
2328
|
+
baseOptions = configuration.baseOptions;
|
|
2329
|
+
}
|
|
2330
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
2331
|
+
const localVarHeaderParameter = {};
|
|
2332
|
+
const localVarQueryParameter = {};
|
|
2333
|
+
// authentication OAuth2 required
|
|
2334
|
+
// oauth required
|
|
2335
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2336
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2337
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2338
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2339
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2340
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(permissionNotifyBody, localVarRequestOptions, configuration);
|
|
2341
|
+
return {
|
|
2342
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2343
|
+
options: localVarRequestOptions,
|
|
2344
|
+
};
|
|
2345
|
+
},
|
|
2218
2346
|
/**
|
|
2219
2347
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
2220
2348
|
* @summary Reimagine image
|
|
@@ -3681,6 +3809,33 @@ const SureelApiFp = function (configuration) {
|
|
|
3681
3809
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getOwnCollections"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3682
3810
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3683
3811
|
},
|
|
3812
|
+
/**
|
|
3813
|
+
*
|
|
3814
|
+
* @summary Whether the caller is emailed when permissions change on this account
|
|
3815
|
+
* @param {*} [options] Override http request option.
|
|
3816
|
+
* @throws {RequiredError}
|
|
3817
|
+
*/
|
|
3818
|
+
async getPermissionNotify(options) {
|
|
3819
|
+
var _a, _b, _c;
|
|
3820
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissionNotify(options);
|
|
3821
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3822
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getPermissionNotify"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3823
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3824
|
+
},
|
|
3825
|
+
/**
|
|
3826
|
+
*
|
|
3827
|
+
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
3828
|
+
* @param {string} username
|
|
3829
|
+
* @param {*} [options] Override http request option.
|
|
3830
|
+
* @throws {RequiredError}
|
|
3831
|
+
*/
|
|
3832
|
+
async getPermissionNotifyByUsername(username, options) {
|
|
3833
|
+
var _a, _b, _c;
|
|
3834
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissionNotifyByUsername(username, options);
|
|
3835
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3836
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getPermissionNotifyByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3837
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3838
|
+
},
|
|
3684
3839
|
/**
|
|
3685
3840
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
3686
3841
|
* @summary Prompt history
|
|
@@ -3833,6 +3988,35 @@ const SureelApiFp = function (configuration) {
|
|
|
3833
3988
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.optOutAnalysis"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3834
3989
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3835
3990
|
},
|
|
3991
|
+
/**
|
|
3992
|
+
*
|
|
3993
|
+
* @summary Turn email on or off for permission changes on this account. Off is the default, and a user who is off is not emailed.
|
|
3994
|
+
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
3995
|
+
* @param {*} [options] Override http request option.
|
|
3996
|
+
* @throws {RequiredError}
|
|
3997
|
+
*/
|
|
3998
|
+
async putPermissionNotify(permissionNotifyBody, options) {
|
|
3999
|
+
var _a, _b, _c;
|
|
4000
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putPermissionNotify(permissionNotifyBody, options);
|
|
4001
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4002
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.putPermissionNotify"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4003
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4004
|
+
},
|
|
4005
|
+
/**
|
|
4006
|
+
*
|
|
4007
|
+
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
4008
|
+
* @param {string} username
|
|
4009
|
+
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
4010
|
+
* @param {*} [options] Override http request option.
|
|
4011
|
+
* @throws {RequiredError}
|
|
4012
|
+
*/
|
|
4013
|
+
async putPermissionNotifyByUsername(username, permissionNotifyBody, options) {
|
|
4014
|
+
var _a, _b, _c;
|
|
4015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putPermissionNotifyByUsername(username, permissionNotifyBody, options);
|
|
4016
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4017
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.putPermissionNotifyByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4018
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4019
|
+
},
|
|
3836
4020
|
/**
|
|
3837
4021
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
3838
4022
|
* @summary Reimagine image
|
|
@@ -4744,6 +4928,29 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4744
4928
|
.getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
4745
4929
|
.then((request) => request(axios, basePath));
|
|
4746
4930
|
},
|
|
4931
|
+
/**
|
|
4932
|
+
*
|
|
4933
|
+
* @summary Whether the caller is emailed when permissions change on this account
|
|
4934
|
+
* @param {*} [options] Override http request option.
|
|
4935
|
+
* @throws {RequiredError}
|
|
4936
|
+
*/
|
|
4937
|
+
getPermissionNotify(options) {
|
|
4938
|
+
return localVarFp
|
|
4939
|
+
.getPermissionNotify(options)
|
|
4940
|
+
.then((request) => request(axios, basePath));
|
|
4941
|
+
},
|
|
4942
|
+
/**
|
|
4943
|
+
*
|
|
4944
|
+
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
4945
|
+
* @param {string} username
|
|
4946
|
+
* @param {*} [options] Override http request option.
|
|
4947
|
+
* @throws {RequiredError}
|
|
4948
|
+
*/
|
|
4949
|
+
getPermissionNotifyByUsername(username, options) {
|
|
4950
|
+
return localVarFp
|
|
4951
|
+
.getPermissionNotifyByUsername(username, options)
|
|
4952
|
+
.then((request) => request(axios, basePath));
|
|
4953
|
+
},
|
|
4747
4954
|
/**
|
|
4748
4955
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
4749
4956
|
* @summary Prompt history
|
|
@@ -4876,6 +5083,31 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4876
5083
|
.optOutAnalysis(contentType, postOptOutAnalysisBody, options)
|
|
4877
5084
|
.then((request) => request(axios, basePath));
|
|
4878
5085
|
},
|
|
5086
|
+
/**
|
|
5087
|
+
*
|
|
5088
|
+
* @summary Turn email on or off for permission changes on this account. Off is the default, and a user who is off is not emailed.
|
|
5089
|
+
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
5090
|
+
* @param {*} [options] Override http request option.
|
|
5091
|
+
* @throws {RequiredError}
|
|
5092
|
+
*/
|
|
5093
|
+
putPermissionNotify(permissionNotifyBody, options) {
|
|
5094
|
+
return localVarFp
|
|
5095
|
+
.putPermissionNotify(permissionNotifyBody, options)
|
|
5096
|
+
.then((request) => request(axios, basePath));
|
|
5097
|
+
},
|
|
5098
|
+
/**
|
|
5099
|
+
*
|
|
5100
|
+
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
5101
|
+
* @param {string} username
|
|
5102
|
+
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
5103
|
+
* @param {*} [options] Override http request option.
|
|
5104
|
+
* @throws {RequiredError}
|
|
5105
|
+
*/
|
|
5106
|
+
putPermissionNotifyByUsername(username, permissionNotifyBody, options) {
|
|
5107
|
+
return localVarFp
|
|
5108
|
+
.putPermissionNotifyByUsername(username, permissionNotifyBody, options)
|
|
5109
|
+
.then((request) => request(axios, basePath));
|
|
5110
|
+
},
|
|
4879
5111
|
/**
|
|
4880
5112
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
4881
5113
|
* @summary Reimagine image
|
|
@@ -5794,6 +6026,31 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
5794
6026
|
.getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
5795
6027
|
.then((request) => request(this.axios, this.basePath));
|
|
5796
6028
|
}
|
|
6029
|
+
/**
|
|
6030
|
+
*
|
|
6031
|
+
* @summary Whether the caller is emailed when permissions change on this account
|
|
6032
|
+
* @param {*} [options] Override http request option.
|
|
6033
|
+
* @throws {RequiredError}
|
|
6034
|
+
* @memberof SureelApi
|
|
6035
|
+
*/
|
|
6036
|
+
getPermissionNotify(options) {
|
|
6037
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
6038
|
+
.getPermissionNotify(options)
|
|
6039
|
+
.then((request) => request(this.axios, this.basePath));
|
|
6040
|
+
}
|
|
6041
|
+
/**
|
|
6042
|
+
*
|
|
6043
|
+
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
6044
|
+
* @param {string} username
|
|
6045
|
+
* @param {*} [options] Override http request option.
|
|
6046
|
+
* @throws {RequiredError}
|
|
6047
|
+
* @memberof SureelApi
|
|
6048
|
+
*/
|
|
6049
|
+
getPermissionNotifyByUsername(username, options) {
|
|
6050
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
6051
|
+
.getPermissionNotifyByUsername(username, options)
|
|
6052
|
+
.then((request) => request(this.axios, this.basePath));
|
|
6053
|
+
}
|
|
5797
6054
|
/**
|
|
5798
6055
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
5799
6056
|
* @summary Prompt history
|
|
@@ -5936,6 +6193,33 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
5936
6193
|
.optOutAnalysis(contentType, postOptOutAnalysisBody, options)
|
|
5937
6194
|
.then((request) => request(this.axios, this.basePath));
|
|
5938
6195
|
}
|
|
6196
|
+
/**
|
|
6197
|
+
*
|
|
6198
|
+
* @summary Turn email on or off for permission changes on this account. Off is the default, and a user who is off is not emailed.
|
|
6199
|
+
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
6200
|
+
* @param {*} [options] Override http request option.
|
|
6201
|
+
* @throws {RequiredError}
|
|
6202
|
+
* @memberof SureelApi
|
|
6203
|
+
*/
|
|
6204
|
+
putPermissionNotify(permissionNotifyBody, options) {
|
|
6205
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
6206
|
+
.putPermissionNotify(permissionNotifyBody, options)
|
|
6207
|
+
.then((request) => request(this.axios, this.basePath));
|
|
6208
|
+
}
|
|
6209
|
+
/**
|
|
6210
|
+
*
|
|
6211
|
+
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
6212
|
+
* @param {string} username
|
|
6213
|
+
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
6214
|
+
* @param {*} [options] Override http request option.
|
|
6215
|
+
* @throws {RequiredError}
|
|
6216
|
+
* @memberof SureelApi
|
|
6217
|
+
*/
|
|
6218
|
+
putPermissionNotifyByUsername(username, permissionNotifyBody, options) {
|
|
6219
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
6220
|
+
.putPermissionNotifyByUsername(username, permissionNotifyBody, options)
|
|
6221
|
+
.then((request) => request(this.axios, this.basePath));
|
|
6222
|
+
}
|
|
5939
6223
|
/**
|
|
5940
6224
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
5941
6225
|
* @summary Reimagine image
|