@teemill/platform 0.20.0 → 0.21.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 +6 -2
- package/api.ts +338 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +217 -1
- package/dist/api.js +202 -2
- 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 +217 -1
- package/dist/esm/api.js +197 -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/docs/SaveTermsRequest.md +24 -0
- package/docs/Terms.md +32 -0
- package/docs/TermsApi.md +127 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.21.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.ListCustomersSortByEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.EnquiryStatusEnum = void 0;
|
|
25
|
+
exports.TermsApi = exports.TermsApiFactory = exports.TermsApiFp = exports.TermsApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.ListCustomersSortByEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.EnquiryStatusEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -2278,3 +2278,203 @@ class ReviewsApi extends base_1.BaseAPI {
|
|
|
2278
2278
|
}
|
|
2279
2279
|
}
|
|
2280
2280
|
exports.ReviewsApi = ReviewsApi;
|
|
2281
|
+
/**
|
|
2282
|
+
* TermsApi - axios parameter creator
|
|
2283
|
+
* @export
|
|
2284
|
+
*/
|
|
2285
|
+
const TermsApiAxiosParamCreator = function (configuration) {
|
|
2286
|
+
return {
|
|
2287
|
+
/**
|
|
2288
|
+
*
|
|
2289
|
+
* @summary Get the platform\'s terms
|
|
2290
|
+
* @param {string} project Project unique identifier
|
|
2291
|
+
* @param {string} platformId The platform identifier
|
|
2292
|
+
* @param {*} [options] Override http request option.
|
|
2293
|
+
* @throws {RequiredError}
|
|
2294
|
+
*/
|
|
2295
|
+
getTerms: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
|
|
2296
|
+
// verify required parameter 'project' is not null or undefined
|
|
2297
|
+
(0, common_1.assertParamExists)('getTerms', 'project', project);
|
|
2298
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
2299
|
+
(0, common_1.assertParamExists)('getTerms', 'platformId', platformId);
|
|
2300
|
+
const localVarPath = `/v1/platform/{platformId}/terms`
|
|
2301
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
2302
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2303
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2304
|
+
let baseOptions;
|
|
2305
|
+
if (configuration) {
|
|
2306
|
+
baseOptions = configuration.baseOptions;
|
|
2307
|
+
}
|
|
2308
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2309
|
+
const localVarHeaderParameter = {};
|
|
2310
|
+
const localVarQueryParameter = {};
|
|
2311
|
+
// authentication session-oauth required
|
|
2312
|
+
// oauth required
|
|
2313
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
2314
|
+
// authentication api-key required
|
|
2315
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2316
|
+
if (project !== undefined) {
|
|
2317
|
+
localVarQueryParameter['project'] = project;
|
|
2318
|
+
}
|
|
2319
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2321
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2322
|
+
return {
|
|
2323
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2324
|
+
options: localVarRequestOptions,
|
|
2325
|
+
};
|
|
2326
|
+
}),
|
|
2327
|
+
/**
|
|
2328
|
+
*
|
|
2329
|
+
* @summary Save the platform\'s terms
|
|
2330
|
+
* @param {string} project Project unique identifier
|
|
2331
|
+
* @param {string} platformId The platform identifier
|
|
2332
|
+
* @param {SaveTermsRequest} saveTermsRequest Save terms
|
|
2333
|
+
* @param {*} [options] Override http request option.
|
|
2334
|
+
* @throws {RequiredError}
|
|
2335
|
+
*/
|
|
2336
|
+
saveTerms: (project_1, platformId_1, saveTermsRequest_1, ...args_1) => __awaiter(this, [project_1, platformId_1, saveTermsRequest_1, ...args_1], void 0, function* (project, platformId, saveTermsRequest, options = {}) {
|
|
2337
|
+
// verify required parameter 'project' is not null or undefined
|
|
2338
|
+
(0, common_1.assertParamExists)('saveTerms', 'project', project);
|
|
2339
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
2340
|
+
(0, common_1.assertParamExists)('saveTerms', 'platformId', platformId);
|
|
2341
|
+
// verify required parameter 'saveTermsRequest' is not null or undefined
|
|
2342
|
+
(0, common_1.assertParamExists)('saveTerms', 'saveTermsRequest', saveTermsRequest);
|
|
2343
|
+
const localVarPath = `/v1/platform/{platformId}/terms`
|
|
2344
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
2345
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2346
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2347
|
+
let baseOptions;
|
|
2348
|
+
if (configuration) {
|
|
2349
|
+
baseOptions = configuration.baseOptions;
|
|
2350
|
+
}
|
|
2351
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2352
|
+
const localVarHeaderParameter = {};
|
|
2353
|
+
const localVarQueryParameter = {};
|
|
2354
|
+
// authentication session-oauth required
|
|
2355
|
+
// oauth required
|
|
2356
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
2357
|
+
// authentication api-key required
|
|
2358
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2359
|
+
if (project !== undefined) {
|
|
2360
|
+
localVarQueryParameter['project'] = project;
|
|
2361
|
+
}
|
|
2362
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2363
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2364
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2365
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2366
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveTermsRequest, localVarRequestOptions, configuration);
|
|
2367
|
+
return {
|
|
2368
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2369
|
+
options: localVarRequestOptions,
|
|
2370
|
+
};
|
|
2371
|
+
}),
|
|
2372
|
+
};
|
|
2373
|
+
};
|
|
2374
|
+
exports.TermsApiAxiosParamCreator = TermsApiAxiosParamCreator;
|
|
2375
|
+
/**
|
|
2376
|
+
* TermsApi - functional programming interface
|
|
2377
|
+
* @export
|
|
2378
|
+
*/
|
|
2379
|
+
const TermsApiFp = function (configuration) {
|
|
2380
|
+
const localVarAxiosParamCreator = (0, exports.TermsApiAxiosParamCreator)(configuration);
|
|
2381
|
+
return {
|
|
2382
|
+
/**
|
|
2383
|
+
*
|
|
2384
|
+
* @summary Get the platform\'s terms
|
|
2385
|
+
* @param {string} project Project unique identifier
|
|
2386
|
+
* @param {string} platformId The platform identifier
|
|
2387
|
+
* @param {*} [options] Override http request option.
|
|
2388
|
+
* @throws {RequiredError}
|
|
2389
|
+
*/
|
|
2390
|
+
getTerms(project, platformId, options) {
|
|
2391
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2392
|
+
var _a, _b, _c;
|
|
2393
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTerms(project, platformId, options);
|
|
2394
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2395
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TermsApi.getTerms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2396
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2397
|
+
});
|
|
2398
|
+
},
|
|
2399
|
+
/**
|
|
2400
|
+
*
|
|
2401
|
+
* @summary Save the platform\'s terms
|
|
2402
|
+
* @param {string} project Project unique identifier
|
|
2403
|
+
* @param {string} platformId The platform identifier
|
|
2404
|
+
* @param {SaveTermsRequest} saveTermsRequest Save terms
|
|
2405
|
+
* @param {*} [options] Override http request option.
|
|
2406
|
+
* @throws {RequiredError}
|
|
2407
|
+
*/
|
|
2408
|
+
saveTerms(project, platformId, saveTermsRequest, options) {
|
|
2409
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2410
|
+
var _a, _b, _c;
|
|
2411
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.saveTerms(project, platformId, saveTermsRequest, options);
|
|
2412
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2413
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TermsApi.saveTerms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2414
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2415
|
+
});
|
|
2416
|
+
},
|
|
2417
|
+
};
|
|
2418
|
+
};
|
|
2419
|
+
exports.TermsApiFp = TermsApiFp;
|
|
2420
|
+
/**
|
|
2421
|
+
* TermsApi - factory interface
|
|
2422
|
+
* @export
|
|
2423
|
+
*/
|
|
2424
|
+
const TermsApiFactory = function (configuration, basePath, axios) {
|
|
2425
|
+
const localVarFp = (0, exports.TermsApiFp)(configuration);
|
|
2426
|
+
return {
|
|
2427
|
+
/**
|
|
2428
|
+
*
|
|
2429
|
+
* @summary Get the platform\'s terms
|
|
2430
|
+
* @param {TermsApiGetTermsRequest} requestParameters Request parameters.
|
|
2431
|
+
* @param {*} [options] Override http request option.
|
|
2432
|
+
* @throws {RequiredError}
|
|
2433
|
+
*/
|
|
2434
|
+
getTerms(requestParameters, options) {
|
|
2435
|
+
return localVarFp.getTerms(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
|
|
2436
|
+
},
|
|
2437
|
+
/**
|
|
2438
|
+
*
|
|
2439
|
+
* @summary Save the platform\'s terms
|
|
2440
|
+
* @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
|
|
2441
|
+
* @param {*} [options] Override http request option.
|
|
2442
|
+
* @throws {RequiredError}
|
|
2443
|
+
*/
|
|
2444
|
+
saveTerms(requestParameters, options) {
|
|
2445
|
+
return localVarFp.saveTerms(requestParameters.project, requestParameters.platformId, requestParameters.saveTermsRequest, options).then((request) => request(axios, basePath));
|
|
2446
|
+
},
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
exports.TermsApiFactory = TermsApiFactory;
|
|
2450
|
+
/**
|
|
2451
|
+
* TermsApi - object-oriented interface
|
|
2452
|
+
* @export
|
|
2453
|
+
* @class TermsApi
|
|
2454
|
+
* @extends {BaseAPI}
|
|
2455
|
+
*/
|
|
2456
|
+
class TermsApi extends base_1.BaseAPI {
|
|
2457
|
+
/**
|
|
2458
|
+
*
|
|
2459
|
+
* @summary Get the platform\'s terms
|
|
2460
|
+
* @param {TermsApiGetTermsRequest} requestParameters Request parameters.
|
|
2461
|
+
* @param {*} [options] Override http request option.
|
|
2462
|
+
* @throws {RequiredError}
|
|
2463
|
+
* @memberof TermsApi
|
|
2464
|
+
*/
|
|
2465
|
+
getTerms(requestParameters, options) {
|
|
2466
|
+
return (0, exports.TermsApiFp)(this.configuration).getTerms(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
|
|
2467
|
+
}
|
|
2468
|
+
/**
|
|
2469
|
+
*
|
|
2470
|
+
* @summary Save the platform\'s terms
|
|
2471
|
+
* @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
|
|
2472
|
+
* @param {*} [options] Override http request option.
|
|
2473
|
+
* @throws {RequiredError}
|
|
2474
|
+
* @memberof TermsApi
|
|
2475
|
+
*/
|
|
2476
|
+
saveTerms(requestParameters, options) {
|
|
2477
|
+
return (0, exports.TermsApiFp)(this.configuration).saveTerms(requestParameters.project, requestParameters.platformId, requestParameters.saveTermsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
exports.TermsApi = TermsApi;
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.21.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1349,6 +1349,31 @@ export interface ReviewsResponse {
|
|
|
1349
1349
|
*/
|
|
1350
1350
|
'nextPageToken'?: number | null;
|
|
1351
1351
|
}
|
|
1352
|
+
/**
|
|
1353
|
+
*
|
|
1354
|
+
* @export
|
|
1355
|
+
* @interface SaveTermsRequest
|
|
1356
|
+
*/
|
|
1357
|
+
export interface SaveTermsRequest {
|
|
1358
|
+
/**
|
|
1359
|
+
*
|
|
1360
|
+
* @type {string}
|
|
1361
|
+
* @memberof SaveTermsRequest
|
|
1362
|
+
*/
|
|
1363
|
+
'title': string;
|
|
1364
|
+
/**
|
|
1365
|
+
*
|
|
1366
|
+
* @type {string}
|
|
1367
|
+
* @memberof SaveTermsRequest
|
|
1368
|
+
*/
|
|
1369
|
+
'content': string;
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @type {boolean}
|
|
1373
|
+
* @memberof SaveTermsRequest
|
|
1374
|
+
*/
|
|
1375
|
+
'enabled': boolean;
|
|
1376
|
+
}
|
|
1352
1377
|
/**
|
|
1353
1378
|
*
|
|
1354
1379
|
* @export
|
|
@@ -1448,6 +1473,55 @@ export interface StatusHistoryItem {
|
|
|
1448
1473
|
*/
|
|
1449
1474
|
'createdAt'?: string;
|
|
1450
1475
|
}
|
|
1476
|
+
/**
|
|
1477
|
+
*
|
|
1478
|
+
* @export
|
|
1479
|
+
* @interface Terms
|
|
1480
|
+
*/
|
|
1481
|
+
export interface Terms {
|
|
1482
|
+
/**
|
|
1483
|
+
*
|
|
1484
|
+
* @type {string}
|
|
1485
|
+
* @memberof Terms
|
|
1486
|
+
*/
|
|
1487
|
+
'id': string;
|
|
1488
|
+
/**
|
|
1489
|
+
*
|
|
1490
|
+
* @type {string}
|
|
1491
|
+
* @memberof Terms
|
|
1492
|
+
*/
|
|
1493
|
+
'title': string;
|
|
1494
|
+
/**
|
|
1495
|
+
*
|
|
1496
|
+
* @type {string}
|
|
1497
|
+
* @memberof Terms
|
|
1498
|
+
*/
|
|
1499
|
+
'content': string;
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @type {number}
|
|
1503
|
+
* @memberof Terms
|
|
1504
|
+
*/
|
|
1505
|
+
'version': number;
|
|
1506
|
+
/**
|
|
1507
|
+
*
|
|
1508
|
+
* @type {boolean}
|
|
1509
|
+
* @memberof Terms
|
|
1510
|
+
*/
|
|
1511
|
+
'enabled': boolean;
|
|
1512
|
+
/**
|
|
1513
|
+
*
|
|
1514
|
+
* @type {string}
|
|
1515
|
+
* @memberof Terms
|
|
1516
|
+
*/
|
|
1517
|
+
'createdAt': string;
|
|
1518
|
+
/**
|
|
1519
|
+
*
|
|
1520
|
+
* @type {string}
|
|
1521
|
+
* @memberof Terms
|
|
1522
|
+
*/
|
|
1523
|
+
'updatedAt': string;
|
|
1524
|
+
}
|
|
1451
1525
|
/**
|
|
1452
1526
|
*
|
|
1453
1527
|
* @export
|
|
@@ -3269,3 +3343,145 @@ export declare class ReviewsApi extends BaseAPI {
|
|
|
3269
3343
|
*/
|
|
3270
3344
|
moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Review, any>>;
|
|
3271
3345
|
}
|
|
3346
|
+
/**
|
|
3347
|
+
* TermsApi - axios parameter creator
|
|
3348
|
+
* @export
|
|
3349
|
+
*/
|
|
3350
|
+
export declare const TermsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3351
|
+
/**
|
|
3352
|
+
*
|
|
3353
|
+
* @summary Get the platform\'s terms
|
|
3354
|
+
* @param {string} project Project unique identifier
|
|
3355
|
+
* @param {string} platformId The platform identifier
|
|
3356
|
+
* @param {*} [options] Override http request option.
|
|
3357
|
+
* @throws {RequiredError}
|
|
3358
|
+
*/
|
|
3359
|
+
getTerms: (project: string, platformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3360
|
+
/**
|
|
3361
|
+
*
|
|
3362
|
+
* @summary Save the platform\'s terms
|
|
3363
|
+
* @param {string} project Project unique identifier
|
|
3364
|
+
* @param {string} platformId The platform identifier
|
|
3365
|
+
* @param {SaveTermsRequest} saveTermsRequest Save terms
|
|
3366
|
+
* @param {*} [options] Override http request option.
|
|
3367
|
+
* @throws {RequiredError}
|
|
3368
|
+
*/
|
|
3369
|
+
saveTerms: (project: string, platformId: string, saveTermsRequest: SaveTermsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3370
|
+
};
|
|
3371
|
+
/**
|
|
3372
|
+
* TermsApi - functional programming interface
|
|
3373
|
+
* @export
|
|
3374
|
+
*/
|
|
3375
|
+
export declare const TermsApiFp: (configuration?: Configuration) => {
|
|
3376
|
+
/**
|
|
3377
|
+
*
|
|
3378
|
+
* @summary Get the platform\'s terms
|
|
3379
|
+
* @param {string} project Project unique identifier
|
|
3380
|
+
* @param {string} platformId The platform identifier
|
|
3381
|
+
* @param {*} [options] Override http request option.
|
|
3382
|
+
* @throws {RequiredError}
|
|
3383
|
+
*/
|
|
3384
|
+
getTerms(project: string, platformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Terms>>;
|
|
3385
|
+
/**
|
|
3386
|
+
*
|
|
3387
|
+
* @summary Save the platform\'s terms
|
|
3388
|
+
* @param {string} project Project unique identifier
|
|
3389
|
+
* @param {string} platformId The platform identifier
|
|
3390
|
+
* @param {SaveTermsRequest} saveTermsRequest Save terms
|
|
3391
|
+
* @param {*} [options] Override http request option.
|
|
3392
|
+
* @throws {RequiredError}
|
|
3393
|
+
*/
|
|
3394
|
+
saveTerms(project: string, platformId: string, saveTermsRequest: SaveTermsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Terms>>;
|
|
3395
|
+
};
|
|
3396
|
+
/**
|
|
3397
|
+
* TermsApi - factory interface
|
|
3398
|
+
* @export
|
|
3399
|
+
*/
|
|
3400
|
+
export declare const TermsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3401
|
+
/**
|
|
3402
|
+
*
|
|
3403
|
+
* @summary Get the platform\'s terms
|
|
3404
|
+
* @param {TermsApiGetTermsRequest} requestParameters Request parameters.
|
|
3405
|
+
* @param {*} [options] Override http request option.
|
|
3406
|
+
* @throws {RequiredError}
|
|
3407
|
+
*/
|
|
3408
|
+
getTerms(requestParameters: TermsApiGetTermsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Terms>;
|
|
3409
|
+
/**
|
|
3410
|
+
*
|
|
3411
|
+
* @summary Save the platform\'s terms
|
|
3412
|
+
* @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
|
|
3413
|
+
* @param {*} [options] Override http request option.
|
|
3414
|
+
* @throws {RequiredError}
|
|
3415
|
+
*/
|
|
3416
|
+
saveTerms(requestParameters: TermsApiSaveTermsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Terms>;
|
|
3417
|
+
};
|
|
3418
|
+
/**
|
|
3419
|
+
* Request parameters for getTerms operation in TermsApi.
|
|
3420
|
+
* @export
|
|
3421
|
+
* @interface TermsApiGetTermsRequest
|
|
3422
|
+
*/
|
|
3423
|
+
export interface TermsApiGetTermsRequest {
|
|
3424
|
+
/**
|
|
3425
|
+
* Project unique identifier
|
|
3426
|
+
* @type {string}
|
|
3427
|
+
* @memberof TermsApiGetTerms
|
|
3428
|
+
*/
|
|
3429
|
+
readonly project: string;
|
|
3430
|
+
/**
|
|
3431
|
+
* The platform identifier
|
|
3432
|
+
* @type {string}
|
|
3433
|
+
* @memberof TermsApiGetTerms
|
|
3434
|
+
*/
|
|
3435
|
+
readonly platformId: string;
|
|
3436
|
+
}
|
|
3437
|
+
/**
|
|
3438
|
+
* Request parameters for saveTerms operation in TermsApi.
|
|
3439
|
+
* @export
|
|
3440
|
+
* @interface TermsApiSaveTermsRequest
|
|
3441
|
+
*/
|
|
3442
|
+
export interface TermsApiSaveTermsRequest {
|
|
3443
|
+
/**
|
|
3444
|
+
* Project unique identifier
|
|
3445
|
+
* @type {string}
|
|
3446
|
+
* @memberof TermsApiSaveTerms
|
|
3447
|
+
*/
|
|
3448
|
+
readonly project: string;
|
|
3449
|
+
/**
|
|
3450
|
+
* The platform identifier
|
|
3451
|
+
* @type {string}
|
|
3452
|
+
* @memberof TermsApiSaveTerms
|
|
3453
|
+
*/
|
|
3454
|
+
readonly platformId: string;
|
|
3455
|
+
/**
|
|
3456
|
+
* Save terms
|
|
3457
|
+
* @type {SaveTermsRequest}
|
|
3458
|
+
* @memberof TermsApiSaveTerms
|
|
3459
|
+
*/
|
|
3460
|
+
readonly saveTermsRequest: SaveTermsRequest;
|
|
3461
|
+
}
|
|
3462
|
+
/**
|
|
3463
|
+
* TermsApi - object-oriented interface
|
|
3464
|
+
* @export
|
|
3465
|
+
* @class TermsApi
|
|
3466
|
+
* @extends {BaseAPI}
|
|
3467
|
+
*/
|
|
3468
|
+
export declare class TermsApi extends BaseAPI {
|
|
3469
|
+
/**
|
|
3470
|
+
*
|
|
3471
|
+
* @summary Get the platform\'s terms
|
|
3472
|
+
* @param {TermsApiGetTermsRequest} requestParameters Request parameters.
|
|
3473
|
+
* @param {*} [options] Override http request option.
|
|
3474
|
+
* @throws {RequiredError}
|
|
3475
|
+
* @memberof TermsApi
|
|
3476
|
+
*/
|
|
3477
|
+
getTerms(requestParameters: TermsApiGetTermsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Terms, any>>;
|
|
3478
|
+
/**
|
|
3479
|
+
*
|
|
3480
|
+
* @summary Save the platform\'s terms
|
|
3481
|
+
* @param {TermsApiSaveTermsRequest} requestParameters Request parameters.
|
|
3482
|
+
* @param {*} [options] Override http request option.
|
|
3483
|
+
* @throws {RequiredError}
|
|
3484
|
+
* @memberof TermsApi
|
|
3485
|
+
*/
|
|
3486
|
+
saveTerms(requestParameters: TermsApiSaveTermsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Terms, any>>;
|
|
3487
|
+
}
|