flexinet-api 0.0.2053-prerelease0-dev → 0.0.2054-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,10 +492,11 @@ 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
495
496
  * @param {*} [options] Override http request option.
496
497
  * @throws {RequiredError}
497
498
  */
498
- listUserAuditLogs: (userID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
499
+ listUserAuditLogs: (userID, nextToken, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
499
500
  // verify required parameter 'userID' is not null or undefined
500
501
  (0, common_1.assertParamExists)('listUserAuditLogs', 'userID', userID);
501
502
  const localVarPath = `/admins/audit/user/{userID}`
@@ -515,6 +516,9 @@ const AuditApiAxiosParamCreator = function (configuration) {
515
516
  if (nextToken !== undefined) {
516
517
  localVarQueryParameter['nextToken'] = nextToken;
517
518
  }
519
+ if (prevToken !== undefined) {
520
+ localVarQueryParameter['prevToken'] = prevToken;
521
+ }
518
522
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
519
523
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
520
524
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -552,12 +556,13 @@ const AuditApiFp = function (configuration) {
552
556
  * @summary List audit logs for given object type and ID
553
557
  * @param {string} userID id of the user
554
558
  * @param {string} [nextToken] This is the pagination token
559
+ * @param {string} [prevToken] This is the pagination token
555
560
  * @param {*} [options] Override http request option.
556
561
  * @throws {RequiredError}
557
562
  */
558
- listUserAuditLogs(userID, nextToken, options) {
563
+ listUserAuditLogs(userID, nextToken, prevToken, options) {
559
564
  return __awaiter(this, void 0, void 0, function* () {
560
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserAuditLogs(userID, nextToken, options);
565
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserAuditLogs(userID, nextToken, prevToken, options);
561
566
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
562
567
  });
563
568
  },
@@ -587,11 +592,12 @@ const AuditApiFactory = function (configuration, basePath, axios) {
587
592
  * @summary List audit logs for given object type and ID
588
593
  * @param {string} userID id of the user
589
594
  * @param {string} [nextToken] This is the pagination token
595
+ * @param {string} [prevToken] This is the pagination token
590
596
  * @param {*} [options] Override http request option.
591
597
  * @throws {RequiredError}
592
598
  */
593
- listUserAuditLogs(userID, nextToken, options) {
594
- return localVarFp.listUserAuditLogs(userID, nextToken, options).then((request) => request(axios, basePath));
599
+ listUserAuditLogs(userID, nextToken, prevToken, options) {
600
+ return localVarFp.listUserAuditLogs(userID, nextToken, prevToken, options).then((request) => request(axios, basePath));
595
601
  },
596
602
  };
597
603
  };
@@ -620,12 +626,13 @@ class AuditApi extends base_1.BaseAPI {
620
626
  * @summary List audit logs for given object type and ID
621
627
  * @param {string} userID id of the user
622
628
  * @param {string} [nextToken] This is the pagination token
629
+ * @param {string} [prevToken] This is the pagination token
623
630
  * @param {*} [options] Override http request option.
624
631
  * @throws {RequiredError}
625
632
  * @memberof AuditApi
626
633
  */
627
- listUserAuditLogs(userID, nextToken, options) {
628
- return (0, exports.AuditApiFp)(this.configuration).listUserAuditLogs(userID, nextToken, options).then((request) => request(this.axios, this.basePath));
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));
629
636
  }
630
637
  }
631
638
  exports.AuditApi = AuditApi;
@@ -1645,10 +1652,11 @@ const ClientApiAxiosParamCreator = function (configuration) {
1645
1652
  * @param {Array<string>} [clientIDs] client IDs
1646
1653
  * @param {string} [managerID] manager ID for whose clients we want to list
1647
1654
  * @param {boolean} [isExcluded] is client excluded
1655
+ * @param {string} [prevToken] This is the pagination token
1648
1656
  * @param {*} [options] Override http request option.
1649
1657
  * @throws {RequiredError}
1650
1658
  */
1651
- listClients: (nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options = {}) => __awaiter(this, void 0, void 0, function* () {
1659
+ listClients: (nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
1652
1660
  const localVarPath = `/admins/clients`;
1653
1661
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1654
1662
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1680,6 +1688,9 @@ const ClientApiAxiosParamCreator = function (configuration) {
1680
1688
  if (isExcluded !== undefined) {
1681
1689
  localVarQueryParameter['isExcluded'] = isExcluded;
1682
1690
  }
1691
+ if (prevToken !== undefined) {
1692
+ localVarQueryParameter['prevToken'] = prevToken;
1693
+ }
1683
1694
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1684
1695
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1685
1696
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1770,12 +1781,13 @@ const ClientApiFp = function (configuration) {
1770
1781
  * @param {Array<string>} [clientIDs] client IDs
1771
1782
  * @param {string} [managerID] manager ID for whose clients we want to list
1772
1783
  * @param {boolean} [isExcluded] is client excluded
1784
+ * @param {string} [prevToken] This is the pagination token
1773
1785
  * @param {*} [options] Override http request option.
1774
1786
  * @throws {RequiredError}
1775
1787
  */
1776
- listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options) {
1788
+ listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options) {
1777
1789
  return __awaiter(this, void 0, void 0, function* () {
1778
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options);
1790
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options);
1779
1791
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1780
1792
  });
1781
1793
  },
@@ -1832,11 +1844,12 @@ const ClientApiFactory = function (configuration, basePath, axios) {
1832
1844
  * @param {Array<string>} [clientIDs] client IDs
1833
1845
  * @param {string} [managerID] manager ID for whose clients we want to list
1834
1846
  * @param {boolean} [isExcluded] is client excluded
1847
+ * @param {string} [prevToken] This is the pagination token
1835
1848
  * @param {*} [options] Override http request option.
1836
1849
  * @throws {RequiredError}
1837
1850
  */
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));
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));
1840
1853
  },
1841
1854
  /**
1842
1855
  * Update client
@@ -1890,12 +1903,13 @@ class ClientApi extends base_1.BaseAPI {
1890
1903
  * @param {Array<string>} [clientIDs] client IDs
1891
1904
  * @param {string} [managerID] manager ID for whose clients we want to list
1892
1905
  * @param {boolean} [isExcluded] is client excluded
1906
+ * @param {string} [prevToken] This is the pagination token
1893
1907
  * @param {*} [options] Override http request option.
1894
1908
  * @throws {RequiredError}
1895
1909
  * @memberof ClientApi
1896
1910
  */
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));
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));
1899
1913
  }
1900
1914
  /**
1901
1915
  * Update client
@@ -1955,10 +1969,11 @@ const ConfigurationApiAxiosParamCreator = function (configuration) {
1955
1969
  * @summary List configurations
1956
1970
  * @param {string} [nextToken] This is the pagination token
1957
1971
  * @param {string} [search] search string
1972
+ * @param {string} [prevToken] This is the pagination token
1958
1973
  * @param {*} [options] Override http request option.
1959
1974
  * @throws {RequiredError}
1960
1975
  */
