@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.mjs
CHANGED
|
@@ -76,6 +76,10 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
// src/autogenerated/api.ts
|
|
79
|
+
var AccountEntityTypeEnum = {
|
|
80
|
+
Root: "root",
|
|
81
|
+
User: "user"
|
|
82
|
+
};
|
|
79
83
|
var AddAccountToGroupControllerParamsDtoRoleEnum = {
|
|
80
84
|
Maintainer: "maintainer",
|
|
81
85
|
Member: "member",
|
|
@@ -562,6 +566,10 @@ var SegmentAnythingMaskV1ResponseStatusEnum = {
|
|
|
562
566
|
Finished: "finished",
|
|
563
567
|
Failed: "failed"
|
|
564
568
|
};
|
|
569
|
+
var SelfAccountDtoTypeEnum = {
|
|
570
|
+
Root: "root",
|
|
571
|
+
User: "user"
|
|
572
|
+
};
|
|
565
573
|
var StackEntityKindEnum = {
|
|
566
574
|
Stack: "stack"
|
|
567
575
|
};
|
|
@@ -1054,11 +1062,13 @@ var AccountsApiAxiosParamCreator = function(configuration) {
|
|
|
1054
1062
|
*
|
|
1055
1063
|
* @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
|
|
1056
1064
|
* @param {number} [limit]
|
|
1065
|
+
* @param {Array<string>} [ids]
|
|
1066
|
+
* @param {Array<string>} [aliases]
|
|
1057
1067
|
* @param {string} [cursor]
|
|
1058
1068
|
* @param {*} [options] Override http request option.
|
|
1059
1069
|
* @throws {RequiredError}
|
|
1060
1070
|
*/
|
|
1061
|
-
accountsControllerListAccountsV1: async (orderBy, limit, cursor, options = {}) => {
|
|
1071
|
+
accountsControllerListAccountsV1: async (orderBy, limit, ids, aliases, cursor, options = {}) => {
|
|
1062
1072
|
const localVarPath = `/v1/accounts`;
|
|
1063
1073
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1064
1074
|
let baseOptions;
|
|
@@ -1075,6 +1085,12 @@ var AccountsApiAxiosParamCreator = function(configuration) {
|
|
|
1075
1085
|
if (limit !== void 0) {
|
|
1076
1086
|
localVarQueryParameter["limit"] = limit;
|
|
1077
1087
|
}
|
|
1088
|
+
if (ids) {
|
|
1089
|
+
localVarQueryParameter["ids"] = ids;
|
|
1090
|
+
}
|
|
1091
|
+
if (aliases) {
|
|
1092
|
+
localVarQueryParameter["aliases"] = aliases;
|
|
1093
|
+
}
|
|
1078
1094
|
if (cursor !== void 0) {
|
|
1079
1095
|
localVarQueryParameter["cursor"] = cursor;
|
|
1080
1096
|
}
|
|
@@ -1085,6 +1101,36 @@ var AccountsApiAxiosParamCreator = function(configuration) {
|
|
|
1085
1101
|
url: toPathString(localVarUrlObj),
|
|
1086
1102
|
options: localVarRequestOptions
|
|
1087
1103
|
};
|
|
1104
|
+
},
|
|
1105
|
+
/**
|
|
1106
|
+
*
|
|
1107
|
+
* @param {string} id
|
|
1108
|
+
* @param {UpdateAccountParamsDto} updateAccountParamsDto
|
|
1109
|
+
* @param {*} [options] Override http request option.
|
|
1110
|
+
* @throws {RequiredError}
|
|
1111
|
+
*/
|
|
1112
|
+
accountsControllerUpdateAccountV1: async (id, updateAccountParamsDto, options = {}) => {
|
|
1113
|
+
assertParamExists("accountsControllerUpdateAccountV1", "id", id);
|
|
1114
|
+
assertParamExists("accountsControllerUpdateAccountV1", "updateAccountParamsDto", updateAccountParamsDto);
|
|
1115
|
+
const localVarPath = `/v1/accounts/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1116
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1117
|
+
let baseOptions;
|
|
1118
|
+
if (configuration) {
|
|
1119
|
+
baseOptions = configuration.baseOptions;
|
|
1120
|
+
}
|
|
1121
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1122
|
+
const localVarHeaderParameter = {};
|
|
1123
|
+
const localVarQueryParameter = {};
|
|
1124
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1125
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1128
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1129
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateAccountParamsDto, localVarRequestOptions, configuration);
|
|
1130
|
+
return {
|
|
1131
|
+
url: toPathString(localVarUrlObj),
|
|
1132
|
+
options: localVarRequestOptions
|
|
1133
|
+
};
|
|
1088
1134
|
}
|
|
1089
1135
|
};
|
|
1090
1136
|
};
|
|
@@ -1142,15 +1188,30 @@ var AccountsApiFp = function(configuration) {
|
|
|
1142
1188
|
*
|
|
1143
1189
|
* @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
|
|
1144
1190
|
* @param {number} [limit]
|
|
1191
|
+
* @param {Array<string>} [ids]
|
|
1192
|
+
* @param {Array<string>} [aliases]
|
|
1145
1193
|
* @param {string} [cursor]
|
|
1146
1194
|
* @param {*} [options] Override http request option.
|
|
1147
1195
|
* @throws {RequiredError}
|
|
1148
1196
|
*/
|
|
1149
|
-
async accountsControllerListAccountsV1(orderBy, limit, cursor, options) {
|
|
1150
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsControllerListAccountsV1(orderBy, limit, cursor, options);
|
|
1197
|
+
async accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options) {
|
|
1198
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options);
|
|
1151
1199
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1152
1200
|
const localVarOperationServerBasePath = operationServerMap["AccountsApi.accountsControllerListAccountsV1"]?.[localVarOperationServerIndex]?.url;
|
|
1153
1201
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
1202
|
+
},
|
|
1203
|
+
/**
|
|
1204
|
+
*
|
|
1205
|
+
* @param {string} id
|
|
1206
|
+
* @param {UpdateAccountParamsDto} updateAccountParamsDto
|
|
1207
|
+
* @param {*} [options] Override http request option.
|
|
1208
|
+
* @throws {RequiredError}
|
|
1209
|
+
*/
|
|
1210
|
+
async accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options) {
|
|
1211
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options);
|
|
1212
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1213
|
+
const localVarOperationServerBasePath = operationServerMap["AccountsApi.accountsControllerUpdateAccountV1"]?.[localVarOperationServerIndex]?.url;
|
|
1214
|
+
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
1154
1215
|
}
|
|
1155
1216
|
};
|
|
1156
1217
|
};
|
|
@@ -1196,12 +1257,24 @@ var AccountsApiFactory = function(configuration, basePath, axios2) {
|
|
|
1196
1257
|
*
|
|
1197
1258
|
* @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
|
|
1198
1259
|
* @param {number} [limit]
|
|
1260
|
+
* @param {Array<string>} [ids]
|
|
1261
|
+
* @param {Array<string>} [aliases]
|
|
1199
1262
|
* @param {string} [cursor]
|
|
1200
1263
|
* @param {*} [options] Override http request option.
|
|
1201
1264
|
* @throws {RequiredError}
|
|
1202
1265
|
*/
|
|
1203
|
-
accountsControllerListAccountsV1(orderBy, limit, cursor, options) {
|
|
1204
|
-
return localVarFp.accountsControllerListAccountsV1(orderBy, limit, cursor, options).then((request) => request(axios2, basePath));
|
|
1266
|
+
accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options) {
|
|
1267
|
+
return localVarFp.accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options).then((request) => request(axios2, basePath));
|
|
1268
|
+
},
|
|
1269
|
+
/**
|
|
1270
|
+
*
|
|
1271
|
+
* @param {string} id
|
|
1272
|
+
* @param {UpdateAccountParamsDto} updateAccountParamsDto
|
|
1273
|
+
* @param {*} [options] Override http request option.
|
|
1274
|
+
* @throws {RequiredError}
|
|
1275
|
+
*/
|
|
1276
|
+
accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options) {
|
|
1277
|
+
return localVarFp.accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options).then((request) => request(axios2, basePath));
|
|
1205
1278
|
}
|
|
1206
1279
|
};
|
|
1207
1280
|
};
|
|
@@ -1249,13 +1322,26 @@ var AccountsApi = class extends BaseAPI {
|
|
|
1249
1322
|
*
|
|
1250
1323
|
* @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
|
|
1251
1324
|
* @param {number} [limit]
|
|
1325
|
+
* @param {Array<string>} [ids]
|
|
1326
|
+
* @param {Array<string>} [aliases]
|
|
1252
1327
|
* @param {string} [cursor]
|
|
1253
1328
|
* @param {*} [options] Override http request option.
|
|
1254
1329
|
* @throws {RequiredError}
|
|
1255
1330
|
* @memberof AccountsApi
|
|
1256
1331
|
*/
|
|
1257
|
-
accountsControllerListAccountsV1(orderBy, limit, cursor, options) {
|
|
1258
|
-
return AccountsApiFp(this.configuration).accountsControllerListAccountsV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1332
|
+
accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options) {
|
|
1333
|
+
return AccountsApiFp(this.configuration).accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
*
|
|
1337
|
+
* @param {string} id
|
|
1338
|
+
* @param {UpdateAccountParamsDto} updateAccountParamsDto
|
|
1339
|
+
* @param {*} [options] Override http request option.
|
|
1340
|
+
* @throws {RequiredError}
|
|
1341
|
+
* @memberof AccountsApi
|
|
1342
|
+
*/
|
|
1343
|
+
accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options) {
|
|
1344
|
+
return AccountsApiFp(this.configuration).accountsControllerUpdateAccountV1(id, updateAccountParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
1259
1345
|
}
|
|
1260
1346
|
};
|
|
1261
1347
|
var AccountsControllerListAccountsV1OrderByEnum = {
|
|
@@ -10188,27 +10274,25 @@ var VideosApiAxiosParamCreator = function(configuration) {
|
|
|
10188
10274
|
},
|
|
10189
10275
|
/**
|
|
10190
10276
|
*
|
|
10191
|
-
* @param {
|
|
10277
|
+
* @param {string} id
|
|
10192
10278
|
* @param {*} [options] Override http request option.
|
|
10193
10279
|
* @throws {RequiredError}
|
|
10194
10280
|
*/
|
|
10195
|
-
|
|
10196
|
-
assertParamExists("
|
|
10197
|
-
const localVarPath = `/v1/videos/
|
|
10281
|
+
videosControllerGetVideoByIdV1: async (id, options = {}) => {
|
|
10282
|
+
assertParamExists("videosControllerGetVideoByIdV1", "id", id);
|
|
10283
|
+
const localVarPath = `/v1/videos/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
10198
10284
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10199
10285
|
let baseOptions;
|
|
10200
10286
|
if (configuration) {
|
|
10201
10287
|
baseOptions = configuration.baseOptions;
|
|
10202
10288
|
}
|
|
10203
|
-
const localVarRequestOptions = { method: "
|
|
10289
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
10204
10290
|
const localVarHeaderParameter = {};
|
|
10205
10291
|
const localVarQueryParameter = {};
|
|
10206
10292
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10207
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
10208
10293
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10209
10294
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10210
10295
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10211
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getUrlsForImagesParamsDto, localVarRequestOptions, configuration);
|
|
10212
10296
|
return {
|
|
10213
10297
|
url: toPathString(localVarUrlObj),
|
|
10214
10298
|
options: localVarRequestOptions
|
|
@@ -10216,13 +10300,13 @@ var VideosApiAxiosParamCreator = function(configuration) {
|
|
|
10216
10300
|
},
|
|
10217
10301
|
/**
|
|
10218
10302
|
*
|
|
10219
|
-
* @param {string}
|
|
10303
|
+
* @param {Array<string>} ids
|
|
10220
10304
|
* @param {*} [options] Override http request option.
|
|
10221
10305
|
* @throws {RequiredError}
|
|
10222
10306
|
*/
|
|
10223
|
-
|
|
10224
|
-
assertParamExists("
|
|
10225
|
-
const localVarPath = `/v1/videos/
|
|
10307
|
+
videosControllerGetVideosV1: async (ids, options = {}) => {
|
|
10308
|
+
assertParamExists("videosControllerGetVideosV1", "ids", ids);
|
|
10309
|
+
const localVarPath = `/v1/videos/many`;
|
|
10226
10310
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10227
10311
|
let baseOptions;
|
|
10228
10312
|
if (configuration) {
|
|
@@ -10232,6 +10316,9 @@ var VideosApiAxiosParamCreator = function(configuration) {
|
|
|
10232
10316
|
const localVarHeaderParameter = {};
|
|
10233
10317
|
const localVarQueryParameter = {};
|
|
10234
10318
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10319
|
+
if (ids) {
|
|
10320
|
+
localVarQueryParameter["ids"] = ids;
|
|
10321
|
+
}
|
|
10235
10322
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10236
10323
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10237
10324
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -10283,26 +10370,26 @@ var VideosApiFp = function(configuration) {
|
|
|
10283
10370
|
},
|
|
10284
10371
|
/**
|
|
10285
10372
|
*
|
|
10286
|
-
* @param {
|
|
10373
|
+
* @param {string} id
|
|
10287
10374
|
* @param {*} [options] Override http request option.
|
|
10288
10375
|
* @throws {RequiredError}
|
|
10289
10376
|
*/
|
|
10290
|
-
async
|
|
10291
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10377
|
+
async videosControllerGetVideoByIdV1(id, options) {
|
|
10378
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetVideoByIdV1(id, options);
|
|
10292
10379
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10293
|
-
const localVarOperationServerBasePath = operationServerMap["VideosApi.
|
|
10380
|
+
const localVarOperationServerBasePath = operationServerMap["VideosApi.videosControllerGetVideoByIdV1"]?.[localVarOperationServerIndex]?.url;
|
|
10294
10381
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
10295
10382
|
},
|
|
10296
10383
|
/**
|
|
10297
10384
|
*
|
|
10298
|
-
* @param {string}
|
|
10385
|
+
* @param {Array<string>} ids
|
|
10299
10386
|
* @param {*} [options] Override http request option.
|
|
10300
10387
|
* @throws {RequiredError}
|
|
10301
10388
|
*/
|
|
10302
|
-
async
|
|
10303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10389
|
+
async videosControllerGetVideosV1(ids, options) {
|
|
10390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetVideosV1(ids, options);
|
|
10304
10391
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10305
|
-
const localVarOperationServerBasePath = operationServerMap["VideosApi.
|
|
10392
|
+
const localVarOperationServerBasePath = operationServerMap["VideosApi.videosControllerGetVideosV1"]?.[localVarOperationServerIndex]?.url;
|
|
10306
10393
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
10307
10394
|
},
|
|
10308
10395
|
/**
|
|
@@ -10332,21 +10419,21 @@ var VideosApiFactory = function(configuration, basePath, axios2) {
|
|
|
10332
10419
|
},
|
|
10333
10420
|
/**
|
|
10334
10421
|
*
|
|
10335
|
-
* @param {
|
|
10422
|
+
* @param {string} id
|
|
10336
10423
|
* @param {*} [options] Override http request option.
|
|
10337
10424
|
* @throws {RequiredError}
|
|
10338
10425
|
*/
|
|
10339
|
-
|
|
10340
|
-
return localVarFp.
|
|
10426
|
+
videosControllerGetVideoByIdV1(id, options) {
|
|
10427
|
+
return localVarFp.videosControllerGetVideoByIdV1(id, options).then((request) => request(axios2, basePath));
|
|
10341
10428
|
},
|
|
10342
10429
|
/**
|
|
10343
10430
|
*
|
|
10344
|
-
* @param {string}
|
|
10431
|
+
* @param {Array<string>} ids
|
|
10345
10432
|
* @param {*} [options] Override http request option.
|
|
10346
10433
|
* @throws {RequiredError}
|
|
10347
10434
|
*/
|
|
10348
|
-
|
|
10349
|
-
return localVarFp.
|
|
10435
|
+
videosControllerGetVideosV1(ids, options) {
|
|
10436
|
+
return localVarFp.videosControllerGetVideosV1(ids, options).then((request) => request(axios2, basePath));
|
|
10350
10437
|
},
|
|
10351
10438
|
/**
|
|
10352
10439
|
*
|
|
@@ -10371,23 +10458,23 @@ var VideosApi = class extends BaseAPI {
|
|
|
10371
10458
|
}
|
|
10372
10459
|
/**
|
|
10373
10460
|
*
|
|
10374
|
-
* @param {
|
|
10461
|
+
* @param {string} id
|
|
10375
10462
|
* @param {*} [options] Override http request option.
|
|
10376
10463
|
* @throws {RequiredError}
|
|
10377
10464
|
* @memberof VideosApi
|
|
10378
10465
|
*/
|
|
10379
|
-
|
|
10380
|
-
return VideosApiFp(this.configuration).
|
|
10466
|
+
videosControllerGetVideoByIdV1(id, options) {
|
|
10467
|
+
return VideosApiFp(this.configuration).videosControllerGetVideoByIdV1(id, options).then((request) => request(this.axios, this.basePath));
|
|
10381
10468
|
}
|
|
10382
10469
|
/**
|
|
10383
10470
|
*
|
|
10384
|
-
* @param {string}
|
|
10471
|
+
* @param {Array<string>} ids
|
|
10385
10472
|
* @param {*} [options] Override http request option.
|
|
10386
10473
|
* @throws {RequiredError}
|
|
10387
10474
|
* @memberof VideosApi
|
|
10388
10475
|
*/
|
|
10389
|
-
|
|
10390
|
-
return VideosApiFp(this.configuration).
|
|
10476
|
+
videosControllerGetVideosV1(ids, options) {
|
|
10477
|
+
return VideosApiFp(this.configuration).videosControllerGetVideosV1(ids, options).then((request) => request(this.axios, this.basePath));
|
|
10391
10478
|
}
|
|
10392
10479
|
/**
|
|
10393
10480
|
*
|
|
@@ -11074,6 +11161,9 @@ var accounts = (options) => {
|
|
|
11074
11161
|
create: async (props = {}) => api.call({
|
|
11075
11162
|
run: (methods) => methods.accountsControllerCreateAccountV1({ alias: props.alias })
|
|
11076
11163
|
}),
|
|
11164
|
+
edit: async (props) => api.call({
|
|
11165
|
+
run: (methods) => methods.accountsControllerUpdateAccountV1(props.id, { alias: props.alias })
|
|
11166
|
+
}),
|
|
11077
11167
|
get: async (props) => api.callWithReturningUndefinedOn404({
|
|
11078
11168
|
run: (methods) => methods.accountsControllerGetAccountV1(props.id)
|
|
11079
11169
|
}),
|
|
@@ -11084,7 +11174,13 @@ var accounts = (options) => {
|
|
|
11084
11174
|
run: (methods) => methods.accountsControllerGetAccountByAliasV1(props.alias)
|
|
11085
11175
|
}),
|
|
11086
11176
|
list: async (props = {}) => api.call({
|
|
11087
|
-
run: (methods) => methods.accountsControllerListAccountsV1(
|
|
11177
|
+
run: (methods) => methods.accountsControllerListAccountsV1(
|
|
11178
|
+
props.orderBy,
|
|
11179
|
+
props.limit,
|
|
11180
|
+
props.ids,
|
|
11181
|
+
props.aliases,
|
|
11182
|
+
props.cursor
|
|
11183
|
+
),
|
|
11088
11184
|
transform: transformToListResponse
|
|
11089
11185
|
})
|
|
11090
11186
|
};
|
|
@@ -11851,10 +11947,10 @@ var videos = (options) => {
|
|
|
11851
11947
|
const api = useAutogeneratedAPI({ API: VideosApi, options });
|
|
11852
11948
|
return {
|
|
11853
11949
|
get: async (props) => api.callWithReturningUndefinedOn404({
|
|
11854
|
-
run: (methods) => methods.
|
|
11950
|
+
run: (methods) => methods.videosControllerGetVideoByIdV1(props.id)
|
|
11855
11951
|
}),
|
|
11856
11952
|
getUrls: async (props) => api.call({
|
|
11857
|
-
run: (methods) => methods.
|
|
11953
|
+
run: (methods) => methods.videosControllerGetVideosV1(props.ids),
|
|
11858
11954
|
transform: (data) => data.reduce((acc, { id, url }) => ({ ...acc, [id]: url }), {})
|
|
11859
11955
|
})
|
|
11860
11956
|
};
|
|
@@ -12001,6 +12097,7 @@ export {
|
|
|
12001
12097
|
AccessApiAxiosParamCreator,
|
|
12002
12098
|
AccessApiFactory,
|
|
12003
12099
|
AccessApiFp,
|
|
12100
|
+
AccountEntityTypeEnum,
|
|
12004
12101
|
AccountsApi,
|
|
12005
12102
|
AccountsApiAxiosParamCreator,
|
|
12006
12103
|
AccountsApiFactory,
|
|
@@ -12155,6 +12252,7 @@ export {
|
|
|
12155
12252
|
SegmentAnythingEmbeddingsV1ResponseStatusEnum,
|
|
12156
12253
|
SegmentAnythingMaskV1ResponseKindEnum,
|
|
12157
12254
|
SegmentAnythingMaskV1ResponseStatusEnum,
|
|
12255
|
+
SelfAccountDtoTypeEnum,
|
|
12158
12256
|
StackEntityKindEnum,
|
|
12159
12257
|
StacksApi,
|
|
12160
12258
|
StacksApiAxiosParamCreator,
|