flexinet-api 0.0.2054-prerelease0-dev → 0.0.2057-prerelease0-dev
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 +139 -285
- package/dist/api.d.ts +82 -152
- package/dist/api.js +133 -266
- package/dist/esm/api.d.ts +82 -152
- package/dist/esm/api.js +133 -266
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
@@ -487,11 +487,10 @@ export const AuditApiAxiosParamCreator = function (configuration) {
|
|
487
487
|
* @summary List audit logs for given object type and ID
|
488
488
|
* @param {string} userID id of the user
|
489
489
|
* @param {string} [nextToken] This is the pagination token
|
490
|
-
* @param {string} [prevToken] This is the pagination token
|
491
490
|
* @param {*} [options] Override http request option.
|
492
491
|
* @throws {RequiredError}
|
493
492
|
*/
|
494
|
-
listUserAuditLogs: (userID, nextToken,
|
493
|
+
listUserAuditLogs: (userID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
495
494
|
// verify required parameter 'userID' is not null or undefined
|
496
495
|
assertParamExists('listUserAuditLogs', 'userID', userID);
|
497
496
|
const localVarPath = `/admins/audit/user/{userID}`
|
@@ -511,9 +510,6 @@ export const AuditApiAxiosParamCreator = function (configuration) {
|
|
511
510
|
if (nextToken !== undefined) {
|
512
511
|
localVarQueryParameter['nextToken'] = nextToken;
|
513
512
|
}
|
514
|
-
if (prevToken !== undefined) {
|
515
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
516
|
-
}
|
517
513
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
518
514
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
519
515
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -550,13 +546,12 @@ export const AuditApiFp = function (configuration) {
|
|
550
546
|
* @summary List audit logs for given object type and ID
|
551
547
|
* @param {string} userID id of the user
|
552
548
|
* @param {string} [nextToken] This is the pagination token
|
553
|
-
* @param {string} [prevToken] This is the pagination token
|
554
549
|
* @param {*} [options] Override http request option.
|
555
550
|
* @throws {RequiredError}
|
556
551
|
*/
|
557
|
-
listUserAuditLogs(userID, nextToken,
|
552
|
+
listUserAuditLogs(userID, nextToken, options) {
|
558
553
|
return __awaiter(this, void 0, void 0, function* () {
|
559
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserAuditLogs(userID, nextToken,
|
554
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserAuditLogs(userID, nextToken, options);
|
560
555
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
561
556
|
});
|
562
557
|
},
|
@@ -585,12 +580,11 @@ export const AuditApiFactory = function (configuration, basePath, axios) {
|
|
585
580
|
* @summary List audit logs for given object type and ID
|
586
581
|
* @param {string} userID id of the user
|
587
582
|
* @param {string} [nextToken] This is the pagination token
|
588
|
-
* @param {string} [prevToken] This is the pagination token
|
589
583
|
* @param {*} [options] Override http request option.
|
590
584
|
* @throws {RequiredError}
|
591
585
|
*/
|
592
|
-
listUserAuditLogs(userID, nextToken,
|
593
|
-
return localVarFp.listUserAuditLogs(userID, nextToken,
|
586
|
+
listUserAuditLogs(userID, nextToken, options) {
|
587
|
+
return localVarFp.listUserAuditLogs(userID, nextToken, options).then((request) => request(axios, basePath));
|
594
588
|
},
|
595
589
|
};
|
596
590
|
};
|
@@ -618,13 +612,12 @@ export class AuditApi extends BaseAPI {
|
|
618
612
|
* @summary List audit logs for given object type and ID
|
619
613
|
* @param {string} userID id of the user
|
620
614
|
* @param {string} [nextToken] This is the pagination token
|
621
|
-
* @param {string} [prevToken] This is the pagination token
|
622
615
|
* @param {*} [options] Override http request option.
|
623
616
|
* @throws {RequiredError}
|
624
617
|
* @memberof AuditApi
|
625
618
|
*/
|
626
|
-
listUserAuditLogs(userID, nextToken,
|
627
|
-
return AuditApiFp(this.configuration).listUserAuditLogs(userID, nextToken,
|
619
|
+
listUserAuditLogs(userID, nextToken, options) {
|
620
|
+
return AuditApiFp(this.configuration).listUserAuditLogs(userID, nextToken, options).then((request) => request(this.axios, this.basePath));
|
628
621
|
}
|
629
622
|
}
|
630
623
|
/**
|
@@ -1631,11 +1624,10 @@ export const ClientApiAxiosParamCreator = function (configuration) {
|
|
1631
1624
|
* @param {Array<string>} [clientIDs] client IDs
|
1632
1625
|
* @param {string} [managerID] manager ID for whose clients we want to list
|
1633
1626
|
* @param {boolean} [isExcluded] is client excluded
|
1634
|
-
* @param {string} [prevToken] This is the pagination token
|
1635
1627
|
* @param {*} [options] Override http request option.
|
1636
1628
|
* @throws {RequiredError}
|
1637
1629
|
*/
|
1638
|
-
listClients: (nextToken, search, referenceIDs, clientIDs, managerID, isExcluded,
|
1630
|
+
listClients: (nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
1639
1631
|
const localVarPath = `/admins/clients`;
|
1640
1632
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1641
1633
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -1667,9 +1659,6 @@ export const ClientApiAxiosParamCreator = function (configuration) {
|
|
1667
1659
|
if (isExcluded !== undefined) {
|
1668
1660
|
localVarQueryParameter['isExcluded'] = isExcluded;
|
1669
1661
|
}
|
1670
|
-
if (prevToken !== undefined) {
|
1671
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
1672
|
-
}
|
1673
1662
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1674
1663
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1675
1664
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -1759,13 +1748,12 @@ export const ClientApiFp = function (configuration) {
|
|
1759
1748
|
* @param {Array<string>} [clientIDs] client IDs
|
1760
1749
|
* @param {string} [managerID] manager ID for whose clients we want to list
|
1761
1750
|
* @param {boolean} [isExcluded] is client excluded
|
1762
|
-
* @param {string} [prevToken] This is the pagination token
|
1763
1751
|
* @param {*} [options] Override http request option.
|
1764
1752
|
* @throws {RequiredError}
|
1765
1753
|
*/
|
1766
|
-
listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded,
|
1754
|
+
listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options) {
|
1767
1755
|
return __awaiter(this, void 0, void 0, function* () {
|
1768
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded,
|
1756
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options);
|
1769
1757
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1770
1758
|
});
|
1771
1759
|
},
|
@@ -1821,12 +1809,11 @@ export const ClientApiFactory = function (configuration, basePath, axios) {
|
|
1821
1809
|
* @param {Array<string>} [clientIDs] client IDs
|
1822
1810
|
* @param {string} [managerID] manager ID for whose clients we want to list
|
1823
1811
|
* @param {boolean} [isExcluded] is client excluded
|
1824
|
-
* @param {string} [prevToken] This is the pagination token
|
1825
1812
|
* @param {*} [options] Override http request option.
|
1826
1813
|
* @throws {RequiredError}
|
1827
1814
|
*/
|
1828
|
-
listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded,
|
1829
|
-
return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded,
|
1815
|
+
listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options) {
|
1816
|
+
return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options).then((request) => request(axios, basePath));
|
1830
1817
|
},
|
1831
1818
|
/**
|
1832
1819
|
* Update client
|
@@ -1879,13 +1866,12 @@ export class ClientApi extends BaseAPI {
|
|
1879
1866
|
* @param {Array<string>} [clientIDs] client IDs
|
1880
1867
|
* @param {string} [managerID] manager ID for whose clients we want to list
|
1881
1868
|
* @param {boolean} [isExcluded] is client excluded
|
1882
|
-
* @param {string} [prevToken] This is the pagination token
|
1883
1869
|
* @param {*} [options] Override http request option.
|
1884
1870
|
* @throws {RequiredError}
|
1885
1871
|
* @memberof ClientApi
|
1886
1872
|
*/
|
1887
|
-
listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded,
|
1888
|
-
return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded,
|
1873
|
+
listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options) {
|
1874
|
+
return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options).then((request) => request(this.axios, this.basePath));
|
1889
1875
|
}
|
1890
1876
|
/**
|
1891
1877
|
* Update client
|
@@ -1944,11 +1930,10 @@ export const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
1944
1930
|
* @summary List configurations
|
1945
1931
|
* @param {string} [nextToken] This is the pagination token
|
1946
1932
|
* @param {string} [search] search string
|
1947
|
-
* @param {string} [prevToken] This is the pagination token
|
1948
1933
|
* @param {*} [options] Override http request option.
|
1949
1934
|
* @throws {RequiredError}
|
1950
1935
|
*/
|
1951
|
-
listConfigurations: (nextToken, search,
|
1936
|
+
listConfigurations: (nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
1952
1937
|
const localVarPath = `/admins/configurations`;
|
1953
1938
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1954
1939
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -1968,9 +1953,6 @@ export const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
1968
1953
|
if (search !== undefined) {
|
1969
1954
|
localVarQueryParameter['search'] = search;
|
1970
1955
|
}
|
1971
|
-
if (prevToken !== undefined) {
|
1972
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
1973
|
-
}
|
1974
1956
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1975
1957
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1976
1958
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -2062,13 +2044,12 @@ export const ConfigurationApiFp = function (configuration) {
|
|
2062
2044
|
* @summary List configurations
|
2063
2045
|
* @param {string} [nextToken] This is the pagination token
|
2064
2046
|
* @param {string} [search] search string
|
2065
|
-
* @param {string} [prevToken] This is the pagination token
|
2066
2047
|
* @param {*} [options] Override http request option.
|
2067
2048
|
* @throws {RequiredError}
|
2068
2049
|
*/
|
2069
|
-
listConfigurations(nextToken, search,
|
2050
|
+
listConfigurations(nextToken, search, options) {
|
2070
2051
|
return __awaiter(this, void 0, void 0, function* () {
|
2071
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listConfigurations(nextToken, search,
|
2052
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listConfigurations(nextToken, search, options);
|
2072
2053
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2073
2054
|
});
|
2074
2055
|
},
|
@@ -2120,12 +2101,11 @@ export const ConfigurationApiFactory = function (configuration, basePath, axios)
|
|
2120
2101
|
* @summary List configurations
|
2121
2102
|
* @param {string} [nextToken] This is the pagination token
|
2122
2103
|
* @param {string} [search] search string
|
2123
|
-
* @param {string} [prevToken] This is the pagination token
|
2124
2104
|
* @param {*} [options] Override http request option.
|
2125
2105
|
* @throws {RequiredError}
|
2126
2106
|
*/
|
2127
|
-
listConfigurations(nextToken, search,
|
2128
|
-
return localVarFp.listConfigurations(nextToken, search,
|
2107
|
+
listConfigurations(nextToken, search, options) {
|
2108
|
+
return localVarFp.listConfigurations(nextToken, search, options).then((request) => request(axios, basePath));
|
2129
2109
|
},
|
2130
2110
|
/**
|
2131
2111
|
* List all features
|
@@ -2170,13 +2150,12 @@ export class ConfigurationApi extends BaseAPI {
|
|
2170
2150
|
* @summary List configurations
|
2171
2151
|
* @param {string} [nextToken] This is the pagination token
|
2172
2152
|
* @param {string} [search] search string
|
2173
|
-
* @param {string} [prevToken] This is the pagination token
|
2174
2153
|
* @param {*} [options] Override http request option.
|
2175
2154
|
* @throws {RequiredError}
|
2176
2155
|
* @memberof ConfigurationApi
|
2177
2156
|
*/
|
2178
|
-
listConfigurations(nextToken, search,
|
2179
|
-
return ConfigurationApiFp(this.configuration).listConfigurations(nextToken, search,
|
2157
|
+
listConfigurations(nextToken, search, options) {
|
2158
|
+
return ConfigurationApiFp(this.configuration).listConfigurations(nextToken, search, options).then((request) => request(this.axios, this.basePath));
|
2180
2159
|
}
|
2181
2160
|
/**
|
2182
2161
|
* List all features
|
@@ -2883,11 +2862,10 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
|
|
2883
2862
|
* @summary List notifications
|
2884
2863
|
* @param {string} [nextToken] This is the pagination token
|
2885
2864
|
* @param {NotificationStatus} [status] Notification status
|
2886
|
-
* @param {string} [prevToken] This is the pagination token
|
2887
2865
|
* @param {*} [options] Override http request option.
|
2888
2866
|
* @throws {RequiredError}
|
2889
2867
|
*/
|
2890
|
-
listNotifications: (nextToken, status,
|
2868
|
+
listNotifications: (nextToken, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
2891
2869
|
const localVarPath = `/users/notifications`;
|
2892
2870
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2893
2871
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -2907,9 +2885,6 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
|
|
2907
2885
|
if (status !== undefined) {
|
2908
2886
|
localVarQueryParameter['status'] = status;
|
2909
2887
|
}
|
2910
|
-
if (prevToken !== undefined) {
|
2911
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
2912
|
-
}
|
2913
2888
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2914
2889
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2915
2890
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -3080,13 +3055,12 @@ export const NotificationApiFp = function (configuration) {
|
|
3080
3055
|
* @summary List notifications
|
3081
3056
|
* @param {string} [nextToken] This is the pagination token
|
3082
3057
|
* @param {NotificationStatus} [status] Notification status
|
3083
|
-
* @param {string} [prevToken] This is the pagination token
|
3084
3058
|
* @param {*} [options] Override http request option.
|
3085
3059
|
* @throws {RequiredError}
|
3086
3060
|
*/
|
3087
|
-
listNotifications(nextToken, status,
|
3061
|
+
listNotifications(nextToken, status, options) {
|
3088
3062
|
return __awaiter(this, void 0, void 0, function* () {
|
3089
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotifications(nextToken, status,
|
3063
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotifications(nextToken, status, options);
|
3090
3064
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3091
3065
|
});
|
3092
3066
|
},
|
@@ -3181,12 +3155,11 @@ export const NotificationApiFactory = function (configuration, basePath, axios)
|
|
3181
3155
|
* @summary List notifications
|
3182
3156
|
* @param {string} [nextToken] This is the pagination token
|
3183
3157
|
* @param {NotificationStatus} [status] Notification status
|
3184
|
-
* @param {string} [prevToken] This is the pagination token
|
3185
3158
|
* @param {*} [options] Override http request option.
|
3186
3159
|
* @throws {RequiredError}
|
3187
3160
|
*/
|
3188
|
-
listNotifications(nextToken, status,
|
3189
|
-
return localVarFp.listNotifications(nextToken, status,
|
3161
|
+
listNotifications(nextToken, status, options) {
|
3162
|
+
return localVarFp.listNotifications(nextToken, status, options).then((request) => request(axios, basePath));
|
3190
3163
|
},
|
3191
3164
|
/**
|
3192
3165
|
* Update notification by ID
|
@@ -3274,13 +3247,12 @@ export class NotificationApi extends BaseAPI {
|
|
3274
3247
|
* @summary List notifications
|
3275
3248
|
* @param {string} [nextToken] This is the pagination token
|
3276
3249
|
* @param {NotificationStatus} [status] Notification status
|
3277
|
-
* @param {string} [prevToken] This is the pagination token
|
3278
3250
|
* @param {*} [options] Override http request option.
|
3279
3251
|
* @throws {RequiredError}
|
3280
3252
|
* @memberof NotificationApi
|
3281
3253
|
*/
|
3282
|
-
listNotifications(nextToken, status,
|
3283
|
-
return NotificationApiFp(this.configuration).listNotifications(nextToken, status,
|
3254
|
+
listNotifications(nextToken, status, options) {
|
3255
|
+
return NotificationApiFp(this.configuration).listNotifications(nextToken, status, options).then((request) => request(this.axios, this.basePath));
|
3284
3256
|
}
|
3285
3257
|
/**
|
3286
3258
|
* Update notification by ID
|
@@ -3461,11 +3433,10 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
3461
3433
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
3462
3434
|
* @param {OrderKind} [kind] Filter by kind
|
3463
3435
|
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
3464
|
-
* @param {string} [prevToken] This is the pagination token
|
3465
3436
|
* @param {*} [options] Override http request option.
|
3466
3437
|
* @throws {RequiredError}
|
3467
3438
|
*/
|
3468
|
-
listOrders: (nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source,
|
3439
|
+
listOrders: (nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
3469
3440
|
const localVarPath = `/admins/orders`;
|
3470
3441
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3471
3442
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -3513,9 +3484,6 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
3513
3484
|
if (source !== undefined) {
|
3514
3485
|
localVarQueryParameter['source'] = source;
|
3515
3486
|
}
|
3516
|
-
if (prevToken !== undefined) {
|
3517
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
3518
|
-
}
|
3519
3487
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3520
3488
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3521
3489
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -3534,11 +3502,10 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
3534
3502
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
3535
3503
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
3536
3504
|
* @param {Array<string>} [userIDs] Filter by user ids
|
3537
|
-
* @param {string} [prevToken] This is the pagination token
|
3538
3505
|
* @param {*} [options] Override http request option.
|
3539
3506
|
* @throws {RequiredError}
|
3540
3507
|
*/
|
3541
|
-
listOrdersUser: (nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs,
|
3508
|
+
listOrdersUser: (nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
3542
3509
|
const localVarPath = `/users/orders`;
|
3543
3510
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3544
3511
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -3577,9 +3544,6 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
3577
3544
|
if (userIDs) {
|
3578
3545
|
localVarQueryParameter['userIDs'] = userIDs;
|
3579
3546
|
}
|
3580
|
-
if (prevToken !== undefined) {
|
3581
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
3582
|
-
}
|
3583
3547
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3584
3548
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3585
3549
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -3662,13 +3626,12 @@ export const OrderApiFp = function (configuration) {
|
|
3662
3626
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
3663
3627
|
* @param {OrderKind} [kind] Filter by kind
|
3664
3628
|
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
3665
|
-
* @param {string} [prevToken] This is the pagination token
|
3666
3629
|
* @param {*} [options] Override http request option.
|
3667
3630
|
* @throws {RequiredError}
|
3668
3631
|
*/
|
3669
|
-
listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source,
|
3632
|
+
listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
|
3670
3633
|
return __awaiter(this, void 0, void 0, function* () {
|
3671
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source,
|
3634
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options);
|
3672
3635
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3673
3636
|
});
|
3674
3637
|
},
|
@@ -3682,13 +3645,12 @@ export const OrderApiFp = function (configuration) {
|
|
3682
3645
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
3683
3646
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
3684
3647
|
* @param {Array<string>} [userIDs] Filter by user ids
|
3685
|
-
* @param {string} [prevToken] This is the pagination token
|
3686
3648
|
* @param {*} [options] Override http request option.
|
3687
3649
|
* @throws {RequiredError}
|
3688
3650
|
*/
|
3689
|
-
listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs,
|
3651
|
+
listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
|
3690
3652
|
return __awaiter(this, void 0, void 0, function* () {
|
3691
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs,
|
3653
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options);
|
3692
3654
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3693
3655
|
});
|
3694
3656
|
},
|
@@ -3754,12 +3716,11 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
3754
3716
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
3755
3717
|
* @param {OrderKind} [kind] Filter by kind
|
3756
3718
|
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
3757
|
-
* @param {string} [prevToken] This is the pagination token
|
3758
3719
|
* @param {*} [options] Override http request option.
|
3759
3720
|
* @throws {RequiredError}
|
3760
3721
|
*/
|
3761
|
-
listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source,
|
3762
|
-
return localVarFp.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source,
|
3722
|
+
listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
|
3723
|
+
return localVarFp.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(axios, basePath));
|
3763
3724
|
},
|
3764
3725
|
/**
|
3765
3726
|
* List existing orders
|
@@ -3771,12 +3732,11 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
3771
3732
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
3772
3733
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
3773
3734
|
* @param {Array<string>} [userIDs] Filter by user ids
|
3774
|
-
* @param {string} [prevToken] This is the pagination token
|
3775
3735
|
* @param {*} [options] Override http request option.
|
3776
3736
|
* @throws {RequiredError}
|
3777
3737
|
*/
|
3778
|
-
listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs,
|
3779
|
-
return localVarFp.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs,
|
3738
|
+
listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
|
3739
|
+
return localVarFp.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(axios, basePath));
|
3780
3740
|
},
|
3781
3741
|
};
|
3782
3742
|
};
|
@@ -3844,13 +3804,12 @@ export class OrderApi extends BaseAPI {
|
|
3844
3804
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
3845
3805
|
* @param {OrderKind} [kind] Filter by kind
|
3846
3806
|
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
3847
|
-
* @param {string} [prevToken] This is the pagination token
|
3848
3807
|
* @param {*} [options] Override http request option.
|
3849
3808
|
* @throws {RequiredError}
|
3850
3809
|
* @memberof OrderApi
|
3851
3810
|
*/
|
3852
|
-
listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source,
|
3853
|
-
return OrderApiFp(this.configuration).listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source,
|
3811
|
+
listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
|
3812
|
+
return OrderApiFp(this.configuration).listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(this.axios, this.basePath));
|
3854
3813
|
}
|
3855
3814
|
/**
|
3856
3815
|
* List existing orders
|
@@ -3862,13 +3821,12 @@ export class OrderApi extends BaseAPI {
|
|
3862
3821
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
3863
3822
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
3864
3823
|
* @param {Array<string>} [userIDs] Filter by user ids
|
3865
|
-
* @param {string} [prevToken] This is the pagination token
|
3866
3824
|
* @param {*} [options] Override http request option.
|
3867
3825
|
* @throws {RequiredError}
|
3868
3826
|
* @memberof OrderApi
|
3869
3827
|
*/
|
3870
|
-
listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs,
|
3871
|
-
return OrderApiFp(this.configuration).listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs,
|
3828
|
+
listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
|
3829
|
+
return OrderApiFp(this.configuration).listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(this.axios, this.basePath));
|
3872
3830
|
}
|
3873
3831
|
}
|
3874
3832
|
/**
|
@@ -4103,11 +4061,10 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
4103
4061
|
* @summary List existing product requests
|
4104
4062
|
* @param {ProductRequestStatus} [status] The product request status
|
4105
4063
|
* @param {string} [nextToken] This is the pagination token
|
4106
|
-
* @param {string} [prevToken] This is the pagination token
|
4107
4064
|
* @param {*} [options] Override http request option.
|
4108
4065
|
* @throws {RequiredError}
|
4109
4066
|
*/
|
4110
|
-
listProductRequests: (status, nextToken,
|
4067
|
+
listProductRequests: (status, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
4111
4068
|
const localVarPath = `/admins/products/requests`;
|
4112
4069
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4113
4070
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -4127,9 +4084,6 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
4127
4084
|
if (nextToken !== undefined) {
|
4128
4085
|
localVarQueryParameter['nextToken'] = nextToken;
|
4129
4086
|
}
|
4130
|
-
if (prevToken !== undefined) {
|
4131
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
4132
|
-
}
|
4133
4087
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4134
4088
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4135
4089
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -4150,11 +4104,10 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
4150
4104
|
* @param {string} [segmentID] The segment ID
|
4151
4105
|
* @param {string} [nextToken] This is the pagination token
|
4152
4106
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
4153
|
-
* @param {string} [prevToken] This is the pagination token
|
4154
4107
|
* @param {*} [options] Override http request option.
|
4155
4108
|
* @throws {RequiredError}
|
4156
4109
|
*/
|
4157
|
-
listProducts: (kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids,
|
4110
|
+
listProducts: (kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
4158
4111
|
const localVarPath = `/admins/products`;
|
4159
4112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4160
4113
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -4195,9 +4148,6 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
4195
4148
|
if (ids) {
|
4196
4149
|
localVarQueryParameter['ids'] = ids;
|
4197
4150
|
}
|
4198
|
-
if (prevToken !== undefined) {
|
4199
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
4200
|
-
}
|
4201
4151
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4202
4152
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4203
4153
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -4210,11 +4160,10 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
4210
4160
|
* List product requests
|
4211
4161
|
* @summary List product requests
|
4212
4162
|
* @param {string} [nextToken] This is the pagination token
|
4213
|
-
* @param {string} [prevToken] This is the pagination token
|
4214
4163
|
* @param {*} [options] Override http request option.
|
4215
4164
|
* @throws {RequiredError}
|
4216
4165
|
*/
|
4217
|
-
listUserProductRequests: (nextToken,
|
4166
|
+
listUserProductRequests: (nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
4218
4167
|
const localVarPath = `/users/products/requests`;
|
4219
4168
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4220
4169
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -4231,9 +4180,6 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
4231
4180
|
if (nextToken !== undefined) {
|
4232
4181
|
localVarQueryParameter['nextToken'] = nextToken;
|
4233
4182
|
}
|
4234
|
-
if (prevToken !== undefined) {
|
4235
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
4236
|
-
}
|
4237
4183
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4238
4184
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4239
4185
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -4251,11 +4197,10 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
4251
4197
|
* @param {string} [search] search string
|
4252
4198
|
* @param {ProductAvailability} [availability] The product availability
|
4253
4199
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
4254
|
-
* @param {string} [prevToken] This is the pagination token
|
4255
4200
|
* @param {*} [options] Override http request option.
|
4256
4201
|
* @throws {RequiredError}
|
4257
4202
|
*/
|
4258
|
-
listUserProducts: (kind, nextToken, categoryID, search, availability, ids,
|
4203
|
+
listUserProducts: (kind, nextToken, categoryID, search, availability, ids, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
4259
4204
|
const localVarPath = `/users/products`;
|
4260
4205
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4261
4206
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -4287,9 +4232,6 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
4287
4232
|
if (ids) {
|
4288
4233
|
localVarQueryParameter['ids'] = ids;
|
4289
4234
|
}
|
4290
|
-
if (prevToken !== undefined) {
|
4291
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
4292
|
-
}
|
4293
4235
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4294
4236
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4295
4237
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -4438,13 +4380,12 @@ export const ProductApiFp = function (configuration) {
|
|
4438
4380
|
* @summary List existing product requests
|
4439
4381
|
* @param {ProductRequestStatus} [status] The product request status
|
4440
4382
|
* @param {string} [nextToken] This is the pagination token
|
4441
|
-
* @param {string} [prevToken] This is the pagination token
|
4442
4383
|
* @param {*} [options] Override http request option.
|
4443
4384
|
* @throws {RequiredError}
|
4444
4385
|
*/
|
4445
|
-
listProductRequests(status, nextToken,
|
4386
|
+
listProductRequests(status, nextToken, options) {
|
4446
4387
|
return __awaiter(this, void 0, void 0, function* () {
|
4447
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductRequests(status, nextToken,
|
4388
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductRequests(status, nextToken, options);
|
4448
4389
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4449
4390
|
});
|
4450
4391
|
},
|
@@ -4460,13 +4401,12 @@ export const ProductApiFp = function (configuration) {
|
|
4460
4401
|
* @param {string} [segmentID] The segment ID
|
4461
4402
|
* @param {string} [nextToken] This is the pagination token
|
4462
4403
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
4463
|
-
* @param {string} [prevToken] This is the pagination token
|
4464
4404
|
* @param {*} [options] Override http request option.
|
4465
4405
|
* @throws {RequiredError}
|
4466
4406
|
*/
|
4467
|
-
listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids,
|
4407
|
+
listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options) {
|
4468
4408
|
return __awaiter(this, void 0, void 0, function* () {
|
4469
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids,
|
4409
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options);
|
4470
4410
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4471
4411
|
});
|
4472
4412
|
},
|
@@ -4474,13 +4414,12 @@ export const ProductApiFp = function (configuration) {
|
|
4474
4414
|
* List product requests
|
4475
4415
|
* @summary List product requests
|
4476
4416
|
* @param {string} [nextToken] This is the pagination token
|
4477
|
-
* @param {string} [prevToken] This is the pagination token
|
4478
4417
|
* @param {*} [options] Override http request option.
|
4479
4418
|
* @throws {RequiredError}
|
4480
4419
|
*/
|
4481
|
-
listUserProductRequests(nextToken,
|
4420
|
+
listUserProductRequests(nextToken, options) {
|
4482
4421
|
return __awaiter(this, void 0, void 0, function* () {
|
4483
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProductRequests(nextToken,
|
4422
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProductRequests(nextToken, options);
|
4484
4423
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4485
4424
|
});
|
4486
4425
|
},
|
@@ -4493,13 +4432,12 @@ export const ProductApiFp = function (configuration) {
|
|
4493
4432
|
* @param {string} [search] search string
|
4494
4433
|
* @param {ProductAvailability} [availability] The product availability
|
4495
4434
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
4496
|
-
* @param {string} [prevToken] This is the pagination token
|
4497
4435
|
* @param {*} [options] Override http request option.
|
4498
4436
|
* @throws {RequiredError}
|
4499
4437
|
*/
|
4500
|
-
listUserProducts(kind, nextToken, categoryID, search, availability, ids,
|
4438
|
+
listUserProducts(kind, nextToken, categoryID, search, availability, ids, options) {
|
4501
4439
|
return __awaiter(this, void 0, void 0, function* () {
|
4502
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProducts(kind, nextToken, categoryID, search, availability, ids,
|
4440
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProducts(kind, nextToken, categoryID, search, availability, ids, options);
|
4503
4441
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4504
4442
|
});
|
4505
4443
|
},
|
@@ -4601,12 +4539,11 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
|
|
4601
4539
|
* @summary List existing product requests
|
4602
4540
|
* @param {ProductRequestStatus} [status] The product request status
|
4603
4541
|
* @param {string} [nextToken] This is the pagination token
|
4604
|
-
* @param {string} [prevToken] This is the pagination token
|
4605
4542
|
* @param {*} [options] Override http request option.
|
4606
4543
|
* @throws {RequiredError}
|
4607
4544
|
*/
|
4608
|
-
listProductRequests(status, nextToken,
|
4609
|
-
return localVarFp.listProductRequests(status, nextToken,
|
4545
|
+
listProductRequests(status, nextToken, options) {
|
4546
|
+
return localVarFp.listProductRequests(status, nextToken, options).then((request) => request(axios, basePath));
|
4610
4547
|
},
|
4611
4548
|
/**
|
4612
4549
|
* List existing products
|
@@ -4620,23 +4557,21 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
|
|
4620
4557
|
* @param {string} [segmentID] The segment ID
|
4621
4558
|
* @param {string} [nextToken] This is the pagination token
|
4622
4559
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
4623
|
-
* @param {string} [prevToken] This is the pagination token
|
4624
4560
|
* @param {*} [options] Override http request option.
|
4625
4561
|
* @throws {RequiredError}
|
4626
4562
|
*/
|
4627
|
-
listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids,
|
4628
|
-
return localVarFp.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids,
|
4563
|
+
listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options) {
|
4564
|
+
return localVarFp.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options).then((request) => request(axios, basePath));
|
4629
4565
|
},
|
4630
4566
|
/**
|
4631
4567
|
* List product requests
|
4632
4568
|
* @summary List product requests
|
4633
4569
|
* @param {string} [nextToken] This is the pagination token
|
4634
|
-
* @param {string} [prevToken] This is the pagination token
|
4635
4570
|
* @param {*} [options] Override http request option.
|
4636
4571
|
* @throws {RequiredError}
|
4637
4572
|
*/
|
4638
|
-
listUserProductRequests(nextToken,
|
4639
|
-
return localVarFp.listUserProductRequests(nextToken,
|
4573
|
+
listUserProductRequests(nextToken, options) {
|
4574
|
+
return localVarFp.listUserProductRequests(nextToken, options).then((request) => request(axios, basePath));
|
4640
4575
|
},
|
4641
4576
|
/**
|
4642
4577
|
* List existing products for the user
|
@@ -4647,12 +4582,11 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
|
|
4647
4582
|
* @param {string} [search] search string
|
4648
4583
|
* @param {ProductAvailability} [availability] The product availability
|
4649
4584
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
4650
|
-
* @param {string} [prevToken] This is the pagination token
|
4651
4585
|
* @param {*} [options] Override http request option.
|
4652
4586
|
* @throws {RequiredError}
|
4653
4587
|
*/
|
4654
|
-
listUserProducts(kind, nextToken, categoryID, search, availability, ids,
|
4655
|
-
return localVarFp.listUserProducts(kind, nextToken, categoryID, search, availability, ids,
|
4588
|
+
listUserProducts(kind, nextToken, categoryID, search, availability, ids, options) {
|
4589
|
+
return localVarFp.listUserProducts(kind, nextToken, categoryID, search, availability, ids, options).then((request) => request(axios, basePath));
|
4656
4590
|
},
|
4657
4591
|
/**
|
4658
4592
|
* Update a product by id
|
@@ -4756,13 +4690,12 @@ export class ProductApi extends BaseAPI {
|
|
4756
4690
|
* @summary List existing product requests
|
4757
4691
|
* @param {ProductRequestStatus} [status] The product request status
|
4758
4692
|
* @param {string} [nextToken] This is the pagination token
|
4759
|
-
* @param {string} [prevToken] This is the pagination token
|
4760
4693
|
* @param {*} [options] Override http request option.
|
4761
4694
|
* @throws {RequiredError}
|
4762
4695
|
* @memberof ProductApi
|
4763
4696
|
*/
|
4764
|
-
listProductRequests(status, nextToken,
|
4765
|
-
return ProductApiFp(this.configuration).listProductRequests(status, nextToken,
|
4697
|
+
listProductRequests(status, nextToken, options) {
|
4698
|
+
return ProductApiFp(this.configuration).listProductRequests(status, nextToken, options).then((request) => request(this.axios, this.basePath));
|
4766
4699
|
}
|
4767
4700
|
/**
|
4768
4701
|
* List existing products
|
@@ -4776,25 +4709,23 @@ export class ProductApi extends BaseAPI {
|
|
4776
4709
|
* @param {string} [segmentID] The segment ID
|
4777
4710
|
* @param {string} [nextToken] This is the pagination token
|
4778
4711
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
4779
|
-
* @param {string} [prevToken] This is the pagination token
|
4780
4712
|
* @param {*} [options] Override http request option.
|
4781
4713
|
* @throws {RequiredError}
|
4782
4714
|
* @memberof ProductApi
|
4783
4715
|
*/
|
4784
|
-
listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids,
|
4785
|
-
return ProductApiFp(this.configuration).listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids,
|
4716
|
+
listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options) {
|
4717
|
+
return ProductApiFp(this.configuration).listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options).then((request) => request(this.axios, this.basePath));
|
4786
4718
|
}
|
4787
4719
|
/**
|
4788
4720
|
* List product requests
|
4789
4721
|
* @summary List product requests
|
4790
4722
|
* @param {string} [nextToken] This is the pagination token
|
4791
|
-
* @param {string} [prevToken] This is the pagination token
|
4792
4723
|
* @param {*} [options] Override http request option.
|
4793
4724
|
* @throws {RequiredError}
|
4794
4725
|
* @memberof ProductApi
|
4795
4726
|
*/
|
4796
|
-
listUserProductRequests(nextToken,
|
4797
|
-
return ProductApiFp(this.configuration).listUserProductRequests(nextToken,
|
4727
|
+
listUserProductRequests(nextToken, options) {
|
4728
|
+
return ProductApiFp(this.configuration).listUserProductRequests(nextToken, options).then((request) => request(this.axios, this.basePath));
|
4798
4729
|
}
|
4799
4730
|
/**
|
4800
4731
|
* List existing products for the user
|
@@ -4805,13 +4736,12 @@ export class ProductApi extends BaseAPI {
|
|
4805
4736
|
* @param {string} [search] search string
|
4806
4737
|
* @param {ProductAvailability} [availability] The product availability
|
4807
4738
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
4808
|
-
* @param {string} [prevToken] This is the pagination token
|
4809
4739
|
* @param {*} [options] Override http request option.
|
4810
4740
|
* @throws {RequiredError}
|
4811
4741
|
* @memberof ProductApi
|
4812
4742
|
*/
|
4813
|
-
listUserProducts(kind, nextToken, categoryID, search, availability, ids,
|
4814
|
-
return ProductApiFp(this.configuration).listUserProducts(kind, nextToken, categoryID, search, availability, ids,
|
4743
|
+
listUserProducts(kind, nextToken, categoryID, search, availability, ids, options) {
|
4744
|
+
return ProductApiFp(this.configuration).listUserProducts(kind, nextToken, categoryID, search, availability, ids, options).then((request) => request(this.axios, this.basePath));
|
4815
4745
|
}
|
4816
4746
|
/**
|
4817
4747
|
* Update a product by id
|
@@ -4842,11 +4772,10 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
4842
4772
|
* @param {ProgressInterval} [interval] Interval
|
4843
4773
|
* @param {string} [nextToken] This is the pagination token
|
4844
4774
|
* @param {ProgressStateAggregation} [state] Progress state
|
4845
|
-
* @param {string} [prevToken] This is the pagination token
|
4846
4775
|
* @param {*} [options] Override http request option.
|
4847
4776
|
* @throws {RequiredError}
|
4848
4777
|
*/
|
4849
|
-
listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state,
|
4778
|
+
listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
4850
4779
|
// verify required parameter 'promotionIDs' is not null or undefined
|
4851
4780
|
assertParamExists('listProgress', 'promotionIDs', promotionIDs);
|
4852
4781
|
const localVarPath = `/admins/progress`;
|
@@ -4883,9 +4812,6 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
4883
4812
|
if (state !== undefined) {
|
4884
4813
|
localVarQueryParameter['state'] = state;
|
4885
4814
|
}
|
4886
|
-
if (prevToken !== undefined) {
|
4887
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
4888
|
-
}
|
4889
4815
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4890
4816
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4891
4817
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -4901,11 +4827,10 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
4901
4827
|
* @param {number} [periodID] Period ID
|
4902
4828
|
* @param {string} [nextToken] This is the pagination token
|
4903
4829
|
* @param {ProgressStateAggregation} [state] Progress state
|
4904
|
-
* @param {string} [prevToken] This is the pagination token
|
4905
4830
|
* @param {*} [options] Override http request option.
|
4906
4831
|
* @throws {RequiredError}
|
4907
4832
|
*/
|
4908
|
-
listUserProgress: (promotionIDs, periodID, nextToken, state,
|
4833
|
+
listUserProgress: (promotionIDs, periodID, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
4909
4834
|
// verify required parameter 'promotionIDs' is not null or undefined
|
4910
4835
|
assertParamExists('listUserProgress', 'promotionIDs', promotionIDs);
|
4911
4836
|
const localVarPath = `/users/progress`;
|
@@ -4933,9 +4858,6 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
4933
4858
|
if (state !== undefined) {
|
4934
4859
|
localVarQueryParameter['state'] = state;
|
4935
4860
|
}
|
4936
|
-
if (prevToken !== undefined) {
|
4937
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
4938
|
-
}
|
4939
4861
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4940
4862
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4941
4863
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -4963,13 +4885,12 @@ export const ProgressApiFp = function (configuration) {
|
|
4963
4885
|
* @param {ProgressInterval} [interval] Interval
|
4964
4886
|
* @param {string} [nextToken] This is the pagination token
|
4965
4887
|
* @param {ProgressStateAggregation} [state] Progress state
|
4966
|
-
* @param {string} [prevToken] This is the pagination token
|
4967
4888
|
* @param {*} [options] Override http request option.
|
4968
4889
|
* @throws {RequiredError}
|
4969
4890
|
*/
|
4970
|
-
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state,
|
4891
|
+
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
|
4971
4892
|
return __awaiter(this, void 0, void 0, function* () {
|
4972
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state,
|
4893
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options);
|
4973
4894
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4974
4895
|
});
|
4975
4896
|
},
|
@@ -4980,13 +4901,12 @@ export const ProgressApiFp = function (configuration) {
|
|
4980
4901
|
* @param {number} [periodID] Period ID
|
4981
4902
|
* @param {string} [nextToken] This is the pagination token
|
4982
4903
|
* @param {ProgressStateAggregation} [state] Progress state
|
4983
|
-
* @param {string} [prevToken] This is the pagination token
|
4984
4904
|
* @param {*} [options] Override http request option.
|
4985
4905
|
* @throws {RequiredError}
|
4986
4906
|
*/
|
4987
|
-
listUserProgress(promotionIDs, periodID, nextToken, state,
|
4907
|
+
listUserProgress(promotionIDs, periodID, nextToken, state, options) {
|
4988
4908
|
return __awaiter(this, void 0, void 0, function* () {
|
4989
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state,
|
4909
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, options);
|
4990
4910
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4991
4911
|
});
|
4992
4912
|
},
|
@@ -5009,12 +4929,11 @@ export const ProgressApiFactory = function (configuration, basePath, axios) {
|
|
5009
4929
|
* @param {ProgressInterval} [interval] Interval
|
5010
4930
|
* @param {string} [nextToken] This is the pagination token
|
5011
4931
|
* @param {ProgressStateAggregation} [state] Progress state
|
5012
|
-
* @param {string} [prevToken] This is the pagination token
|
5013
4932
|
* @param {*} [options] Override http request option.
|
5014
4933
|
* @throws {RequiredError}
|
5015
4934
|
*/
|
5016
|
-
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state,
|
5017
|
-
return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state,
|
4935
|
+
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
|
4936
|
+
return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(axios, basePath));
|
5018
4937
|
},
|
5019
4938
|
/**
|
5020
4939
|
* List users progress
|
@@ -5023,12 +4942,11 @@ export const ProgressApiFactory = function (configuration, basePath, axios) {
|
|
5023
4942
|
* @param {number} [periodID] Period ID
|
5024
4943
|
* @param {string} [nextToken] This is the pagination token
|
5025
4944
|
* @param {ProgressStateAggregation} [state] Progress state
|
5026
|
-
* @param {string} [prevToken] This is the pagination token
|
5027
4945
|
* @param {*} [options] Override http request option.
|
5028
4946
|
* @throws {RequiredError}
|
5029
4947
|
*/
|
5030
|
-
listUserProgress(promotionIDs, periodID, nextToken, state,
|
5031
|
-
return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state,
|
4948
|
+
listUserProgress(promotionIDs, periodID, nextToken, state, options) {
|
4949
|
+
return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(axios, basePath));
|
5032
4950
|
},
|
5033
4951
|
};
|
5034
4952
|
};
|
@@ -5049,13 +4967,12 @@ export class ProgressApi extends BaseAPI {
|
|
5049
4967
|
* @param {ProgressInterval} [interval] Interval
|
5050
4968
|
* @param {string} [nextToken] This is the pagination token
|
5051
4969
|
* @param {ProgressStateAggregation} [state] Progress state
|
5052
|
-
* @param {string} [prevToken] This is the pagination token
|
5053
4970
|
* @param {*} [options] Override http request option.
|
5054
4971
|
* @throws {RequiredError}
|
5055
4972
|
* @memberof ProgressApi
|
5056
4973
|
*/
|
5057
|
-
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state,
|
5058
|
-
return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state,
|
4974
|
+
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
|
4975
|
+
return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(this.axios, this.basePath));
|
5059
4976
|
}
|
5060
4977
|
/**
|
5061
4978
|
* List users progress
|
@@ -5064,13 +4981,12 @@ export class ProgressApi extends BaseAPI {
|
|
5064
4981
|
* @param {number} [periodID] Period ID
|
5065
4982
|
* @param {string} [nextToken] This is the pagination token
|
5066
4983
|
* @param {ProgressStateAggregation} [state] Progress state
|
5067
|
-
* @param {string} [prevToken] This is the pagination token
|
5068
4984
|
* @param {*} [options] Override http request option.
|
5069
4985
|
* @throws {RequiredError}
|
5070
4986
|
* @memberof ProgressApi
|
5071
4987
|
*/
|
5072
|
-
listUserProgress(promotionIDs, periodID, nextToken, state,
|
5073
|
-
return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, state,
|
4988
|
+
listUserProgress(promotionIDs, periodID, nextToken, state, options) {
|
4989
|
+
return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(this.axios, this.basePath));
|
5074
4990
|
}
|
5075
4991
|
}
|
5076
4992
|
/**
|
@@ -5385,11 +5301,10 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
5385
5301
|
* @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
|
5386
5302
|
* @param {ProgressInterval} [interval] Progress interval to filter by
|
5387
5303
|
* @param {ProgressStateAggregation} [state] Progress state
|
5388
|
-
* @param {string} [prevToken] This is the pagination token
|
5389
5304
|
* @param {*} [options] Override http request option.
|
5390
5305
|
* @throws {RequiredError}
|
5391
5306
|
*/
|
5392
|
-
listPromotionBeneficiaries: (id, periodID, hasProgress, nextToken, search, interval, state,
|
5307
|
+
listPromotionBeneficiaries: (id, periodID, hasProgress, nextToken, search, interval, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
5393
5308
|
// verify required parameter 'id' is not null or undefined
|
5394
5309
|
assertParamExists('listPromotionBeneficiaries', 'id', id);
|
5395
5310
|
const localVarPath = `/admins/promotions/{id}/beneficiaries`
|
@@ -5424,9 +5339,6 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
5424
5339
|
if (state !== undefined) {
|
5425
5340
|
localVarQueryParameter['state'] = state;
|
5426
5341
|
}
|
5427
|
-
if (prevToken !== undefined) {
|
5428
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
5429
|
-
}
|
5430
5342
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
5431
5343
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
5432
5344
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -5550,11 +5462,10 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
5550
5462
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
5551
5463
|
* @param {PromotionType} [type] promotion type
|
5552
5464
|
* @param {Array<string>} [iDs] IDs to filter by
|
5553
|
-
* @param {string} [prevToken] This is the pagination token
|
5554
5465
|
* @param {*} [options] Override http request option.
|
5555
5466
|
* @throws {RequiredError}
|
5556
5467
|
*/
|
5557
|
-
listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs,
|
5468
|
+
listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
5558
5469
|
const localVarPath = `/users/promotions`;
|
5559
5470
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
5560
5471
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -5612,9 +5523,6 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
5612
5523
|
if (iDs) {
|
5613
5524
|
localVarQueryParameter['IDs'] = iDs;
|
5614
5525
|
}
|
5615
|
-
if (prevToken !== undefined) {
|
5616
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
5617
|
-
}
|
5618
5526
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
5619
5527
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
5620
5528
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -5798,13 +5706,12 @@ export const PromotionApiFp = function (configuration) {
|
|
5798
5706
|
* @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
|
5799
5707
|
* @param {ProgressInterval} [interval] Progress interval to filter by
|
5800
5708
|
* @param {ProgressStateAggregation} [state] Progress state
|
5801
|
-
* @param {string} [prevToken] This is the pagination token
|
5802
5709
|
* @param {*} [options] Override http request option.
|
5803
5710
|
* @throws {RequiredError}
|
5804
5711
|
*/
|
5805
|
-
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state,
|
5712
|
+
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options) {
|
5806
5713
|
return __awaiter(this, void 0, void 0, function* () {
|
5807
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state,
|
5714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options);
|
5808
5715
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
5809
5716
|
});
|
5810
5717
|
},
|
@@ -5851,13 +5758,12 @@ export const PromotionApiFp = function (configuration) {
|
|
5851
5758
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
5852
5759
|
* @param {PromotionType} [type] promotion type
|
5853
5760
|
* @param {Array<string>} [iDs] IDs to filter by
|
5854
|
-
* @param {string} [prevToken] This is the pagination token
|
5855
5761
|
* @param {*} [options] Override http request option.
|
5856
5762
|
* @throws {RequiredError}
|
5857
5763
|
*/
|
5858
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs,
|
5764
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
|
5859
5765
|
return __awaiter(this, void 0, void 0, function* () {
|
5860
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs,
|
5766
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options);
|
5861
5767
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
5862
5768
|
});
|
5863
5769
|
},
|
@@ -5986,12 +5892,11 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
5986
5892
|
* @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
|
5987
5893
|
* @param {ProgressInterval} [interval] Progress interval to filter by
|
5988
5894
|
* @param {ProgressStateAggregation} [state] Progress state
|
5989
|
-
* @param {string} [prevToken] This is the pagination token
|
5990
5895
|
* @param {*} [options] Override http request option.
|
5991
5896
|
* @throws {RequiredError}
|
5992
5897
|
*/
|
5993
|
-
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state,
|
5994
|
-
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state,
|
5898
|
+
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options) {
|
5899
|
+
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options).then((request) => request(axios, basePath));
|
5995
5900
|
},
|
5996
5901
|
/**
|
5997
5902
|
* List all promotions
|
@@ -6033,12 +5938,11 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
6033
5938
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
6034
5939
|
* @param {PromotionType} [type] promotion type
|
6035
5940
|
* @param {Array<string>} [iDs] IDs to filter by
|
6036
|
-
* @param {string} [prevToken] This is the pagination token
|
6037
5941
|
* @param {*} [options] Override http request option.
|
6038
5942
|
* @throws {RequiredError}
|
6039
5943
|
*/
|
6040
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs,
|
6041
|
-
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs,
|
5944
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
|
5945
|
+
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(axios, basePath));
|
6042
5946
|
},
|
6043
5947
|
/**
|
6044
5948
|
* Update promotion by id
|
@@ -6171,13 +6075,12 @@ export class PromotionApi extends BaseAPI {
|
|
6171
6075
|
* @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
|
6172
6076
|
* @param {ProgressInterval} [interval] Progress interval to filter by
|
6173
6077
|
* @param {ProgressStateAggregation} [state] Progress state
|
6174
|
-
* @param {string} [prevToken] This is the pagination token
|
6175
6078
|
* @param {*} [options] Override http request option.
|
6176
6079
|
* @throws {RequiredError}
|
6177
6080
|
* @memberof PromotionApi
|
6178
6081
|
*/
|
6179
|
-
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state,
|
6180
|
-
return PromotionApiFp(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state,
|
6082
|
+
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options) {
|
6083
|
+
return PromotionApiFp(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options).then((request) => request(this.axios, this.basePath));
|
6181
6084
|
}
|
6182
6085
|
/**
|
6183
6086
|
* List all promotions
|
@@ -6220,13 +6123,12 @@ export class PromotionApi extends BaseAPI {
|
|
6220
6123
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
6221
6124
|
* @param {PromotionType} [type] promotion type
|
6222
6125
|
* @param {Array<string>} [iDs] IDs to filter by
|
6223
|
-
* @param {string} [prevToken] This is the pagination token
|
6224
6126
|
* @param {*} [options] Override http request option.
|
6225
6127
|
* @throws {RequiredError}
|
6226
6128
|
* @memberof PromotionApi
|
6227
6129
|
*/
|
6228
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs,
|
6229
|
-
return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs,
|
6130
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
|
6131
|
+
return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(this.axios, this.basePath));
|
6230
6132
|
}
|
6231
6133
|
/**
|
6232
6134
|
* Update promotion by id
|
@@ -6548,11 +6450,10 @@ export const SegmentApiAxiosParamCreator = function (configuration) {
|
|
6548
6450
|
* @summary Method returns segments list.
|
6549
6451
|
* @param {string} [nextToken]
|
6550
6452
|
* @param {string} [search] search string
|
6551
|
-
* @param {string} [prevToken]
|
6552
6453
|
* @param {*} [options] Override http request option.
|
6553
6454
|
* @throws {RequiredError}
|
6554
6455
|
*/
|
6555
|
-
listSegments: (nextToken, search,
|
6456
|
+
listSegments: (nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
6556
6457
|
const localVarPath = `/admins/segments`;
|
6557
6458
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
6558
6459
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -6572,9 +6473,6 @@ export const SegmentApiAxiosParamCreator = function (configuration) {
|
|
6572
6473
|
if (search !== undefined) {
|
6573
6474
|
localVarQueryParameter['search'] = search;
|
6574
6475
|
}
|
6575
|
-
if (prevToken !== undefined) {
|
6576
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
6577
|
-
}
|
6578
6476
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6579
6477
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6580
6478
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -6623,13 +6521,12 @@ export const SegmentApiFp = function (configuration) {
|
|
6623
6521
|
* @summary Method returns segments list.
|
6624
6522
|
* @param {string} [nextToken]
|
6625
6523
|
* @param {string} [search] search string
|
6626
|
-
* @param {string} [prevToken]
|
6627
6524
|
* @param {*} [options] Override http request option.
|
6628
6525
|
* @throws {RequiredError}
|
6629
6526
|
*/
|
6630
|
-
listSegments(nextToken, search,
|
6527
|
+
listSegments(nextToken, search, options) {
|
6631
6528
|
return __awaiter(this, void 0, void 0, function* () {
|
6632
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSegments(nextToken, search,
|
6529
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSegments(nextToken, search, options);
|
6633
6530
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6634
6531
|
});
|
6635
6532
|
},
|
@@ -6667,12 +6564,11 @@ export const SegmentApiFactory = function (configuration, basePath, axios) {
|
|
6667
6564
|
* @summary Method returns segments list.
|
6668
6565
|
* @param {string} [nextToken]
|
6669
6566
|
* @param {string} [search] search string
|
6670
|
-
* @param {string} [prevToken]
|
6671
6567
|
* @param {*} [options] Override http request option.
|
6672
6568
|
* @throws {RequiredError}
|
6673
6569
|
*/
|
6674
|
-
listSegments(nextToken, search,
|
6675
|
-
return localVarFp.listSegments(nextToken, search,
|
6570
|
+
listSegments(nextToken, search, options) {
|
6571
|
+
return localVarFp.listSegments(nextToken, search, options).then((request) => request(axios, basePath));
|
6676
6572
|
},
|
6677
6573
|
};
|
6678
6574
|
};
|
@@ -6710,13 +6606,12 @@ export class SegmentApi extends BaseAPI {
|
|
6710
6606
|
* @summary Method returns segments list.
|
6711
6607
|
* @param {string} [nextToken]
|
6712
6608
|
* @param {string} [search] search string
|
6713
|
-
* @param {string} [prevToken]
|
6714
6609
|
* @param {*} [options] Override http request option.
|
6715
6610
|
* @throws {RequiredError}
|
6716
6611
|
* @memberof SegmentApi
|
6717
6612
|
*/
|
6718
|
-
listSegments(nextToken, search,
|
6719
|
-
return SegmentApiFp(this.configuration).listSegments(nextToken, search,
|
6613
|
+
listSegments(nextToken, search, options) {
|
6614
|
+
return SegmentApiFp(this.configuration).listSegments(nextToken, search, options).then((request) => request(this.axios, this.basePath));
|
6720
6615
|
}
|
6721
6616
|
}
|
6722
6617
|
/**
|
@@ -7210,11 +7105,10 @@ export const TransactionApiAxiosParamCreator = function (configuration) {
|
|
7210
7105
|
* @param {string} [nextToken] This is the pagination token
|
7211
7106
|
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
7212
7107
|
* @param {Array<string>} [userIDs] This is the user ID
|
7213
|
-
* @param {string} [prevToken] This is the pagination token
|
7214
7108
|
* @param {*} [options] Override http request option.
|
7215
7109
|
* @throws {RequiredError}
|
7216
7110
|
*/
|
7217
|
-
listTransactions: (nextToken, clientIDs, userIDs,
|
7111
|
+
listTransactions: (nextToken, clientIDs, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
7218
7112
|
const localVarPath = `/admins/transactions`;
|
7219
7113
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
7220
7114
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -7237,9 +7131,6 @@ export const TransactionApiAxiosParamCreator = function (configuration) {
|
|
7237
7131
|
if (userIDs) {
|
7238
7132
|
localVarQueryParameter['userIDs'] = userIDs;
|
7239
7133
|
}
|
7240
|
-
if (prevToken !== undefined) {
|
7241
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
7242
|
-
}
|
7243
7134
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
7244
7135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
7245
7136
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -7253,11 +7144,10 @@ export const TransactionApiAxiosParamCreator = function (configuration) {
|
|
7253
7144
|
* @summary List existing transactions for users
|
7254
7145
|
* @param {string} [nextToken] This is the pagination token
|
7255
7146
|
* @param {Array<string>} [userIDs] This is the user ID
|
7256
|
-
* @param {string} [prevToken] This is the pagination token
|
7257
7147
|
* @param {*} [options] Override http request option.
|
7258
7148
|
* @throws {RequiredError}
|
7259
7149
|
*/
|
7260
|
-
listUserTransactions: (nextToken, userIDs,
|
7150
|
+
listUserTransactions: (nextToken, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
7261
7151
|
const localVarPath = `/users/transactions`;
|
7262
7152
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
7263
7153
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -7277,9 +7167,6 @@ export const TransactionApiAxiosParamCreator = function (configuration) {
|
|
7277
7167
|
if (userIDs) {
|
7278
7168
|
localVarQueryParameter['userIDs'] = userIDs;
|
7279
7169
|
}
|
7280
|
-
if (prevToken !== undefined) {
|
7281
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
7282
|
-
}
|
7283
7170
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
7284
7171
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
7285
7172
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -7303,13 +7190,12 @@ export const TransactionApiFp = function (configuration) {
|
|
7303
7190
|
* @param {string} [nextToken] This is the pagination token
|
7304
7191
|
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
7305
7192
|
* @param {Array<string>} [userIDs] This is the user ID
|
7306
|
-
* @param {string} [prevToken] This is the pagination token
|
7307
7193
|
* @param {*} [options] Override http request option.
|
7308
7194
|
* @throws {RequiredError}
|
7309
7195
|
*/
|
7310
|
-
listTransactions(nextToken, clientIDs, userIDs,
|
7196
|
+
listTransactions(nextToken, clientIDs, userIDs, options) {
|
7311
7197
|
return __awaiter(this, void 0, void 0, function* () {
|
7312
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(nextToken, clientIDs, userIDs,
|
7198
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(nextToken, clientIDs, userIDs, options);
|
7313
7199
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7314
7200
|
});
|
7315
7201
|
},
|
@@ -7318,13 +7204,12 @@ export const TransactionApiFp = function (configuration) {
|
|
7318
7204
|
* @summary List existing transactions for users
|
7319
7205
|
* @param {string} [nextToken] This is the pagination token
|
7320
7206
|
* @param {Array<string>} [userIDs] This is the user ID
|
7321
|
-
* @param {string} [prevToken] This is the pagination token
|
7322
7207
|
* @param {*} [options] Override http request option.
|
7323
7208
|
* @throws {RequiredError}
|
7324
7209
|
*/
|
7325
|
-
listUserTransactions(nextToken, userIDs,
|
7210
|
+
listUserTransactions(nextToken, userIDs, options) {
|
7326
7211
|
return __awaiter(this, void 0, void 0, function* () {
|
7327
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserTransactions(nextToken, userIDs,
|
7212
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserTransactions(nextToken, userIDs, options);
|
7328
7213
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7329
7214
|
});
|
7330
7215
|
},
|
@@ -7343,24 +7228,22 @@ export const TransactionApiFactory = function (configuration, basePath, axios) {
|
|
7343
7228
|
* @param {string} [nextToken] This is the pagination token
|
7344
7229
|
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
7345
7230
|
* @param {Array<string>} [userIDs] This is the user ID
|
7346
|
-
* @param {string} [prevToken] This is the pagination token
|
7347
7231
|
* @param {*} [options] Override http request option.
|
7348
7232
|
* @throws {RequiredError}
|
7349
7233
|
*/
|
7350
|
-
listTransactions(nextToken, clientIDs, userIDs,
|
7351
|
-
return localVarFp.listTransactions(nextToken, clientIDs, userIDs,
|
7234
|
+
listTransactions(nextToken, clientIDs, userIDs, options) {
|
7235
|
+
return localVarFp.listTransactions(nextToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
|
7352
7236
|
},
|
7353
7237
|
/**
|
7354
7238
|
* List existing transactions
|
7355
7239
|
* @summary List existing transactions for users
|
7356
7240
|
* @param {string} [nextToken] This is the pagination token
|
7357
7241
|
* @param {Array<string>} [userIDs] This is the user ID
|
7358
|
-
* @param {string} [prevToken] This is the pagination token
|
7359
7242
|
* @param {*} [options] Override http request option.
|
7360
7243
|
* @throws {RequiredError}
|
7361
7244
|
*/
|
7362
|
-
listUserTransactions(nextToken, userIDs,
|
7363
|
-
return localVarFp.listUserTransactions(nextToken, userIDs,
|
7245
|
+
listUserTransactions(nextToken, userIDs, options) {
|
7246
|
+
return localVarFp.listUserTransactions(nextToken, userIDs, options).then((request) => request(axios, basePath));
|
7364
7247
|
},
|
7365
7248
|
};
|
7366
7249
|
};
|
@@ -7377,26 +7260,24 @@ export class TransactionApi extends BaseAPI {
|
|
7377
7260
|
* @param {string} [nextToken] This is the pagination token
|
7378
7261
|
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
7379
7262
|
* @param {Array<string>} [userIDs] This is the user ID
|
7380
|
-
* @param {string} [prevToken] This is the pagination token
|
7381
7263
|
* @param {*} [options] Override http request option.
|
7382
7264
|
* @throws {RequiredError}
|
7383
7265
|
* @memberof TransactionApi
|
7384
7266
|
*/
|
7385
|
-
listTransactions(nextToken, clientIDs, userIDs,
|
7386
|
-
return TransactionApiFp(this.configuration).listTransactions(nextToken, clientIDs, userIDs,
|
7267
|
+
listTransactions(nextToken, clientIDs, userIDs, options) {
|
7268
|
+
return TransactionApiFp(this.configuration).listTransactions(nextToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
|
7387
7269
|
}
|
7388
7270
|
/**
|
7389
7271
|
* List existing transactions
|
7390
7272
|
* @summary List existing transactions for users
|
7391
7273
|
* @param {string} [nextToken] This is the pagination token
|
7392
7274
|
* @param {Array<string>} [userIDs] This is the user ID
|
7393
|
-
* @param {string} [prevToken] This is the pagination token
|
7394
7275
|
* @param {*} [options] Override http request option.
|
7395
7276
|
* @throws {RequiredError}
|
7396
7277
|
* @memberof TransactionApi
|
7397
7278
|
*/
|
7398
|
-
listUserTransactions(nextToken, userIDs,
|
7399
|
-
return TransactionApiFp(this.configuration).listUserTransactions(nextToken, userIDs,
|
7279
|
+
listUserTransactions(nextToken, userIDs, options) {
|
7280
|
+
return TransactionApiFp(this.configuration).listUserTransactions(nextToken, userIDs, options).then((request) => request(this.axios, this.basePath));
|
7400
7281
|
}
|
7401
7282
|
}
|
7402
7283
|
/**
|
@@ -7506,11 +7387,10 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
7506
7387
|
* @param {string} [nextToken] This is the pagination token
|
7507
7388
|
* @param {string} [search] search string
|
7508
7389
|
* @param {Array<string>} [userIDs] user ids to filter by
|
7509
|
-
* @param {string} [prevToken] This is the pagination token
|
7510
7390
|
* @param {*} [options] Override http request option.
|
7511
7391
|
* @throws {RequiredError}
|
7512
7392
|
*/
|
7513
|
-
listCustomerUsers: (nextToken, search, userIDs,
|
7393
|
+
listCustomerUsers: (nextToken, search, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
7514
7394
|
const localVarPath = `/users`;
|
7515
7395
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
7516
7396
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -7533,9 +7413,6 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
7533
7413
|
if (userIDs) {
|
7534
7414
|
localVarQueryParameter['userIDs'] = userIDs;
|
7535
7415
|
}
|
7536
|
-
if (prevToken !== undefined) {
|
7537
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
7538
|
-
}
|
7539
7416
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
7540
7417
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
7541
7418
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -7553,11 +7430,10 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
7553
7430
|
* @param {Array<string>} [clientIDs] client IDs to filter by
|
7554
7431
|
* @param {Array<string>} [userIDs] user ids to filter by
|
7555
7432
|
* @param {UserSource} [source] source to filter by
|
7556
|
-
* @param {string} [prevToken] This is the pagination token
|
7557
7433
|
* @param {*} [options] Override http request option.
|
7558
7434
|
* @throws {RequiredError}
|
7559
7435
|
*/
|
7560
|
-
listUsers: (nextToken, role, search, clientIDs, userIDs, source,
|
7436
|
+
listUsers: (nextToken, role, search, clientIDs, userIDs, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
7561
7437
|
const localVarPath = `/admins/users`;
|
7562
7438
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
7563
7439
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -7589,9 +7465,6 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
7589
7465
|
if (source !== undefined) {
|
7590
7466
|
localVarQueryParameter['source'] = source;
|
7591
7467
|
}
|
7592
|
-
if (prevToken !== undefined) {
|
7593
|
-
localVarQueryParameter['prevToken'] = prevToken;
|
7594
|
-
}
|
7595
7468
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
7596
7469
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
7597
7470
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -7653,13 +7526,12 @@ export const UserApiFp = function (configuration) {
|
|
7653
7526
|
* @param {string} [nextToken] This is the pagination token
|
7654
7527
|
* @param {string} [search] search string
|
7655
7528
|
* @param {Array<string>} [userIDs] user ids to filter by
|
7656
|
-
* @param {string} [prevToken] This is the pagination token
|
7657
7529
|
* @param {*} [options] Override http request option.
|
7658
7530
|
* @throws {RequiredError}
|
7659
7531
|
*/
|
7660
|
-
listCustomerUsers(nextToken, search, userIDs,
|
7532
|
+
listCustomerUsers(nextToken, search, userIDs, options) {
|
7661
7533
|
return __awaiter(this, void 0, void 0, function* () {
|
7662
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs,
|
7534
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, options);
|
7663
7535
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7664
7536
|
});
|
7665
7537
|
},
|
@@ -7672,13 +7544,12 @@ export const UserApiFp = function (configuration) {
|
|
7672
7544
|
* @param {Array<string>} [clientIDs] client IDs to filter by
|
7673
7545
|
* @param {Array<string>} [userIDs] user ids to filter by
|
7674
7546
|
* @param {UserSource} [source] source to filter by
|
7675
|
-
* @param {string} [prevToken] This is the pagination token
|
7676
7547
|
* @param {*} [options] Override http request option.
|
7677
7548
|
* @throws {RequiredError}
|
7678
7549
|
*/
|
7679
|
-
listUsers(nextToken, role, search, clientIDs, userIDs, source,
|
7550
|
+
listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
|
7680
7551
|
return __awaiter(this, void 0, void 0, function* () {
|
7681
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source,
|
7552
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
|
7682
7553
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7683
7554
|
});
|
7684
7555
|
},
|
@@ -7726,12 +7597,11 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
7726
7597
|
* @param {string} [nextToken] This is the pagination token
|
7727
7598
|
* @param {string} [search] search string
|
7728
7599
|
* @param {Array<string>} [userIDs] user ids to filter by
|
7729
|
-
* @param {string} [prevToken] This is the pagination token
|
7730
7600
|
* @param {*} [options] Override http request option.
|
7731
7601
|
* @throws {RequiredError}
|
7732
7602
|
*/
|
7733
|
-
listCustomerUsers(nextToken, search, userIDs,
|
7734
|
-
return localVarFp.listCustomerUsers(nextToken, search, userIDs,
|
7603
|
+
listCustomerUsers(nextToken, search, userIDs, options) {
|
7604
|
+
return localVarFp.listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(axios, basePath));
|
7735
7605
|
},
|
7736
7606
|
/**
|
7737
7607
|
* List all users
|
@@ -7742,12 +7612,11 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
7742
7612
|
* @param {Array<string>} [clientIDs] client IDs to filter by
|
7743
7613
|
* @param {Array<string>} [userIDs] user ids to filter by
|
7744
7614
|
* @param {UserSource} [source] source to filter by
|
7745
|
-
* @param {string} [prevToken] This is the pagination token
|
7746
7615
|
* @param {*} [options] Override http request option.
|
7747
7616
|
* @throws {RequiredError}
|
7748
7617
|
*/
|
7749
|
-
listUsers(nextToken, role, search, clientIDs, userIDs, source,
|
7750
|
-
return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source,
|
7618
|
+
listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
|
7619
|
+
return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
|
7751
7620
|
},
|
7752
7621
|
};
|
7753
7622
|
};
|
@@ -7796,13 +7665,12 @@ export class UserApi extends BaseAPI {
|
|
7796
7665
|
* @param {string} [nextToken] This is the pagination token
|
7797
7666
|
* @param {string} [search] search string
|
7798
7667
|
* @param {Array<string>} [userIDs] user ids to filter by
|
7799
|
-
* @param {string} [prevToken] This is the pagination token
|
7800
7668
|
* @param {*} [options] Override http request option.
|
7801
7669
|
* @throws {RequiredError}
|
7802
7670
|
* @memberof UserApi
|
7803
7671
|
*/
|
7804
|
-
listCustomerUsers(nextToken, search, userIDs,
|
7805
|
-
return UserApiFp(this.configuration).listCustomerUsers(nextToken, search, userIDs,
|
7672
|
+
listCustomerUsers(nextToken, search, userIDs, options) {
|
7673
|
+
return UserApiFp(this.configuration).listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(this.axios, this.basePath));
|
7806
7674
|
}
|
7807
7675
|
/**
|
7808
7676
|
* List all users
|
@@ -7813,12 +7681,11 @@ export class UserApi extends BaseAPI {
|
|
7813
7681
|
* @param {Array<string>} [clientIDs] client IDs to filter by
|
7814
7682
|
* @param {Array<string>} [userIDs] user ids to filter by
|
7815
7683
|
* @param {UserSource} [source] source to filter by
|
7816
|
-
* @param {string} [prevToken] This is the pagination token
|
7817
7684
|
* @param {*} [options] Override http request option.
|
7818
7685
|
* @throws {RequiredError}
|
7819
7686
|
* @memberof UserApi
|
7820
7687
|
*/
|
7821
|
-
listUsers(nextToken, role, search, clientIDs, userIDs, source,
|
7822
|
-
return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source,
|
7688
|
+
listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
|
7689
|
+
return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
|
7823
7690
|
}
|
7824
7691
|
}
|