1961
- listConfigurations: (nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
1976
+ listConfigurations: (nextToken, search, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
1962
1977
  const localVarPath = `/admins/configurations`;
1963
1978
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1964
1979
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1978,6 +1993,9 @@ const ConfigurationApiAxiosParamCreator = function (configuration) {
1978
1993
  if (search !== undefined) {
1979
1994
  localVarQueryParameter['search'] = search;
1980
1995
  }
1996
+ if (prevToken !== undefined) {
1997
+ localVarQueryParameter['prevToken'] = prevToken;
1998
+ }
1981
1999
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1982
2000
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1983
2001
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2070,12 +2088,13 @@ const ConfigurationApiFp = function (configuration) {
2070
2088
  * @summary List configurations
2071
2089
  * @param {string} [nextToken] This is the pagination token
2072
2090
  * @param {string} [search] search string
2091
+ * @param {string} [prevToken] This is the pagination token
2073
2092
  * @param {*} [options] Override http request option.
2074
2093
  * @throws {RequiredError}
2075
2094
  */
2076
- listConfigurations(nextToken, search, options) {
2095
+ listConfigurations(nextToken, search, prevToken, options) {
2077
2096
  return __awaiter(this, void 0, void 0, function* () {
2078
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listConfigurations(nextToken, search, options);
2097
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listConfigurations(nextToken, search, prevToken, options);
2079
2098
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2080
2099
  });
2081
2100
  },
@@ -2128,11 +2147,12 @@ const ConfigurationApiFactory = function (configuration, basePath, axios) {
2128
2147
  * @summary List configurations
2129
2148
  * @param {string} [nextToken] This is the pagination token
2130
2149
  * @param {string} [search] search string
2150
+ * @param {string} [prevToken] This is the pagination token
2131
2151
  * @param {*} [options] Override http request option.
2132
2152
  * @throws {RequiredError}
2133
2153
  */
2134
- listConfigurations(nextToken, search, options) {
2135
- return localVarFp.listConfigurations(nextToken, search, options).then((request) => request(axios, basePath));
2154
+ listConfigurations(nextToken, search, prevToken, options) {
2155
+ return localVarFp.listConfigurations(nextToken, search, prevToken, options).then((request) => request(axios, basePath));
2136
2156
  },
2137
2157
  /**
2138
2158
  * List all features
@@ -2178,12 +2198,13 @@ class ConfigurationApi extends base_1.BaseAPI {
2178
2198
  * @summary List configurations
2179
2199
  * @param {string} [nextToken] This is the pagination token
2180
2200
  * @param {string} [search] search string
2201
+ * @param {string} [prevToken] This is the pagination token
2181
2202
  * @param {*} [options] Override http request option.
2182
2203
  * @throws {RequiredError}
2183
2204
  * @memberof ConfigurationApi
2184
2205
  */
2185
- listConfigurations(nextToken, search, options) {
2186
- return (0, exports.ConfigurationApiFp)(this.configuration).listConfigurations(nextToken, search, options).then((request) => request(this.axios, this.basePath));
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));
2187
2208
  }
2188
2209
  /**
2189
2210
  * List all features
@@ -2903,10 +2924,11 @@ const NotificationApiAxiosParamCreator = function (configuration) {
2903
2924
  * @summary List notifications
2904
2925
  * @param {string} [nextToken] This is the pagination token
2905
2926
  * @param {NotificationStatus} [status] Notification status
2927
+ * @param {string} [prevToken] This is the pagination token
2906
2928
  * @param {*} [options] Override http request option.
2907
2929
  * @throws {RequiredError}
2908
2930
  */
2909
- listNotifications: (nextToken, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
2931
+ listNotifications: (nextToken, status, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
2910
2932
  const localVarPath = `/users/notifications`;
2911
2933
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2912
2934
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2926,6 +2948,9 @@ const NotificationApiAxiosParamCreator = function (configuration) {
2926
2948
  if (status !== undefined) {
2927
2949
  localVarQueryParameter['status'] = status;
2928
2950
  }
2951
+ if (prevToken !== undefined) {
2952
+ localVarQueryParameter['prevToken'] = prevToken;
2953
+ }
2929
2954
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2930
2955
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2931
2956
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3097,12 +3122,13 @@ const NotificationApiFp = function (configuration) {
3097
3122
  * @summary List notifications
3098
3123
  * @param {string} [nextToken] This is the pagination token
3099
3124
  * @param {NotificationStatus} [status] Notification status
3125
+ * @param {string} [prevToken] This is the pagination token
3100
3126
  * @param {*} [options] Override http request option.
3101
3127
  * @throws {RequiredError}
3102
3128
  */
3103
- listNotifications(nextToken, status, options) {
3129
+ listNotifications(nextToken, status, prevToken, options) {
3104
3130
  return __awaiter(this, void 0, void 0, function* () {
3105
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotifications(nextToken, status, options);
3131
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotifications(nextToken, status, prevToken, options);
3106
3132
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3107
3133
  });
3108
3134
  },
@@ -3198,11 +3224,12 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
3198
3224
  * @summary List notifications
3199
3225
  * @param {string} [nextToken] This is the pagination token
3200
3226
  * @param {NotificationStatus} [status] Notification status
3227
+ * @param {string} [prevToken] This is the pagination token
3201
3228
  * @param {*} [options] Override http request option.
3202
3229
  * @throws {RequiredError}
3203
3230
  */
3204
- listNotifications(nextToken, status, options) {
3205
- return localVarFp.listNotifications(nextToken, status, options).then((request) => request(axios, basePath));
3231
+ listNotifications(nextToken, status, prevToken, options) {
3232
+ return localVarFp.listNotifications(nextToken, status, prevToken, options).then((request) => request(axios, basePath));
3206
3233
  },
3207
3234
  /**
3208
3235
  * Update notification by ID
@@ -3291,12 +3318,13 @@ class NotificationApi extends base_1.BaseAPI {
3291
3318
  * @summary List notifications
3292
3319
  * @param {string} [nextToken] This is the pagination token
3293
3320
  * @param {NotificationStatus} [status] Notification status
3321
+ * @param {string} [prevToken] This is the pagination token
3294
3322
  * @param {*} [options] Override http request option.
3295
3323
  * @throws {RequiredError}
3296
3324
  * @memberof NotificationApi
3297
3325
  */
3298
- listNotifications(nextToken, status, options) {
3299
- return (0, exports.NotificationApiFp)(this.configuration).listNotifications(nextToken, status, options).then((request) => request(this.axios, this.basePath));
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));
3300
3328
  }
3301
3329
  /**
3302
3330
  * Update notification by ID
@@ -3468,7 +3496,7 @@ const OrderApiAxiosParamCreator = function (configuration) {
3468
3496
  /**
3469
3497
  * List existing orders
3470
3498
  * @summary List existing orders
3471
- * @param {string} [paginationToken] This is the pagination token
3499
+ * @param {string} [nextToken] This is the pagination token
3472
3500
  * @param {string} [search] Search for product or order
3473
3501
  * @param {string} [productId] Filter by token
3474
3502
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -3478,10 +3506,11 @@ const OrderApiAxiosParamCreator = function (configuration) {
3478
3506
  * @param {Array<string>} [clientIDs] Filter by client ids
3479
3507
  * @param {OrderKind} [kind] Filter by kind
3480
3508
  * @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
3481
3510
  * @param {*} [options] Override http request option.
3482
3511
  * @throws {RequiredError}
3483
3512
  */
3484
- listOrders: (paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
3513
+ listOrders: (nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
3485
3514
  const localVarPath = `/admins/orders`;
3486
3515
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3487
3516
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3495,8 +3524,8 @@ const OrderApiAxiosParamCreator = function (configuration) {
3495
3524
  // authentication systemJWT required
3496
3525
  // http bearer authentication required
3497
3526
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3498
- if (paginationToken !== undefined) {
3499
- localVarQueryParameter['paginationToken'] = paginationToken;
3527
+ if (nextToken !== undefined) {
3528
+ localVarQueryParameter['nextToken'] = nextToken;
3500
3529
  }
3501
3530
  if (search !== undefined) {
3502
3531
  localVarQueryParameter['search'] = search;
@@ -3529,6 +3558,9 @@ const OrderApiAxiosParamCreator = function (configuration) {
3529
3558
  if (source !== undefined) {
3530
3559
  localVarQueryParameter['source'] = source;
3531
3560
  }
3561
+ if (prevToken !== undefined) {
3562
+ localVarQueryParameter['prevToken'] = prevToken;
3563
+ }
3532
3564
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3533
3565
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3534
3566
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3540,17 +3572,18 @@ const OrderApiAxiosParamCreator = function (configuration) {
3540
3572
  /**
3541
3573
  * List existing orders
3542
3574
  * @summary List existing orders
3543
- * @param {string} [paginationToken] This is the pagination token
3575
+ * @param {string} [nextToken] This is the pagination token
3544
3576
  * @param {string} [search] Search for product or order
3545
3577
  * @param {string} [productID] Filter by token
3546
3578
  * @param {Array<string>} [balanceIDs] Filter by balance ids
3547
3579
  * @param {string} [createdAfter] Filter orders created after the specified date
3548
3580
  * @param {string} [createdBefore] Filter orders created before the specified date
3549
3581
  * @param {Array<string>} [userIDs] Filter by user ids
3582
+ * @param {string} [prevToken] This is the pagination token
3550
3583
  * @param {*} [options] Override http request option.
3551
3584
  * @throws {RequiredError}
3552
3585
  */
3553
- listOrdersUser: (paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
3586
+ listOrdersUser: (nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
3554
3587
  const localVarPath = `/users/orders`;
3555
3588
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3556
3589
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3564,8 +3597,8 @@ const OrderApiAxiosParamCreator = function (configuration) {
3564
3597
  // authentication customerJWT required
3565
3598
  // http bearer authentication required
3566
3599
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3567
- if (paginationToken !== undefined) {
3568
- localVarQueryParameter['paginationToken'] = paginationToken;
3600
+ if (nextToken !== undefined) {
3601
+ localVarQueryParameter['nextToken'] = nextToken;
3569
3602
  }
3570
3603
  if (search !== undefined) {
3571
3604
  localVarQueryParameter['search'] = search;
@@ -3589,6 +3622,9 @@ const OrderApiAxiosParamCreator = function (configuration) {
3589
3622
  if (userIDs) {
3590
3623
  localVarQueryParameter['userIDs'] = userIDs;
3591
3624
  }
3625
+ if (prevToken !== undefined) {
3626
+ localVarQueryParameter['prevToken'] = prevToken;
3627
+ }
3592
3628
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3593
3629
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3594
3630
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3662,7 +3698,7 @@ const OrderApiFp = function (configuration) {
3662
3698
  /**
3663
3699
  * List existing orders
3664
3700
  * @summary List existing orders
3665
- * @param {string} [paginationToken] This is the pagination token
3701
+ * @param {string} [nextToken] This is the pagination token
3666
3702
  * @param {string} [search] Search for product or order
3667
3703
  * @param {string} [productId] Filter by token
3668
3704
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -3672,31 +3708,33 @@ const OrderApiFp = function (configuration) {
3672
3708
  * @param {Array<string>} [clientIDs] Filter by client ids
3673
3709
  * @param {OrderKind} [kind] Filter by kind
3674
3710
  * @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
3675
3712
  * @param {*} [options] Override http request option.
3676
3713
  * @throws {RequiredError}
3677
3714
  */
3678
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
3715
+ listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options) {
3679
3716
  return __awaiter(this, void 0, void 0, function* () {
3680
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options);
3717
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options);
3681
3718
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3682
3719
  });
3683
3720
  },
3684
3721
  /**
3685
3722
  * List existing orders
3686
3723
  * @summary List existing orders
3687
- * @param {string} [paginationToken] This is the pagination token
3724
+ * @param {string} [nextToken] This is the pagination token
3688
3725
  * @param {string} [search] Search for product or order
3689
3726
  * @param {string} [productID] Filter by token
3690
3727
  * @param {Array<string>} [balanceIDs] Filter by balance ids
3691
3728
  * @param {string} [createdAfter] Filter orders created after the specified date
3692
3729
  * @param {string} [createdBefore] Filter orders created before the specified date
3693
3730
  * @param {Array<string>} [userIDs] Filter by user ids
3731
+ * @param {string} [prevToken] This is the pagination token
3694
3732
  * @param {*} [options] Override http request option.
3695
3733
  * @throws {RequiredError}
3696
3734
  */
3697
- listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
3735
+ listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options) {
3698
3736
  return __awaiter(this, void 0, void 0, function* () {
3699
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options);
3737
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options);
3700
3738
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3701
3739
  });
3702
3740
  },
@@ -3753,7 +3791,7 @@ const OrderApiFactory = function (configuration, basePath, axios) {
3753
3791
  /**
3754
3792
  * List existing orders
3755
3793
  * @summary List existing orders
3756
- * @param {string} [paginationToken] This is the pagination token
3794
+ * @param {string} [nextToken] This is the pagination token
3757
3795
  * @param {string} [search] Search for product or order
3758
3796
  * @param {string} [productId] Filter by token
3759
3797
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -3763,27 +3801,29 @@ const OrderApiFactory = function (configuration, basePath, axios) {
3763
3801
  * @param {Array<string>} [clientIDs] Filter by client ids
3764
3802
  * @param {OrderKind} [kind] Filter by kind
3765
3803
  * @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
3766
3805
  * @param {*} [options] Override http request option.
3767
3806
  * @throws {RequiredError}
3768
3807
  */
3769
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
3770
- return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(axios, basePath));
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));
3771
3810
  },
3772
3811
  /**
3773
3812
  * List existing orders
3774
3813
  * @summary List existing orders
3775
- * @param {string} [paginationToken] This is the pagination token
3814
+ * @param {string} [nextToken] This is the pagination token
3776
3815
  * @param {string} [search] Search for product or order
3777
3816
  * @param {string} [productID] Filter by token
3778
3817
  * @param {Array<string>} [balanceIDs] Filter by balance ids
3779
3818
  * @param {string} [createdAfter] Filter orders created after the specified date
3780
3819
  * @param {string} [createdBefore] Filter orders created before the specified date
3781
3820
  * @param {Array<string>} [userIDs] Filter by user ids
3821
+ * @param {string} [prevToken] This is the pagination token
3782
3822
  * @param {*} [options] Override http request option.
3783
3823
  * @throws {RequiredError}
3784
3824
  */
3785
- listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
3786
- return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(axios, basePath));
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));
3787
3827
  },
3788
3828
  };
3789
3829
  };
@@ -3842,7 +3882,7 @@ class OrderApi extends base_1.BaseAPI {
3842
3882
  /**
3843
3883
  * List existing orders
3844
3884
  * @summary List existing orders
3845
- * @param {string} [paginationToken] This is the pagination token
3885
+ * @param {string} [nextToken] This is the pagination token
3846
3886
  * @param {string} [search] Search for product or order
3847
3887
  * @param {string} [productId] Filter by token
3848
3888
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -3852,29 +3892,31 @@ class OrderApi extends base_1.BaseAPI {
3852
3892
  * @param {Array<string>} [clientIDs] Filter by client ids
3853
3893
  * @param {OrderKind} [kind] Filter by kind
3854
3894
  * @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
3855
3896
  * @param {*} [options] Override http request option.
3856
3897
  * @throws {RequiredError}
3857
3898
  * @memberof OrderApi
3858
3899
  */
3859
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
3860
- return (0, exports.OrderApiFp)(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(this.axios, this.basePath));
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));
3861
3902
  }
3862
3903
  /**
3863
3904
  * List existing orders
3864
3905
  * @summary List existing orders
3865
- * @param {string} [paginationToken] This is the pagination token
3906
+ * @param {string} [nextToken] This is the pagination token
3866
3907
  * @param {string} [search] Search for product or order
3867
3908
  * @param {string} [productID] Filter by token
3868
3909
  * @param {Array<string>} [balanceIDs] Filter by balance ids
3869
3910
  * @param {string} [createdAfter] Filter orders created after the specified date
3870
3911
  * @param {string} [createdBefore] Filter orders created before the specified date
3871
3912
  * @param {Array<string>} [userIDs] Filter by user ids
3913
+ * @param {string} [prevToken] This is the pagination token
3872
3914
  * @param {*} [options] Override http request option.
3873
3915
  * @throws {RequiredError}
3874
3916
  * @memberof OrderApi
3875
3917
  */
3876
- listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options) {
3877
- return (0, exports.OrderApiFp)(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(this.axios, this.basePath));
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));
3878
3920
  }
3879
3921
  }
3880
3922
  exports.OrderApi = OrderApi;
@@ -4110,10 +4152,11 @@ const ProductApiAxiosParamCreator = function (configuration) {
4110
4152
  * @summary List existing product requests
4111
4153
  * @param {ProductRequestStatus} [status] The product request status
4112
4154
  * @param {string} [nextToken] This is the pagination token
4155
+ * @param {string} [prevToken] This is the pagination token
4113
4156
  * @param {*} [options] Override http request option.
4114
4157
  * @throws {RequiredError}
4115
4158
  */
4116
- listProductRequests: (status, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4159
+ listProductRequests: (status, nextToken, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4117
4160
  const localVarPath = `/admins/products/requests`;
4118
4161
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4119
4162
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4133,6 +4176,9 @@ const ProductApiAxiosParamCreator = function (configuration) {
4133
4176
  if (nextToken !== undefined) {
4134
4177
  localVarQueryParameter['nextToken'] = nextToken;
4135
4178
  }
4179
+ if (prevToken !== undefined) {
4180
+ localVarQueryParameter['prevToken'] = prevToken;
4181
+ }
4136
4182
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4137
4183
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4138
4184
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4153,10 +4199,11 @@ const ProductApiAxiosParamCreator = function (configuration) {
4153
4199
  * @param {string} [segmentID] The segment ID
4154
4200
  * @param {string} [nextToken] This is the pagination token
4155
4201
  * @param {Array<string>} [ids] This a list of ids to filter by
4202
+ * @param {string} [prevToken] This is the pagination token
4156
4203
  * @param {*} [options] Override http request option.
4157
4204
  * @throws {RequiredError}
4158
4205
  */
4159
- listProducts: (kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options = {}) => __awaiter(this, void 0, void 0, function* () {
4206
+ listProducts: (kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4160
4207
  const localVarPath = `/admins/products`;
4161
4208
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4162
4209
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4197,6 +4244,9 @@ const ProductApiAxiosParamCreator = function (configuration) {
4197
4244
  if (ids) {
4198
4245
  localVarQueryParameter['ids'] = ids;
4199
4246
  }
4247
+ if (prevToken !== undefined) {
4248
+ localVarQueryParameter['prevToken'] = prevToken;
4249
+ }
4200
4250
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4201
4251
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4202
4252
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4209,10 +4259,11 @@ const ProductApiAxiosParamCreator = function (configuration) {
4209
4259
  * List product requests
4210
4260
  * @summary List product requests
4211
4261
  * @param {string} [nextToken] This is the pagination token
4262
+ * @param {string} [prevToken] This is the pagination token
4212
4263
  * @param {*} [options] Override http request option.
4213
4264
  * @throws {RequiredError}
4214
4265
  */
4215
- listUserProductRequests: (nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4266
+ listUserProductRequests: (nextToken, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4216
4267
  const localVarPath = `/users/products/requests`;
4217
4268
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4218
4269
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4229,6 +4280,9 @@ const ProductApiAxiosParamCreator = function (configuration) {
4229
4280
  if (nextToken !== undefined) {
4230
4281
  localVarQueryParameter['nextToken'] = nextToken;
4231
4282
  }
4283
+ if (prevToken !== undefined) {
4284
+ localVarQueryParameter['prevToken'] = prevToken;
4285
+ }
4232
4286
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4233
4287
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4234
4288
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4246,10 +4300,11 @@ const ProductApiAxiosParamCreator = function (configuration) {
4246
4300
  * @param {string} [search] search string
4247
4301
  * @param {ProductAvailability} [availability] The product availability
4248
4302
  * @param {Array<string>} [ids] This a list of ids to filter by
4303
+ * @param {string} [prevToken] This is the pagination token
4249
4304
  * @param {*} [options] Override http request option.
4250
4305
  * @throws {RequiredError}
4251
4306
  */
4252
- listUserProducts: (kind, nextToken, categoryID, search, availability, ids, options = {}) => __awaiter(this, void 0, void 0, function* () {
4307
+ listUserProducts: (kind, nextToken, categoryID, search, availability, ids, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4253
4308
  const localVarPath = `/users/products`;
4254
4309
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4255
4310
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4281,6 +4336,9 @@ const ProductApiAxiosParamCreator = function (configuration) {
4281
4336
  if (ids) {
4282
4337
  localVarQueryParameter['ids'] = ids;
4283
4338
  }
4339
+ if (prevToken !== undefined) {
4340
+ localVarQueryParameter['prevToken'] = prevToken;
4341
+ }
4284
4342
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4285
4343
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4286
4344
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4430,12 +4488,13 @@ const ProductApiFp = function (configuration) {
4430
4488
  * @summary List existing product requests
4431
4489
  * @param {ProductRequestStatus} [status] The product request status
4432
4490
  * @param {string} [nextToken] This is the pagination token
4491
+ * @param {string} [prevToken] This is the pagination token
4433
4492
  * @param {*} [options] Override http request option.
4434
4493
  * @throws {RequiredError}
4435
4494
  */
4436
- listProductRequests(status, nextToken, options) {
4495
+ listProductRequests(status, nextToken, prevToken, options) {
4437
4496
  return __awaiter(this, void 0, void 0, function* () {
4438
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductRequests(status, nextToken, options);
4497
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductRequests(status, nextToken, prevToken, options);
4439
4498
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4440
4499
  });
4441
4500
  },
@@ -4451,12 +4510,13 @@ const ProductApiFp = function (configuration) {
4451
4510
  * @param {string} [segmentID] The segment ID
4452
4511
  * @param {string} [nextToken] This is the pagination token
4453
4512
  * @param {Array<string>} [ids] This a list of ids to filter by
4513
+ * @param {string} [prevToken] This is the pagination token
4454
4514
  * @param {*} [options] Override http request option.
4455
4515
  * @throws {RequiredError}
4456
4516
  */
4457
- listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options) {
4517
+ listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options) {
4458
4518
  return __awaiter(this, void 0, void 0, function* () {
4459
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options);
4519
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options);
4460
4520
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4461
4521
  });
4462
4522
  },
@@ -4464,12 +4524,13 @@ const ProductApiFp = function (configuration) {
4464
4524
  * List product requests
4465
4525
  * @summary List product requests
4466
4526
  * @param {string} [nextToken] This is the pagination token
4527
+ * @param {string} [prevToken] This is the pagination token
4467
4528
  * @param {*} [options] Override http request option.
4468
4529
  * @throws {RequiredError}
4469
4530
  */
4470
- listUserProductRequests(nextToken, options) {
4531
+ listUserProductRequests(nextToken, prevToken, options) {
4471
4532
  return __awaiter(this, void 0, void 0, function* () {
4472
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProductRequests(nextToken, options);
4533
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProductRequests(nextToken, prevToken, options);
4473
4534
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4474
4535
  });
4475
4536
  },
@@ -4482,12 +4543,13 @@ const ProductApiFp = function (configuration) {
4482
4543
  * @param {string} [search] search string
4483
4544
  * @param {ProductAvailability} [availability] The product availability
4484
4545
  * @param {Array<string>} [ids] This a list of ids to filter by
4546
+ * @param {string} [prevToken] This is the pagination token
4485
4547
  * @param {*} [options] Override http request option.
4486
4548
  * @throws {RequiredError}
4487
4549
  */
4488
- listUserProducts(kind, nextToken, categoryID, search, availability, ids, options) {
4550
+ listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options) {
4489
4551
  return __awaiter(this, void 0, void 0, function* () {
4490
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProducts(kind, nextToken, categoryID, search, availability, ids, options);
4552
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options);
4491
4553
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4492
4554
  });
4493
4555
  },
@@ -4590,11 +4652,12 @@ const ProductApiFactory = function (configuration, basePath, axios) {
4590
4652
  * @summary List existing product requests
4591
4653
  * @param {ProductRequestStatus} [status] The product request status
4592
4654
  * @param {string} [nextToken] This is the pagination token
4655
+ * @param {string} [prevToken] This is the pagination token
4593
4656
  * @param {*} [options] Override http request option.
4594
4657
  * @throws {RequiredError}
4595
4658
  */
4596
- listProductRequests(status, nextToken, options) {
4597
- return localVarFp.listProductRequests(status, nextToken, options).then((request) => request(axios, basePath));
4659
+ listProductRequests(status, nextToken, prevToken, options) {
4660
+ return localVarFp.listProductRequests(status, nextToken, prevToken, options).then((request) => request(axios, basePath));
4598
4661
  },
4599
4662
  /**
4600
4663
  * List existing products
@@ -4608,21 +4671,23 @@ const ProductApiFactory = function (configuration, basePath, axios) {
4608
4671
  * @param {string} [segmentID] The segment ID
4609
4672
  * @param {string} [nextToken] This is the pagination token
4610
4673
  * @param {Array<string>} [ids] This a list of ids to filter by
4674
+ * @param {string} [prevToken] This is the pagination token
4611
4675
  * @param {*} [options] Override http request option.
4612
4676
  * @throws {RequiredError}
4613
4677
  */
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));
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));
4616
4680
  },
4617
4681
  /**
4618
4682
  * List product requests
4619
4683
  * @summary List product requests
4620
4684
  * @param {string} [nextToken] This is the pagination token
4685
+ * @param {string} [prevToken] This is the pagination token
4621
4686
  * @param {*} [options] Override http request option.
4622
4687
  * @throws {RequiredError}
4623
4688
  */
4624
- listUserProductRequests(nextToken, options) {
4625
- return localVarFp.listUserProductRequests(nextToken, options).then((request) => request(axios, basePath));
4689
+ listUserProductRequests(nextToken, prevToken, options) {
4690
+ return localVarFp.listUserProductRequests(nextToken, prevToken, options).then((request) => request(axios, basePath));
4626
4691
  },
4627
4692
  /**
4628
4693
  * List existing products for the user
@@ -4633,11 +4698,12 @@ const ProductApiFactory = function (configuration, basePath, axios) {
4633
4698
  * @param {string} [search] search string
4634
4699
  * @param {ProductAvailability} [availability] The product availability
4635
4700
  * @param {Array<string>} [ids] This a list of ids to filter by
4701
+ * @param {string} [prevToken] This is the pagination token
4636
4702
  * @param {*} [options] Override http request option.
4637
4703
  * @throws {RequiredError}
4638
4704
  */
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));
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));
4641
4707
  },
4642
4708
  /**
4643
4709
  * Update a product by id
@@ -4742,12 +4808,13 @@ class ProductApi extends base_1.BaseAPI {
4742
4808
  * @summary List existing product requests
4743
4809
  * @param {ProductRequestStatus} [status] The product request status
4744
4810
  * @param {string} [nextToken] This is the pagination token
4811
+ * @param {string} [prevToken] This is the pagination token
4745
4812
  * @param {*} [options] Override http request option.
4746
4813
  * @throws {RequiredError}
4747
4814
  * @memberof ProductApi
4748
4815
  */
4749
- listProductRequests(status, nextToken, options) {
4750
- return (0, exports.ProductApiFp)(this.configuration).listProductRequests(status, nextToken, options).then((request) => request(this.axios, this.basePath));
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));
4751
4818
  }
4752
4819
  /**
4753
4820
  * List existing products
@@ -4761,23 +4828,25 @@ class ProductApi extends base_1.BaseAPI {
4761
4828
  * @param {string} [segmentID] The segment ID
4762
4829
  * @param {string} [nextToken] This is the pagination token
4763
4830
  * @param {Array<string>} [ids] This a list of ids to filter by
4831
+ * @param {string} [prevToken] This is the pagination token
4764
4832
  * @param {*} [options] Override http request option.
4765
4833
  * @throws {RequiredError}
4766
4834
  * @memberof ProductApi
4767
4835
  */
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));
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));
4770
4838
  }
4771
4839
  /**
4772
4840
  * List product requests
4773
4841
  * @summary List product requests
4774
4842
  * @param {string} [nextToken] This is the pagination token
4843
+ * @param {string} [prevToken] This is the pagination token
4775
4844
  * @param {*} [options] Override http request option.
4776
4845
  * @throws {RequiredError}
4777
4846
  * @memberof ProductApi
4778
4847
  */
4779
- listUserProductRequests(nextToken, options) {
4780
- return (0, exports.ProductApiFp)(this.configuration).listUserProductRequests(nextToken, options).then((request) => request(this.axios, this.basePath));
4848
+ listUserProductRequests(nextToken, prevToken, options) {
4849
+ return (0, exports.ProductApiFp)(this.configuration).listUserProductRequests(nextToken, prevToken, options).then((request) => request(this.axios, this.basePath));
4781
4850
  }
4782
4851
  /**
4783
4852
  * List existing products for the user
@@ -4788,12 +4857,13 @@ class ProductApi extends base_1.BaseAPI {
4788
4857
  * @param {string} [search] search string
4789
4858
  * @param {ProductAvailability} [availability] The product availability
4790
4859
  * @param {Array<string>} [ids] This a list of ids to filter by
4860
+ * @param {string} [prevToken] This is the pagination token
4791
4861
  * @param {*} [options] Override http request option.
4792
4862
  * @throws {RequiredError}
4793
4863
  * @memberof ProductApi
4794
4864
  */
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));
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));
4797
4867
  }
4798
4868
  /**
4799
4869
  * Update a product by id
@@ -4825,10 +4895,11 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4825
4895
  * @param {ProgressInterval} [interval] Interval
4826
4896
  * @param {string} [nextToken] This is the pagination token
4827
4897
  * @param {ProgressStateAggregation} [state] Progress state
4898
+ * @param {string} [prevToken] This is the pagination token
4828
4899
  * @param {*} [options] Override http request option.
4829
4900
  * @throws {RequiredError}
4830
4901
  */
4831
- listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
4902
+ listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4832
4903
  // verify required parameter 'promotionIDs' is not null or undefined
4833
4904
  (0, common_1.assertParamExists)('listProgress', 'promotionIDs', promotionIDs);
4834
4905
  const localVarPath = `/admins/progress`;
@@ -4865,6 +4936,9 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4865
4936
  if (state !== undefined) {
4866
4937
  localVarQueryParameter['state'] = state;
4867
4938
  }
4939
+ if (prevToken !== undefined) {
4940
+ localVarQueryParameter['prevToken'] = prevToken;
4941
+ }
4868
4942
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4869
4943
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4870
4944
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4880,10 +4954,11 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4880
4954
  * @param {number} [periodID] Period ID
4881
4955
  * @param {string} [nextToken] This is the pagination token
4882
4956
  * @param {ProgressStateAggregation} [state] Progress state
4957
+ * @param {string} [prevToken] This is the pagination token
4883
4958
  * @param {*} [options] Override http request option.
4884
4959
  * @throws {RequiredError}
4885
4960
  */
4886
- listUserProgress: (promotionIDs, periodID, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
4961
+ listUserProgress: (promotionIDs, periodID, nextToken, state, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4887
4962
  // verify required parameter 'promotionIDs' is not null or undefined
4888
4963
  (0, common_1.assertParamExists)('listUserProgress', 'promotionIDs', promotionIDs);
4889
4964
  const localVarPath = `/users/progress`;
@@ -4911,6 +4986,9 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4911
4986
  if (state !== undefined) {
4912
4987
  localVarQueryParameter['state'] = state;
4913
4988
  }
4989
+ if (prevToken !== undefined) {
4990
+ localVarQueryParameter['prevToken'] = prevToken;
4991
+ }
4914
4992
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4915
4993
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4916
4994
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4939,12 +5017,13 @@ const ProgressApiFp = function (configuration) {
4939
5017
  * @param {ProgressInterval} [interval] Interval
4940
5018
  * @param {string} [nextToken] This is the pagination token
4941
5019
  * @param {ProgressStateAggregation} [state] Progress state
5020
+ * @param {string} [prevToken] This is the pagination token
4942
5021
  * @param {*} [options] Override http request option.
4943
5022
  * @throws {RequiredError}
4944
5023
  */
4945
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
5024
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options) {
4946
5025
  return __awaiter(this, void 0, void 0, function* () {
4947
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options);
5026
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options);
4948
5027
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4949
5028
  });
4950
5029
  },
@@ -4955,12 +5034,13 @@ const ProgressApiFp = function (configuration) {
4955
5034
  * @param {number} [periodID] Period ID
4956
5035
  * @param {string} [nextToken] This is the pagination token
4957
5036
  * @param {ProgressStateAggregation} [state] Progress state
5037
+ * @param {string} [prevToken] This is the pagination token
4958
5038
  * @param {*} [options] Override http request option.
4959
5039
  * @throws {RequiredError}
4960
5040
  */
4961
- listUserProgress(promotionIDs, periodID, nextToken, state, options) {
5041
+ listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options) {
4962
5042
  return __awaiter(this, void 0, void 0, function* () {
4963
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, options);
5043
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options);
4964
5044
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4965
5045
  });
4966
5046
  },
@@ -4984,11 +5064,12 @@ const ProgressApiFactory = function (configuration, basePath, axios) {
4984
5064
  * @param {ProgressInterval} [interval] Interval
4985
5065
  * @param {string} [nextToken] This is the pagination token
4986
5066
  * @param {ProgressStateAggregation} [state] Progress state
5067
+ * @param {string} [prevToken] This is the pagination token
4987
5068
  * @param {*} [options] Override http request option.
4988
5069
  * @throws {RequiredError}
4989
5070
  */
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));
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));
4992
5073
  },
