@dimrev4/fitness-v3-backend 0.0.35 → 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/esm/api.js
CHANGED
|
@@ -1262,15 +1262,19 @@ export const FilesV1ApiAxiosParamCreator = function (configuration) {
|
|
|
1262
1262
|
}),
|
|
1263
1263
|
/**
|
|
1264
1264
|
*
|
|
1265
|
-
* @summary Get presigned get url
|
|
1265
|
+
* @summary Get presigned get group url
|
|
1266
|
+
* @param {string} groupId
|
|
1266
1267
|
* @param {string} filepath
|
|
1267
1268
|
* @param {*} [options] Override http request option.
|
|
1268
1269
|
* @throws {RequiredError}
|
|
1269
1270
|
*/
|
|
1270
|
-
|
|
1271
|
+
filesV1ControllerGetGroupPresignedGetUrl: (groupId_1, filepath_1, ...args_1) => __awaiter(this, [groupId_1, filepath_1, ...args_1], void 0, function* (groupId, filepath, options = {}) {
|
|
1272
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
1273
|
+
assertParamExists('filesV1ControllerGetGroupPresignedGetUrl', 'groupId', groupId);
|
|
1271
1274
|
// verify required parameter 'filepath' is not null or undefined
|
|
1272
|
-
assertParamExists('
|
|
1273
|
-
const localVarPath = `/api/files/v1/
|
|
1275
|
+
assertParamExists('filesV1ControllerGetGroupPresignedGetUrl', 'filepath', filepath);
|
|
1276
|
+
const localVarPath = `/api/files/v1/group/{groupId}/presigned-url/{filepath}`
|
|
1277
|
+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
|
|
1274
1278
|
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
1275
1279
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1276
1280
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1296,14 +1300,87 @@ export const FilesV1ApiAxiosParamCreator = function (configuration) {
|
|
|
1296
1300
|
}),
|
|
1297
1301
|
/**
|
|
1298
1302
|
*
|
|
1299
|
-
* @summary Get presigned post url
|
|
1303
|
+
* @summary Get presigned post group url
|
|
1304
|
+
* @param {string} groupId
|
|
1305
|
+
* @param {GroupGetPresignedPostUrlRequestDto} groupGetPresignedPostUrlRequestDto
|
|
1306
|
+
* @param {*} [options] Override http request option.
|
|
1307
|
+
* @throws {RequiredError}
|
|
1308
|
+
*/
|
|
1309
|
+
filesV1ControllerGetGroupPresignedPostUrl: (groupId_1, groupGetPresignedPostUrlRequestDto_1, ...args_1) => __awaiter(this, [groupId_1, groupGetPresignedPostUrlRequestDto_1, ...args_1], void 0, function* (groupId, groupGetPresignedPostUrlRequestDto, options = {}) {
|
|
1310
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
1311
|
+
assertParamExists('filesV1ControllerGetGroupPresignedPostUrl', 'groupId', groupId);
|
|
1312
|
+
// verify required parameter 'groupGetPresignedPostUrlRequestDto' is not null or undefined
|
|
1313
|
+
assertParamExists('filesV1ControllerGetGroupPresignedPostUrl', 'groupGetPresignedPostUrlRequestDto', groupGetPresignedPostUrlRequestDto);
|
|
1314
|
+
const localVarPath = `/api/files/v1/group/{groupId}/presigned-url`
|
|
1315
|
+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
|
|
1316
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1317
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1318
|
+
let baseOptions;
|
|
1319
|
+
if (configuration) {
|
|
1320
|
+
baseOptions = configuration.baseOptions;
|
|
1321
|
+
}
|
|
1322
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1323
|
+
const localVarHeaderParameter = {};
|
|
1324
|
+
const localVarQueryParameter = {};
|
|
1325
|
+
// authentication apiKey required
|
|
1326
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration);
|
|
1327
|
+
// authentication bearer required
|
|
1328
|
+
// http bearer authentication required
|
|
1329
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1330
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1331
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1332
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1333
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1334
|
+
localVarRequestOptions.data = serializeDataIfNeeded(groupGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration);
|
|
1335
|
+
return {
|
|
1336
|
+
url: toPathString(localVarUrlObj),
|
|
1337
|
+
options: localVarRequestOptions,
|
|
1338
|
+
};
|
|
1339
|
+
}),
|
|
1340
|
+
/**
|
|
1341
|
+
*
|
|
1342
|
+
* @summary Get presigned public get url
|
|
1343
|
+
* @param {string} filepath
|
|
1344
|
+
* @param {*} [options] Override http request option.
|
|
1345
|
+
* @throws {RequiredError}
|
|
1346
|
+
*/
|
|
1347
|
+
filesV1ControllerGetPublicPresignedGetUrl: (filepath_1, ...args_1) => __awaiter(this, [filepath_1, ...args_1], void 0, function* (filepath, options = {}) {
|
|
1348
|
+
// verify required parameter 'filepath' is not null or undefined
|
|
1349
|
+
assertParamExists('filesV1ControllerGetPublicPresignedGetUrl', 'filepath', filepath);
|
|
1350
|
+
const localVarPath = `/api/files/v1/public/presigned-url/{filepath}`
|
|
1351
|
+
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
1352
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1353
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1354
|
+
let baseOptions;
|
|
1355
|
+
if (configuration) {
|
|
1356
|
+
baseOptions = configuration.baseOptions;
|
|
1357
|
+
}
|
|
1358
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1359
|
+
const localVarHeaderParameter = {};
|
|
1360
|
+
const localVarQueryParameter = {};
|
|
1361
|
+
// authentication apiKey required
|
|
1362
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration);
|
|
1363
|
+
// authentication bearer required
|
|
1364
|
+
// http bearer authentication required
|
|
1365
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1366
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1367
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1368
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1369
|
+
return {
|
|
1370
|
+
url: toPathString(localVarUrlObj),
|
|
1371
|
+
options: localVarRequestOptions,
|
|
1372
|
+
};
|
|
1373
|
+
}),
|
|
1374
|
+
/**
|
|
1375
|
+
*
|
|
1376
|
+
* @summary Get presigned public post url
|
|
1300
1377
|
* @param {PublicGetPresignedPostUrlRequestDto} publicGetPresignedPostUrlRequestDto
|
|
1301
1378
|
* @param {*} [options] Override http request option.
|
|
1302
1379
|
* @throws {RequiredError}
|
|
1303
1380
|
*/
|
|
1304
|
-
|
|
1381
|
+
filesV1ControllerGetPublicPresignedPostUrl: (publicGetPresignedPostUrlRequestDto_1, ...args_1) => __awaiter(this, [publicGetPresignedPostUrlRequestDto_1, ...args_1], void 0, function* (publicGetPresignedPostUrlRequestDto, options = {}) {
|
|
1305
1382
|
// verify required parameter 'publicGetPresignedPostUrlRequestDto' is not null or undefined
|
|
1306
|
-
assertParamExists('
|
|
1383
|
+
assertParamExists('filesV1ControllerGetPublicPresignedPostUrl', 'publicGetPresignedPostUrlRequestDto', publicGetPresignedPostUrlRequestDto);
|
|
1307
1384
|
const localVarPath = `/api/files/v1/public/presigned-url`;
|
|
1308
1385
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1309
1386
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1329,6 +1406,83 @@ export const FilesV1ApiAxiosParamCreator = function (configuration) {
|
|
|
1329
1406
|
options: localVarRequestOptions,
|
|
1330
1407
|
};
|
|
1331
1408
|
}),
|
|
1409
|
+
/**
|
|
1410
|
+
*
|
|
1411
|
+
* @summary Get presigned get url
|
|
1412
|
+
* @param {string} userId
|
|
1413
|
+
* @param {string} filepath
|
|
1414
|
+
* @param {*} [options] Override http request option.
|
|
1415
|
+
* @throws {RequiredError}
|
|
1416
|
+
*/
|
|
1417
|
+
filesV1ControllerGetUserPresignedGetUrl: (userId_1, filepath_1, ...args_1) => __awaiter(this, [userId_1, filepath_1, ...args_1], void 0, function* (userId, filepath, options = {}) {
|
|
1418
|
+
// verify required parameter 'userId' is not null or undefined
|
|
1419
|
+
assertParamExists('filesV1ControllerGetUserPresignedGetUrl', 'userId', userId);
|
|
1420
|
+
// verify required parameter 'filepath' is not null or undefined
|
|
1421
|
+
assertParamExists('filesV1ControllerGetUserPresignedGetUrl', 'filepath', filepath);
|
|
1422
|
+
const localVarPath = `/api/files/v1/user/{userId}/presigned-url/{filepath}`
|
|
1423
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
1424
|
+
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
1425
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1426
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1427
|
+
let baseOptions;
|
|
1428
|
+
if (configuration) {
|
|
1429
|
+
baseOptions = configuration.baseOptions;
|
|
1430
|
+
}
|
|
1431
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1432
|
+
const localVarHeaderParameter = {};
|
|
1433
|
+
const localVarQueryParameter = {};
|
|
1434
|
+
// authentication apiKey required
|
|
1435
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration);
|
|
1436
|
+
// authentication bearer required
|
|
1437
|
+
// http bearer authentication required
|
|
1438
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1439
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1440
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1441
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1442
|
+
return {
|
|
1443
|
+
url: toPathString(localVarUrlObj),
|
|
1444
|
+
options: localVarRequestOptions,
|
|
1445
|
+
};
|
|
1446
|
+
}),
|
|
1447
|
+
/**
|
|
1448
|
+
*
|
|
1449
|
+
* @summary Get presigned post url
|
|
1450
|
+
* @param {string} userId
|
|
1451
|
+
* @param {UserGetPresignedPostUrlRequestDto} userGetPresignedPostUrlRequestDto
|
|
1452
|
+
* @param {*} [options] Override http request option.
|
|
1453
|
+
* @throws {RequiredError}
|
|
1454
|
+
*/
|
|
1455
|
+
filesV1ControllerGetUserPresignedPostUrl: (userId_1, userGetPresignedPostUrlRequestDto_1, ...args_1) => __awaiter(this, [userId_1, userGetPresignedPostUrlRequestDto_1, ...args_1], void 0, function* (userId, userGetPresignedPostUrlRequestDto, options = {}) {
|
|
1456
|
+
// verify required parameter 'userId' is not null or undefined
|
|
1457
|
+
assertParamExists('filesV1ControllerGetUserPresignedPostUrl', 'userId', userId);
|
|
1458
|
+
// verify required parameter 'userGetPresignedPostUrlRequestDto' is not null or undefined
|
|
1459
|
+
assertParamExists('filesV1ControllerGetUserPresignedPostUrl', 'userGetPresignedPostUrlRequestDto', userGetPresignedPostUrlRequestDto);
|
|
1460
|
+
const localVarPath = `/api/files/v1/user/{userId}/presigned-url`
|
|
1461
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
1462
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1463
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1464
|
+
let baseOptions;
|
|
1465
|
+
if (configuration) {
|
|
1466
|
+
baseOptions = configuration.baseOptions;
|
|
1467
|
+
}
|
|
1468
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1469
|
+
const localVarHeaderParameter = {};
|
|
1470
|
+
const localVarQueryParameter = {};
|
|
1471
|
+
// authentication apiKey required
|
|
1472
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration);
|
|
1473
|
+
// authentication bearer required
|
|
1474
|
+
// http bearer authentication required
|
|
1475
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1476
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1477
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1478
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1479
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1480
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration);
|
|
1481
|
+
return {
|
|
1482
|
+
url: toPathString(localVarUrlObj),
|
|
1483
|
+
options: localVarRequestOptions,
|
|
1484
|
+
};
|
|
1485
|
+
}),
|
|
1332
1486
|
};
|
|
1333
1487
|
};
|
|
1334
1488
|
/**
|
|
@@ -1353,35 +1507,103 @@ export const FilesV1ApiFp = function (configuration) {
|
|
|
1353
1507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1354
1508
|
});
|
|
1355
1509
|
},
|
|
1510
|
+
/**
|
|
1511
|
+
*
|
|
1512
|
+
* @summary Get presigned get group url
|
|
1513
|
+
* @param {string} groupId
|
|
1514
|
+
* @param {string} filepath
|
|
1515
|
+
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @throws {RequiredError}
|
|
1517
|
+
*/
|
|
1518
|
+
filesV1ControllerGetGroupPresignedGetUrl(groupId, filepath, options) {
|
|
1519
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1520
|
+
var _a, _b, _c;
|
|
1521
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetGroupPresignedGetUrl(groupId, filepath, options);
|
|
1522
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1523
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FilesV1Api.filesV1ControllerGetGroupPresignedGetUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1524
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1525
|
+
});
|
|
1526
|
+
},
|
|
1527
|
+
/**
|
|
1528
|
+
*
|
|
1529
|
+
* @summary Get presigned post group url
|
|
1530
|
+
* @param {string} groupId
|
|
1531
|
+
* @param {GroupGetPresignedPostUrlRequestDto} groupGetPresignedPostUrlRequestDto
|
|
1532
|
+
* @param {*} [options] Override http request option.
|
|
1533
|
+
* @throws {RequiredError}
|
|
1534
|
+
*/
|
|
1535
|
+
filesV1ControllerGetGroupPresignedPostUrl(groupId, groupGetPresignedPostUrlRequestDto, options) {
|
|
1536
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1537
|
+
var _a, _b, _c;
|
|
1538
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetGroupPresignedPostUrl(groupId, groupGetPresignedPostUrlRequestDto, options);
|
|
1539
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1540
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FilesV1Api.filesV1ControllerGetGroupPresignedPostUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1541
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1542
|
+
});
|
|
1543
|
+
},
|
|
1544
|
+
/**
|
|
1545
|
+
*
|
|
1546
|
+
* @summary Get presigned public get url
|
|
1547
|
+
* @param {string} filepath
|
|
1548
|
+
* @param {*} [options] Override http request option.
|
|
1549
|
+
* @throws {RequiredError}
|
|
1550
|
+
*/
|
|
1551
|
+
filesV1ControllerGetPublicPresignedGetUrl(filepath, options) {
|
|
1552
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1553
|
+
var _a, _b, _c;
|
|
1554
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetPublicPresignedGetUrl(filepath, options);
|
|
1555
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1556
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FilesV1Api.filesV1ControllerGetPublicPresignedGetUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1557
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1558
|
+
});
|
|
1559
|
+
},
|
|
1560
|
+
/**
|
|
1561
|
+
*
|
|
1562
|
+
* @summary Get presigned public post url
|
|
1563
|
+
* @param {PublicGetPresignedPostUrlRequestDto} publicGetPresignedPostUrlRequestDto
|
|
1564
|
+
* @param {*} [options] Override http request option.
|
|
1565
|
+
* @throws {RequiredError}
|
|
1566
|
+
*/
|
|
1567
|
+
filesV1ControllerGetPublicPresignedPostUrl(publicGetPresignedPostUrlRequestDto, options) {
|
|
1568
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1569
|
+
var _a, _b, _c;
|
|
1570
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetPublicPresignedPostUrl(publicGetPresignedPostUrlRequestDto, options);
|
|
1571
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1572
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FilesV1Api.filesV1ControllerGetPublicPresignedPostUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1573
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1574
|
+
});
|
|
1575
|
+
},
|
|
1356
1576
|
/**
|
|
1357
1577
|
*
|
|
1358
1578
|
* @summary Get presigned get url
|
|
1579
|
+
* @param {string} userId
|
|
1359
1580
|
* @param {string} filepath
|
|
1360
1581
|
* @param {*} [options] Override http request option.
|
|
1361
1582
|
* @throws {RequiredError}
|
|
1362
1583
|
*/
|
|
1363
|
-
|
|
1584
|
+
filesV1ControllerGetUserPresignedGetUrl(userId, filepath, options) {
|
|
1364
1585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1365
1586
|
var _a, _b, _c;
|
|
1366
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1587
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetUserPresignedGetUrl(userId, filepath, options);
|
|
1367
1588
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1368
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FilesV1Api.
|
|
1589
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FilesV1Api.filesV1ControllerGetUserPresignedGetUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1369
1590
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1370
1591
|
});
|
|
1371
1592
|
},
|
|
1372
1593
|
/**
|
|
1373
1594
|
*
|
|
1374
1595
|
* @summary Get presigned post url
|
|
1375
|
-
* @param {
|
|
1596
|
+
* @param {string} userId
|
|
1597
|
+
* @param {UserGetPresignedPostUrlRequestDto} userGetPresignedPostUrlRequestDto
|
|
1376
1598
|
* @param {*} [options] Override http request option.
|
|
1377
1599
|
* @throws {RequiredError}
|
|
1378
1600
|
*/
|
|
1379
|
-
|
|
1601
|
+
filesV1ControllerGetUserPresignedPostUrl(userId, userGetPresignedPostUrlRequestDto, options) {
|
|
1380
1602
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1381
1603
|
var _a, _b, _c;
|
|
1382
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1604
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.filesV1ControllerGetUserPresignedPostUrl(userId, userGetPresignedPostUrlRequestDto, options);
|
|
1383
1605
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1384
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FilesV1Api.
|
|
1606
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FilesV1Api.filesV1ControllerGetUserPresignedPostUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1385
1607
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1386
1608
|
});
|
|
1387
1609
|
},
|
|
@@ -1403,25 +1625,65 @@ export const FilesV1ApiFactory = function (configuration, basePath, axios) {
|
|
|
1403
1625
|
filesV1ControllerGetBuckets(options) {
|
|
1404
1626
|
return localVarFp.filesV1ControllerGetBuckets(options).then((request) => request(axios, basePath));
|
|
1405
1627
|
},
|
|
1628
|
+
/**
|
|
1629
|
+
*
|
|
1630
|
+
* @summary Get presigned get group url
|
|
1631
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1632
|
+
* @param {*} [options] Override http request option.
|
|
1633
|
+
* @throws {RequiredError}
|
|
1634
|
+
*/
|
|
1635
|
+
filesV1ControllerGetGroupPresignedGetUrl(requestParameters, options) {
|
|
1636
|
+
return localVarFp.filesV1ControllerGetGroupPresignedGetUrl(requestParameters.groupId, requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
1637
|
+
},
|
|
1638
|
+
/**
|
|
1639
|
+
*
|
|
1640
|
+
* @summary Get presigned post group url
|
|
1641
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1642
|
+
* @param {*} [options] Override http request option.
|
|
1643
|
+
* @throws {RequiredError}
|
|
1644
|
+
*/
|
|
1645
|
+
filesV1ControllerGetGroupPresignedPostUrl(requestParameters, options) {
|
|
1646
|
+
return localVarFp.filesV1ControllerGetGroupPresignedPostUrl(requestParameters.groupId, requestParameters.groupGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
1647
|
+
},
|
|
1648
|
+
/**
|
|
1649
|
+
*
|
|
1650
|
+
* @summary Get presigned public get url
|
|
1651
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1652
|
+
* @param {*} [options] Override http request option.
|
|
1653
|
+
* @throws {RequiredError}
|
|
1654
|
+
*/
|
|
1655
|
+
filesV1ControllerGetPublicPresignedGetUrl(requestParameters, options) {
|
|
1656
|
+
return localVarFp.filesV1ControllerGetPublicPresignedGetUrl(requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
1657
|
+
},
|
|
1658
|
+
/**
|
|
1659
|
+
*
|
|
1660
|
+
* @summary Get presigned public post url
|
|
1661
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1662
|
+
* @param {*} [options] Override http request option.
|
|
1663
|
+
* @throws {RequiredError}
|
|
1664
|
+
*/
|
|
1665
|
+
filesV1ControllerGetPublicPresignedPostUrl(requestParameters, options) {
|
|
1666
|
+
return localVarFp.filesV1ControllerGetPublicPresignedPostUrl(requestParameters.publicGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
1667
|
+
},
|
|
1406
1668
|
/**
|
|
1407
1669
|
*
|
|
1408
1670
|
* @summary Get presigned get url
|
|
1409
|
-
* @param {
|
|
1671
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1410
1672
|
* @param {*} [options] Override http request option.
|
|
1411
1673
|
* @throws {RequiredError}
|
|
1412
1674
|
*/
|
|
1413
|
-
|
|
1414
|
-
return localVarFp.
|
|
1675
|
+
filesV1ControllerGetUserPresignedGetUrl(requestParameters, options) {
|
|
1676
|
+
return localVarFp.filesV1ControllerGetUserPresignedGetUrl(requestParameters.userId, requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
1415
1677
|
},
|
|
1416
1678
|
/**
|
|
1417
1679
|
*
|
|
1418
1680
|
* @summary Get presigned post url
|
|
1419
|
-
* @param {
|
|
1681
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1420
1682
|
* @param {*} [options] Override http request option.
|
|
1421
1683
|
* @throws {RequiredError}
|
|
1422
1684
|
*/
|
|
1423
|
-
|
|
1424
|
-
return localVarFp.
|
|
1685
|
+
filesV1ControllerGetUserPresignedPostUrl(requestParameters, options) {
|
|
1686
|
+
return localVarFp.filesV1ControllerGetUserPresignedPostUrl(requestParameters.userId, requestParameters.userGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
1425
1687
|
},
|
|
1426
1688
|
};
|
|
1427
1689
|
};
|
|
@@ -1442,27 +1704,71 @@ export class FilesV1Api extends BaseAPI {
|
|
|
1442
1704
|
filesV1ControllerGetBuckets(options) {
|
|
1443
1705
|
return FilesV1ApiFp(this.configuration).filesV1ControllerGetBuckets(options).then((request) => request(this.axios, this.basePath));
|
|
1444
1706
|
}
|
|
1707
|
+
/**
|
|
1708
|
+
*
|
|
1709
|
+
* @summary Get presigned get group url
|
|
1710
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1711
|
+
* @param {*} [options] Override http request option.
|
|
1712
|
+
* @throws {RequiredError}
|
|
1713
|
+
* @memberof FilesV1Api
|
|
1714
|
+
*/
|
|
1715
|
+
filesV1ControllerGetGroupPresignedGetUrl(requestParameters, options) {
|
|
1716
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetGroupPresignedGetUrl(requestParameters.groupId, requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
1717
|
+
}
|
|
1718
|
+
/**
|
|
1719
|
+
*
|
|
1720
|
+
* @summary Get presigned post group url
|
|
1721
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1722
|
+
* @param {*} [options] Override http request option.
|
|
1723
|
+
* @throws {RequiredError}
|
|
1724
|
+
* @memberof FilesV1Api
|
|
1725
|
+
*/
|
|
1726
|
+
filesV1ControllerGetGroupPresignedPostUrl(requestParameters, options) {
|
|
1727
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetGroupPresignedPostUrl(requestParameters.groupId, requestParameters.groupGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1728
|
+
}
|
|
1729
|
+
/**
|
|
1730
|
+
*
|
|
1731
|
+
* @summary Get presigned public get url
|
|
1732
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1733
|
+
* @param {*} [options] Override http request option.
|
|
1734
|
+
* @throws {RequiredError}
|
|
1735
|
+
* @memberof FilesV1Api
|
|
1736
|
+
*/
|
|
1737
|
+
filesV1ControllerGetPublicPresignedGetUrl(requestParameters, options) {
|
|
1738
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetPublicPresignedGetUrl(requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
1739
|
+
}
|
|
1740
|
+
/**
|
|
1741
|
+
*
|
|
1742
|
+
* @summary Get presigned public post url
|
|
1743
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1744
|
+
* @param {*} [options] Override http request option.
|
|
1745
|
+
* @throws {RequiredError}
|
|
1746
|
+
* @memberof FilesV1Api
|
|
1747
|
+
*/
|
|
1748
|
+
filesV1ControllerGetPublicPresignedPostUrl(requestParameters, options) {
|
|
1749
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetPublicPresignedPostUrl(requestParameters.publicGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1750
|
+
}
|
|
1445
1751
|
/**
|
|
1446
1752
|
*
|
|
1447
1753
|
* @summary Get presigned get url
|
|
1448
|
-
* @param {
|
|
1754
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
1449
1755
|
* @param {*} [options] Override http request option.
|
|
1450
1756
|
* @throws {RequiredError}
|
|
1451
1757
|
* @memberof FilesV1Api
|
|
1452
1758
|
*/
|
|
1453
|
-
|
|
1454
|
-
return FilesV1ApiFp(this.configuration).
|
|
1759
|
+
filesV1ControllerGetUserPresignedGetUrl(requestParameters, options) {
|
|
1760
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetUserPresignedGetUrl(requestParameters.userId, requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
1455
1761
|
}
|
|
1456
1762
|
/**
|
|
1457
1763
|
*
|
|
1458
1764
|
* @summary Get presigned post url
|
|
1459
|
-
* @param {
|
|
1765
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
1460
1766
|
* @param {*} [options] Override http request option.
|
|
1461
1767
|
* @throws {RequiredError}
|
|
1462
1768
|
* @memberof FilesV1Api
|
|
1463
1769
|
*/
|
|
1464
|
-
|
|
1465
|
-
return FilesV1ApiFp(this.configuration).
|
|
1770
|
+
filesV1ControllerGetUserPresignedPostUrl(requestParameters, options) {
|
|
1771
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetUserPresignedPostUrl(requestParameters.userId, requestParameters.userGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1466
1772
|
}
|
|
1467
1773
|
}
|
|
1468
1774
|
/**
|