@hautechai/sdk 1.8.0 → 1.10.0
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/dist/index.d.mts +176 -28
- package/dist/index.d.ts +176 -28
- package/dist/index.js +141 -41
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +139 -41
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34,6 +34,7 @@ __export(index_exports, {
|
|
|
34
34
|
AccessApiAxiosParamCreator: () => AccessApiAxiosParamCreator,
|
|
35
35
|
AccessApiFactory: () => AccessApiFactory,
|
|
36
36
|
AccessApiFp: () => AccessApiFp,
|
|
37
|
+
AccountEntityTypeEnum: () => AccountEntityTypeEnum,
|
|
37
38
|
AccountsApi: () => AccountsApi,
|
|
38
39
|
AccountsApiAxiosParamCreator: () => AccountsApiAxiosParamCreator,
|
|
39
40
|
AccountsApiFactory: () => AccountsApiFactory,
|
|
@@ -188,6 +189,7 @@ __export(index_exports, {
|
|
|
188
189
|
SegmentAnythingEmbeddingsV1ResponseStatusEnum: () => SegmentAnythingEmbeddingsV1ResponseStatusEnum,
|
|
189
190
|
SegmentAnythingMaskV1ResponseKindEnum: () => SegmentAnythingMaskV1ResponseKindEnum,
|
|
190
191
|
SegmentAnythingMaskV1ResponseStatusEnum: () => SegmentAnythingMaskV1ResponseStatusEnum,
|
|
192
|
+
SelfAccountDtoTypeEnum: () => SelfAccountDtoTypeEnum,
|
|
191
193
|
StackEntityKindEnum: () => StackEntityKindEnum,
|
|
192
194
|
StacksApi: () => StacksApi,
|
|
193
195
|
StacksApiAxiosParamCreator: () => StacksApiAxiosParamCreator,
|
|
@@ -304,6 +306,10 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
304
306
|
};
|
|
305
307
|
|
|
306
308
|
// src/autogenerated/api.ts
|
|
309
|
+
var AccountEntityTypeEnum = {
|
|
310
|
+
Root: "root",
|
|
311
|
+
User: "user"
|
|
312
|
+
};
|
|
307
313
|
var AddAccountToGroupControllerParamsDtoRoleEnum = {
|
|
308
314
|
Maintainer: "maintainer",
|
|
309
315
|
Member: "member",
|
|
@@ -790,6 +796,10 @@ var SegmentAnythingMaskV1ResponseStatusEnum = {
|
|
|
790
796
|
Finished: "finished",
|
|
791
797
|
Failed: "failed"
|
|
792
798
|
};
|
|
799
|
+
var SelfAccountDtoTypeEnum = {
|
|
800
|
+
Root: "root",
|
|
801
|
+
User: "user"
|
|
802
|
+
};
|
|
793
803
|
var StackEntityKindEnum = {
|
|
794
804
|
Stack: "stack"
|
|
795
805
|
};
|
|
@@ -1282,11 +1292,13 @@ var AccountsApiAxiosParamCreator = function(configuration) {
|
|
|
1282
1292
|
*
|
|
1283
1293
|
* @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
|
|
1284
1294
|
* @param {number} [limit]
|
|
1295
|
+
* @param {Array<string>} [ids]
|
|
1296
|
+
* @param {Array<string>} [aliases]
|
|
1285
1297
|
* @param {string} [cursor]
|
|
1286
1298
|
* @param {*} [options] Override http request option.
|
|
1287
1299
|
* @throws {RequiredError}
|
|
1288
1300
|
*/
|
|
1289
|
-
accountsControllerListAccountsV1: async (orderBy, limit, cursor, options = {}) => {
|
|
1301
|
+
accountsControllerListAccountsV1: async (orderBy, limit, ids, aliases, cursor, options = {}) => {
|
|
1290
1302
|
const localVarPath = `/v1/accounts`;
|
|
1291
1303
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1292
1304
|
let baseOptions;
|
|
@@ -1303,6 +1315,12 @@ var AccountsApiAxiosParamCreator = function(configuration) {
|
|
|
1303
1315
|
if (limit !== void 0) {
|
|
1304
1316
|
localVarQueryParameter["limit"] = limit;
|
|
1305
1317
|
}
|
|
1318
|
+
if (ids) {
|
|
1319
|
+
localVarQueryParameter["ids"] = ids;
|
|
1320
|
+
}
|
|
1321
|
+
if (aliases) {
|
|
1322
|
+
localVarQueryParameter["aliases"] = aliases;
|
|
1323
|
+
}
|
|
1306
1324
|
if (cursor !== void 0) {
|
|
1307
1325
|
localVarQueryParameter["cursor"] = cursor;
|
|
1308
1326
|
}
|
|
@@ -1313,6 +1331,36 @@ var AccountsApiAxiosParamCreator = function(configuration) {
|
|
|
1313
1331
|
url: toPathString(localVarUrlObj),
|
|
1314
1332
|
options: localVarRequestOptions
|
|
1315
1333
|
};
|
|
1334
|
+
},
|
|
1335
|
+
/**
|
|
1336
|
+
*
|
|
1337
|
+
* @param {string} id
|
|
1338
|
+
* @param {UpdateAccountParamsDto} updateAccountParamsDto
|
|
1339
|
+
* @param {*} [options] Override http request option.
|
|
1340
|
+
* @throws {RequiredError}
|
|
1341
|
+
*/
|
|
1342
|
+
accountsControllerUpdateAccountV1: async (id, updateAccountParamsDto, options = {}) => {
|
|
1343
|
+
assertParamExists("accountsControllerUpdateAccountV1", "id", id);
|
|
1344
|
+
assertParamExists("accountsControllerUpdateAccountV1", "updateAccountParamsDto", updateAccountParamsDto);
|
|
1345
|
+
const localVarPath = `/v1/accounts/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1346
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1347
|
+
let baseOptions;
|
|
1348
|
+
if (configuration) {
|
|
1349
|
+
baseOptions = configuration.baseOptions;
|
|
1350
|
+
}
|
|
1351
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1352
|
+
const localVarHeaderParameter = {};
|
|
1353
|
+
const localVarQueryParameter = {};
|
|
1354
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1355
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1357
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1358
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1359
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateAccountParamsDto, localVarRequestOptions, configuration);
|
|
1360
|
+
return {
|
|
1361
|
+
url: toPathString(localVarUrlObj),
|
|
1362
|
+
options: localVarRequestOptions
|
|
1363
|
+
};
|
|
1316
1364
|
}
|
|
1317
1365
|
};
|
|
1318
1366
|
};
|
|
@@ -1370,15 +1418,30 @@ var AccountsApiFp = function(configuration) {
|
|
|
1370
1418
|
*
|
|
1371
1419
|
* @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
|
|
1372
1420
|
* @param {number} [limit]
|
|
1421
|
+
* @param {Array<string>} [ids]
|
|
1422
|
+
* @param {Array<string>} [aliases]
|
|
1373
1423
|
* @param {string} [cursor]
|
|
1374
1424
|
* @param {*} [options] Override http request option.
|
|
1375
1425
|
* @throws {RequiredError}
|
|
1376
1426
|
*/
|
|
1377
|
-
async accountsControllerListAccountsV1(orderBy, limit, cursor, options) {
|
|
1378
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsControllerListAccountsV1(orderBy, limit, cursor, options);
|
|
1427
|
+
async accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options) {
|
|
1428
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options);
|
|
1379
1429
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1380
1430
|
const localVarOperationServerBasePath = operationServerMap["AccountsApi.accountsControllerListAccountsV1"]?.[localVarOperationServerIndex]?.url;
|
|
1381
1431
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
1432
|
+
},
|
|
1433
|
+
/**
|
|
1434
|
+
*
|
|
1435
|
+
* @param {string} id
|
|
1436
|
+
* @param {UpdateAccountParamsDto} updateAccountParamsDto
|
|
1437
|
+
* @param {*} [options] Override http request option.
|
|
1438
|
+
* @throws {RequiredError}
|
|
1439
|
+
*/
|
|
1440
|
+
async accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options) {
|
|
1441
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options);
|
|
1442
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1443
|
+
const localVarOperationServerBasePath = operationServerMap["AccountsApi.accountsControllerUpdateAccountV1"]?.[localVarOperationServerIndex]?.url;
|
|
1444
|
+
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
1382
1445
|
}
|
|
1383
1446
|
};
|
|
1384
1447
|
};
|
|
@@ -1424,12 +1487,24 @@ var AccountsApiFactory = function(configuration, basePath, axios2) {
|
|
|
1424
1487
|
*
|
|
1425
1488
|
* @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
|
|
1426
1489
|
* @param {number} [limit]
|
|
1490
|
+
* @param {Array<string>} [ids]
|
|
1491
|
+
* @param {Array<string>} [aliases]
|
|
1427
1492
|
* @param {string} [cursor]
|
|
1428
1493
|
* @param {*} [options] Override http request option.
|
|
1429
1494
|
* @throws {RequiredError}
|
|
1430
1495
|
*/
|
|
1431
|
-
accountsControllerListAccountsV1(orderBy, limit, cursor, options) {
|
|
1432
|
-
return localVarFp.accountsControllerListAccountsV1(orderBy, limit, cursor, options).then((request) => request(axios2, basePath));
|
|
1496
|
+
accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options) {
|
|
1497
|
+
return localVarFp.accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options).then((request) => request(axios2, basePath));
|
|
1498
|
+
},
|
|
1499
|
+
/**
|
|
1500
|
+
*
|
|
1501
|
+
* @param {string} id
|
|
1502
|
+
* @param {UpdateAccountParamsDto} updateAccountParamsDto
|
|
1503
|
+
* @param {*} [options] Override http request option.
|
|
1504
|
+
* @throws {RequiredError}
|
|
1505
|
+
*/
|
|
1506
|
+
accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options) {
|
|
1507
|
+
return localVarFp.accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options).then((request) => request(axios2, basePath));
|
|
1433
1508
|
}
|
|
1434
1509
|
};
|
|
1435
1510
|
};
|
|
@@ -1477,13 +1552,26 @@ var AccountsApi = class extends BaseAPI {
|
|
|
1477
1552
|
*
|
|
1478
1553
|
* @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
|
|
1479
1554
|
* @param {number} [limit]
|
|
1555
|
+
* @param {Array<string>} [ids]
|
|
1556
|
+
* @param {Array<string>} [aliases]
|
|
1480
1557
|
* @param {string} [cursor]
|
|
1481
1558
|
* @param {*} [options] Override http request option.
|
|
1482
1559
|
* @throws {RequiredError}
|
|
1483
1560
|
* @memberof AccountsApi
|
|
1484
1561
|
*/
|
|
1485
|
-
accountsControllerListAccountsV1(orderBy, limit, cursor, options) {
|
|
1486
|
-
return AccountsApiFp(this.configuration).accountsControllerListAccountsV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1562
|
+
accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options) {
|
|
1563
|
+
return AccountsApiFp(this.configuration).accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1564
|
+
}
|
|
1565
|
+
/**
|
|
1566
|
+
*
|
|
1567
|
+
* @param {string} id
|
|
1568
|
+
* @param {UpdateAccountParamsDto} updateAccountParamsDto
|
|
1569
|
+
* @param {*} [options] Override http request option.
|
|
1570
|
+
* @throws {RequiredError}
|
|
1571
|
+
* @memberof AccountsApi
|
|
1572
|
+
*/
|
|
1573
|
+
accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options) {
|
|
1574
|
+
return AccountsApiFp(this.configuration).accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
1487
1575
|
}
|
|
1488
1576
|
};
|
|
1489
1577
|
var AccountsControllerListAccountsV1OrderByEnum = {
|
|
@@ -10416,27 +10504,25 @@ var VideosApiAxiosParamCreator = function(configuration) {
|
|
|
10416
10504
|
},
|
|
10417
10505
|
/**
|
|
10418
10506
|
*
|
|
10419
|
-
* @param {
|
|
10507
|
+
* @param {string} id
|
|
10420
10508
|
* @param {*} [options] Override http request option.
|
|
10421
10509
|
* @throws {RequiredError}
|
|
10422
10510
|
*/
|
|
10423
|
-
|
|
10424
|
-
assertParamExists("
|
|
10425
|
-
const localVarPath = `/v1/videos/
|
|
10511
|
+
videosControllerGetVideoByIdV1: async (id, options = {}) => {
|
|
10512
|
+
assertParamExists("videosControllerGetVideoByIdV1", "id", id);
|
|
10513
|
+
const localVarPath = `/v1/videos/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
10426
10514
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10427
10515
|
let baseOptions;
|
|
10428
10516
|
if (configuration) {
|
|
10429
10517
|
baseOptions = configuration.baseOptions;
|
|
10430
10518
|
}
|
|
10431
|
-
const localVarRequestOptions = { method: "
|
|
10519
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
10432
10520
|
const localVarHeaderParameter = {};
|
|
10433
10521
|
const localVarQueryParameter = {};
|
|
10434
10522
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10435
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
10436
10523
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10437
10524
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10438
10525
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10439
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getUrlsForImagesParamsDto, localVarRequestOptions, configuration);
|
|
10440
10526
|
return {
|
|
10441
10527
|
url: toPathString(localVarUrlObj),
|
|
10442
10528
|
options: localVarRequestOptions
|
|
@@ -10444,13 +10530,13 @@ var VideosApiAxiosParamCreator = function(configuration) {
|
|
|
10444
10530
|
},
|
|
10445
10531
|
/**
|
|
10446
10532
|
*
|
|
10447
|
-
* @param {string}
|
|
10533
|
+
* @param {Array<string>} ids
|
|
10448
10534
|
* @param {*} [options] Override http request option.
|
|
10449
10535
|
* @throws {RequiredError}
|
|
10450
10536
|
*/
|
|
10451
|
-
|
|
10452
|
-
assertParamExists("
|
|
10453
|
-
const localVarPath = `/v1/videos/
|
|
10537
|
+
videosControllerGetVideosV1: async (ids, options = {}) => {
|
|
10538
|
+
assertParamExists("videosControllerGetVideosV1", "ids", ids);
|
|
10539
|
+
const localVarPath = `/v1/videos/many`;
|
|
10454
10540
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10455
10541
|
let baseOptions;
|
|
10456
10542
|
if (configuration) {
|
|
@@ -10460,6 +10546,9 @@ var VideosApiAxiosParamCreator = function(configuration) {
|
|
|
10460
10546
|
const localVarHeaderParameter = {};
|
|
10461
10547
|
const localVarQueryParameter = {};
|
|
10462
10548
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10549
|
+
if (ids) {
|
|
10550
|
+
localVarQueryParameter["ids"] = ids;
|
|
10551
|
+
}
|
|
10463
10552
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10464
10553
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10465
10554
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -10511,26 +10600,26 @@ var VideosApiFp = function(configuration) {
|
|
|
10511
10600
|
},
|
|
10512
10601
|
/**
|
|
10513
10602
|
*
|
|
10514
|
-
* @param {
|
|
10603
|
+
* @param {string} id
|
|
10515
10604
|
* @param {*} [options] Override http request option.
|
|
10516
10605
|
* @throws {RequiredError}
|
|
10517
10606
|
*/
|
|
10518
|
-
async
|
|
10519
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10607
|
+
async videosControllerGetVideoByIdV1(id, options) {
|
|
10608
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetVideoByIdV1(id, options);
|
|
10520
10609
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10521
|
-
const localVarOperationServerBasePath = operationServerMap["VideosApi.
|
|
10610
|
+
const localVarOperationServerBasePath = operationServerMap["VideosApi.videosControllerGetVideoByIdV1"]?.[localVarOperationServerIndex]?.url;
|
|
10522
10611
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
10523
10612
|
},
|
|
10524
10613
|
/**
|
|
10525
10614
|
*
|
|
10526
|
-
* @param {string}
|
|
10615
|
+
* @param {Array<string>} ids
|
|
10527
10616
|
* @param {*} [options] Override http request option.
|
|
10528
10617
|
* @throws {RequiredError}
|
|
10529
10618
|
*/
|
|
10530
|
-
async
|
|
10531
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10619
|
+
async videosControllerGetVideosV1(ids, options) {
|
|
10620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetVideosV1(ids, options);
|
|
10532
10621
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10533
|
-
const localVarOperationServerBasePath = operationServerMap["VideosApi.
|
|
10622
|
+
const localVarOperationServerBasePath = operationServerMap["VideosApi.videosControllerGetVideosV1"]?.[localVarOperationServerIndex]?.url;
|
|
10534
10623
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
10535
10624
|
},
|
|
10536
10625
|
/**
|
|
@@ -10560,21 +10649,21 @@ var VideosApiFactory = function(configuration, basePath, axios2) {
|
|
|
10560
10649
|
},
|
|
10561
10650
|
/**
|
|
10562
10651
|
*
|
|
10563
|
-
* @param {
|
|
10652
|
+
* @param {string} id
|
|
10564
10653
|
* @param {*} [options] Override http request option.
|
|
10565
10654
|
* @throws {RequiredError}
|
|
10566
10655
|
*/
|
|
10567
|
-
|
|
10568
|
-
return localVarFp.
|
|
10656
|
+
videosControllerGetVideoByIdV1(id, options) {
|
|
10657
|
+
return localVarFp.videosControllerGetVideoByIdV1(id, options).then((request) => request(axios2, basePath));
|
|
10569
10658
|
},
|
|
10570
10659
|
/**
|
|
10571
10660
|
*
|
|
10572
|
-
* @param {string}
|
|
10661
|
+
* @param {Array<string>} ids
|
|
10573
10662
|
* @param {*} [options] Override http request option.
|
|
10574
10663
|
* @throws {RequiredError}
|
|
10575
10664
|
*/
|
|
10576
|
-
|
|
10577
|
-
return localVarFp.
|
|
10665
|
+
videosControllerGetVideosV1(ids, options) {
|
|
10666
|
+
return localVarFp.videosControllerGetVideosV1(ids, options).then((request) => request(axios2, basePath));
|
|
10578
10667
|
},
|
|
10579
10668
|
/**
|
|
10580
10669
|
*
|
|
@@ -10599,23 +10688,23 @@ var VideosApi = class extends BaseAPI {
|
|
|
10599
10688
|
}
|
|
10600
10689
|
/**
|
|
10601
10690
|
*
|
|
10602
|
-
* @param {
|
|
10691
|
+
* @param {string} id
|
|
10603
10692
|
* @param {*} [options] Override http request option.
|
|
10604
10693
|
* @throws {RequiredError}
|
|
10605
10694
|
* @memberof VideosApi
|
|
10606
10695
|
*/
|
|
10607
|
-
|
|
10608
|
-
return VideosApiFp(this.configuration).
|
|
10696
|
+
videosControllerGetVideoByIdV1(id, options) {
|
|
10697
|
+
return VideosApiFp(this.configuration).videosControllerGetVideoByIdV1(id, options).then((request) => request(this.axios, this.basePath));
|
|
10609
10698
|
}
|
|
10610
10699
|
/**
|
|
10611
10700
|
*
|
|
10612
|
-
* @param {string}
|
|
10701
|
+
* @param {Array<string>} ids
|
|
10613
10702
|
* @param {*} [options] Override http request option.
|
|
10614
10703
|
* @throws {RequiredError}
|
|
10615
10704
|
* @memberof VideosApi
|
|
10616
10705
|
*/
|
|
10617
|
-
|
|
10618
|
-
return VideosApiFp(this.configuration).
|
|
10706
|
+
videosControllerGetVideosV1(ids, options) {
|
|
10707
|
+
return VideosApiFp(this.configuration).videosControllerGetVideosV1(ids, options).then((request) => request(this.axios, this.basePath));
|
|
10619
10708
|
}
|
|
10620
10709
|
/**
|
|
10621
10710
|
*
|
|
@@ -11302,6 +11391,9 @@ var accounts = (options) => {
|
|
|
11302
11391
|
create: async (props = {}) => api.call({
|
|
11303
11392
|
run: (methods) => methods.accountsControllerCreateAccountV1({ alias: props.alias })
|
|
11304
11393
|
}),
|
|
11394
|
+
edit: async (props) => api.call({
|
|
11395
|
+
run: (methods) => methods.accountsControllerUpdateAccountV1(props.id, { alias: props.alias })
|
|
11396
|
+
}),
|
|
11305
11397
|
get: async (props) => api.callWithReturningUndefinedOn404({
|
|
11306
11398
|
run: (methods) => methods.accountsControllerGetAccountV1(props.id)
|
|
11307
11399
|
}),
|
|
@@ -11312,7 +11404,13 @@ var accounts = (options) => {
|
|
|
11312
11404
|
run: (methods) => methods.accountsControllerGetAccountByAliasV1(props.alias)
|
|
11313
11405
|
}),
|
|
11314
11406
|
list: async (props = {}) => api.call({
|
|
11315
|
-
run: (methods) => methods.accountsControllerListAccountsV1(
|
|
11407
|
+
run: (methods) => methods.accountsControllerListAccountsV1(
|
|
11408
|
+
props.orderBy,
|
|
11409
|
+
props.limit,
|
|
11410
|
+
props.ids,
|
|
11411
|
+
props.aliases,
|
|
11412
|
+
props.cursor
|
|
11413
|
+
),
|
|
11316
11414
|
transform: transformToListResponse
|
|
11317
11415
|
})
|
|
11318
11416
|
};
|
|
@@ -12079,10 +12177,10 @@ var videos = (options) => {
|
|
|
12079
12177
|
const api = useAutogeneratedAPI({ API: VideosApi, options });
|
|
12080
12178
|
return {
|
|
12081
12179
|
get: async (props) => api.callWithReturningUndefinedOn404({
|
|
12082
|
-
run: (methods) => methods.
|
|
12180
|
+
run: (methods) => methods.videosControllerGetVideoByIdV1(props.id)
|
|
12083
12181
|
}),
|
|
12084
12182
|
getUrls: async (props) => api.call({
|
|
12085
|
-
run: (methods) => methods.
|
|
12183
|
+
run: (methods) => methods.videosControllerGetVideosV1(props.ids),
|
|
12086
12184
|
transform: (data) => data.reduce((acc, { id, url }) => ({ ...acc, [id]: url }), {})
|
|
12087
12185
|
})
|
|
12088
12186
|
};
|
|
@@ -12230,6 +12328,7 @@ var createTokenSigner = (options) => {
|
|
|
12230
12328
|
AccessApiAxiosParamCreator,
|
|
12231
12329
|
AccessApiFactory,
|
|
12232
12330
|
AccessApiFp,
|
|
12331
|
+
AccountEntityTypeEnum,
|
|
12233
12332
|
AccountsApi,
|
|
12234
12333
|
AccountsApiAxiosParamCreator,
|
|
12235
12334
|
AccountsApiFactory,
|
|
@@ -12384,6 +12483,7 @@ var createTokenSigner = (options) => {
|
|
|
12384
12483
|
SegmentAnythingEmbeddingsV1ResponseStatusEnum,
|
|
12385
12484
|
SegmentAnythingMaskV1ResponseKindEnum,
|
|
12386
12485
|
SegmentAnythingMaskV1ResponseStatusEnum,
|
|
12486
|
+
SelfAccountDtoTypeEnum,
|
|
12387
12487
|
StackEntityKindEnum,
|
|
12388
12488
|
StacksApi,
|
|
12389
12489
|
StacksApiAxiosParamCreator,
|