4993
5074
  /**
4994
5075
  * List users progress
@@ -4997,11 +5078,12 @@ const ProgressApiFactory = function (configuration, basePath, axios) {
4997
5078
  * @param {number} [periodID] Period ID
4998
5079
  * @param {string} [nextToken] This is the pagination token
4999
5080
  * @param {ProgressStateAggregation} [state] Progress state
5081
+ * @param {string} [prevToken] This is the pagination token
5000
5082
  * @param {*} [options] Override http request option.
5001
5083
  * @throws {RequiredError}
5002
5084
  */
5003
- listUserProgress(promotionIDs, periodID, nextToken, state, options) {
5004
- return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(axios, basePath));
5085
+ listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options) {
5086
+ return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options).then((request) => request(axios, basePath));
5005
5087
  },
5006
5088
  };
5007
5089
  };
@@ -5023,12 +5105,13 @@ class ProgressApi extends base_1.BaseAPI {
5023
5105
  * @param {ProgressInterval} [interval] Interval
5024
5106
  * @param {string} [nextToken] This is the pagination token
5025
5107
  * @param {ProgressStateAggregation} [state] Progress state
5108
+ * @param {string} [prevToken] This is the pagination token
5026
5109
  * @param {*} [options] Override http request option.
5027
5110
  * @throws {RequiredError}
5028
5111
  * @memberof ProgressApi
5029
5112
  */
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));
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));
5032
5115
  }
