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/dist/api.js CHANGED
@@ -492,11 +492,10 @@ const AuditApiAxiosParamCreator = function (configuration) {
492
492
  * @summary List audit logs for given object type and ID
493
493
  * @param {string} userID id of the user
494
494
  * @param {string} [nextToken] This is the pagination token
495
- * @param {string} [prevToken] This is the pagination token
496
495
  * @param {*} [options] Override http request option.
497
496
  * @throws {RequiredError}
498
497
  */
499
- listUserAuditLogs: (userID, nextToken, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
498
+ listUserAuditLogs: (userID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
500
499
  // verify required parameter 'userID' is not null or undefined
501
500
  (0, common_1.assertParamExists)('listUserAuditLogs', 'userID', userID);
502
501
  const localVarPath = `/admins/audit/user/{userID}`
@@ -516,9 +515,6 @@ const AuditApiAxiosParamCreator = function (configuration) {
516
515
  if (nextToken !== undefined) {
517
516
  localVarQueryParameter['nextToken'] = nextToken;
518
517
  }
519
- if (prevToken !== undefined) {
520
- localVarQueryParameter['prevToken'] = prevToken;
521
- }
522
518
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
523
519
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
524
520
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -556,13 +552,12 @@ const AuditApiFp = function (configuration) {
556
552
  * @summary List audit logs for given object type and ID
557
553
  * @param {string} userID id of the user
558
554
  * @param {string} [nextToken] This is the pagination token
559
- * @param {string} [prevToken] This is the pagination token
560
555
  * @param {*} [options] Override http request option.
561
556
  * @throws {RequiredError}
562
557
  */
563
- listUserAuditLogs(userID, nextToken, prevToken, options) {
558
+ listUserAuditLogs(userID, nextToken, options) {
564
559
  return __awaiter(this, void 0, void 0, function* () {
565
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserAuditLogs(userID, nextToken, prevToken, options);
560
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserAuditLogs(userID, nextToken, options);
566
561
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
567
562
  });
568
563
  },
@@ -592,12 +587,11 @@ const AuditApiFactory = function (configuration, basePath, axios) {
592
587
  * @summary List audit logs for given object type and ID
593
588
  * @param {string} userID id of the user
594
589
  * @param {string} [nextToken] This is the pagination token
595
- * @param {string} [prevToken] This is the pagination token
596
590
  * @param {*} [options] Override http request option.
597
591
  * @throws {RequiredError}
598
592
  */
599
- listUserAuditLogs(userID, nextToken, prevToken, options) {
600
- return localVarFp.listUserAuditLogs(userID, nextToken, prevToken, options).then((request) => request(axios, basePath));
593
+ listUserAuditLogs(userID, nextToken, options) {
594
+ return localVarFp.listUserAuditLogs(userID, nextToken, options).then((request) => request(axios, basePath));
601
595
  },
602
596
  };
603
597
  };
@@ -626,13 +620,12 @@ class AuditApi extends base_1.BaseAPI {
626
620
  * @summary List audit logs for given object type and ID
627
621
  * @param {string} userID id of the user
628
622
  * @param {string} [nextToken] This is the pagination token
629
- * @param {string} [prevToken] This is the pagination token
630
623
  * @param {*} [options] Override http request option.
631
624
  * @throws {RequiredError}
632
625
  * @memberof AuditApi
633
626
  */
634
- listUserAuditLogs(userID, nextToken, prevToken, options) {
635
- return (0, exports.AuditApiFp)(this.configuration).listUserAuditLogs(userID, nextToken, prevToken, options).then((request) => request(this.axios, this.basePath));
627
+ listUserAuditLogs(userID, nextToken, options) {
628
+ return (0, exports.AuditApiFp)(this.configuration).listUserAuditLogs(userID, nextToken, options).then((request) => request(this.axios, this.basePath));
636
629
  }
637
630
  }
638
631
  exports.AuditApi = AuditApi;
@@ -1652,11 +1645,10 @@ const ClientApiAxiosParamCreator = function (configuration) {
1652
1645
  * @param {Array<string>} [clientIDs] client IDs
1653
1646
  * @param {string} [managerID] manager ID for whose clients we want to list
1654
1647
  * @param {boolean} [isExcluded] is client excluded
1655
- * @param {string} [prevToken] This is the pagination token
1656
1648
  * @param {*} [options] Override http request option.
1657
1649
  * @throws {RequiredError}
1658
1650
  */
1659
- listClients: (nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
1651
+ listClients: (nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options = {}) => __awaiter(this, void 0, void 0, function* () {
1660
1652
  const localVarPath = `/admins/clients`;
1661
1653
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1662
1654
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1688,9 +1680,6 @@ const ClientApiAxiosParamCreator = function (configuration) {
1688
1680
  if (isExcluded !== undefined) {
1689
1681
  localVarQueryParameter['isExcluded'] = isExcluded;
1690
1682
  }
1691
- if (prevToken !== undefined) {
1692
- localVarQueryParameter['prevToken'] = prevToken;
1693
- }
1694
1683
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1695
1684
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1696
1685
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1781,13 +1770,12 @@ const ClientApiFp = function (configuration) {
1781
1770
  * @param {Array<string>} [clientIDs] client IDs
1782
1771
  * @param {string} [managerID] manager ID for whose clients we want to list
1783
1772
  * @param {boolean} [isExcluded] is client excluded
1784
- * @param {string} [prevToken] This is the pagination token
1785
1773
  * @param {*} [options] Override http request option.
1786
1774
  * @throws {RequiredError}
1787
1775
  */
1788
- listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options) {
1776
+ listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options) {
1789
1777
  return __awaiter(this, void 0, void 0, function* () {
1790
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options);
1778
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options);
1791
1779
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1792
1780
  });
1793
1781
  },
@@ -1844,12 +1832,11 @@ const ClientApiFactory = function (configuration, basePath, axios) {
1844
1832
  * @param {Array<string>} [clientIDs] client IDs
1845
1833
  * @param {string} [managerID] manager ID for whose clients we want to list
1846
1834
  * @param {boolean} [isExcluded] is client excluded
1847
- * @param {string} [prevToken] This is the pagination token
1848
1835
  * @param {*} [options] Override http request option.
1849
1836
  * @throws {RequiredError}
1850
1837
  */
1851
- listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options) {
1852
- return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options).then((request) => request(axios, basePath));
1838
+ listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options) {
1839
+ return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options).then((request) => request(axios, basePath));
1853
1840
  },
1854
1841
  /**
1855
1842
  * Update client
@@ -1903,13 +1890,12 @@ class ClientApi extends base_1.BaseAPI {
1903
1890
  * @param {Array<string>} [clientIDs] client IDs
1904
1891
  * @param {string} [managerID] manager ID for whose clients we want to list
1905
1892
  * @param {boolean} [isExcluded] is client excluded
1906
- * @param {string} [prevToken] This is the pagination token
1907
1893
  * @param {*} [options] Override http request option.
1908
1894
  * @throws {RequiredError}
1909
1895
  * @memberof ClientApi
1910
1896
  */
1911
- listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options) {
1912
- return (0, exports.ClientApiFp)(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options).then((request) => request(this.axios, this.basePath));
1897
+ listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options) {
1898
+ return (0, exports.ClientApiFp)(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options).then((request) => request(this.axios, this.basePath));
1913
1899
  }
1914
1900
  /**
1915
1901
  * Update client
@@ -1969,11 +1955,10 @@ const ConfigurationApiAxiosParamCreator = function (configuration) {
1969
1955
  * @summary List configurations
1970
1956
  * @param {string} [nextToken] This is the pagination token
1971
1957
  * @param {string} [search] search string
1972
- * @param {string} [prevToken] This is the pagination token
1973
1958
  * @param {*} [options] Override http request option.
1974
1959
  * @throws {RequiredError}
1975
1960
  */
1976
- listConfigurations: (nextToken, search, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
1961
+ listConfigurations: (nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
1977
1962
  const localVarPath = `/admins/configurations`;
1978
1963
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1979
1964
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1993,9 +1978,6 @@ const ConfigurationApiAxiosParamCreator = function (configuration) {
1993
1978
  if (search !== undefined) {
1994
1979
  localVarQueryParameter['search'] = search;
1995
1980
  }
1996
- if (prevToken !== undefined) {
1997
- localVarQueryParameter['prevToken'] = prevToken;
1998
- }
1999
1981
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2000
1982
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2001
1983
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2088,13 +2070,12 @@ const ConfigurationApiFp = function (configuration) {
2088
2070
  * @summary List configurations
2089
2071
  * @param {string} [nextToken] This is the pagination token
2090
2072
  * @param {string} [search] search string
2091
- * @param {string} [prevToken] This is the pagination token
2092
2073
  * @param {*} [options] Override http request option.
2093
2074
  * @throws {RequiredError}
2094
2075
  */
2095
- listConfigurations(nextToken, search, prevToken, options) {
2076
+ listConfigurations(nextToken, search, options) {
2096
2077
  return __awaiter(this, void 0, void 0, function* () {
2097
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listConfigurations(nextToken, search, prevToken, options);
2078
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listConfigurations(nextToken, search, options);
2098
2079
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2099
2080
  });
2100
2081
  },
@@ -2147,12 +2128,11 @@ const ConfigurationApiFactory = function (configuration, basePath, axios) {
2147
2128
  * @summary List configurations
2148
2129
  * @param {string} [nextToken] This is the pagination token
2149
2130
  * @param {string} [search] search string
2150
- * @param {string} [prevToken] This is the pagination token
2151
2131
  * @param {*} [options] Override http request option.
2152
2132
  * @throws {RequiredError}
2153
2133
  */
2154
- listConfigurations(nextToken, search, prevToken, options) {
2155
- return localVarFp.listConfigurations(nextToken, search, prevToken, options).then((request) => request(axios, basePath));
2134
+ listConfigurations(nextToken, search, options) {
2135
+ return localVarFp.listConfigurations(nextToken, search, options).then((request) => request(axios, basePath));
2156
2136
  },
2157
2137
  /**
2158
2138
  * List all features
@@ -2198,13 +2178,12 @@ class ConfigurationApi extends base_1.BaseAPI {
2198
2178
  * @summary List configurations
2199
2179
  * @param {string} [nextToken] This is the pagination token
2200
2180
  * @param {string} [search] search string
2201
- * @param {string} [prevToken] This is the pagination token
2202
2181
  * @param {*} [options] Override http request option.
2203
2182
  * @throws {RequiredError}
2204
2183
  * @memberof ConfigurationApi
2205
2184
  */
2206
- listConfigurations(nextToken, search, prevToken, options) {
2207
- return (0, exports.ConfigurationApiFp)(this.configuration).listConfigurations(nextToken, search, prevToken, options).then((request) => request(this.axios, this.basePath));
2185
+ listConfigurations(nextToken, search, options) {
2186
+ return (0, exports.ConfigurationApiFp)(this.configuration).listConfigurations(nextToken, search, options).then((request) => request(this.axios, this.basePath));
2208
2187
  }
2209
2188
  /**
2210
2189
  * List all features
@@ -2924,11 +2903,10 @@ const NotificationApiAxiosParamCreator = function (configuration) {
2924
2903
  * @summary List notifications
2925
2904
  * @param {string} [nextToken] This is the pagination token
2926
2905
  * @param {NotificationStatus} [status] Notification status
2927
- * @param {string} [prevToken] This is the pagination token
2928
2906
  * @param {*} [options] Override http request option.
2929
2907
  * @throws {RequiredError}
2930
2908
  */
2931
- listNotifications: (nextToken, status, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
2909
+ listNotifications: (nextToken, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
2932
2910
  const localVarPath = `/users/notifications`;
2933
2911
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2934
2912
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2948,9 +2926,6 @@ const NotificationApiAxiosParamCreator = function (configuration) {
2948
2926
  if (status !== undefined) {
2949
2927
  localVarQueryParameter['status'] = status;
2950
2928
  }
2951
- if (prevToken !== undefined) {
2952
- localVarQueryParameter['prevToken'] = prevToken;
2953
- }
2954
2929
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2955
2930
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2956
2931
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3122,13 +3097,12 @@ const NotificationApiFp = function (configuration) {
3122
3097
  * @summary List notifications
3123
3098
  * @param {string} [nextToken] This is the pagination token
3124
3099
  * @param {NotificationStatus} [status] Notification status
3125
- * @param {string} [prevToken] This is the pagination token
3126
3100
  * @param {*} [options] Override http request option.
3127
3101
  * @throws {RequiredError}
3128
3102
  */
3129
- listNotifications(nextToken, status, prevToken, options) {
3103
+ listNotifications(nextToken, status, options) {
3130
3104
  return __awaiter(this, void 0, void 0, function* () {
3131
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotifications(nextToken, status, prevToken, options);
3105
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotifications(nextToken, status, options);
3132
3106
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3133
3107
  });
3134
3108
  },
@@ -3224,12 +3198,11 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
3224
3198
  * @summary List notifications
3225
3199
  * @param {string} [nextToken] This is the pagination token
3226
3200
  * @param {NotificationStatus} [status] Notification status
3227
- * @param {string} [prevToken] This is the pagination token
3228
3201
  * @param {*} [options] Override http request option.
3229
3202
  * @throws {RequiredError}
3230
3203
  */
3231
- listNotifications(nextToken, status, prevToken, options) {
3232
- return localVarFp.listNotifications(nextToken, status, prevToken, options).then((request) => request(axios, basePath));
3204
+ listNotifications(nextToken, status, options) {
3205
+ return localVarFp.listNotifications(nextToken, status, options).then((request) => request(axios, basePath));
3233
3206
  },
3234
3207
  /**
3235
3208
  * Update notification by ID
@@ -3318,13 +3291,12 @@ class NotificationApi extends base_1.BaseAPI {
3318
3291
  * @summary List notifications
3319
3292
  * @param {string} [nextToken] This is the pagination token
3320
3293
  * @param {NotificationStatus} [status] Notification status
3321
- * @param {string} [prevToken] This is the pagination token
3322
3294
  * @param {*} [options] Override http request option.
3323
3295
  * @throws {RequiredError}
3324
3296
  * @memberof NotificationApi
3325
3297
  */
3326
- listNotifications(nextToken, status, prevToken, options) {
3327
- return (0, exports.NotificationApiFp)(this.configuration).listNotifications(nextToken, status, prevToken, options).then((request) => request(this.axios, this.basePath));
3298
+ listNotifications(nextToken, status, options) {
3299
+ return (0, exports.NotificationApiFp)(this.configuration).listNotifications(nextToken, status, options).then((request) => request(this.axios, this.basePath));
3328
3300
  }
3329
3301
  /**
3330
3302
  * Update notification by ID
@@ -3506,11 +3478,10 @@ const OrderApiAxiosParamCreator = function (configuration) {
3506
3478
  * @param {Array<string>} [clientIDs] Filter by client ids
3507
3479
  * @param {OrderKind} [kind] Filter by kind
3508
3480
  * @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
3509
- * @param {string} [prevToken] This is the pagination token
3510
3481
  * @param {*} [options] Override http request option.
3511
3482
  * @throws {RequiredError}
3512
3483
  */
3513
- listOrders: (nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
3484
+ listOrders: (nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
3514
3485
  const localVarPath = `/admins/orders`;
3515
3486
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3516
3487
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3558,9 +3529,6 @@ const OrderApiAxiosParamCreator = function (configuration) {
3558
3529
  if (source !== undefined) {
3559
3530
  localVarQueryParameter['source'] = source;
3560
3531
  }
3561
- if (prevToken !== undefined) {
3562
- localVarQueryParameter['prevToken'] = prevToken;
3563
- }
3564
3532
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3565
3533
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3566
3534
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3579,11 +3547,10 @@ const OrderApiAxiosParamCreator = function (configuration) {
3579
3547
  * @param {string} [createdAfter] Filter orders created after the specified date
3580
3548
  * @param {string} [createdBefore] Filter orders created before the specified date
3581
3549
  * @param {Array<string>} [userIDs] Filter by user ids
3582
- * @param {string} [prevToken] This is the pagination token
3583
3550
  * @param {*} [options] Override http request option.
3584
3551
  * @throws {RequiredError}
3585
3552
  */
3586
- listOrdersUser: (nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
3553
+ listOrdersUser: (nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
3587
3554
  const localVarPath = `/users/orders`;
3588
3555
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3589
3556
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3622,9 +3589,6 @@ const OrderApiAxiosParamCreator = function (configuration) {
3622
3589
  if (userIDs) {
3623
3590
  localVarQueryParameter['userIDs'] = userIDs;
3624
3591
  }
3625
- if (prevToken !== undefined) {
3626
- localVarQueryParameter['prevToken'] = prevToken;
3627
- }
3628
3592
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3629
3593
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3630
3594
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3708,13 +3672,12 @@ const OrderApiFp = function (configuration) {
3708
3672
  * @param {Array<string>} [clientIDs] Filter by client ids
3709
3673
  * @param {OrderKind} [kind] Filter by kind
3710
3674
  * @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
3711
- * @param {string} [prevToken] This is the pagination token
3712
3675
  * @param {*} [options] Override http request option.
3713
3676
  * @throws {RequiredError}
3714
3677
  */
3715
- listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options) {
3678
+ listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
3716
3679
  return __awaiter(this, void 0, void 0, function* () {
3717
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options);
3680
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options);
3718
3681
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3719
3682
  });
3720
3683
  },
@@ -3728,13 +3691,12 @@ const OrderApiFp = function (configuration) {
3728
3691
  * @param {string} [createdAfter] Filter orders created after the specified date
3729
3692
  * @param {string} [createdBefore] Filter orders created before the specified date
3730
3693
  * @param {Array<string>} [userIDs] Filter by user ids
3731
- * @param {string} [prevToken] This is the pagination token
3732
3694
  * @param {*} [options] Override http request option.
3733
3695
  * @throws {RequiredError}
3734
3696
  */
3735
- listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options) {
3697
+ listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
3736
3698
  return __awaiter(this, void 0, void 0, function* () {
3737
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options);
3699
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options);
3738
3700
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3739
3701
  });
3740
3702
  },
@@ -3801,12 +3763,11 @@ const OrderApiFactory = function (configuration, basePath, axios) {
3801
3763
  * @param {Array<string>} [clientIDs] Filter by client ids
3802
3764
  * @param {OrderKind} [kind] Filter by kind
3803
3765
  * @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
3804
- * @param {string} [prevToken] This is the pagination token
3805
3766
  * @param {*} [options] Override http request option.
3806
3767
  * @throws {RequiredError}
3807
3768
  */
3808
- listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options) {
3809
- return localVarFp.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options).then((request) => request(axios, basePath));
3769
+ listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
3770
+ return localVarFp.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(axios, basePath));
3810
3771
  },
3811
3772
  /**
3812
3773
  * List existing orders
@@ -3818,12 +3779,11 @@ const OrderApiFactory = function (configuration, basePath, axios) {
3818
3779
  * @param {string} [createdAfter] Filter orders created after the specified date
3819
3780
  * @param {string} [createdBefore] Filter orders created before the specified date
3820
3781
  * @param {Array<string>} [userIDs] Filter by user ids
3821
- * @param {string} [prevToken] This is the pagination token
3822
3782
  * @param {*} [options] Override http request option.
3823
3783
  * @throws {RequiredError}
3824
3784
  */
3825
- listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options) {
3826
- return localVarFp.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options).then((request) => request(axios, basePath));
3785
+ listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
3786
+ return localVarFp.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(axios, basePath));
3827
3787
  },
3828
3788
  };
3829
3789
  };
@@ -3892,13 +3852,12 @@ class OrderApi extends base_1.BaseAPI {
3892
3852
  * @param {Array<string>} [clientIDs] Filter by client ids
3893
3853
  * @param {OrderKind} [kind] Filter by kind
3894
3854
  * @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
3895
- * @param {string} [prevToken] This is the pagination token
3896
3855
  * @param {*} [options] Override http request option.
3897
3856
  * @throws {RequiredError}
3898
3857
  * @memberof OrderApi
3899
3858
  */
3900
- listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options) {
3901
- return (0, exports.OrderApiFp)(this.configuration).listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options).then((request) => request(this.axios, this.basePath));
3859
+ listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
3860
+ return (0, exports.OrderApiFp)(this.configuration).listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(this.axios, this.basePath));
3902
3861
  }
3903
3862
  /**
3904
3863
  * List existing orders
@@ -3910,13 +3869,12 @@ class OrderApi extends base_1.BaseAPI {
3910
3869
  * @param {string} [createdAfter] Filter orders created after the specified date
3911
3870
  * @param {string} [createdBefore] Filter orders created before the specified date
3912
3871
  * @param {Array<string>} [userIDs] Filter by user ids
3913
- * @param {string} [prevToken] This is the pagination token
3914
3872
  * @param {*} [options] Override http request option.
3915
3873
  * @throws {RequiredError}
3916
3874
  * @memberof OrderApi
3917
3875
  */
3918
- listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options) {
3919
- return (0, exports.OrderApiFp)(this.configuration).listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options).then((request) => request(this.axios, this.basePath));
3876
+ listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
3877
+ return (0, exports.OrderApiFp)(this.configuration).listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(this.axios, this.basePath));
3920
3878
  }
3921
3879
  }
3922
3880
  exports.OrderApi = OrderApi;
@@ -4152,11 +4110,10 @@ const ProductApiAxiosParamCreator = function (configuration) {
4152
4110
  * @summary List existing product requests
4153
4111
  * @param {ProductRequestStatus} [status] The product request status
4154
4112
  * @param {string} [nextToken] This is the pagination token
4155
- * @param {string} [prevToken] This is the pagination token
4156
4113
  * @param {*} [options] Override http request option.
4157
4114
  * @throws {RequiredError}
4158
4115
  */
4159
- listProductRequests: (status, nextToken, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4116
+ listProductRequests: (status, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4160
4117
  const localVarPath = `/admins/products/requests`;
4161
4118
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4162
4119
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4176,9 +4133,6 @@ const ProductApiAxiosParamCreator = function (configuration) {
4176
4133
  if (nextToken !== undefined) {
4177
4134
  localVarQueryParameter['nextToken'] = nextToken;
4178
4135
  }
4179
- if (prevToken !== undefined) {
4180
- localVarQueryParameter['prevToken'] = prevToken;
4181
- }
4182
4136
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4183
4137
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4184
4138
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4199,11 +4153,10 @@ const ProductApiAxiosParamCreator = function (configuration) {
4199
4153
  * @param {string} [segmentID] The segment ID
4200
4154
  * @param {string} [nextToken] This is the pagination token
4201
4155
  * @param {Array<string>} [ids] This a list of ids to filter by
4202
- * @param {string} [prevToken] This is the pagination token
4203
4156
  * @param {*} [options] Override http request option.
4204
4157
  * @throws {RequiredError}
4205
4158
  */
4206
- listProducts: (kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4159
+ listProducts: (kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options = {}) => __awaiter(this, void 0, void 0, function* () {
4207
4160
  const localVarPath = `/admins/products`;
4208
4161
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4209
4162
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4244,9 +4197,6 @@ const ProductApiAxiosParamCreator = function (configuration) {
4244
4197
  if (ids) {
4245
4198
  localVarQueryParameter['ids'] = ids;
4246
4199
  }
4247
- if (prevToken !== undefined) {
4248
- localVarQueryParameter['prevToken'] = prevToken;
4249
- }
4250
4200
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4251
4201
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4252
4202
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4259,11 +4209,10 @@ const ProductApiAxiosParamCreator = function (configuration) {
4259
4209
  * List product requests
4260
4210
  * @summary List product requests
4261
4211
  * @param {string} [nextToken] This is the pagination token
4262
- * @param {string} [prevToken] This is the pagination token
4263
4212
  * @param {*} [options] Override http request option.
4264
4213
  * @throws {RequiredError}
4265
4214
  */
4266
- listUserProductRequests: (nextToken, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4215
+ listUserProductRequests: (nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4267
4216
  const localVarPath = `/users/products/requests`;
4268
4217
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4269
4218
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4280,9 +4229,6 @@ const ProductApiAxiosParamCreator = function (configuration) {
4280
4229
  if (nextToken !== undefined) {
4281
4230
  localVarQueryParameter['nextToken'] = nextToken;
4282
4231
  }
4283
- if (prevToken !== undefined) {
4284
- localVarQueryParameter['prevToken'] = prevToken;
4285
- }
4286
4232
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4287
4233
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4288
4234
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4300,11 +4246,10 @@ const ProductApiAxiosParamCreator = function (configuration) {
4300
4246
  * @param {string} [search] search string
4301
4247
  * @param {ProductAvailability} [availability] The product availability
4302
4248
  * @param {Array<string>} [ids] This a list of ids to filter by
4303
- * @param {string} [prevToken] This is the pagination token
4304
4249
  * @param {*} [options] Override http request option.
4305
4250
  * @throws {RequiredError}
4306
4251
  */
4307
- listUserProducts: (kind, nextToken, categoryID, search, availability, ids, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4252
+ listUserProducts: (kind, nextToken, categoryID, search, availability, ids, options = {}) => __awaiter(this, void 0, void 0, function* () {
4308
4253
  const localVarPath = `/users/products`;
4309
4254
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4310
4255
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4336,9 +4281,6 @@ const ProductApiAxiosParamCreator = function (configuration) {
4336
4281
  if (ids) {
4337
4282
  localVarQueryParameter['ids'] = ids;
4338
4283
  }
4339
- if (prevToken !== undefined) {
4340
- localVarQueryParameter['prevToken'] = prevToken;
4341
- }
4342
4284
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4343
4285
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4344
4286
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4488,13 +4430,12 @@ const ProductApiFp = function (configuration) {
4488
4430
  * @summary List existing product requests
4489
4431
  * @param {ProductRequestStatus} [status] The product request status
4490
4432
  * @param {string} [nextToken] This is the pagination token
4491
- * @param {string} [prevToken] This is the pagination token
4492
4433
  * @param {*} [options] Override http request option.
4493
4434
  * @throws {RequiredError}
4494
4435
  */
4495
- listProductRequests(status, nextToken, prevToken, options) {
4436
+ listProductRequests(status, nextToken, options) {
4496
4437
  return __awaiter(this, void 0, void 0, function* () {
4497
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductRequests(status, nextToken, prevToken, options);
4438
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductRequests(status, nextToken, options);
4498
4439
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4499
4440
  });
4500
4441
  },
@@ -4510,13 +4451,12 @@ const ProductApiFp = function (configuration) {
4510
4451
  * @param {string} [segmentID] The segment ID
4511
4452
  * @param {string} [nextToken] This is the pagination token
4512
4453
  * @param {Array<string>} [ids] This a list of ids to filter by
4513
- * @param {string} [prevToken] This is the pagination token
4514
4454
  * @param {*} [options] Override http request option.
4515
4455
  * @throws {RequiredError}
4516
4456
  */
4517
- listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options) {
4457
+ listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options) {
4518
4458
  return __awaiter(this, void 0, void 0, function* () {
4519
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options);
4459
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options);
4520
4460
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4521
4461
  });
4522
4462
  },
@@ -4524,13 +4464,12 @@ const ProductApiFp = function (configuration) {
4524
4464
  * List product requests
4525
4465
  * @summary List product requests
4526
4466
  * @param {string} [nextToken] This is the pagination token
4527
- * @param {string} [prevToken] This is the pagination token
4528
4467
  * @param {*} [options] Override http request option.
4529
4468
  * @throws {RequiredError}
4530
4469
  */
4531
- listUserProductRequests(nextToken, prevToken, options) {
4470
+ listUserProductRequests(nextToken, options) {
4532
4471
  return __awaiter(this, void 0, void 0, function* () {
4533
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProductRequests(nextToken, prevToken, options);
4472
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProductRequests(nextToken, options);
4534
4473
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4535
4474
  });
4536
4475
  },
@@ -4543,13 +4482,12 @@ const ProductApiFp = function (configuration) {
4543
4482
  * @param {string} [search] search string
4544
4483
  * @param {ProductAvailability} [availability] The product availability
4545
4484
  * @param {Array<string>} [ids] This a list of ids to filter by
4546
- * @param {string} [prevToken] This is the pagination token
4547
4485
  * @param {*} [options] Override http request option.
4548
4486
  * @throws {RequiredError}
4549
4487
  */
4550
- listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options) {
4488
+ listUserProducts(kind, nextToken, categoryID, search, availability, ids, options) {
4551
4489
  return __awaiter(this, void 0, void 0, function* () {
4552
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options);
4490
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProducts(kind, nextToken, categoryID, search, availability, ids, options);
4553
4491
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4554
4492
  });
4555
4493
  },
@@ -4652,12 +4590,11 @@ const ProductApiFactory = function (configuration, basePath, axios) {
4652
4590
  * @summary List existing product requests
4653
4591
  * @param {ProductRequestStatus} [status] The product request status
4654
4592
  * @param {string} [nextToken] This is the pagination token
4655
- * @param {string} [prevToken] This is the pagination token
4656
4593
  * @param {*} [options] Override http request option.
4657
4594
  * @throws {RequiredError}
4658
4595
  */
4659
- listProductRequests(status, nextToken, prevToken, options) {
4660
- return localVarFp.listProductRequests(status, nextToken, prevToken, options).then((request) => request(axios, basePath));
4596
+ listProductRequests(status, nextToken, options) {
4597
+ return localVarFp.listProductRequests(status, nextToken, options).then((request) => request(axios, basePath));
4661
4598
  },
4662
4599
  /**
4663
4600
  * List existing products
@@ -4671,23 +4608,21 @@ const ProductApiFactory = function (configuration, basePath, axios) {
4671
4608
  * @param {string} [segmentID] The segment ID
4672
4609
  * @param {string} [nextToken] This is the pagination token
4673
4610
  * @param {Array<string>} [ids] This a list of ids to filter by
4674
- * @param {string} [prevToken] This is the pagination token
4675
4611
  * @param {*} [options] Override http request option.
4676
4612
  * @throws {RequiredError}
4677
4613
  */
4678
- listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options) {
4679
- return localVarFp.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options).then((request) => request(axios, basePath));
4614
+ listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options) {
4615
+ return localVarFp.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options).then((request) => request(axios, basePath));
4680
4616
  },
4681
4617
  /**
4682
4618
  * List product requests
4683
4619
  * @summary List product requests
4684
4620
  * @param {string} [nextToken] This is the pagination token
4685
- * @param {string} [prevToken] This is the pagination token
4686
4621
  * @param {*} [options] Override http request option.
4687
4622
  * @throws {RequiredError}
4688
4623
  */
4689
- listUserProductRequests(nextToken, prevToken, options) {
4690
- return localVarFp.listUserProductRequests(nextToken, prevToken, options).then((request) => request(axios, basePath));
4624
+ listUserProductRequests(nextToken, options) {
4625
+ return localVarFp.listUserProductRequests(nextToken, options).then((request) => request(axios, basePath));
4691
4626
  },
4692
4627
  /**
4693
4628
  * List existing products for the user
@@ -4698,12 +4633,11 @@ const ProductApiFactory = function (configuration, basePath, axios) {
4698
4633
  * @param {string} [search] search string
4699
4634
  * @param {ProductAvailability} [availability] The product availability
4700
4635
  * @param {Array<string>} [ids] This a list of ids to filter by
4701
- * @param {string} [prevToken] This is the pagination token
4702
4636
  * @param {*} [options] Override http request option.
4703
4637
  * @throws {RequiredError}
4704
4638
  */
4705
- listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options) {
4706
- return localVarFp.listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options).then((request) => request(axios, basePath));
4639
+ listUserProducts(kind, nextToken, categoryID, search, availability, ids, options) {
4640
+ return localVarFp.listUserProducts(kind, nextToken, categoryID, search, availability, ids, options).then((request) => request(axios, basePath));
4707
4641
  },
4708
4642
  /**
4709
4643
  * Update a product by id
@@ -4808,13 +4742,12 @@ class ProductApi extends base_1.BaseAPI {
4808
4742
  * @summary List existing product requests
4809
4743
  * @param {ProductRequestStatus} [status] The product request status
4810
4744
  * @param {string} [nextToken] This is the pagination token
4811
- * @param {string} [prevToken] This is the pagination token
4812
4745
  * @param {*} [options] Override http request option.
4813
4746
  * @throws {RequiredError}
4814
4747
  * @memberof ProductApi
4815
4748
  */
4816
- listProductRequests(status, nextToken, prevToken, options) {
4817
- return (0, exports.ProductApiFp)(this.configuration).listProductRequests(status, nextToken, prevToken, options).then((request) => request(this.axios, this.basePath));
4749
+ listProductRequests(status, nextToken, options) {
4750
+ return (0, exports.ProductApiFp)(this.configuration).listProductRequests(status, nextToken, options).then((request) => request(this.axios, this.basePath));
4818
4751
  }
4819
4752
  /**
4820
4753
  * List existing products
@@ -4828,25 +4761,23 @@ class ProductApi extends base_1.BaseAPI {
4828
4761
  * @param {string} [segmentID] The segment ID
4829
4762
  * @param {string} [nextToken] This is the pagination token
4830
4763
  * @param {Array<string>} [ids] This a list of ids to filter by
4831
- * @param {string} [prevToken] This is the pagination token
4832
4764
  * @param {*} [options] Override http request option.
4833
4765
  * @throws {RequiredError}
4834
4766
  * @memberof ProductApi
4835
4767
  */
4836
- listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options) {
4837
- return (0, exports.ProductApiFp)(this.configuration).listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options).then((request) => request(this.axios, this.basePath));
4768
+ listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options) {
4769
+ return (0, exports.ProductApiFp)(this.configuration).listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options).then((request) => request(this.axios, this.basePath));
4838
4770
  }
4839
4771
  /**
4840
4772
  * List product requests
4841
4773
  * @summary List product requests
4842
4774
  * @param {string} [nextToken] This is the pagination token
4843
- * @param {string} [prevToken] This is the pagination token
4844
4775
  * @param {*} [options] Override http request option.
4845
4776
  * @throws {RequiredError}
4846
4777
  * @memberof ProductApi
4847
4778
  */
4848
- listUserProductRequests(nextToken, prevToken, options) {
4849
- return (0, exports.ProductApiFp)(this.configuration).listUserProductRequests(nextToken, prevToken, options).then((request) => request(this.axios, this.basePath));
4779
+ listUserProductRequests(nextToken, options) {
4780
+ return (0, exports.ProductApiFp)(this.configuration).listUserProductRequests(nextToken, options).then((request) => request(this.axios, this.basePath));
4850
4781
  }
4851
4782
  /**
4852
4783
  * List existing products for the user
@@ -4857,13 +4788,12 @@ class ProductApi extends base_1.BaseAPI {
4857
4788
  * @param {string} [search] search string
4858
4789
  * @param {ProductAvailability} [availability] The product availability
4859
4790
  * @param {Array<string>} [ids] This a list of ids to filter by
4860
- * @param {string} [prevToken] This is the pagination token
4861
4791
  * @param {*} [options] Override http request option.
4862
4792
  * @throws {RequiredError}
4863
4793
  * @memberof ProductApi
4864
4794
  */
4865
- listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options) {
4866
- return (0, exports.ProductApiFp)(this.configuration).listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options).then((request) => request(this.axios, this.basePath));
4795
+ listUserProducts(kind, nextToken, categoryID, search, availability, ids, options) {
4796
+ return (0, exports.ProductApiFp)(this.configuration).listUserProducts(kind, nextToken, categoryID, search, availability, ids, options).then((request) => request(this.axios, this.basePath));
4867
4797
  }
4868
4798
  /**
4869
4799
  * Update a product by id
@@ -4895,11 +4825,10 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4895
4825
  * @param {ProgressInterval} [interval] Interval
4896
4826
  * @param {string} [nextToken] This is the pagination token
4897
4827
  * @param {ProgressStateAggregation} [state] Progress state
4898
- * @param {string} [prevToken] This is the pagination token
4899
4828
  * @param {*} [options] Override http request option.
4900
4829
  * @throws {RequiredError}
4901
4830
  */
4902
- listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4831
+ listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
4903
4832
  // verify required parameter 'promotionIDs' is not null or undefined
4904
4833
  (0, common_1.assertParamExists)('listProgress', 'promotionIDs', promotionIDs);
4905
4834
  const localVarPath = `/admins/progress`;
@@ -4936,9 +4865,6 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4936
4865
  if (state !== undefined) {
4937
4866
  localVarQueryParameter['state'] = state;
4938
4867
  }
4939
- if (prevToken !== undefined) {
4940
- localVarQueryParameter['prevToken'] = prevToken;
4941
- }
4942
4868
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4943
4869
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4944
4870
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4954,11 +4880,10 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4954
4880
  * @param {number} [periodID] Period ID
4955
4881
  * @param {string} [nextToken] This is the pagination token
4956
4882
  * @param {ProgressStateAggregation} [state] Progress state
4957
- * @param {string} [prevToken] This is the pagination token
4958
4883
  * @param {*} [options] Override http request option.
4959
4884
  * @throws {RequiredError}
4960
4885
  */
4961
- listUserProgress: (promotionIDs, periodID, nextToken, state, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4886
+ listUserProgress: (promotionIDs, periodID, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
4962
4887
  // verify required parameter 'promotionIDs' is not null or undefined
4963
4888
  (0, common_1.assertParamExists)('listUserProgress', 'promotionIDs', promotionIDs);
4964
4889
  const localVarPath = `/users/progress`;
@@ -4986,9 +4911,6 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4986
4911
  if (state !== undefined) {
4987
4912
  localVarQueryParameter['state'] = state;
4988
4913
  }
4989
- if (prevToken !== undefined) {
4990
- localVarQueryParameter['prevToken'] = prevToken;
4991
- }
4992
4914
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4993
4915
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4994
4916
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5017,13 +4939,12 @@ const ProgressApiFp = function (configuration) {
5017
4939
  * @param {ProgressInterval} [interval] Interval
5018
4940
  * @param {string} [nextToken] This is the pagination token
5019
4941
  * @param {ProgressStateAggregation} [state] Progress state
5020
- * @param {string} [prevToken] This is the pagination token
5021
4942
  * @param {*} [options] Override http request option.
5022
4943
  * @throws {RequiredError}
5023
4944
  */
5024
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options) {
4945
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
5025
4946
  return __awaiter(this, void 0, void 0, function* () {
5026
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options);
4947
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options);
5027
4948
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5028
4949
  });
5029
4950
  },
@@ -5034,13 +4955,12 @@ const ProgressApiFp = function (configuration) {
5034
4955
  * @param {number} [periodID] Period ID
5035
4956
  * @param {string} [nextToken] This is the pagination token
5036
4957
  * @param {ProgressStateAggregation} [state] Progress state
5037
- * @param {string} [prevToken] This is the pagination token
5038
4958
  * @param {*} [options] Override http request option.
5039
4959
  * @throws {RequiredError}
5040
4960
  */
5041
- listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options) {
4961
+ listUserProgress(promotionIDs, periodID, nextToken, state, options) {
5042
4962
  return __awaiter(this, void 0, void 0, function* () {
5043
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options);
4963
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, options);
5044
4964
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5045
4965
  });
5046
4966
  },
@@ -5064,12 +4984,11 @@ const ProgressApiFactory = function (configuration, basePath, axios) {
5064
4984
  * @param {ProgressInterval} [interval] Interval
5065
4985
  * @param {string} [nextToken] This is the pagination token
5066
4986
  * @param {ProgressStateAggregation} [state] Progress state
5067
- * @param {string} [prevToken] This is the pagination token
5068
4987
  * @param {*} [options] Override http request option.
5069
4988
  * @throws {RequiredError}
5070
4989
  */
5071
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options) {
5072
- return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options).then((request) => request(axios, basePath));
4990
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
4991
+ return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(axios, basePath));
5073
4992
  },
5074
4993
  /**
5075
4994
  * List users progress
@@ -5078,12 +4997,11 @@ const ProgressApiFactory = function (configuration, basePath, axios) {
5078
4997
  * @param {number} [periodID] Period ID
5079
4998
  * @param {string} [nextToken] This is the pagination token
5080
4999
  * @param {ProgressStateAggregation} [state] Progress state
5081
- * @param {string} [prevToken] This is the pagination token
5082
5000
  * @param {*} [options] Override http request option.
5083
5001
  * @throws {RequiredError}
5084
5002
  */
5085
- listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options) {
5086
- return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options).then((request) => request(axios, basePath));
5003
+ listUserProgress(promotionIDs, periodID, nextToken, state, options) {
5004
+ return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(axios, basePath));
5087
5005
  },
5088
5006
  };
5089
5007
  };
@@ -5105,13 +5023,12 @@ class ProgressApi extends base_1.BaseAPI {
5105
5023
  * @param {ProgressInterval} [interval] Interval
5106
5024
  * @param {string} [nextToken] This is the pagination token
5107
5025
  * @param {ProgressStateAggregation} [state] Progress state
5108
- * @param {string} [prevToken] This is the pagination token
5109
5026
  * @param {*} [options] Override http request option.
5110
5027
  * @throws {RequiredError}
5111
5028
  * @memberof ProgressApi
5112
5029
  */
5113
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options) {
5114
- return (0, exports.ProgressApiFp)(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options).then((request) => request(this.axios, this.basePath));
5030
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
5031
+ return (0, exports.ProgressApiFp)(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(this.axios, this.basePath));
5115
5032
  }
5116
5033
  /**
5117
5034
  * List users progress
@@ -5120,13 +5037,12 @@ class ProgressApi extends base_1.BaseAPI {
5120
5037
  * @param {number} [periodID] Period ID
5121
5038
  * @param {string} [nextToken] This is the pagination token
5122
5039
  * @param {ProgressStateAggregation} [state] Progress state
5123
- * @param {string} [prevToken] This is the pagination token
5124
5040
  * @param {*} [options] Override http request option.
5125
5041
  * @throws {RequiredError}
5126
5042
  * @memberof ProgressApi
5127
5043
  */
5128
- listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options) {
5129
- return (0, exports.ProgressApiFp)(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options).then((request) => request(this.axios, this.basePath));
5044
+ listUserProgress(promotionIDs, periodID, nextToken, state, options) {
5045
+ return (0, exports.ProgressApiFp)(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(this.axios, this.basePath));
5130
5046
  }
5131
5047
  }
5132
5048
  exports.ProgressApi = ProgressApi;
@@ -5442,11 +5358,10 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5442
5358
  * @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
5443
5359
  * @param {ProgressInterval} [interval] Progress interval to filter by
5444
5360
  * @param {ProgressStateAggregation} [state] Progress state
5445
- * @param {string} [prevToken] This is the pagination token
5446
5361
  * @param {*} [options] Override http request option.
5447
5362
  * @throws {RequiredError}
5448
5363
  */
5449
- listPromotionBeneficiaries: (id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
5364
+ listPromotionBeneficiaries: (id, periodID, hasProgress, nextToken, search, interval, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
5450
5365
  // verify required parameter 'id' is not null or undefined
5451
5366
  (0, common_1.assertParamExists)('listPromotionBeneficiaries', 'id', id);
5452
5367
  const localVarPath = `/admins/promotions/{id}/beneficiaries`
@@ -5481,9 +5396,6 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5481
5396
  if (state !== undefined) {
5482
5397
  localVarQueryParameter['state'] = state;
5483
5398
  }
5484
- if (prevToken !== undefined) {
5485
- localVarQueryParameter['prevToken'] = prevToken;
5486
- }
5487
5399
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5488
5400
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5489
5401
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5607,11 +5519,10 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5607
5519
  * @param {boolean} [onlyClaimable] only claimable promotions
5608
5520
  * @param {PromotionType} [type] promotion type
5609
5521
  * @param {Array<string>} [iDs] IDs to filter by
5610
- * @param {string} [prevToken] This is the pagination token
5611
5522
  * @param {*} [options] Override http request option.
5612
5523
  * @throws {RequiredError}
5613
5524
  */
5614
- listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
5525
+ listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
5615
5526
  const localVarPath = `/users/promotions`;
5616
5527
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5617
5528
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5669,9 +5580,6 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5669
5580
  if (iDs) {
5670
5581
  localVarQueryParameter['IDs'] = iDs;
5671
5582
  }
5672
- if (prevToken !== undefined) {
5673
- localVarQueryParameter['prevToken'] = prevToken;
5674
- }
5675
5583
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5676
5584
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5677
5585
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5856,13 +5764,12 @@ const PromotionApiFp = function (configuration) {
5856
5764
  * @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
5857
5765
  * @param {ProgressInterval} [interval] Progress interval to filter by
5858
5766
  * @param {ProgressStateAggregation} [state] Progress state
5859
- * @param {string} [prevToken] This is the pagination token
5860
5767
  * @param {*} [options] Override http request option.
5861
5768
  * @throws {RequiredError}
5862
5769
  */
5863
- listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options) {
5770
+ listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options) {
5864
5771
  return __awaiter(this, void 0, void 0, function* () {
5865
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options);
5772
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options);
5866
5773
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5867
5774
  });
5868
5775
  },
@@ -5909,13 +5816,12 @@ const PromotionApiFp = function (configuration) {
5909
5816
  * @param {boolean} [onlyClaimable] only claimable promotions
5910
5817
  * @param {PromotionType} [type] promotion type
5911
5818
  * @param {Array<string>} [iDs] IDs to filter by
5912
- * @param {string} [prevToken] This is the pagination token
5913
5819
  * @param {*} [options] Override http request option.
5914
5820
  * @throws {RequiredError}
5915
5821
  */
5916
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options) {
5822
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
5917
5823
  return __awaiter(this, void 0, void 0, function* () {
5918
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options);
5824
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options);
5919
5825
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5920
5826
  });
5921
5827
  },
@@ -6045,12 +5951,11 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
6045
5951
  * @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
6046
5952
  * @param {ProgressInterval} [interval] Progress interval to filter by
6047
5953
  * @param {ProgressStateAggregation} [state] Progress state
6048
- * @param {string} [prevToken] This is the pagination token
6049
5954
  * @param {*} [options] Override http request option.
6050
5955
  * @throws {RequiredError}
6051
5956
  */
6052
- listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options) {
6053
- return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options).then((request) => request(axios, basePath));
5957
+ listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options) {
5958
+ return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options).then((request) => request(axios, basePath));
6054
5959
  },
6055
5960
  /**
6056
5961
  * List all promotions
@@ -6092,12 +5997,11 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
6092
5997
  * @param {boolean} [onlyClaimable] only claimable promotions
6093
5998
  * @param {PromotionType} [type] promotion type
6094
5999
  * @param {Array<string>} [iDs] IDs to filter by
6095
- * @param {string} [prevToken] This is the pagination token
6096
6000
  * @param {*} [options] Override http request option.
6097
6001
  * @throws {RequiredError}
6098
6002
  */
6099
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options) {
6100
- return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options).then((request) => request(axios, basePath));
6003
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
6004
+ return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(axios, basePath));
6101
6005
  },
6102
6006
  /**
6103
6007
  * Update promotion by id
@@ -6231,13 +6135,12 @@ class PromotionApi extends base_1.BaseAPI {
6231
6135
  * @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
6232
6136
  * @param {ProgressInterval} [interval] Progress interval to filter by
6233
6137
  * @param {ProgressStateAggregation} [state] Progress state
6234
- * @param {string} [prevToken] This is the pagination token
6235
6138
  * @param {*} [options] Override http request option.
6236
6139
  * @throws {RequiredError}
6237
6140
  * @memberof PromotionApi
6238
6141
  */
6239
- listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options) {
6240
- return (0, exports.PromotionApiFp)(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options).then((request) => request(this.axios, this.basePath));
6142
+ listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options) {
6143
+ return (0, exports.PromotionApiFp)(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options).then((request) => request(this.axios, this.basePath));
6241
6144
  }
6242
6145
  /**
6243
6146
  * List all promotions
@@ -6280,13 +6183,12 @@ class PromotionApi extends base_1.BaseAPI {
6280
6183
  * @param {boolean} [onlyClaimable] only claimable promotions
6281
6184
  * @param {PromotionType} [type] promotion type
6282
6185
  * @param {Array<string>} [iDs] IDs to filter by
6283
- * @param {string} [prevToken] This is the pagination token
6284
6186
  * @param {*} [options] Override http request option.
6285
6187
  * @throws {RequiredError}
6286
6188
  * @memberof PromotionApi
6287
6189
  */
6288
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options) {
6289
- return (0, exports.PromotionApiFp)(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options).then((request) => request(this.axios, this.basePath));
6190
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
6191
+ return (0, exports.PromotionApiFp)(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(this.axios, this.basePath));
6290
6192
  }
6291
6193
  /**
6292
6194
  * Update promotion by id
@@ -6613,11 +6515,10 @@ const SegmentApiAxiosParamCreator = function (configuration) {
6613
6515
  * @summary Method returns segments list.
6614
6516
  * @param {string} [nextToken]
6615
6517
  * @param {string} [search] search string
6616
- * @param {string} [prevToken]
6617
6518
  * @param {*} [options] Override http request option.
6618
6519
  * @throws {RequiredError}
6619
6520
  */
6620
- listSegments: (nextToken, search, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
6521
+ listSegments: (nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
6621
6522
  const localVarPath = `/admins/segments`;
6622
6523
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6623
6524
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -6637,9 +6538,6 @@ const SegmentApiAxiosParamCreator = function (configuration) {
6637
6538
  if (search !== undefined) {
6638
6539
  localVarQueryParameter['search'] = search;
6639
6540
  }
6640
- if (prevToken !== undefined) {
6641
- localVarQueryParameter['prevToken'] = prevToken;
6642
- }
6643
6541
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6644
6542
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6645
6543
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6689,13 +6587,12 @@ const SegmentApiFp = function (configuration) {
6689
6587
  * @summary Method returns segments list.
6690
6588
  * @param {string} [nextToken]
6691
6589
  * @param {string} [search] search string
6692
- * @param {string} [prevToken]
6693
6590
  * @param {*} [options] Override http request option.
6694
6591
  * @throws {RequiredError}
6695
6592
  */
6696
- listSegments(nextToken, search, prevToken, options) {
6593
+ listSegments(nextToken, search, options) {
6697
6594
  return __awaiter(this, void 0, void 0, function* () {
6698
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listSegments(nextToken, search, prevToken, options);
6595
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listSegments(nextToken, search, options);
6699
6596
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
6700
6597
  });
6701
6598
  },
@@ -6734,12 +6631,11 @@ const SegmentApiFactory = function (configuration, basePath, axios) {
6734
6631
  * @summary Method returns segments list.
6735
6632
  * @param {string} [nextToken]
6736
6633
  * @param {string} [search] search string
6737
- * @param {string} [prevToken]
6738
6634
  * @param {*} [options] Override http request option.
6739
6635
  * @throws {RequiredError}
6740
6636
  */
6741
- listSegments(nextToken, search, prevToken, options) {
6742
- return localVarFp.listSegments(nextToken, search, prevToken, options).then((request) => request(axios, basePath));
6637
+ listSegments(nextToken, search, options) {
6638
+ return localVarFp.listSegments(nextToken, search, options).then((request) => request(axios, basePath));
6743
6639
  },
6744
6640
  };
6745
6641
  };
@@ -6778,13 +6674,12 @@ class SegmentApi extends base_1.BaseAPI {
6778
6674
  * @summary Method returns segments list.
6779
6675
  * @param {string} [nextToken]
6780
6676
  * @param {string} [search] search string
6781
- * @param {string} [prevToken]
6782
6677
  * @param {*} [options] Override http request option.
6783
6678
  * @throws {RequiredError}
6784
6679
  * @memberof SegmentApi
6785
6680
  */
6786
- listSegments(nextToken, search, prevToken, options) {
6787
- return (0, exports.SegmentApiFp)(this.configuration).listSegments(nextToken, search, prevToken, options).then((request) => request(this.axios, this.basePath));
6681
+ listSegments(nextToken, search, options) {
6682
+ return (0, exports.SegmentApiFp)(this.configuration).listSegments(nextToken, search, options).then((request) => request(this.axios, this.basePath));
6788
6683
  }
6789
6684
  }
6790
6685
  exports.SegmentApi = SegmentApi;
@@ -7287,11 +7182,10 @@ const TransactionApiAxiosParamCreator = function (configuration) {
7287
7182
  * @param {string} [nextToken] This is the pagination token
7288
7183
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
7289
7184
  * @param {Array<string>} [userIDs] This is the user ID
7290
- * @param {string} [prevToken] This is the pagination token
7291
7185
  * @param {*} [options] Override http request option.
7292
7186
  * @throws {RequiredError}
7293
7187
  */
7294
- listTransactions: (nextToken, clientIDs, userIDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
7188
+ listTransactions: (nextToken, clientIDs, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
7295
7189
  const localVarPath = `/admins/transactions`;
7296
7190
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7297
7191
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7314,9 +7208,6 @@ const TransactionApiAxiosParamCreator = function (configuration) {
7314
7208
  if (userIDs) {
7315
7209
  localVarQueryParameter['userIDs'] = userIDs;
7316
7210
  }
7317
- if (prevToken !== undefined) {
7318
- localVarQueryParameter['prevToken'] = prevToken;
7319
- }
7320
7211
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7321
7212
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7322
7213
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7330,11 +7221,10 @@ const TransactionApiAxiosParamCreator = function (configuration) {
7330
7221
  * @summary List existing transactions for users
7331
7222
  * @param {string} [nextToken] This is the pagination token
7332
7223
  * @param {Array<string>} [userIDs] This is the user ID
7333
- * @param {string} [prevToken] This is the pagination token
7334
7224
  * @param {*} [options] Override http request option.
7335
7225
  * @throws {RequiredError}
7336
7226
  */
7337
- listUserTransactions: (nextToken, userIDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
7227
+ listUserTransactions: (nextToken, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
7338
7228
  const localVarPath = `/users/transactions`;
7339
7229
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7340
7230
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7354,9 +7244,6 @@ const TransactionApiAxiosParamCreator = function (configuration) {
7354
7244
  if (userIDs) {
7355
7245
  localVarQueryParameter['userIDs'] = userIDs;
7356
7246
  }
7357
- if (prevToken !== undefined) {
7358
- localVarQueryParameter['prevToken'] = prevToken;
7359
- }
7360
7247
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7361
7248
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7362
7249
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7381,13 +7268,12 @@ const TransactionApiFp = function (configuration) {
7381
7268
  * @param {string} [nextToken] This is the pagination token
7382
7269
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
7383
7270
  * @param {Array<string>} [userIDs] This is the user ID
7384
- * @param {string} [prevToken] This is the pagination token
7385
7271
  * @param {*} [options] Override http request option.
7386
7272
  * @throws {RequiredError}
7387
7273
  */
7388
- listTransactions(nextToken, clientIDs, userIDs, prevToken, options) {
7274
+ listTransactions(nextToken, clientIDs, userIDs, options) {
7389
7275
  return __awaiter(this, void 0, void 0, function* () {
7390
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(nextToken, clientIDs, userIDs, prevToken, options);
7276
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(nextToken, clientIDs, userIDs, options);
7391
7277
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
7392
7278
  });
7393
7279
  },
@@ -7396,13 +7282,12 @@ const TransactionApiFp = function (configuration) {
7396
7282
  * @summary List existing transactions for users
7397
7283
  * @param {string} [nextToken] This is the pagination token
7398
7284
  * @param {Array<string>} [userIDs] This is the user ID
7399
- * @param {string} [prevToken] This is the pagination token
7400
7285
  * @param {*} [options] Override http request option.
7401
7286
  * @throws {RequiredError}
7402
7287
  */
7403
- listUserTransactions(nextToken, userIDs, prevToken, options) {
7288
+ listUserTransactions(nextToken, userIDs, options) {
7404
7289
  return __awaiter(this, void 0, void 0, function* () {
7405
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserTransactions(nextToken, userIDs, prevToken, options);
7290
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserTransactions(nextToken, userIDs, options);
7406
7291
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
7407
7292
  });
7408
7293
  },
@@ -7422,24 +7307,22 @@ const TransactionApiFactory = function (configuration, basePath, axios) {
7422
7307
  * @param {string} [nextToken] This is the pagination token
7423
7308
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
7424
7309
  * @param {Array<string>} [userIDs] This is the user ID
7425
- * @param {string} [prevToken] This is the pagination token
7426
7310
  * @param {*} [options] Override http request option.
7427
7311
  * @throws {RequiredError}
7428
7312
  */
7429
- listTransactions(nextToken, clientIDs, userIDs, prevToken, options) {
7430
- return localVarFp.listTransactions(nextToken, clientIDs, userIDs, prevToken, options).then((request) => request(axios, basePath));
7313
+ listTransactions(nextToken, clientIDs, userIDs, options) {
7314
+ return localVarFp.listTransactions(nextToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
7431
7315
  },
7432
7316
  /**
7433
7317
  * List existing transactions
7434
7318
  * @summary List existing transactions for users
7435
7319
  * @param {string} [nextToken] This is the pagination token
7436
7320
  * @param {Array<string>} [userIDs] This is the user ID
7437
- * @param {string} [prevToken] This is the pagination token
7438
7321
  * @param {*} [options] Override http request option.
7439
7322
  * @throws {RequiredError}
7440
7323
  */
7441
- listUserTransactions(nextToken, userIDs, prevToken, options) {
7442
- return localVarFp.listUserTransactions(nextToken, userIDs, prevToken, options).then((request) => request(axios, basePath));
7324
+ listUserTransactions(nextToken, userIDs, options) {
7325
+ return localVarFp.listUserTransactions(nextToken, userIDs, options).then((request) => request(axios, basePath));
7443
7326
  },
7444
7327
  };
7445
7328
  };
@@ -7457,26 +7340,24 @@ class TransactionApi extends base_1.BaseAPI {
7457
7340
  * @param {string} [nextToken] This is the pagination token
7458
7341
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
7459
7342
  * @param {Array<string>} [userIDs] This is the user ID
7460
- * @param {string} [prevToken] This is the pagination token
7461
7343
  * @param {*} [options] Override http request option.
7462
7344
  * @throws {RequiredError}
7463
7345
  * @memberof TransactionApi
7464
7346
  */
7465
- listTransactions(nextToken, clientIDs, userIDs, prevToken, options) {
7466
- return (0, exports.TransactionApiFp)(this.configuration).listTransactions(nextToken, clientIDs, userIDs, prevToken, options).then((request) => request(this.axios, this.basePath));
7347
+ listTransactions(nextToken, clientIDs, userIDs, options) {
7348
+ return (0, exports.TransactionApiFp)(this.configuration).listTransactions(nextToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
7467
7349
  }
7468
7350
  /**
7469
7351
  * List existing transactions
7470
7352
  * @summary List existing transactions for users
7471
7353
  * @param {string} [nextToken] This is the pagination token
7472
7354
  * @param {Array<string>} [userIDs] This is the user ID
7473
- * @param {string} [prevToken] This is the pagination token
7474
7355
  * @param {*} [options] Override http request option.
7475
7356
  * @throws {RequiredError}
7476
7357
  * @memberof TransactionApi
7477
7358
  */
7478
- listUserTransactions(nextToken, userIDs, prevToken, options) {
7479
- return (0, exports.TransactionApiFp)(this.configuration).listUserTransactions(nextToken, userIDs, prevToken, options).then((request) => request(this.axios, this.basePath));
7359
+ listUserTransactions(nextToken, userIDs, options) {
7360
+ return (0, exports.TransactionApiFp)(this.configuration).listUserTransactions(nextToken, userIDs, options).then((request) => request(this.axios, this.basePath));
7480
7361
  }
7481
7362
  }
7482
7363
  exports.TransactionApi = TransactionApi;
@@ -7587,11 +7468,10 @@ const UserApiAxiosParamCreator = function (configuration) {
7587
7468
  * @param {string} [nextToken] This is the pagination token
7588
7469
  * @param {string} [search] search string
7589
7470
  * @param {Array<string>} [userIDs] user ids to filter by
7590
- * @param {string} [prevToken] This is the pagination token
7591
7471
  * @param {*} [options] Override http request option.
7592
7472
  * @throws {RequiredError}
7593
7473
  */
7594
- listCustomerUsers: (nextToken, search, userIDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
7474
+ listCustomerUsers: (nextToken, search, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
7595
7475
  const localVarPath = `/users`;
7596
7476
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7597
7477
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7614,9 +7494,6 @@ const UserApiAxiosParamCreator = function (configuration) {
7614
7494
  if (userIDs) {
7615
7495
  localVarQueryParameter['userIDs'] = userIDs;
7616
7496
  }
7617
- if (prevToken !== undefined) {
7618
- localVarQueryParameter['prevToken'] = prevToken;
7619
- }
7620
7497
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7621
7498
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7622
7499
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7634,11 +7511,10 @@ const UserApiAxiosParamCreator = function (configuration) {
7634
7511
  * @param {Array<string>} [clientIDs] client IDs to filter by
7635
7512
  * @param {Array<string>} [userIDs] user ids to filter by
7636
7513
  * @param {UserSource} [source] source to filter by
7637
- * @param {string} [prevToken] This is the pagination token
7638
7514
  * @param {*} [options] Override http request option.
7639
7515
  * @throws {RequiredError}
7640
7516
  */
7641
- listUsers: (nextToken, role, search, clientIDs, userIDs, source, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
7517
+ listUsers: (nextToken, role, search, clientIDs, userIDs, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
7642
7518
  const localVarPath = `/admins/users`;
7643
7519
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7644
7520
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7670,9 +7546,6 @@ const UserApiAxiosParamCreator = function (configuration) {
7670
7546
  if (source !== undefined) {
7671
7547
  localVarQueryParameter['source'] = source;
7672
7548
  }
7673
- if (prevToken !== undefined) {
7674
- localVarQueryParameter['prevToken'] = prevToken;
7675
- }
7676
7549
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7677
7550
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7678
7551
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7735,13 +7608,12 @@ const UserApiFp = function (configuration) {
7735
7608
  * @param {string} [nextToken] This is the pagination token
7736
7609
  * @param {string} [search] search string
7737
7610
  * @param {Array<string>} [userIDs] user ids to filter by
7738
- * @param {string} [prevToken] This is the pagination token
7739
7611
  * @param {*} [options] Override http request option.
7740
7612
  * @throws {RequiredError}
7741
7613
  */
7742
- listCustomerUsers(nextToken, search, userIDs, prevToken, options) {
7614
+ listCustomerUsers(nextToken, search, userIDs, options) {
7743
7615
  return __awaiter(this, void 0, void 0, function* () {
7744
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, prevToken, options);
7616
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, options);
7745
7617
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
7746
7618
  });
7747
7619
  },
@@ -7754,13 +7626,12 @@ const UserApiFp = function (configuration) {
7754
7626
  * @param {Array<string>} [clientIDs] client IDs to filter by
7755
7627
  * @param {Array<string>} [userIDs] user ids to filter by
7756
7628
  * @param {UserSource} [source] source to filter by
7757
- * @param {string} [prevToken] This is the pagination token
7758
7629
  * @param {*} [options] Override http request option.
7759
7630
  * @throws {RequiredError}
7760
7631
  */
7761
- listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options) {
7632
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
7762
7633
  return __awaiter(this, void 0, void 0, function* () {
7763
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options);
7634
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
7764
7635
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
7765
7636
  });
7766
7637
  },
@@ -7809,12 +7680,11 @@ const UserApiFactory = function (configuration, basePath, axios) {
7809
7680
  * @param {string} [nextToken] This is the pagination token
7810
7681
  * @param {string} [search] search string
7811
7682
  * @param {Array<string>} [userIDs] user ids to filter by
7812
- * @param {string} [prevToken] This is the pagination token
7813
7683
  * @param {*} [options] Override http request option.
7814
7684
  * @throws {RequiredError}
7815
7685
  */
7816
- listCustomerUsers(nextToken, search, userIDs, prevToken, options) {
7817
- return localVarFp.listCustomerUsers(nextToken, search, userIDs, prevToken, options).then((request) => request(axios, basePath));
7686
+ listCustomerUsers(nextToken, search, userIDs, options) {
7687
+ return localVarFp.listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(axios, basePath));
7818
7688
  },
7819
7689
  /**
7820
7690
  * List all users
@@ -7825,12 +7695,11 @@ const UserApiFactory = function (configuration, basePath, axios) {
7825
7695
  * @param {Array<string>} [clientIDs] client IDs to filter by
7826
7696
  * @param {Array<string>} [userIDs] user ids to filter by
7827
7697
  * @param {UserSource} [source] source to filter by
7828
- * @param {string} [prevToken] This is the pagination token
7829
7698
  * @param {*} [options] Override http request option.
7830
7699
  * @throws {RequiredError}
7831
7700
  */
7832
- listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options) {
7833
- return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options).then((request) => request(axios, basePath));
7701
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
7702
+ return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
7834
7703
  },
7835
7704
  };
7836
7705
  };
@@ -7880,13 +7749,12 @@ class UserApi extends base_1.BaseAPI {
7880
7749
  * @param {string} [nextToken] This is the pagination token
7881
7750
  * @param {string} [search] search string
7882
7751
  * @param {Array<string>} [userIDs] user ids to filter by
7883
- * @param {string} [prevToken] This is the pagination token
7884
7752
  * @param {*} [options] Override http request option.
7885
7753
  * @throws {RequiredError}
7886
7754
  * @memberof UserApi
7887
7755
  */
7888
- listCustomerUsers(nextToken, search, userIDs, prevToken, options) {
7889
- return (0, exports.UserApiFp)(this.configuration).listCustomerUsers(nextToken, search, userIDs, prevToken, options).then((request) => request(this.axios, this.basePath));
7756
+ listCustomerUsers(nextToken, search, userIDs, options) {
7757
+ return (0, exports.UserApiFp)(this.configuration).listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(this.axios, this.basePath));
7890
7758
  }
7891
7759
  /**
7892
7760
  * List all users
@@ -7897,13 +7765,12 @@ class UserApi extends base_1.BaseAPI {
7897
7765
  * @param {Array<string>} [clientIDs] client IDs to filter by
7898
7766
  * @param {Array<string>} [userIDs] user ids to filter by
7899
7767
  * @param {UserSource} [source] source to filter by
7900
- * @param {string} [prevToken] This is the pagination token
7901
7768
  * @param {*} [options] Override http request option.
7902
7769
  * @throws {RequiredError}
7903
7770
  * @memberof UserApi
7904
7771
  */
7905
- listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options) {
7906
- return (0, exports.UserApiFp)(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options).then((request) => request(this.axios, this.basePath));
7772
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
7773
+ return (0, exports.UserApiFp)(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
7907
7774
  }
7908
7775
  }
7909
7776
  exports.UserApi = UserApi;