@teemill/website 0.19.1 → 0.20.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/README.md +2 -2
- package/api.ts +590 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +368 -1
- package/dist/api.js +379 -3
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +368 -1
- package/dist/esm/api.js +369 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your PodOS Website
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.20.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1277,6 +1277,374 @@ export class CrossSellApi extends BaseAPI {
|
|
|
1277
1277
|
return CrossSellApiFp(this.configuration).getCrossSellProducts(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
|
+
/**
|
|
1281
|
+
* DefaultApi - axios parameter creator
|
|
1282
|
+
* @export
|
|
1283
|
+
*/
|
|
1284
|
+
export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
1285
|
+
return {
|
|
1286
|
+
/**
|
|
1287
|
+
* Get the brand for the project
|
|
1288
|
+
* @summary Get brand
|
|
1289
|
+
* @param {string} project What project it is
|
|
1290
|
+
* @param {*} [options] Override http request option.
|
|
1291
|
+
* @throws {RequiredError}
|
|
1292
|
+
*/
|
|
1293
|
+
getBrand: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1294
|
+
// verify required parameter 'project' is not null or undefined
|
|
1295
|
+
assertParamExists('getBrand', 'project', project);
|
|
1296
|
+
const localVarPath = `/v1/website/brand`;
|
|
1297
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1298
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1299
|
+
let baseOptions;
|
|
1300
|
+
if (configuration) {
|
|
1301
|
+
baseOptions = configuration.baseOptions;
|
|
1302
|
+
}
|
|
1303
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1304
|
+
const localVarHeaderParameter = {};
|
|
1305
|
+
const localVarQueryParameter = {};
|
|
1306
|
+
// authentication session-oauth required
|
|
1307
|
+
// oauth required
|
|
1308
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1309
|
+
// authentication api-key required
|
|
1310
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1311
|
+
if (project !== undefined) {
|
|
1312
|
+
localVarQueryParameter['project'] = project;
|
|
1313
|
+
}
|
|
1314
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1315
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1316
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1317
|
+
return {
|
|
1318
|
+
url: toPathString(localVarUrlObj),
|
|
1319
|
+
options: localVarRequestOptions,
|
|
1320
|
+
};
|
|
1321
|
+
}),
|
|
1322
|
+
/**
|
|
1323
|
+
* Update the brand for the project
|
|
1324
|
+
* @summary Update brand
|
|
1325
|
+
* @param {string} project What project it is
|
|
1326
|
+
* @param {UpdateBrandRequest} [updateBrandRequest] Update brand request
|
|
1327
|
+
* @param {*} [options] Override http request option.
|
|
1328
|
+
* @throws {RequiredError}
|
|
1329
|
+
*/
|
|
1330
|
+
updateBrand: (project_1, updateBrandRequest_1, ...args_1) => __awaiter(this, [project_1, updateBrandRequest_1, ...args_1], void 0, function* (project, updateBrandRequest, options = {}) {
|
|
1331
|
+
// verify required parameter 'project' is not null or undefined
|
|
1332
|
+
assertParamExists('updateBrand', 'project', project);
|
|
1333
|
+
const localVarPath = `/v1/website/brand`;
|
|
1334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1336
|
+
let baseOptions;
|
|
1337
|
+
if (configuration) {
|
|
1338
|
+
baseOptions = configuration.baseOptions;
|
|
1339
|
+
}
|
|
1340
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1341
|
+
const localVarHeaderParameter = {};
|
|
1342
|
+
const localVarQueryParameter = {};
|
|
1343
|
+
// authentication session-oauth required
|
|
1344
|
+
// oauth required
|
|
1345
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1346
|
+
// authentication api-key required
|
|
1347
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1348
|
+
if (project !== undefined) {
|
|
1349
|
+
localVarQueryParameter['project'] = project;
|
|
1350
|
+
}
|
|
1351
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1352
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1353
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1354
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1355
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateBrandRequest, localVarRequestOptions, configuration);
|
|
1356
|
+
return {
|
|
1357
|
+
url: toPathString(localVarUrlObj),
|
|
1358
|
+
options: localVarRequestOptions,
|
|
1359
|
+
};
|
|
1360
|
+
}),
|
|
1361
|
+
};
|
|
1362
|
+
};
|
|
1363
|
+
/**
|
|
1364
|
+
* DefaultApi - functional programming interface
|
|
1365
|
+
* @export
|
|
1366
|
+
*/
|
|
1367
|
+
export const DefaultApiFp = function (configuration) {
|
|
1368
|
+
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
|
|
1369
|
+
return {
|
|
1370
|
+
/**
|
|
1371
|
+
* Get the brand for the project
|
|
1372
|
+
* @summary Get brand
|
|
1373
|
+
* @param {string} project What project it is
|
|
1374
|
+
* @param {*} [options] Override http request option.
|
|
1375
|
+
* @throws {RequiredError}
|
|
1376
|
+
*/
|
|
1377
|
+
getBrand(project, options) {
|
|
1378
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1379
|
+
var _a, _b, _c;
|
|
1380
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBrand(project, options);
|
|
1381
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1382
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getBrand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1383
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1384
|
+
});
|
|
1385
|
+
},
|
|
1386
|
+
/**
|
|
1387
|
+
* Update the brand for the project
|
|
1388
|
+
* @summary Update brand
|
|
1389
|
+
* @param {string} project What project it is
|
|
1390
|
+
* @param {UpdateBrandRequest} [updateBrandRequest] Update brand request
|
|
1391
|
+
* @param {*} [options] Override http request option.
|
|
1392
|
+
* @throws {RequiredError}
|
|
1393
|
+
*/
|
|
1394
|
+
updateBrand(project, updateBrandRequest, options) {
|
|
1395
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1396
|
+
var _a, _b, _c;
|
|
1397
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBrand(project, updateBrandRequest, options);
|
|
1398
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1399
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.updateBrand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1400
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1401
|
+
});
|
|
1402
|
+
},
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* DefaultApi - factory interface
|
|
1407
|
+
* @export
|
|
1408
|
+
*/
|
|
1409
|
+
export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
1410
|
+
const localVarFp = DefaultApiFp(configuration);
|
|
1411
|
+
return {
|
|
1412
|
+
/**
|
|
1413
|
+
* Get the brand for the project
|
|
1414
|
+
* @summary Get brand
|
|
1415
|
+
* @param {DefaultApiGetBrandRequest} requestParameters Request parameters.
|
|
1416
|
+
* @param {*} [options] Override http request option.
|
|
1417
|
+
* @throws {RequiredError}
|
|
1418
|
+
*/
|
|
1419
|
+
getBrand(requestParameters, options) {
|
|
1420
|
+
return localVarFp.getBrand(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1421
|
+
},
|
|
1422
|
+
/**
|
|
1423
|
+
* Update the brand for the project
|
|
1424
|
+
* @summary Update brand
|
|
1425
|
+
* @param {DefaultApiUpdateBrandRequest} requestParameters Request parameters.
|
|
1426
|
+
* @param {*} [options] Override http request option.
|
|
1427
|
+
* @throws {RequiredError}
|
|
1428
|
+
*/
|
|
1429
|
+
updateBrand(requestParameters, options) {
|
|
1430
|
+
return localVarFp.updateBrand(requestParameters.project, requestParameters.updateBrandRequest, options).then((request) => request(axios, basePath));
|
|
1431
|
+
},
|
|
1432
|
+
};
|
|
1433
|
+
};
|
|
1434
|
+
/**
|
|
1435
|
+
* DefaultApi - object-oriented interface
|
|
1436
|
+
* @export
|
|
1437
|
+
* @class DefaultApi
|
|
1438
|
+
* @extends {BaseAPI}
|
|
1439
|
+
*/
|
|
1440
|
+
export class DefaultApi extends BaseAPI {
|
|
1441
|
+
/**
|
|
1442
|
+
* Get the brand for the project
|
|
1443
|
+
* @summary Get brand
|
|
1444
|
+
* @param {DefaultApiGetBrandRequest} requestParameters Request parameters.
|
|
1445
|
+
* @param {*} [options] Override http request option.
|
|
1446
|
+
* @throws {RequiredError}
|
|
1447
|
+
* @memberof DefaultApi
|
|
1448
|
+
*/
|
|
1449
|
+
getBrand(requestParameters, options) {
|
|
1450
|
+
return DefaultApiFp(this.configuration).getBrand(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1451
|
+
}
|
|
1452
|
+
/**
|
|
1453
|
+
* Update the brand for the project
|
|
1454
|
+
* @summary Update brand
|
|
1455
|
+
* @param {DefaultApiUpdateBrandRequest} requestParameters Request parameters.
|
|
1456
|
+
* @param {*} [options] Override http request option.
|
|
1457
|
+
* @throws {RequiredError}
|
|
1458
|
+
* @memberof DefaultApi
|
|
1459
|
+
*/
|
|
1460
|
+
updateBrand(requestParameters, options) {
|
|
1461
|
+
return DefaultApiFp(this.configuration).updateBrand(requestParameters.project, requestParameters.updateBrandRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
/**
|
|
1465
|
+
* FooterApi - axios parameter creator
|
|
1466
|
+
* @export
|
|
1467
|
+
*/
|
|
1468
|
+
export const FooterApiAxiosParamCreator = function (configuration) {
|
|
1469
|
+
return {
|
|
1470
|
+
/**
|
|
1471
|
+
* Get the footer for the project
|
|
1472
|
+
* @summary Get footer
|
|
1473
|
+
* @param {string} project What project it is
|
|
1474
|
+
* @param {*} [options] Override http request option.
|
|
1475
|
+
* @throws {RequiredError}
|
|
1476
|
+
*/
|
|
1477
|
+
getFooter: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1478
|
+
// verify required parameter 'project' is not null or undefined
|
|
1479
|
+
assertParamExists('getFooter', 'project', project);
|
|
1480
|
+
const localVarPath = `/v1/website/footer`;
|
|
1481
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1482
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1483
|
+
let baseOptions;
|
|
1484
|
+
if (configuration) {
|
|
1485
|
+
baseOptions = configuration.baseOptions;
|
|
1486
|
+
}
|
|
1487
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1488
|
+
const localVarHeaderParameter = {};
|
|
1489
|
+
const localVarQueryParameter = {};
|
|
1490
|
+
// authentication session-oauth required
|
|
1491
|
+
// oauth required
|
|
1492
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1493
|
+
// authentication api-key required
|
|
1494
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1495
|
+
if (project !== undefined) {
|
|
1496
|
+
localVarQueryParameter['project'] = project;
|
|
1497
|
+
}
|
|
1498
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1499
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1500
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1501
|
+
return {
|
|
1502
|
+
url: toPathString(localVarUrlObj),
|
|
1503
|
+
options: localVarRequestOptions,
|
|
1504
|
+
};
|
|
1505
|
+
}),
|
|
1506
|
+
/**
|
|
1507
|
+
* Update a footer
|
|
1508
|
+
* @summary Update footer
|
|
1509
|
+
* @param {string} project What project it is
|
|
1510
|
+
* @param {UpdateFooterRequest} [updateFooterRequest] Update footer
|
|
1511
|
+
* @param {*} [options] Override http request option.
|
|
1512
|
+
* @throws {RequiredError}
|
|
1513
|
+
*/
|
|
1514
|
+
updateFooter: (project_1, updateFooterRequest_1, ...args_1) => __awaiter(this, [project_1, updateFooterRequest_1, ...args_1], void 0, function* (project, updateFooterRequest, options = {}) {
|
|
1515
|
+
// verify required parameter 'project' is not null or undefined
|
|
1516
|
+
assertParamExists('updateFooter', 'project', project);
|
|
1517
|
+
const localVarPath = `/v1/website/footer`;
|
|
1518
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1519
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1520
|
+
let baseOptions;
|
|
1521
|
+
if (configuration) {
|
|
1522
|
+
baseOptions = configuration.baseOptions;
|
|
1523
|
+
}
|
|
1524
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
1525
|
+
const localVarHeaderParameter = {};
|
|
1526
|
+
const localVarQueryParameter = {};
|
|
1527
|
+
// authentication session-oauth required
|
|
1528
|
+
// oauth required
|
|
1529
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1530
|
+
// authentication api-key required
|
|
1531
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1532
|
+
if (project !== undefined) {
|
|
1533
|
+
localVarQueryParameter['project'] = project;
|
|
1534
|
+
}
|
|
1535
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1536
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1537
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1538
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1539
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateFooterRequest, localVarRequestOptions, configuration);
|
|
1540
|
+
return {
|
|
1541
|
+
url: toPathString(localVarUrlObj),
|
|
1542
|
+
options: localVarRequestOptions,
|
|
1543
|
+
};
|
|
1544
|
+
}),
|
|
1545
|
+
};
|
|
1546
|
+
};
|
|
1547
|
+
/**
|
|
1548
|
+
* FooterApi - functional programming interface
|
|
1549
|
+
* @export
|
|
1550
|
+
*/
|
|
1551
|
+
export const FooterApiFp = function (configuration) {
|
|
1552
|
+
const localVarAxiosParamCreator = FooterApiAxiosParamCreator(configuration);
|
|
1553
|
+
return {
|
|
1554
|
+
/**
|
|
1555
|
+
* Get the footer for the project
|
|
1556
|
+
* @summary Get footer
|
|
1557
|
+
* @param {string} project What project it is
|
|
1558
|
+
* @param {*} [options] Override http request option.
|
|
1559
|
+
* @throws {RequiredError}
|
|
1560
|
+
*/
|
|
1561
|
+
getFooter(project, options) {
|
|
1562
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1563
|
+
var _a, _b, _c;
|
|
1564
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFooter(project, options);
|
|
1565
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1566
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FooterApi.getFooter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1567
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1568
|
+
});
|
|
1569
|
+
},
|
|
1570
|
+
/**
|
|
1571
|
+
* Update a footer
|
|
1572
|
+
* @summary Update footer
|
|
1573
|
+
* @param {string} project What project it is
|
|
1574
|
+
* @param {UpdateFooterRequest} [updateFooterRequest] Update footer
|
|
1575
|
+
* @param {*} [options] Override http request option.
|
|
1576
|
+
* @throws {RequiredError}
|
|
1577
|
+
*/
|
|
1578
|
+
updateFooter(project, updateFooterRequest, options) {
|
|
1579
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1580
|
+
var _a, _b, _c;
|
|
1581
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateFooter(project, updateFooterRequest, options);
|
|
1582
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1583
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FooterApi.updateFooter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1584
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1585
|
+
});
|
|
1586
|
+
},
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
/**
|
|
1590
|
+
* FooterApi - factory interface
|
|
1591
|
+
* @export
|
|
1592
|
+
*/
|
|
1593
|
+
export const FooterApiFactory = function (configuration, basePath, axios) {
|
|
1594
|
+
const localVarFp = FooterApiFp(configuration);
|
|
1595
|
+
return {
|
|
1596
|
+
/**
|
|
1597
|
+
* Get the footer for the project
|
|
1598
|
+
* @summary Get footer
|
|
1599
|
+
* @param {FooterApiGetFooterRequest} requestParameters Request parameters.
|
|
1600
|
+
* @param {*} [options] Override http request option.
|
|
1601
|
+
* @throws {RequiredError}
|
|
1602
|
+
*/
|
|
1603
|
+
getFooter(requestParameters, options) {
|
|
1604
|
+
return localVarFp.getFooter(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1605
|
+
},
|
|
1606
|
+
/**
|
|
1607
|
+
* Update a footer
|
|
1608
|
+
* @summary Update footer
|
|
1609
|
+
* @param {FooterApiUpdateFooterRequest} requestParameters Request parameters.
|
|
1610
|
+
* @param {*} [options] Override http request option.
|
|
1611
|
+
* @throws {RequiredError}
|
|
1612
|
+
*/
|
|
1613
|
+
updateFooter(requestParameters, options) {
|
|
1614
|
+
return localVarFp.updateFooter(requestParameters.project, requestParameters.updateFooterRequest, options).then((request) => request(axios, basePath));
|
|
1615
|
+
},
|
|
1616
|
+
};
|
|
1617
|
+
};
|
|
1618
|
+
/**
|
|
1619
|
+
* FooterApi - object-oriented interface
|
|
1620
|
+
* @export
|
|
1621
|
+
* @class FooterApi
|
|
1622
|
+
* @extends {BaseAPI}
|
|
1623
|
+
*/
|
|
1624
|
+
export class FooterApi extends BaseAPI {
|
|
1625
|
+
/**
|
|
1626
|
+
* Get the footer for the project
|
|
1627
|
+
* @summary Get footer
|
|
1628
|
+
* @param {FooterApiGetFooterRequest} requestParameters Request parameters.
|
|
1629
|
+
* @param {*} [options] Override http request option.
|
|
1630
|
+
* @throws {RequiredError}
|
|
1631
|
+
* @memberof FooterApi
|
|
1632
|
+
*/
|
|
1633
|
+
getFooter(requestParameters, options) {
|
|
1634
|
+
return FooterApiFp(this.configuration).getFooter(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* Update a footer
|
|
1638
|
+
* @summary Update footer
|
|
1639
|
+
* @param {FooterApiUpdateFooterRequest} requestParameters Request parameters.
|
|
1640
|
+
* @param {*} [options] Override http request option.
|
|
1641
|
+
* @throws {RequiredError}
|
|
1642
|
+
* @memberof FooterApi
|
|
1643
|
+
*/
|
|
1644
|
+
updateFooter(requestParameters, options) {
|
|
1645
|
+
return FooterApiFp(this.configuration).updateFooter(requestParameters.project, requestParameters.updateFooterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1280
1648
|
/**
|
|
1281
1649
|
* MenuApi - axios parameter creator
|
|
1282
1650
|
* @export
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/index.ts
CHANGED