5033
5116
  /**
5034
5117
  * List users progress
@@ -5037,12 +5120,13 @@ class ProgressApi extends base_1.BaseAPI {
5037
5120
  * @param {number} [periodID] Period ID
5038
5121
  * @param {string} [nextToken] This is the pagination token
5039
5122
  * @param {ProgressStateAggregation} [state] Progress state
5123
+ * @param {string} [prevToken] This is the pagination token
5040
5124
  * @param {*} [options] Override http request option.
5041
5125
  * @throws {RequiredError}
5042
5126
  * @memberof ProgressApi
5043
5127
  */
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));
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));
5046
5130
  }
5047
5131
  }
5048
5132
  exports.ProgressApi = ProgressApi;
@@ -5358,10 +5442,11 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5358
5442
  * @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
5359
5443
  * @param {ProgressInterval} [interval] Progress interval to filter by
5360
5444
  * @param {ProgressStateAggregation} [state] Progress state
5445
+ * @param {string} [prevToken] This is the pagination token
5361
5446
  * @param {*} [options] Override http request option.
5362
5447
  * @throws {RequiredError}
5363
5448
  */
5364
- listPromotionBeneficiaries: (id, periodID, hasProgress, nextToken, search, interval, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
5449
+ listPromotionBeneficiaries: (id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
5365
5450
  // verify required parameter 'id' is not null or undefined
5366
5451
  (0, common_1.assertParamExists)('listPromotionBeneficiaries', 'id', id);
5367
5452
  const localVarPath = `/admins/promotions/{id}/beneficiaries`
@@ -5396,6 +5481,9 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5396
5481
  if (state !== undefined) {
5397
5482
  localVarQueryParameter['state'] = state;
5398
5483
  }
5484
+ if (prevToken !== undefined) {
5485
+ localVarQueryParameter['prevToken'] = prevToken;
5486
+ }
5399
5487
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5400
5488
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5401
5489
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5422,10 +5510,11 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5422
5510
  * @param {SortDirection} [sortDirection] sort direction
5423
5511
  * @param {boolean} [onlyClaimable] only claimable promotions
5424
5512
  * @param {Array<string>} [iDs] IDs to filter by
5513
+ * @param {string} [prevToken] This is the pagination token
5425
5514
  * @param {*} [options] Override http request option.
5426
5515
  * @throws {RequiredError}
5427
5516
  */
5428
- listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
5517
+ listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
5429
5518
  const localVarPath = `/admins/promotions`;
5430
5519
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5431
5520
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5492,6 +5581,9 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5492
5581
  if (iDs) {
5493
5582
  localVarQueryParameter['IDs'] = iDs;
5494
5583
  }
5584
+ if (prevToken !== undefined) {
5585
+ localVarQueryParameter['PrevToken'] = prevToken;
5586
+ }
5495
5587
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5496
5588
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5497
5589
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5515,10 +5607,11 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5515
5607
  * @param {boolean} [onlyClaimable] only claimable promotions
5516
5608
  * @param {PromotionType} [type] promotion type
5517
5609
  * @param {Array<string>} [iDs] IDs to filter by
5610
+ * @param {string} [prevToken] This is the pagination token
5518
5611
  * @param {*} [options] Override http request option.
5519
5612
  * @throws {RequiredError}
5520
5613
  */
5521
- listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
5614
+ listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
5522
5615
  const localVarPath = `/users/promotions`;
5523
5616
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5524
5617
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5576,6 +5669,9 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5576
5669
  if (iDs) {
5577
5670
  localVarQueryParameter['IDs'] = iDs;
5578
5671
  }
5672
+ if (prevToken !== undefined) {
5673
+ localVarQueryParameter['prevToken'] = prevToken;
5674
+ }
5579
5675
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5580
5676
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5581
5677
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5760,12 +5856,13 @@ const PromotionApiFp = function (configuration) {
5760
5856
  * @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
5761
5857
  * @param {ProgressInterval} [interval] Progress interval to filter by
5762
5858
  * @param {ProgressStateAggregation} [state] Progress state
5859
+ * @param {string} [prevToken] This is the pagination token
5763
5860
  * @param {*} [options] Override http request option.
5764
5861
  * @throws {RequiredError}
5765
5862
  */
5766
- listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options) {
5863
+ listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options) {
5767
5864
  return __awaiter(this, void 0, void 0, function* () {
5768
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options);
5865
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options);
5769
5866
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5770
5867
  });
5771
5868
  },
