flexinet-api 0.0.318-prerelease0 → 0.0.319-prerelease0
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 +55 -55
- package/dist/api.d.ts +8 -8
- package/dist/api.js +55 -55
- package/dist/esm/api.d.ts +8 -8
- package/dist/esm/api.js +55 -55
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -294,7 +294,7 @@ export const AuditApiAxiosParamCreator = function (configuration) {
|
|
|
294
294
|
assertParamExists('listAuditLogs', 'objectType', objectType);
|
|
295
295
|
// verify required parameter 'objectID' is not null or undefined
|
|
296
296
|
assertParamExists('listAuditLogs', 'objectID', objectID);
|
|
297
|
-
const localVarPath = `/audit/{objectType}/{objectID}`
|
|
297
|
+
const localVarPath = `/admins/audit/{objectType}/{objectID}`
|
|
298
298
|
.replace(`{${"objectType"}}`, encodeURIComponent(String(objectType)))
|
|
299
299
|
.replace(`{${"objectID"}}`, encodeURIComponent(String(objectID)));
|
|
300
300
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -328,7 +328,7 @@ export const AuditApiAxiosParamCreator = function (configuration) {
|
|
|
328
328
|
listUserAuditLogs: (userID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
329
329
|
// verify required parameter 'userID' is not null or undefined
|
|
330
330
|
assertParamExists('listUserAuditLogs', 'userID', userID);
|
|
331
|
-
const localVarPath = `/audit/user/{userID}`
|
|
331
|
+
const localVarPath = `/admins/audit/user/{userID}`
|
|
332
332
|
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
333
333
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
334
334
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -474,7 +474,7 @@ export const BalanceApiAxiosParamCreator = function (configuration) {
|
|
|
474
474
|
assertParamExists('getBalance', 'beneficiaryValue', beneficiaryValue);
|
|
475
475
|
// verify required parameter 'kind' is not null or undefined
|
|
476
476
|
assertParamExists('getBalance', 'kind', kind);
|
|
477
|
-
const localVarPath = `/balances`;
|
|
477
|
+
const localVarPath = `/admins/balances`;
|
|
478
478
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
479
479
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
480
480
|
let baseOptions;
|
|
@@ -540,7 +540,7 @@ export const BalanceApiAxiosParamCreator = function (configuration) {
|
|
|
540
540
|
transferBalance: (beneficiaryValue, balanceUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
541
541
|
// verify required parameter 'beneficiaryValue' is not null or undefined
|
|
542
542
|
assertParamExists('transferBalance', 'beneficiaryValue', beneficiaryValue);
|
|
543
|
-
const localVarPath = `/balances/{beneficiaryValue}/transfer`
|
|
543
|
+
const localVarPath = `/admins/balances/{beneficiaryValue}/transfer`
|
|
544
544
|
.replace(`{${"beneficiaryValue"}}`, encodeURIComponent(String(beneficiaryValue)));
|
|
545
545
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
546
546
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -572,7 +572,7 @@ export const BalanceApiAxiosParamCreator = function (configuration) {
|
|
|
572
572
|
updateBalance: (beneficiaryValue, balanceUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
573
573
|
// verify required parameter 'beneficiaryValue' is not null or undefined
|
|
574
574
|
assertParamExists('updateBalance', 'beneficiaryValue', beneficiaryValue);
|
|
575
|
-
const localVarPath = `/balances/{beneficiaryValue}`
|
|
575
|
+
const localVarPath = `/admins/balances/{beneficiaryValue}`
|
|
576
576
|
.replace(`{${"beneficiaryValue"}}`, encodeURIComponent(String(beneficiaryValue)));
|
|
577
577
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
578
578
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -872,7 +872,7 @@ export const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
872
872
|
createClient: (clientCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
873
873
|
// verify required parameter 'clientCreationRequest' is not null or undefined
|
|
874
874
|
assertParamExists('createClient', 'clientCreationRequest', clientCreationRequest);
|
|
875
|
-
const localVarPath = `/clients`;
|
|
875
|
+
const localVarPath = `/admins/clients`;
|
|
876
876
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
877
877
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
878
878
|
let baseOptions;
|
|
@@ -905,7 +905,7 @@ export const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
905
905
|
getClient: (clientID, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
906
906
|
// verify required parameter 'clientID' is not null or undefined
|
|
907
907
|
assertParamExists('getClient', 'clientID', clientID);
|
|
908
|
-
const localVarPath = `/clients/{clientID}`
|
|
908
|
+
const localVarPath = `/admins/clients/{clientID}`
|
|
909
909
|
.replace(`{${"clientID"}}`, encodeURIComponent(String(clientID)));
|
|
910
910
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
911
911
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -936,7 +936,7 @@ export const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
936
936
|
* @throws {RequiredError}
|
|
937
937
|
*/
|
|
938
938
|
listClients: (nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
939
|
-
const localVarPath = `/clients`;
|
|
939
|
+
const localVarPath = `/admins/clients`;
|
|
940
940
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
941
941
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
942
942
|
let baseOptions;
|
|
@@ -1112,7 +1112,7 @@ export const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
1112
1112
|
createConfiguration: (backofficeConfig, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1113
1113
|
// verify required parameter 'backofficeConfig' is not null or undefined
|
|
1114
1114
|
assertParamExists('createConfiguration', 'backofficeConfig', backofficeConfig);
|
|
1115
|
-
const localVarPath = `/configurations`;
|
|
1115
|
+
const localVarPath = `/admins/configurations`;
|
|
1116
1116
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1117
1117
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1118
1118
|
let baseOptions;
|
|
@@ -1144,7 +1144,7 @@ export const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
1144
1144
|
* @throws {RequiredError}
|
|
1145
1145
|
*/
|
|
1146
1146
|
listConfigurations: (nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1147
|
-
const localVarPath = `/configurations`;
|
|
1147
|
+
const localVarPath = `/admins/configurations`;
|
|
1148
1148
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1149
1149
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1150
1150
|
let baseOptions;
|
|
@@ -1286,7 +1286,7 @@ export const CustomDealsApiAxiosParamCreator = function (configuration) {
|
|
|
1286
1286
|
createCustomDealRestrictions: (customDealRestrictionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1287
1287
|
// verify required parameter 'customDealRestrictionRequest' is not null or undefined
|
|
1288
1288
|
assertParamExists('createCustomDealRestrictions', 'customDealRestrictionRequest', customDealRestrictionRequest);
|
|
1289
|
-
const localVarPath = `/custom-deals/restrictions`;
|
|
1289
|
+
const localVarPath = `/admins/custom-deals/restrictions`;
|
|
1290
1290
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1291
1291
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1292
1292
|
let baseOptions;
|
|
@@ -1313,7 +1313,7 @@ export const CustomDealsApiAxiosParamCreator = function (configuration) {
|
|
|
1313
1313
|
* @throws {RequiredError}
|
|
1314
1314
|
*/
|
|
1315
1315
|
listCustomDealRestrictions: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1316
|
-
const localVarPath = `/custom-deals/restrictions`;
|
|
1316
|
+
const localVarPath = `/admins/custom-deals/restrictions`;
|
|
1317
1317
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1318
1318
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1319
1319
|
let baseOptions;
|
|
@@ -1437,7 +1437,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1437
1437
|
* @throws {RequiredError}
|
|
1438
1438
|
*/
|
|
1439
1439
|
generateApiKey: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1440
|
-
const localVarPath = `/integrations/apikey`;
|
|
1440
|
+
const localVarPath = `/admins/integrations/apikey`;
|
|
1441
1441
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1442
1442
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1443
1443
|
let baseOptions;
|
|
@@ -1468,7 +1468,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1468
1468
|
importEvent: (eventCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1469
1469
|
// verify required parameter 'eventCreationRequest' is not null or undefined
|
|
1470
1470
|
assertParamExists('importEvent', 'eventCreationRequest', eventCreationRequest);
|
|
1471
|
-
const localVarPath = `/events`;
|
|
1471
|
+
const localVarPath = `/admins/events`;
|
|
1472
1472
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1473
1473
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1474
1474
|
let baseOptions;
|
|
@@ -1498,7 +1498,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1498
1498
|
* @throws {RequiredError}
|
|
1499
1499
|
*/
|
|
1500
1500
|
listWebhooks: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1501
|
-
const localVarPath = `/integrations/webhooks`;
|
|
1501
|
+
const localVarPath = `/admins/integrations/webhooks`;
|
|
1502
1502
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1503
1503
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1504
1504
|
let baseOptions;
|
|
@@ -1529,7 +1529,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1529
1529
|
setWebhook: (webhook, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1530
1530
|
// verify required parameter 'webhook' is not null or undefined
|
|
1531
1531
|
assertParamExists('setWebhook', 'webhook', webhook);
|
|
1532
|
-
const localVarPath = `/integrations/webhooks`;
|
|
1532
|
+
const localVarPath = `/admins/integrations/webhooks`;
|
|
1533
1533
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1534
1534
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1535
1535
|
let baseOptions;
|
|
@@ -1559,7 +1559,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1559
1559
|
* @throws {RequiredError}
|
|
1560
1560
|
*/
|
|
1561
1561
|
testApiKey: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1562
|
-
const localVarPath = `/integrations/apikey`;
|
|
1562
|
+
const localVarPath = `/admins/integrations/apikey`;
|
|
1563
1563
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1564
1564
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1565
1565
|
let baseOptions;
|
|
@@ -2106,7 +2106,7 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2106
2106
|
getOrder: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2107
2107
|
// verify required parameter 'id' is not null or undefined
|
|
2108
2108
|
assertParamExists('getOrder', 'id', id);
|
|
2109
|
-
const localVarPath = `/orders/{id}`
|
|
2109
|
+
const localVarPath = `/users/orders/{id}`
|
|
2110
2110
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2111
2111
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2112
2112
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2340,7 +2340,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
2340
2340
|
approveProduct: (id, productRequestApprovalRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2341
2341
|
// verify required parameter 'id' is not null or undefined
|
|
2342
2342
|
assertParamExists('approveProduct', 'id', id);
|
|
2343
|
-
const localVarPath = `/products/requests/{id}`
|
|
2343
|
+
const localVarPath = `/admins/products/requests/{id}`
|
|
2344
2344
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2345
2345
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2346
2346
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2365,14 +2365,14 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
2365
2365
|
};
|
|
2366
2366
|
}),
|
|
2367
2367
|
/**
|
|
2368
|
-
*
|
|
2369
|
-
* @summary
|
|
2368
|
+
* Create multiple products
|
|
2369
|
+
* @summary Create multiple products
|
|
2370
2370
|
* @param {ProductBulkCreationRequest} [productBulkCreationRequest]
|
|
2371
2371
|
* @param {*} [options] Override http request option.
|
|
2372
2372
|
* @throws {RequiredError}
|
|
2373
2373
|
*/
|
|
2374
2374
|
bulkCreateProducts: (productBulkCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2375
|
-
const localVarPath = `/products/bulk`;
|
|
2375
|
+
const localVarPath = `/admins/products/bulk`;
|
|
2376
2376
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2377
2377
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2378
2378
|
let baseOptions;
|
|
@@ -2403,7 +2403,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
2403
2403
|
* @throws {RequiredError}
|
|
2404
2404
|
*/
|
|
2405
2405
|
createProduct: (productCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2406
|
-
const localVarPath = `/products`;
|
|
2406
|
+
const localVarPath = `/admins/products`;
|
|
2407
2407
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2408
2408
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2409
2409
|
let baseOptions;
|
|
@@ -2464,7 +2464,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
2464
2464
|
* @throws {RequiredError}
|
|
2465
2465
|
*/
|
|
2466
2466
|
createUploadURL: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2467
|
-
const localVarPath = `/products/upload-urls`;
|
|
2467
|
+
const localVarPath = `/admins/products/upload-urls`;
|
|
2468
2468
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2469
2469
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2470
2470
|
let baseOptions;
|
|
@@ -2492,7 +2492,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
2492
2492
|
getProductById: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2493
2493
|
// verify required parameter 'id' is not null or undefined
|
|
2494
2494
|
assertParamExists('getProductById', 'id', id);
|
|
2495
|
-
const localVarPath = `/products/{id}`
|
|
2495
|
+
const localVarPath = `/admins/products/{id}`
|
|
2496
2496
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2497
2497
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2498
2498
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2524,7 +2524,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
2524
2524
|
getProductRequestById: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2525
2525
|
// verify required parameter 'id' is not null or undefined
|
|
2526
2526
|
assertParamExists('getProductRequestById', 'id', id);
|
|
2527
|
-
const localVarPath = `/products/requests/{id}`
|
|
2527
|
+
const localVarPath = `/admins/products/requests/{id}`
|
|
2528
2528
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2529
2529
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2530
2530
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2587,7 +2587,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
2587
2587
|
* @throws {RequiredError}
|
|
2588
2588
|
*/
|
|
2589
2589
|
listProductRequests: (status, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2590
|
-
const localVarPath = `/products/requests`;
|
|
2590
|
+
const localVarPath = `/admins/products/requests`;
|
|
2591
2591
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2592
2592
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2593
2593
|
let baseOptions;
|
|
@@ -2630,7 +2630,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
2630
2630
|
* @throws {RequiredError}
|
|
2631
2631
|
*/
|
|
2632
2632
|
listProducts: (kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2633
|
-
const localVarPath = `/products`;
|
|
2633
|
+
const localVarPath = `/admins/products`;
|
|
2634
2634
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2635
2635
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2636
2636
|
let baseOptions;
|
|
@@ -2689,7 +2689,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
2689
2689
|
updateProduct: (id, productCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2690
2690
|
// verify required parameter 'id' is not null or undefined
|
|
2691
2691
|
assertParamExists('updateProduct', 'id', id);
|
|
2692
|
-
const localVarPath = `/products/{id}`
|
|
2692
|
+
const localVarPath = `/admins/products/{id}`
|
|
2693
2693
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2694
2694
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2695
2695
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2737,8 +2737,8 @@ export const ProductApiFp = function (configuration) {
|
|
|
2737
2737
|
});
|
|
2738
2738
|
},
|
|
2739
2739
|
/**
|
|
2740
|
-
*
|
|
2741
|
-
* @summary
|
|
2740
|
+
* Create multiple products
|
|
2741
|
+
* @summary Create multiple products
|
|
2742
2742
|
* @param {ProductBulkCreationRequest} [productBulkCreationRequest]
|
|
2743
2743
|
* @param {*} [options] Override http request option.
|
|
2744
2744
|
* @throws {RequiredError}
|
|
@@ -2896,8 +2896,8 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
|
|
|
2896
2896
|
return localVarFp.approveProduct(id, productRequestApprovalRequest, options).then((request) => request(axios, basePath));
|
|
2897
2897
|
},
|
|
2898
2898
|
/**
|
|
2899
|
-
*
|
|
2900
|
-
* @summary
|
|
2899
|
+
* Create multiple products
|
|
2900
|
+
* @summary Create multiple products
|
|
2901
2901
|
* @param {ProductBulkCreationRequest} [productBulkCreationRequest]
|
|
2902
2902
|
* @param {*} [options] Override http request option.
|
|
2903
2903
|
* @throws {RequiredError}
|
|
@@ -3026,8 +3026,8 @@ export class ProductApi extends BaseAPI {
|
|
|
3026
3026
|
return ProductApiFp(this.configuration).approveProduct(id, productRequestApprovalRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3027
3027
|
}
|
|
3028
3028
|
/**
|
|
3029
|
-
*
|
|
3030
|
-
* @summary
|
|
3029
|
+
* Create multiple products
|
|
3030
|
+
* @summary Create multiple products
|
|
3031
3031
|
* @param {ProductBulkCreationRequest} [productBulkCreationRequest]
|
|
3032
3032
|
* @param {*} [options] Override http request option.
|
|
3033
3033
|
* @throws {RequiredError}
|
|
@@ -3166,7 +3166,7 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
|
3166
3166
|
listProgress: (id, periodID, userID, clientID, interval, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3167
3167
|
// verify required parameter 'id' is not null or undefined
|
|
3168
3168
|
assertParamExists('listProgress', 'id', id);
|
|
3169
|
-
const localVarPath = `/promotions/{id}/progress`
|
|
3169
|
+
const localVarPath = `/admins/promotions/{id}/progress`
|
|
3170
3170
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3171
3171
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3172
3172
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3386,7 +3386,7 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
3386
3386
|
claimPromotion: (id, promotionClaimRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3387
3387
|
// verify required parameter 'id' is not null or undefined
|
|
3388
3388
|
assertParamExists('claimPromotion', 'id', id);
|
|
3389
|
-
const localVarPath = `/promotions/{id}/claims`
|
|
3389
|
+
const localVarPath = `/admins/promotions/{id}/claims`
|
|
3390
3390
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3391
3391
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3392
3392
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3420,7 +3420,7 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
3420
3420
|
assertParamExists('claimPromotionProgress', 'id', id);
|
|
3421
3421
|
// verify required parameter 'progressID' is not null or undefined
|
|
3422
3422
|
assertParamExists('claimPromotionProgress', 'progressID', progressID);
|
|
3423
|
-
const localVarPath = `/
|
|
3423
|
+
const localVarPath = `/adminspromotions/{id}/progress/{progressID}/claims`
|
|
3424
3424
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
3425
3425
|
.replace(`{${"progressID"}}`, encodeURIComponent(String(progressID)));
|
|
3426
3426
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -3512,7 +3512,7 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
3512
3512
|
createPromotion: (promotionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3513
3513
|
// verify required parameter 'promotionRequest' is not null or undefined
|
|
3514
3514
|
assertParamExists('createPromotion', 'promotionRequest', promotionRequest);
|
|
3515
|
-
const localVarPath = `/promotions`;
|
|
3515
|
+
const localVarPath = `/admins/promotions`;
|
|
3516
3516
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3517
3517
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3518
3518
|
let baseOptions;
|
|
@@ -3545,7 +3545,7 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
3545
3545
|
deletePromotion: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3546
3546
|
// verify required parameter 'id' is not null or undefined
|
|
3547
3547
|
assertParamExists('deletePromotion', 'id', id);
|
|
3548
|
-
const localVarPath = `/promotions/{id}`
|
|
3548
|
+
const localVarPath = `/admins/promotions/{id}`
|
|
3549
3549
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3550
3550
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3551
3551
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3577,7 +3577,7 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
3577
3577
|
getPromotion: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3578
3578
|
// verify required parameter 'id' is not null or undefined
|
|
3579
3579
|
assertParamExists('getPromotion', 'id', id);
|
|
3580
|
-
const localVarPath = `/promotions/{id}`
|
|
3580
|
+
const localVarPath = `/admins/promotions/{id}`
|
|
3581
3581
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3582
3582
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3583
3583
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3647,7 +3647,7 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
3647
3647
|
* @throws {RequiredError}
|
|
3648
3648
|
*/
|
|
3649
3649
|
listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, clientID, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3650
|
-
const localVarPath = `/promotions`;
|
|
3650
|
+
const localVarPath = `/admins/promotions`;
|
|
3651
3651
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3652
3652
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3653
3653
|
let baseOptions;
|
|
@@ -3764,7 +3764,7 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
3764
3764
|
assertParamExists('updatePromotion', 'id', id);
|
|
3765
3765
|
// verify required parameter 'updatePromotionRequest' is not null or undefined
|
|
3766
3766
|
assertParamExists('updatePromotion', 'updatePromotionRequest', updatePromotionRequest);
|
|
3767
|
-
const localVarPath = `/promotions/{id}`
|
|
3767
|
+
const localVarPath = `/admins/promotions/{id}`
|
|
3768
3768
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3769
3769
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3770
3770
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4359,7 +4359,7 @@ export const SegmentApiAxiosParamCreator = function (configuration) {
|
|
|
4359
4359
|
* @throws {RequiredError}
|
|
4360
4360
|
*/
|
|
4361
4361
|
createSegment: (createSegmentRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4362
|
-
const localVarPath = `/segments`;
|
|
4362
|
+
const localVarPath = `/admins/segments`;
|
|
4363
4363
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4364
4364
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4365
4365
|
let baseOptions;
|
|
@@ -4392,7 +4392,7 @@ export const SegmentApiAxiosParamCreator = function (configuration) {
|
|
|
4392
4392
|
getSegmentById: (segmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4393
4393
|
// verify required parameter 'segmentId' is not null or undefined
|
|
4394
4394
|
assertParamExists('getSegmentById', 'segmentId', segmentId);
|
|
4395
|
-
const localVarPath = `/segments/{segmentId}`
|
|
4395
|
+
const localVarPath = `/admins/segments/{segmentId}`
|
|
4396
4396
|
.replace(`{${"segmentId"}}`, encodeURIComponent(String(segmentId)));
|
|
4397
4397
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4398
4398
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4423,7 +4423,7 @@ export const SegmentApiAxiosParamCreator = function (configuration) {
|
|
|
4423
4423
|
* @throws {RequiredError}
|
|
4424
4424
|
*/
|
|
4425
4425
|
listSegments: (nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4426
|
-
const localVarPath = `/segments`;
|
|
4426
|
+
const localVarPath = `/admins/segments`;
|
|
4427
4427
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4428
4428
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4429
4429
|
let baseOptions;
|
|
@@ -4597,7 +4597,7 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
4597
4597
|
* @throws {RequiredError}
|
|
4598
4598
|
*/
|
|
4599
4599
|
createTag: (createTagRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4600
|
-
const localVarPath = `/tags`;
|
|
4600
|
+
const localVarPath = `/admins/tags`;
|
|
4601
4601
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4602
4602
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4603
4603
|
let baseOptions;
|
|
@@ -4630,7 +4630,7 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
4630
4630
|
deleteTag: (key, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4631
4631
|
// verify required parameter 'key' is not null or undefined
|
|
4632
4632
|
assertParamExists('deleteTag', 'key', key);
|
|
4633
|
-
const localVarPath = `/tags/{key}`
|
|
4633
|
+
const localVarPath = `/admins/tags/{key}`
|
|
4634
4634
|
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
4635
4635
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4636
4636
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4662,7 +4662,7 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
4662
4662
|
getTagByKey: (key, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4663
4663
|
// verify required parameter 'key' is not null or undefined
|
|
4664
4664
|
assertParamExists('getTagByKey', 'key', key);
|
|
4665
|
-
const localVarPath = `/tags/{key}`
|
|
4665
|
+
const localVarPath = `/admins/tags/{key}`
|
|
4666
4666
|
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
4667
4667
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4668
4668
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4692,7 +4692,7 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
4692
4692
|
* @throws {RequiredError}
|
|
4693
4693
|
*/
|
|
4694
4694
|
listTags: (tagKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4695
|
-
const localVarPath = `/tags`;
|
|
4695
|
+
const localVarPath = `/admins/tags`;
|
|
4696
4696
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4697
4697
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4698
4698
|
let baseOptions;
|
|
@@ -4727,7 +4727,7 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
4727
4727
|
updateTag: (key, createTagRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4728
4728
|
// verify required parameter 'key' is not null or undefined
|
|
4729
4729
|
assertParamExists('updateTag', 'key', key);
|
|
4730
|
-
const localVarPath = `/tags/{key}`
|
|
4730
|
+
const localVarPath = `/admins/tags/{key}`
|
|
4731
4731
|
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
4732
4732
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4733
4733
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4967,7 +4967,7 @@ export const TransactionApiAxiosParamCreator = function (configuration) {
|
|
|
4967
4967
|
* @throws {RequiredError}
|
|
4968
4968
|
*/
|
|
4969
4969
|
listTransactions: (paginationToken, clientID, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4970
|
-
const localVarPath = `/transactions`;
|
|
4970
|
+
const localVarPath = `/admins/transactions`;
|
|
4971
4971
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4972
4972
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4973
4973
|
let baseOptions;
|
|
@@ -5075,7 +5075,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5075
5075
|
getUserByID: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5076
5076
|
// verify required parameter 'id' is not null or undefined
|
|
5077
5077
|
assertParamExists('getUserByID', 'id', id);
|
|
5078
|
-
const localVarPath = `/users/{id}`
|
|
5078
|
+
const localVarPath = `/admins/users/{id}`
|
|
5079
5079
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5080
5080
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5081
5081
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5107,7 +5107,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5107
5107
|
getUserSubordinates: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5108
5108
|
// verify required parameter 'id' is not null or undefined
|
|
5109
5109
|
assertParamExists('getUserSubordinates', 'id', id);
|
|
5110
|
-
const localVarPath = `/
|
|
5110
|
+
const localVarPath = `/admins/users/{id}/team`
|
|
5111
5111
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5112
5112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5113
5113
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5142,7 +5142,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5142
5142
|
* @throws {RequiredError}
|
|
5143
5143
|
*/
|
|
5144
5144
|
listUsers: (nextToken, role, search, clientID, userIds, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5145
|
-
const localVarPath = `/users`;
|
|
5145
|
+
const localVarPath = `/admins/users`;
|
|
5146
5146
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5147
5147
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5148
5148
|
let baseOptions;
|