@dimrev4/fitness-v3-backend 0.0.34 → 0.0.36
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/.openapi-generator/FILES +2 -0
- package/api.ts +558 -38
- package/dist/api.d.ts +346 -26
- package/dist/api.js +332 -26
- package/dist/esm/api.d.ts +346 -26
- package/dist/esm/api.js +332 -26
- package/docs/FilesV1Api.md +238 -8
- package/docs/GroupGetPresignedPostUrlRequestDto.md +28 -0
- package/docs/UserGetPresignedPostUrlRequestDto.md +26 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -1274,15 +1274,19 @@ const FilesV1ApiAxiosParamCreator = function (configuration) {
|
|
|
1274
1274
|
}),
|
|
1275
1275
|
/**
|
|
1276
1276
|
*
|
|
1277
|
-
* @summary Get presigned get url
|
|
1277
|
+
* @summary Get presigned get group url
|
|
1278
|
+
* @param {string} groupId
|
|
1278
1279
|
* @param {string} filepath
|
|
1279
1280
|
* @param {*} [options] Override http request option.
|
|
1280
1281
|
* @throws {RequiredError}
|
|
1281
1282
|
*/
|
|
1282
|
-
|
|
1283
|
+
filesV1ControllerGetGroupPresignedGetUrl: (groupId_1, filepath_1, ...args_1) => __awaiter(this, [groupId_1, filepath_1, ...args_1], void 0, function* (groupId, filepath, options = {}) {
|
|
1284
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
1285
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetGroupPresignedGetUrl', 'groupId', groupId);
|
|
1283
1286
|
// verify required parameter 'filepath' is not null or undefined
|
|
1284
|
-
(0, common_1.assertParamExists)('
|
|
1285
|
-
const localVarPath = `/api/files/v1/
|
|
1287
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetGroupPresignedGetUrl', 'filepath', filepath);
|
|
1288
|
+
const localVarPath = `/api/files/v1/group/{groupId}/presigned-url/{filepath}`
|
|
1289
|
+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
|
|
1286
1290
|
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
1287
1291
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1288
1292
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1308,14 +1312,87 @@ const FilesV1ApiAxiosParamCreator = function (configuration) {
|
|
|
1308
1312
|
}),
|
|
1309
1313
|
/**
|
|
1310
1314
|
*
|
|
1311
|
-
* @summary Get presigned post url
|
|
1315
|
+
* @summary Get presigned post group url
|
|
1316
|
+
* @param {string} groupId
|
|
1317
|
+
* @param {GroupGetPresignedPostUrlRequestDto} groupGetPresignedPostUrlRequestDto
|
|
1318
|
+
* @param {*} [options] Override http request option.
|
|
1319
|
+
* @throws {RequiredError}
|
|
1320
|
+
*/
|
|
1321
|
+
filesV1ControllerGetGroupPresignedPostUrl: (groupId_1, groupGetPresignedPostUrlRequestDto_1, ...args_1) => __awaiter(this, [groupId_1, groupGetPresignedPostUrlRequestDto_1, ...args_1], void 0, function* (groupId, groupGetPresignedPostUrlRequestDto, options = {}) {
|
|
1322
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
1323
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetGroupPresignedPostUrl', 'groupId', groupId);
|
|
1324
|
+
// verify required parameter 'groupGetPresignedPostUrlRequestDto' is not null or undefined
|
|
1325
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetGroupPresignedPostUrl', 'groupGetPresignedPostUrlRequestDto', groupGetPresignedPostUrlRequestDto);
|
|
1326
|
+
const localVarPath = `/api/files/v1/group/{groupId}/presigned-url`
|
|
1327
|
+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
|
|
1328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1329
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1330
|
+
let baseOptions;
|
|
1331
|
+
if (configuration) {
|
|
1332
|
+
baseOptions = configuration.baseOptions;
|
|
1333
|
+
}
|
|
1334
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1335
|
+
const localVarHeaderParameter = {};
|
|
1336
|
+
const localVarQueryParameter = {};
|
|
1337
|
+
// authentication apiKey required
|
|
1338
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
1339
|
+
// authentication bearer required
|
|
1340
|
+
// http bearer authentication required
|
|
1341
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1342
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1343
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1344
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1345
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1346
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(groupGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration);
|
|
1347
|
+
return {
|
|
1348
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1349
|
+
options: localVarRequestOptions,
|
|
1350
|
+
};
|
|
1351
|
+
}),
|
|
1352
|
+
/**
|
|
1353
|
+
*
|
|
1354
|
+
* @summary Get presigned public get url
|
|
1355
|
+
* @param {string} filepath
|
|
1356
|
+
* @param {*} [options] Override http request option.
|
|
1357
|
+
* @throws {RequiredError}
|
|
1358
|
+
*/
|
|
1359
|
+
filesV1ControllerGetPublicPresignedGetUrl: (filepath_1, ...args_1) => __awaiter(this, [filepath_1, ...args_1], void 0, function* (filepath, options = {}) {
|
|
1360
|
+
// verify required parameter 'filepath' is not null or undefined
|
|
1361
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetPublicPresignedGetUrl', 'filepath', filepath);
|
|
1362
|
+
const localVarPath = `/api/files/v1/public/presigned-url/{filepath}`
|
|
1363
|
+
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
1364
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1365
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1366
|
+
let baseOptions;
|
|
1367
|
+
if (configuration) {
|
|
1368
|
+
baseOptions = configuration.baseOptions;
|
|
1369
|
+
}
|
|
1370
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1371
|
+
const localVarHeaderParameter = {};
|
|
1372
|
+
const localVarQueryParameter = {};
|
|
1373
|
+
// authentication apiKey required
|
|
1374
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
1375
|
+
// authentication bearer required
|
|
1376
|
+
// http bearer authentication required
|
|
1377
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1378
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1379
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1380
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1381
|
+
return {
|
|
1382
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1383
|
+
options: localVarRequestOptions,
|
|
1384
|
+
};
|
|
1385
|
+
}),
|
|
1386
|
+
/**
|
|
1387
|
+
*
|
|
1388
|
+
* @summary Get presigned public post url
|
|
1312
1389
|
* @param {PublicGetPresignedPostUrlRequestDto} publicGetPresignedPostUrlRequestDto
|
|
1313
1390
|
* @param {*} [options] Override http request option.
|
|
1314
1391
|
* @throws {RequiredError}
|
|
1315
1392
|
*/
|
|
1316
|
-
|
|
1393
|
+
filesV1ControllerGetPublicPresignedPostUrl: (publicGetPresignedPostUrlRequestDto_1, ...args_1) => __awaiter(this, [publicGetPresignedPostUrlRequestDto_1, ...args_1], void 0, function* (publicGetPresignedPostUrlRequestDto, options = {}) {
|
|
1317
1394
|
// verify required parameter 'publicGetPresignedPostUrlRequestDto' is not null or undefined
|
|
1318
|
-
(0, common_1.assertParamExists)('
|
|
1395
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetPublicPresignedPostUrl', 'publicGetPresignedPostUrlRequestDto', publicGetPresignedPostUrlRequestDto);
|
|
1319
1396
|
const localVarPath = `/api/files/v1/public/presigned-url`;
|
|
1320
1397
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1321
1398
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1341,6 +1418,83 @@ const FilesV1ApiAxiosParamCreator = function (configuration) {
|
|
|
1341
1418
|
options: localVarRequestOptions,
|
|
1342
1419
|
};
|
|
1343
1420
|
}),
|
|
1421
|
+
/**
|
|
1422
|
+
*
|
|
1423
|
+
* @summary Get presigned get url
|
|
1424
|
+
* @param {string} userId
|
|
1425
|
+
* @param {string} filepath
|
|
1426
|
+
* @param {*} [options] Override http request option.
|
|
1427
|
+
* @throws {RequiredError}
|
|
1428
|
+
*/
|
|
1429
|
+
filesV1ControllerGetUserPresignedGetUrl: (userId_1, filepath_1, ...args_1) => __awaiter(this, [userId_1, filepath_1, ...args_1], void 0, function* (userId, filepath, options = {}) {
|
|
1430
|
+
// verify required parameter 'userId' is not null or undefined
|
|
1431
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetUserPresignedGetUrl', 'userId', userId);
|
|
1432
|
+
// verify required parameter 'filepath' is not null or undefined
|
|
1433
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetUserPresignedGetUrl', 'filepath', filepath);
|
|
1434
|
+
const localVarPath = `/api/files/v1/user/{userId}/presigned-url/{filepath}`
|
|
1435
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
1436
|
+
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
1437
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1438
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1439
|
+
let baseOptions;
|
|
1440
|
+
if (configuration) {
|
|
1441
|
+
baseOptions = configuration.baseOptions;
|
|
1442
|
+
}
|
|
1443
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1444
|
+
const localVarHeaderParameter = {};
|
|
1445
|
+
const localVarQueryParameter = {};
|
|
1446
|
+
// authentication apiKey required
|
|
1447
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
1448
|
+
// authentication bearer required
|
|
1449
|
+
// http bearer authentication required
|
|
1450
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1451
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1452
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1453
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1454
|
+
return {
|
|
1455
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1456
|
+
options: localVarRequestOptions,
|
|
1457
|
+
};
|
|
1458
|
+
}),
|
|
1459
|
+
/**
|
|
1460
|
+
*
|
|
1461
|
+
* @summary Get presigned post url
|
|
1462
|
+
* @param {string} userId
|
|
1463
|
+
* @param {UserGetPresignedPostUrlRequestDto} userGetPresignedPostUrlRequestDto
|
|
1464
|
+
* @param {*} [options] Override http request option.
|
|
1465
|
+
* @throws {RequiredError}
|
|
1466
|
+
*/
|
|
1467
|
+
filesV1ControllerGetUserPresignedPostUrl: (userId_1, userGetPresignedPostUrlRequestDto_1, ...args_1) => __awaiter(this, [userId_1, userGetPresignedPostUrlRequestDto_1, ...args_1], void 0, function* (userId, userGetPresignedPostUrlRequestDto, options = {}) {
|
|
1468
|
+
// verify required parameter 'userId' is not null or undefined
|
|
1469
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetUserPresignedPostUrl', 'userId', userId);
|
|
1470
|
+
// verify required parameter 'userGetPresignedPostUrlRequestDto' is not null or undefined
|
|
1471
|
+
(0, common_1.assertParamExists)('filesV1ControllerGetUserPresignedPostUrl', 'userGetPresignedPostUrlRequestDto', userGetPresignedPostUrlRequestDto);
|
|
1472
|
+
const localVarPath = `/api/files/v1/user/{userId}/presigned-url`
|
|
1473
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
1474
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1475
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1476
|
+
let baseOptions;
|
|
1477
|
+
if (configuration) {
|
|
1478
|
+
baseOptions = configuration.baseOptions;
|
|
1479
|
+
}
|
|
1480
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1481
|
+
const localVarHeaderParameter = {};
|
|
1482
|
+
const localVarQueryParameter = {};
|
|
1483
|
+
// authentication apiKey required
|
|
1484
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-key", configuration);
|
|
1485
|
+
// authentication bearer required
|
|
1486
|
+
// http bearer authentication required
|
|
1487
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1488
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1489
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1490
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1491
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1492
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(userGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration);
|
|
1493
|
+
return {
|
|
1494
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1495
|
+
options: localVarRequestOptions,
|
|
1496
|
+
};
|
|
1497
|
+
}),
|
|
1344
1498
|
};
|
|
1345
1499
|
};
|
|
1346
1500
|
exports.FilesV1ApiAxiosParamCreator = FilesV1ApiAxiosParamCreator;
|
|
@@ -1366,35 +1520,103 @@ const FilesV1ApiFp = function (configuration) {
|
|
|
1366
1520
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1367
1521
|
});
|
|
1368
1522
|
},
|
|
1523
|
+
/**
|
|
1524
|
+
*
|
|
1525
|
+
* @summary Get presigned get group url
|
|
1526
|
+
* @param {string} groupId
|
|
1527
|
+
* @param {string} filepath
|
|
1528
|
+
* @param {*} [options] Override http request option.
|
|
1529
|
+
* @throws {RequiredError}
|
|
1530
|
+
*/
|
|
1531
|
+
filesV1ControllerGetGroupPresignedGetUrl(groupId, filepath, options) {
|
|
1532
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1533
|
+
var _a, _b, _c;
|
|
1534
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetGroupPresignedGetUrl(groupId, filepath, options);
|
|
1535
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1536
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FilesV1Api.filesV1ControllerGetGroupPresignedGetUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1537
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1538
|
+
});
|
|
1539
|
+
},
|
|
1540
|
+
/**
|
|
1541
|
+
*
|
|
1542
|
+
* @summary Get presigned post group url
|
|
1543
|
+
* @param {string} groupId
|
|
1544
|
+
* @param {GroupGetPresignedPostUrlRequestDto} groupGetPresignedPostUrlRequestDto
|
|
1545
|
+
* @param {*} [options] Override http request option.
|
|
1546
|
+
* @throws {RequiredError}
|
|
1547
|
+
*/
|
|
1548
|
+
filesV1ControllerGetGroupPresignedPostUrl(groupId, groupGetPresignedPostUrlRequestDto, options) {
|
|
1549
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1550
|
+
var _a, _b, _c;
|
|
1551
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetGroupPresignedPostUrl(groupId, groupGetPresignedPostUrlRequestDto, options);
|
|
1552
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1553
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FilesV1Api.filesV1ControllerGetGroupPresignedPostUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1554
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1555
|
+
});
|
|
1556
|
+
},
|
|
1557
|
+
/**
|
|
1558
|
+
*
|
|
1559
|
+
* @summary Get presigned public get url
|
|
1560
|
+
* @param {string} filepath
|
|
1561
|
+
* @param {*} [options] Override http request option.
|
|
1562
|
+
* @throws {RequiredError}
|
|
1563
|
+
*/
|
|
1564
|
+
filesV1ControllerGetPublicPresignedGetUrl(filepath, options) {
|
|
1565
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1566
|
+
var _a, _b, _c;
|
|
1567
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetPublicPresignedGetUrl(filepath, options);
|
|
1568
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1569
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FilesV1Api.filesV1ControllerGetPublicPresignedGetUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1570
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1571
|
+
});
|
|
1572
|
+
},
|
|
1573
|
+
/**
|
|
1574
|
+
*
|
|
1575
|
+
* @summary Get presigned public post url
|
|
1576
|
+
* @param {PublicGetPresignedPostUrlRequestDto} publicGetPresignedPostUrlRequestDto
|
|
1577
|
+
* @param {*} [options] Override http request option.
|
|
1578
|
+
* @throws {RequiredError}
|
|
1579
|
+
*/
|
|
1580
|
+
filesV1ControllerGetPublicPresignedPostUrl(publicGetPresignedPostUrlRequestDto, options) {
|
|
1581
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1582
|
+
var _a, _b, _c;
|
|
1583
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetPublicPresignedPostUrl(publicGetPresignedPostUrlRequestDto, options);
|
|
1584
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1585
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FilesV1Api.filesV1ControllerGetPublicPresignedPostUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1586
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1587
|
+
});
|
|
1588
|
+
},
|
|
1369
1589
|
/**
|
|
1370
1590
|
*
|
|
1371
1591
|
* @summary Get presigned get url
|
|
1592
|
+
* @param {string} userId
|
|
1372
1593
|
* @param {string} filepath
|
|
1373
1594
|
* @param {*} [options] Override http request option.
|
|
1374
1595
|
* @throws {RequiredError}
|
|
1375
1596
|
*/
|
|
1376
|
-
|
|
1597
|
+
filesV1ControllerGetUserPresignedGetUrl(userId, filepath, options) {
|
|
1377
1598
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1378
1599
|
var _a, _b, _c;
|
|
1379
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1600
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetUserPresignedGetUrl(userId, filepath, options);
|
|
1380
1601
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1381
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FilesV1Api.
|
|
1602
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FilesV1Api.filesV1ControllerGetUserPresignedGetUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1382
1603
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1383
1604
|
});
|
|
1384
1605
|
},
|
|
1385
1606
|
/**
|
|
1386
1607
|
*
|
|
1387
1608
|
* @summary Get presigned post url
|
|
1388
|
-
* @param {
|
|
1609
|
+
* @param {string} userId
|
|
1610
|
+
* @param {UserGetPresignedPostUrlRequestDto} userGetPresignedPostUrlRequestDto
|
|
1389
1611
|
* @param {*} [options] Override http request option.
|
|
1390
1612
|
* @throws {RequiredError}
|
|
1391
1613
|
*/
|
|
1392
|
-
|
|
1614
|
+
filesV1ControllerGetUserPresignedPostUrl(userId, userGetPresignedPostUrlRequestDto, options) {
|
|
1393
1615
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1394
1616
|
var _a, _b, _c;
|
|
1395
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1617
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetUserPresignedPostUrl(userId, userGetPresignedPostUrlRequestDto, options);
|
|
1396
1618
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1397
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FilesV1Api.
|
|
1619
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FilesV1Api.filesV1ControllerGetUserPresignedPostUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1398
1620
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1399
1621
|
});
|
|
1400
1622
|
},
|
|
@@ -1417,25 +1639,65 @@ const FilesV1ApiFactory = function (configuration, basePath, axios) {
|
|
|
1417
1639
|
filesV1ControllerGetBuckets(options) {
|
|
1418
1640
|
return localVarFp.filesV1ControllerGetBuckets(options).then((request) => request(axios, basePath));
|
|
1419
1641
|
},
|
|
1642
|
+
/**
|
|
1643
|
+
*
|
|
1644
|
+
* @summary Get presigned get group url
|
|
1645
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1646
|
+
* @param {*} [options] Override http request option.
|
|
1647
|
+
* @throws {RequiredError}
|
|
1648
|
+
*/
|
|
1649
|
+
filesV1ControllerGetGroupPresignedGetUrl(requestParameters, options) {
|
|
1650
|
+
return localVarFp.filesV1ControllerGetGroupPresignedGetUrl(requestParameters.groupId, requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
1651
|
+
},
|
|
1652
|
+
/**
|
|
1653
|
+
*
|
|
1654
|
+
* @summary Get presigned post group url
|
|
1655
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1656
|
+
* @param {*} [options] Override http request option.
|
|
1657
|
+
* @throws {RequiredError}
|
|
1658
|
+
*/
|
|
1659
|
+
filesV1ControllerGetGroupPresignedPostUrl(requestParameters, options) {
|
|
1660
|
+
return localVarFp.filesV1ControllerGetGroupPresignedPostUrl(requestParameters.groupId, requestParameters.groupGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
1661
|
+
},
|
|
1662
|
+
/**
|
|
1663
|
+
*
|
|
1664
|
+
* @summary Get presigned public get url
|
|
1665
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1666
|
+
* @param {*} [options] Override http request option.
|
|
1667
|
+
* @throws {RequiredError}
|
|
1668
|
+
*/
|
|
1669
|
+
filesV1ControllerGetPublicPresignedGetUrl(requestParameters, options) {
|
|
1670
|
+
return localVarFp.filesV1ControllerGetPublicPresignedGetUrl(requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
1671
|
+
},
|
|
1672
|
+
/**
|
|
1673
|
+
*
|
|
1674
|
+
* @summary Get presigned public post url
|
|
1675
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1676
|
+
* @param {*} [options] Override http request option.
|
|
1677
|
+
* @throws {RequiredError}
|
|
1678
|
+
*/
|
|
1679
|
+
filesV1ControllerGetPublicPresignedPostUrl(requestParameters, options) {
|
|
1680
|
+
return localVarFp.filesV1ControllerGetPublicPresignedPostUrl(requestParameters.publicGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
1681
|
+
},
|
|
1420
1682
|
/**
|
|
1421
1683
|
*
|
|
1422
1684
|
* @summary Get presigned get url
|
|
1423
|
-
* @param {
|
|
1685
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1424
1686
|
* @param {*} [options] Override http request option.
|
|
1425
1687
|
* @throws {RequiredError}
|
|
1426
1688
|
*/
|
|
1427
|
-
|
|
1428
|
-
return localVarFp.
|
|
1689
|
+
filesV1ControllerGetUserPresignedGetUrl(requestParameters, options) {
|
|
1690
|
+
return localVarFp.filesV1ControllerGetUserPresignedGetUrl(requestParameters.userId, requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
1429
1691
|
},
|
|
1430
1692
|
/**
|
|
1431
1693
|
*
|
|
1432
1694
|
* @summary Get presigned post url
|
|
1433
|
-
* @param {
|
|
1695
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1434
1696
|
* @param {*} [options] Override http request option.
|
|
1435
1697
|
* @throws {RequiredError}
|
|
1436
1698
|
*/
|
|
1437
|
-
|
|
1438
|
-
return localVarFp.
|
|
1699
|
+
filesV1ControllerGetUserPresignedPostUrl(requestParameters, options) {
|
|
1700
|
+
return localVarFp.filesV1ControllerGetUserPresignedPostUrl(requestParameters.userId, requestParameters.userGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
1439
1701
|
},
|
|
1440
1702
|
};
|
|
1441
1703
|
};
|
|
@@ -1457,27 +1719,71 @@ class FilesV1Api extends base_1.BaseAPI {
|
|
|
1457
1719
|
filesV1ControllerGetBuckets(options) {
|
|
1458
1720
|
return (0, exports.FilesV1ApiFp)(this.configuration).filesV1ControllerGetBuckets(options).then((request) => request(this.axios, this.basePath));
|
|
1459
1721
|
}
|
|
1722
|
+
/**
|
|
1723
|
+
*
|
|
1724
|
+
* @summary Get presigned get group url
|
|
1725
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1726
|
+
* @param {*} [options] Override http request option.
|
|
1727
|
+
* @throws {RequiredError}
|
|
1728
|
+
* @memberof FilesV1Api
|
|
1729
|
+
*/
|
|
1730
|
+
filesV1ControllerGetGroupPresignedGetUrl(requestParameters, options) {
|
|
1731
|
+
return (0, exports.FilesV1ApiFp)(this.configuration).filesV1ControllerGetGroupPresignedGetUrl(requestParameters.groupId, requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
1732
|
+
}
|
|
1733
|
+
/**
|
|
1734
|
+
*
|
|
1735
|
+
* @summary Get presigned post group url
|
|
1736
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1737
|
+
* @param {*} [options] Override http request option.
|
|
1738
|
+
* @throws {RequiredError}
|
|
1739
|
+
* @memberof FilesV1Api
|
|
1740
|
+
*/
|
|
1741
|
+
filesV1ControllerGetGroupPresignedPostUrl(requestParameters, options) {
|
|
1742
|
+
return (0, exports.FilesV1ApiFp)(this.configuration).filesV1ControllerGetGroupPresignedPostUrl(requestParameters.groupId, requestParameters.groupGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1743
|
+
}
|
|
1744
|
+
/**
|
|
1745
|
+
*
|
|
1746
|
+
* @summary Get presigned public get url
|
|
1747
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1748
|
+
* @param {*} [options] Override http request option.
|
|
1749
|
+
* @throws {RequiredError}
|
|
1750
|
+
* @memberof FilesV1Api
|
|
1751
|
+
*/
|
|
1752
|
+
filesV1ControllerGetPublicPresignedGetUrl(requestParameters, options) {
|
|
1753
|
+
return (0, exports.FilesV1ApiFp)(this.configuration).filesV1ControllerGetPublicPresignedGetUrl(requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
1754
|
+
}
|
|
1755
|
+
/**
|
|
1756
|
+
*
|
|
1757
|
+
* @summary Get presigned public post url
|
|
1758
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1759
|
+
* @param {*} [options] Override http request option.
|
|
1760
|
+
* @throws {RequiredError}
|
|
1761
|
+
* @memberof FilesV1Api
|
|
1762
|
+
*/
|
|
1763
|
+
filesV1ControllerGetPublicPresignedPostUrl(requestParameters, options) {
|
|
1764
|
+
return (0, exports.FilesV1ApiFp)(this.configuration).filesV1ControllerGetPublicPresignedPostUrl(requestParameters.publicGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1765
|
+
}
|
|
1460
1766
|
/**
|
|
1461
1767
|
*
|
|
1462
1768
|
* @summary Get presigned get url
|
|
1463
|
-
* @param {
|
|
1769
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1464
1770
|
* @param {*} [options] Override http request option.
|
|
1465
1771
|
* @throws {RequiredError}
|
|
1466
1772
|
* @memberof FilesV1Api
|
|
1467
1773
|
*/
|
|
1468
|
-
|
|
1469
|
-
return (0, exports.FilesV1ApiFp)(this.configuration).
|
|
1774
|
+
filesV1ControllerGetUserPresignedGetUrl(requestParameters, options) {
|
|
1775
|
+
return (0, exports.FilesV1ApiFp)(this.configuration).filesV1ControllerGetUserPresignedGetUrl(requestParameters.userId, requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
1470
1776
|
}
|
|
1471
1777
|
/**
|
|
1472
1778
|
*
|
|
1473
1779
|
* @summary Get presigned post url
|
|
1474
|
-
* @param {
|
|
1780
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1475
1781
|
* @param {*} [options] Override http request option.
|
|
1476
1782
|
* @throws {RequiredError}
|
|
1477
1783
|
* @memberof FilesV1Api
|
|
1478
1784
|
*/
|
|
1479
|
-
|
|
1480
|
-
return (0, exports.FilesV1ApiFp)(this.configuration).
|
|
1785
|
+
filesV1ControllerGetUserPresignedPostUrl(requestParameters, options) {
|
|
1786
|
+
return (0, exports.FilesV1ApiFp)(this.configuration).filesV1ControllerGetUserPresignedPostUrl(requestParameters.userId, requestParameters.userGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1481
1787
|
}
|
|
1482
1788
|
}
|
|
1483
1789
|
exports.FilesV1Api = FilesV1Api;
|