@@ -5787,12 +5884,13 @@ const PromotionApiFp = function (configuration) {
5787
5884
  * @param {SortDirection} [sortDirection] sort direction
5788
5885
  * @param {boolean} [onlyClaimable] only claimable promotions
5789
5886
  * @param {Array<string>} [iDs] IDs to filter by
5887
+ * @param {string} [prevToken] This is the pagination token
5790
5888
  * @param {*} [options] Override http request option.
5791
5889
  * @throws {RequiredError}
5792
5890
  */
5793
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
5891
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, prevToken, options) {
5794
5892
  return __awaiter(this, void 0, void 0, function* () {
5795
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options);
5893
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, prevToken, options);
5796
5894
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5797
5895
  });
5798
5896
  },
@@ -5811,12 +5909,13 @@ const PromotionApiFp = function (configuration) {
5811
5909
  * @param {boolean} [onlyClaimable] only claimable promotions
5812
5910
  * @param {PromotionType} [type] promotion type
5813
5911
  * @param {Array<string>} [iDs] IDs to filter by
5912
+ * @param {string} [prevToken] This is the pagination token
5814
5913
  * @param {*} [options] Override http request option.
5815
5914
  * @throws {RequiredError}
5816
5915
  */
5817
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
5916
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options) {
5818
5917
  return __awaiter(this, void 0, void 0, function* () {
5819
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options);
5918
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options);
5820
5919
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5821
5920
  });
5822
5921
  },
@@ -5946,11 +6045,12 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
5946
6045
  * @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
5947
6046
  * @param {ProgressInterval} [interval] Progress interval to filter by
5948
6047
  * @param {ProgressStateAggregation} [state] Progress state
6048
+ * @param {string} [prevToken] This is the pagination token
5949
6049
  * @param {*} [options] Override http request option.
5950
6050
  * @throws {RequiredError}
5951
6051
  */
5952
- listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options) {
5953
- return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options).then((request) => request(axios, basePath));
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));
5954
6054
  },
5955
6055
  /**
5956
6056
  * List all promotions
@@ -5970,11 +6070,12 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
5970
6070
  * @param {SortDirection} [sortDirection] sort direction
5971
6071
  * @param {boolean} [onlyClaimable] only claimable promotions
5972
6072
  * @param {Array<string>} [iDs] IDs to filter by
6073
+ * @param {string} [prevToken] This is the pagination token
5973
6074
  * @param {*} [options] Override http request option.
5974
6075
  * @throws {RequiredError}
5975
6076
  */
5976
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
5977
- return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(axios, basePath));
6077
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, prevToken, options) {
6078
+ return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, prevToken, options).then((request) => request(axios, basePath));
5978
6079
  },
5979
6080
  /**
5980
6081
  * List users promotions
@@ -5991,11 +6092,12 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
5991
6092
  * @param {boolean} [onlyClaimable] only claimable promotions
5992
6093
  * @param {PromotionType} [type] promotion type
5993
6094
  * @param {Array<string>} [iDs] IDs to filter by
6095
+ * @param {string} [prevToken] This is the pagination token
5994
6096
  * @param {*} [options] Override http request option.
5995
6097
  * @throws {RequiredError}
5996
6098
  */
5997
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
5998
- return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(axios, basePath));
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));
5999
6101
  },
6000
6102
  /**
6001
6103
  * Update promotion by id
@@ -6129,12 +6231,13 @@ class PromotionApi extends base_1.BaseAPI {
6129
6231
  * @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
6130
6232
  * @param {ProgressInterval} [interval] Progress interval to filter by
6131
6233
  * @param {ProgressStateAggregation} [state] Progress state
6234
+ * @param {string} [prevToken] This is the pagination token
6132
6235
  * @param {*} [options] Override http request option.
6133
6236
  * @throws {RequiredError}
6134
6237
  * @memberof PromotionApi
6135
6238
  */
6136
- listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options) {
6137
- return (0, exports.PromotionApiFp)(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options).then((request) => request(this.axios, this.basePath));
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));
6138
6241
  }
6139
6242
  /**
6140
6243
  * List all promotions
@@ -6154,12 +6257,13 @@ class PromotionApi extends base_1.BaseAPI {
6154
6257
  * @param {SortDirection} [sortDirection] sort direction
6155
6258
  * @param {boolean} [onlyClaimable] only claimable promotions
6156
6259
  * @param {Array<string>} [iDs] IDs to filter by
6260
+ * @param {string} [prevToken] This is the pagination token
6157
6261
  * @param {*} [options] Override http request option.
6158
6262
  * @throws {RequiredError}
6159
6263
  * @memberof PromotionApi
6160
6264
  */
6161
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
6162
- return (0, exports.PromotionApiFp)(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(this.axios, this.basePath));
6265
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, prevToken, options) {
6266
+ return (0, exports.PromotionApiFp)(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, prevToken, options).then((request) => request(this.axios, this.basePath));
6163
6267
  }
6164
6268
  /**
6165
6269
  * List users promotions
@@ -6176,12 +6280,13 @@ class PromotionApi extends base_1.BaseAPI {
6176
6280
  * @param {boolean} [onlyClaimable] only claimable promotions
6177
6281
  * @param {PromotionType} [type] promotion type
6178
6282
  * @param {Array<string>} [iDs] IDs to filter by
6283
+ * @param {string} [prevToken] This is the pagination token
6179
6284
  * @param {*} [options] Override http request option.
6180
6285
  * @throws {RequiredError}
6181
6286
  * @memberof PromotionApi
6182
6287
  */
6183
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
6184
- 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));
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));
6185
6290
  }
6186
6291
  /**
6187
6292
  * Update promotion by id
@@ -6508,10 +6613,11 @@ const SegmentApiAxiosParamCreator = function (configuration) {
6508
6613
  * @summary Method returns segments list.
6509
6614
  * @param {string} [nextToken]
6510
6615
  * @param {string} [search] search string
6616
+ * @param {string} [prevToken]
6511
6617
  * @param {*} [options] Override http request option.
6512
6618
  * @throws {RequiredError}
6513
6619
  */
6514
- listSegments: (nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
6620
+ listSegments: (nextToken, search, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
6515
6621
  const localVarPath = `/admins/segments`;
6516
6622
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6517
6623
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -6531,6 +6637,9 @@ const SegmentApiAxiosParamCreator = function (configuration) {
6531
6637
  if (search !== undefined) {
6532
6638
  localVarQueryParameter['search'] = search;
6533
6639
  }
6640
+ if (prevToken !== undefined) {
6641
+ localVarQueryParameter['prevToken'] = prevToken;
6642
+ }
6534
6643
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6535
6644
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6536
6645
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6580,12 +6689,13 @@ const SegmentApiFp = function (configuration) {
6580
6689
  * @summary Method returns segments list.
6581
6690
  * @param {string} [nextToken]
6582
6691
  * @param {string} [search] search string
6692
+ * @param {string} [prevToken]
6583
6693
  * @param {*} [options] Override http request option.
6584
6694
  * @throws {RequiredError}
6585
6695
  */
6586
- listSegments(nextToken, search, options) {
6696
+ listSegments(nextToken, search, prevToken, options) {
6587
6697
  return __awaiter(this, void 0, void 0, function* () {
6588
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listSegments(nextToken, search, options);
6698
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listSegments(nextToken, search, prevToken, options);
6589
6699
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
6590
6700
  });
6591
6701
  },
@@ -6624,11 +6734,12 @@ const SegmentApiFactory = function (configuration, basePath, axios) {
6624
6734
  * @summary Method returns segments list.
6625
6735
  * @param {string} [nextToken]
6626
6736
  * @param {string} [search] search string
6737
+ * @param {string} [prevToken]
6627
6738
  * @param {*} [options] Override http request option.
6628
6739
  * @throws {RequiredError}
6629
6740
  */
6630
- listSegments(nextToken, search, options) {
6631
- return localVarFp.listSegments(nextToken, search, options).then((request) => request(axios, basePath));
6741
+ listSegments(nextToken, search, prevToken, options) {
6742
+ return localVarFp.listSegments(nextToken, search, prevToken, options).then((request) => request(axios, basePath));
6632
6743
  },
6633
6744
  };
6634
6745
  };
@@ -6667,12 +6778,13 @@ class SegmentApi extends base_1.BaseAPI {
6667
6778
  * @summary Method returns segments list.
6668
6779
  * @param {string} [nextToken]
6669
6780
  * @param {string} [search] search string
6781
+ * @param {string} [prevToken]
6670
6782
  * @param {*} [options] Override http request option.
6671
6783
  * @throws {RequiredError}
6672
6784
  * @memberof SegmentApi
6673
6785
  */
6674
- listSegments(nextToken, search, options) {
6675
- return (0, exports.SegmentApiFp)(this.configuration).listSegments(nextToken, search, options).then((request) => request(this.axios, this.basePath));
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));
6676
6788
  }
6677
6789
  }
6678
6790
  exports.SegmentApi = SegmentApi;
@@ -7172,13 +7284,14 @@ const TransactionApiAxiosParamCreator = function (configuration) {
7172
7284
  /**
7173
7285
  * List existing transactions
7174
7286
  * @summary List existing transactions
7175
- * @param {string} [paginationToken] This is the pagination token
7287
+ * @param {string} [nextToken] This is the pagination token
7176
7288
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
7177
7289
  * @param {Array<string>} [userIDs] This is the user ID
7290
+ * @param {string} [prevToken] This is the pagination token
7178
7291
  * @param {*} [options] Override http request option.
7179
7292
  * @throws {RequiredError}
7180
7293
  */
7181
- listTransactions: (paginationToken, clientIDs, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
7294
+ listTransactions: (nextToken, clientIDs, userIDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
7182
7295
  const localVarPath = `/admins/transactions`;
7183
7296
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7184
7297
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7192,8 +7305,8 @@ const TransactionApiAxiosParamCreator = function (configuration) {
7192
7305
  // authentication systemJWT required
7193
7306
  // http bearer authentication required
7194
7307
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7195
- if (paginationToken !== undefined) {
7196
- localVarQueryParameter['paginationToken'] = paginationToken;
7308
+ if (nextToken !== undefined) {
7309
+ localVarQueryParameter['nextToken'] = nextToken;
7197
7310
  }
7198
7311
  if (clientIDs) {
7199
7312
  localVarQueryParameter['clientIDs'] = clientIDs;
@@ -7201,6 +7314,9 @@ const TransactionApiAxiosParamCreator = function (configuration) {
7201
7314
  if (userIDs) {
7202
7315
  localVarQueryParameter['userIDs'] = userIDs;
7203
7316
  }
7317
+ if (prevToken !== undefined) {
7318
+ localVarQueryParameter['prevToken'] = prevToken;
7319
+ }
7204
7320
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7205
7321
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7206
7322
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7212,12 +7328,13 @@ const TransactionApiAxiosParamCreator = function (configuration) {
7212
7328
  /**
7213
7329
  * List existing transactions
7214
7330
  * @summary List existing transactions for users
7215
- * @param {string} [paginationToken] This is the pagination token
7331
+ * @param {string} [nextToken] This is the pagination token
7216
7332
  * @param {Array<string>} [userIDs] This is the user ID
7333
+ * @param {string} [prevToken] This is the pagination token
7217
7334
  * @param {*} [options] Override http request option.
7218
7335
  * @throws {RequiredError}
7219
7336
  */
7220
- listUserTransactions: (paginationToken, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
7337
+ listUserTransactions: (nextToken, userIDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
7221
7338
  const localVarPath = `/users/transactions`;
7222
7339
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7223
7340
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7231,12 +7348,15 @@ const TransactionApiAxiosParamCreator = function (configuration) {
7231
7348
  // authentication customerJWT required
7232
7349
  // http bearer authentication required
7233
7350
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7234
- if (paginationToken !== undefined) {
7235
- localVarQueryParameter['paginationToken'] = paginationToken;
7351
+ if (nextToken !== undefined) {
7352
+ localVarQueryParameter['nextToken'] = nextToken;
7236
7353
  }
7237
7354
  if (userIDs) {
7238
7355
  localVarQueryParameter['userIDs'] = userIDs;
7239
7356
  }
7357
+ if (prevToken !== undefined) {
7358
+ localVarQueryParameter['prevToken'] = prevToken;
7359
+ }
7240
7360
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7241
7361
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7242
7362
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7258,29 +7378,31 @@ const TransactionApiFp = function (configuration) {
7258
7378
  /**
7259
7379
  * List existing transactions
7260
7380
  * @summary List existing transactions
7261
- * @param {string} [paginationToken] This is the pagination token
7381
+ * @param {string} [nextToken] This is the pagination token
7262
7382
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
7263
7383
  * @param {Array<string>} [userIDs] This is the user ID
7384
+ * @param {string} [prevToken] This is the pagination token
7264
7385
  * @param {*} [options] Override http request option.
7265
7386
  * @throws {RequiredError}
7266
7387
  */
7267
- listTransactions(paginationToken, clientIDs, userIDs, options) {
7388
+ listTransactions(nextToken, clientIDs, userIDs, prevToken, options) {
7268
7389
  return __awaiter(this, void 0, void 0, function* () {
7269
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(paginationToken, clientIDs, userIDs, options);
7390
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(nextToken, clientIDs, userIDs, prevToken, options);
7270
7391
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
7271
7392
  });
7272
7393
  },
7273
7394
  /**
7274
7395
  * List existing transactions
7275
7396
  * @summary List existing transactions for users
7276
- * @param {string} [paginationToken] This is the pagination token
7397
+ * @param {string} [nextToken] This is the pagination token
7277
7398
  * @param {Array<string>} [userIDs] This is the user ID
7399
+ * @param {string} [prevToken] This is the pagination token
7278
7400
  * @param {*} [options] Override http request option.
7279
7401
  * @throws {RequiredError}
7280
7402
  */
7281
- listUserTransactions(paginationToken, userIDs, options) {
7403
+ listUserTransactions(nextToken, userIDs, prevToken, options) {
7282
7404
  return __awaiter(this, void 0, void 0, function* () {
7283
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserTransactions(paginationToken, userIDs, options);
7405
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserTransactions(nextToken, userIDs, prevToken, options);
7284
7406
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
7285
7407
  });
7286
7408
  },
@@ -7297,25 +7419,27 @@ const TransactionApiFactory = function (configuration, basePath, axios) {
7297
7419
  /**
7298
7420
  * List existing transactions
7299
7421
  * @summary List existing transactions
7300
- * @param {string} [paginationToken] This is the pagination token
7422
+ * @param {string} [nextToken] This is the pagination token
7301
7423
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
7302
7424
  * @param {Array<string>} [userIDs] This is the user ID
7425
+ * @param {string} [prevToken] This is the pagination token
7303
7426
  * @param {*} [options] Override http request option.
7304
7427
  * @throws {RequiredError}
7305
7428
  */
7306
- listTransactions(paginationToken, clientIDs, userIDs, options) {
7307
- return localVarFp.listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
7429
+ listTransactions(nextToken, clientIDs, userIDs, prevToken, options) {
7430
+ return localVarFp.listTransactions(nextToken, clientIDs, userIDs, prevToken, options).then((request) => request(axios, basePath));
7308
7431
  },
7309
7432
  /**
7310
7433
  * List existing transactions
7311
7434
  * @summary List existing transactions for users
7312
- * @param {string} [paginationToken] This is the pagination token
7435
+ * @param {string} [nextToken] This is the pagination token
7313
7436
  * @param {Array<string>} [userIDs] This is the user ID
7437
+ * @param {string} [prevToken] This is the pagination token
7314
7438
  * @param {*} [options] Override http request option.
7315
7439
  * @throws {RequiredError}
7316
7440
  */
7317
- listUserTransactions(paginationToken, userIDs, options) {
7318
- return localVarFp.listUserTransactions(paginationToken, userIDs, options).then((request) => request(axios, basePath));
7441
+ listUserTransactions(nextToken, userIDs, prevToken, options) {
7442
+ return localVarFp.listUserTransactions(nextToken, userIDs, prevToken, options).then((request) => request(axios, basePath));
7319
7443
  },
7320
7444
  };
7321
7445
  };
@@ -7330,27 +7454,29 @@ class TransactionApi extends base_1.BaseAPI {
7330
7454
  /**
7331
7455
  * List existing transactions
7332
7456
  * @summary List existing transactions
7333
- * @param {string} [paginationToken] This is the pagination token
7457
+ * @param {string} [nextToken] This is the pagination token
7334
7458
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
7335
7459
  * @param {Array<string>} [userIDs] This is the user ID
7460
+ * @param {string} [prevToken] This is the pagination token
7336
7461
  * @param {*} [options] Override http request option.
7337
7462
  * @throws {RequiredError}
7338
7463
  * @memberof TransactionApi
7339
7464
  */
7340
- listTransactions(paginationToken, clientIDs, userIDs, options) {
7341
- return (0, exports.TransactionApiFp)(this.configuration).listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
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));
7342
7467
  }
7343
7468
  /**
7344
7469
  * List existing transactions
7345
7470
  * @summary List existing transactions for users
7346
- * @param {string} [paginationToken] This is the pagination token
7471
+ * @param {string} [nextToken] This is the pagination token
7347
7472
  * @param {Array<string>} [userIDs] This is the user ID
7473
+ * @param {string} [prevToken] This is the pagination token
7348
7474
  * @param {*} [options] Override http request option.
7349
7475
  * @throws {RequiredError}
7350
7476
  * @memberof TransactionApi
7351
7477
  */
7352
- listUserTransactions(paginationToken, userIDs, options) {
7353
- return (0, exports.TransactionApiFp)(this.configuration).listUserTransactions(paginationToken, userIDs, options).then((request) => request(this.axios, this.basePath));
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));
7354
7480
  }
7355
7481
  }
7356
7482
  exports.TransactionApi = TransactionApi;
@@ -7461,10 +7587,11 @@ const UserApiAxiosParamCreator = function (configuration) {
7461
7587
  * @param {string} [nextToken] This is the pagination token
7462
7588
  * @param {string} [search] search string
7463
7589
  * @param {Array<string>} [userIDs] user ids to filter by
7590
+ * @param {string} [prevToken] This is the pagination token
7464
7591
  * @param {*} [options] Override http request option.
7465
7592
  * @throws {RequiredError}
7466
7593
  */
7467
- listCustomerUsers: (nextToken, search, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
7594
+ listCustomerUsers: (nextToken, search, userIDs, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
7468
7595
  const localVarPath = `/users`;
7469
7596
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7470
7597
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7487,6 +7614,9 @@ const UserApiAxiosParamCreator = function (configuration) {
7487
7614
  if (userIDs) {
7488
7615
  localVarQueryParameter['userIDs'] = userIDs;
7489
7616
  }
7617
+ if (prevToken !== undefined) {
7618
+ localVarQueryParameter['prevToken'] = prevToken;
7619
+ }
7490
7620
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7491
7621
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7492
7622
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7504,10 +7634,11 @@ const UserApiAxiosParamCreator = function (configuration) {
7504
7634
  * @param {Array<string>} [clientIDs] client IDs to filter by
7505
7635
  * @param {Array<string>} [userIDs] user ids to filter by
7506
7636
  * @param {UserSource} [source] source to filter by
7637
+ * @param {string} [prevToken] This is the pagination token
7507
7638
  * @param {*} [options] Override http request option.
7508
7639
  * @throws {RequiredError}
7509
7640
  */
7510
- listUsers: (nextToken, role, search, clientIDs, userIDs, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
7641
+ listUsers: (nextToken, role, search, clientIDs, userIDs, source, prevToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
7511
7642
  const localVarPath = `/admins/users`;
7512
7643
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7513
7644
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7539,6 +7670,9 @@ const UserApiAxiosParamCreator = function (configuration) {
7539
7670
  if (source !== undefined) {
7540
7671
  localVarQueryParameter['source'] = source;
7541
7672
  }
7673
+ if (prevToken !== undefined) {
7674
+ localVarQueryParameter['prevToken'] = prevToken;
7675
+ }
7542
7676
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7543
7677
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7544
7678
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7601,12 +7735,13 @@ const UserApiFp = function (configuration) {
7601
7735
  * @param {string} [nextToken] This is the pagination token
7602
7736
  * @param {string} [search] search string
7603
7737
  * @param {Array<string>} [userIDs] user ids to filter by
7738
+ * @param {string} [prevToken] This is the pagination token
7604
7739
  * @param {*} [options] Override http request option.
7605
7740
  * @throws {RequiredError}
7606
7741
  */
7607
- listCustomerUsers(nextToken, search, userIDs, options) {
7742
+ listCustomerUsers(nextToken, search, userIDs, prevToken, options) {
7608
7743
  return __awaiter(this, void 0, void 0, function* () {
7609
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, options);
7744
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, prevToken, options);
7610
7745
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
7611
7746
  });
7612
7747
  },
@@ -7619,12 +7754,13 @@ const UserApiFp = function (configuration) {
7619
7754
  * @param {Array<string>} [clientIDs] client IDs to filter by
7620
7755
  * @param {Array<string>} [userIDs] user ids to filter by
7621
7756
  * @param {UserSource} [source] source to filter by
7757
+ * @param {string} [prevToken] This is the pagination token
7622
7758
  * @param {*} [options] Override http request option.
7623
7759
  * @throws {RequiredError}
7624
7760
  */
7625
- listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
7761
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options) {
7626
7762
  return __awaiter(this, void 0, void 0, function* () {
7627
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
7763
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options);
7628
7764
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
7629
7765
  });
7630
7766
  },
@@ -7673,11 +7809,12 @@ const UserApiFactory = function (configuration, basePath, axios) {
7673
7809
  * @param {string} [nextToken] This is the pagination token
7674
7810
  * @param {string} [search] search string
7675
7811
  * @param {Array<string>} [userIDs] user ids to filter by
7812
+ * @param {string} [prevToken] This is the pagination token
7676
7813
  * @param {*} [options] Override http request option.
7677
7814
  * @throws {RequiredError}
7678
7815
  */
7679
- listCustomerUsers(nextToken, search, userIDs, options) {
7680
- return localVarFp.listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(axios, basePath));
7816
+ listCustomerUsers(nextToken, search, userIDs, prevToken, options) {
7817
+ return localVarFp.listCustomerUsers(nextToken, search, userIDs, prevToken, options).then((request) => request(axios, basePath));
7681
7818
  },
7682
7819
  /**
7683
7820
  * List all users
@@ -7688,11 +7825,12 @@ const UserApiFactory = function (configuration, basePath, axios) {
7688
7825
  * @param {Array<string>} [clientIDs] client IDs to filter by
7689
7826
  * @param {Array<string>} [userIDs] user ids to filter by
7690
7827
  * @param {UserSource} [source] source to filter by
7828
+ * @param {string} [prevToken] This is the pagination token
7691
7829
  * @param {*} [options] Override http request option.
7692
7830
  * @throws {RequiredError}
7693
7831
  */
7694
- listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
7695
- return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
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));
7696
7834
  },
7697
7835
  };
7698
7836
  };
@@ -7742,12 +7880,13 @@ class UserApi extends base_1.BaseAPI {
7742
7880
  * @param {string} [nextToken] This is the pagination token
7743
7881
  * @param {string} [search] search string
7744
7882
  * @param {Array<string>} [userIDs] user ids to filter by
7883
+ * @param {string} [prevToken] This is the pagination token
7745
7884
  * @param {*} [options] Override http request option.
7746
7885
  * @throws {RequiredError}
7747
7886
  * @memberof UserApi
7748
7887
  */
7749
- listCustomerUsers(nextToken, search, userIDs, options) {
7750
- return (0, exports.UserApiFp)(this.configuration).listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(this.axios, this.basePath));
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));
7751
7890
  }
7752
7891
  /**
7753
7892
  * List all users
@@ -7758,12 +7897,13 @@ class UserApi extends base_1.BaseAPI {
7758
7897
  * @param {Array<string>} [clientIDs] client IDs to filter by
7759
7898
  * @param {Array<string>} [userIDs] user ids to filter by
7760
7899
  * @param {UserSource} [source] source to filter by
7900
+ * @param {string} [prevToken] This is the pagination token
7761
7901
  * @param {*} [options] Override http request option.
7762
7902
  * @throws {RequiredError}
7763
7903
  * @memberof UserApi
7764
7904
  */
7765
- listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
7766
- return (0, exports.UserApiFp)(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
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));
7767
7907
  }
7768
7908
  }
7769
7909
  exports.UserApi = UserApi;