flexinet-api 0.0.2053-prerelease0-dev → 0.0.2056-prerelease0-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## flexinet-api@0.0.2053-prerelease0-dev
1
+ ## flexinet-api@0.0.2056-prerelease0-dev
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install flexinet-api@0.0.2053-prerelease0-dev --save
39
+ npm install flexinet-api@0.0.2056-prerelease0-dev --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -155,6 +155,12 @@ export interface AuditLogListResponse {
155
155
  * @memberof AuditLogListResponse
156
156
  */
157
157
  'nextToken'?: string;
158
+ /**
159
+ * This is the pagination token
160
+ * @type {string}
161
+ * @memberof AuditLogListResponse
162
+ */
163
+ 'prevToken'?: string;
158
164
  /**
159
165
  *
160
166
  * @type {boolean}
@@ -258,6 +264,12 @@ export interface BalanceBulkTransferRequest {
258
264
  * @memberof BalanceBulkTransferRequest
259
265
  */
260
266
  'beneficiaryReference': string;
267
+ /**
268
+ *
269
+ * @type {string}
270
+ * @memberof BalanceBulkTransferRequest
271
+ */
272
+ 'description'?: string;
261
273
  }
262
274
 
263
275
 
@@ -832,6 +844,12 @@ export interface ClientListResponse {
832
844
  * @memberof ClientListResponse
833
845
  */
834
846
  'hasMore': boolean;
847
+ /**
848
+ * This is the pagination token
849
+ * @type {string}
850
+ * @memberof ClientListResponse
851
+ */
852
+ 'prevToken'?: string;
835
853
  }
836
854
  /**
837
855
  *
@@ -1414,6 +1432,12 @@ export interface NotificationListResponse {
1414
1432
  * @memberof NotificationListResponse
1415
1433
  */
1416
1434
  'unreadCount': number;
1435
+ /**
1436
+ * This is the pagination token
1437
+ * @type {string}
1438
+ * @memberof NotificationListResponse
1439
+ */
1440
+ 'prevToken'?: string;
1417
1441
  }
1418
1442
  /**
1419
1443
  *
@@ -1602,6 +1626,12 @@ export interface OrderListResponse {
1602
1626
  * @memberof OrderListResponse
1603
1627
  */
1604
1628
  'nextToken'?: string;
1629
+ /**
1630
+ * This is the pagination token
1631
+ * @type {string}
1632
+ * @memberof OrderListResponse
1633
+ */
1634
+ 'prevToken'?: string;
1605
1635
  }
1606
1636
  /**
1607
1637
  * @type OrderSourceReference
@@ -2174,6 +2204,12 @@ export interface ProductRequestsResponse {
2174
2204
  * @memberof ProductRequestsResponse
2175
2205
  */
2176
2206
  'nextToken'?: string;
2207
+ /**
2208
+ * This is the pagination token
2209
+ * @type {string}
2210
+ * @memberof ProductRequestsResponse
2211
+ */
2212
+ 'prevToken'?: string;
2177
2213
  }
2178
2214
  /**
2179
2215
  *
@@ -2229,6 +2265,12 @@ export interface ProductsResponse {
2229
2265
  * @memberof ProductsResponse
2230
2266
  */
2231
2267
  'nextToken'?: string;
2268
+ /**
2269
+ * This is the pagination token
2270
+ * @type {string}
2271
+ * @memberof ProductsResponse
2272
+ */
2273
+ 'prevToken'?: string;
2232
2274
  }
2233
2275
  /**
2234
2276
  *
@@ -2346,6 +2388,12 @@ export interface ProgressResponse {
2346
2388
  * @memberof ProgressResponse
2347
2389
  */
2348
2390
  'nextToken'?: string;
2391
+ /**
2392
+ * This is the pagination token
2393
+ * @type {string}
2394
+ * @memberof ProgressResponse
2395
+ */
2396
+ 'prevToken'?: string;
2349
2397
  }
2350
2398
  /**
2351
2399
  *
@@ -2595,6 +2643,12 @@ export interface PromotionClientBeneficiaries {
2595
2643
  * @memberof PromotionClientBeneficiaries
2596
2644
  */
2597
2645
  'nextToken'?: string;
2646
+ /**
2647
+ * This is the pagination token
2648
+ * @type {string}
2649
+ * @memberof PromotionClientBeneficiaries
2650
+ */
2651
+ 'prevToken'?: string;
2598
2652
  }
2599
2653
 
2600
2654
 
@@ -2841,6 +2895,12 @@ export interface PromotionUserBeneficiaries {
2841
2895
  * @memberof PromotionUserBeneficiaries
2842
2896
  */
2843
2897
  'nextToken'?: string;
2898
+ /**
2899
+ * This is the pagination token
2900
+ * @type {string}
2901
+ * @memberof PromotionUserBeneficiaries
2902
+ */
2903
+ 'prevToken'?: string;
2844
2904
  }
2845
2905
 
2846
2906
 
@@ -2862,6 +2922,12 @@ export interface PromotionsResponse {
2862
2922
  * @memberof PromotionsResponse
2863
2923
  */
2864
2924
  'nextToken'?: string;
2925
+ /**
2926
+ * This is the pagination token
2927
+ * @type {string}
2928
+ * @memberof PromotionsResponse
2929
+ */
2930
+ 'prevToken'?: string;
2865
2931
  }
2866
2932
  /**
2867
2933
  *
@@ -3113,6 +3179,12 @@ export interface SegmentListResponse {
3113
3179
  * @memberof SegmentListResponse
3114
3180
  */
3115
3181
  'hasMore': boolean;
3182
+ /**
3183
+ * This is the pagination token
3184
+ * @type {string}
3185
+ * @memberof SegmentListResponse
3186
+ */
3187
+ 'prevToken'?: string;
3116
3188
  }
3117
3189
  /**
3118
3190
  *
@@ -4010,6 +4082,12 @@ export interface TransactionsResponse {
4010
4082
  * @memberof TransactionsResponse
4011
4083
  */
4012
4084
  'nextToken'?: string;
4085
+ /**
4086
+ * This is the pagination token
4087
+ * @type {string}
4088
+ * @memberof TransactionsResponse
4089
+ */
4090
+ 'prevToken'?: string;
4013
4091
  }
4014
4092
  /**
4015
4093
  *
@@ -4309,6 +4387,12 @@ export interface UserListResponse {
4309
4387
  * @memberof UserListResponse
4310
4388
  */
4311
4389
  'hasMore': boolean;
4390
+ /**
4391
+ * This is the pagination token
4392
+ * @type {string}
4393
+ * @memberof UserListResponse
4394
+ */
4395
+ 'prevToken'?: string;
4312
4396
  }
4313
4397
  /**
4314
4398
  *
@@ -4397,6 +4481,12 @@ export interface UserOrderListResponse {
4397
4481
  * @memberof UserOrderListResponse
4398
4482
  */
4399
4483
  'nextToken'?: string;
4484
+ /**
4485
+ * This is the pagination token
4486
+ * @type {string}
4487
+ * @memberof UserOrderListResponse
4488
+ */
4489
+ 'prevToken'?: string;
4400
4490
  }
4401
4491
  /**
4402
4492
  * @type UserOrderSourceReference
@@ -4648,6 +4738,12 @@ export interface UserPromotionsResponse {
4648
4738
  * @memberof UserPromotionsResponse
4649
4739
  */
4650
4740
  'nextToken'?: string;
4741
+ /**
4742
+ * This is the pagination token
4743
+ * @type {string}
4744
+ * @memberof UserPromotionsResponse
4745
+ */
4746
+ 'prevToken'?: string;
4651
4747
  }
4652
4748
  /**
4653
4749
  *
@@ -8014,7 +8110,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
8014
8110
  /**
8015
8111
  * List existing orders
8016
8112
  * @summary List existing orders
8017
- * @param {string} [paginationToken] This is the pagination token
8113
+ * @param {string} [nextToken] This is the pagination token
8018
8114
  * @param {string} [search] Search for product or order
8019
8115
  * @param {string} [productId] Filter by token
8020
8116
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -8027,7 +8123,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
8027
8123
  * @param {*} [options] Override http request option.
8028
8124
  * @throws {RequiredError}
8029
8125
  */
8030
- listOrders: async (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, kind?: OrderKind, source?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8126
+ listOrders: async (nextToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, kind?: OrderKind, source?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8031
8127
  const localVarPath = `/admins/orders`;
8032
8128
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8033
8129
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8044,8 +8140,8 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
8044
8140
  // http bearer authentication required
8045
8141
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
8046
8142
 
8047
- if (paginationToken !== undefined) {
8048
- localVarQueryParameter['paginationToken'] = paginationToken;
8143
+ if (nextToken !== undefined) {
8144
+ localVarQueryParameter['nextToken'] = nextToken;
8049
8145
  }
8050
8146
 
8051
8147
  if (search !== undefined) {
@@ -8102,7 +8198,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
8102
8198
  /**
8103
8199
  * List existing orders
8104
8200
  * @summary List existing orders
8105
- * @param {string} [paginationToken] This is the pagination token
8201
+ * @param {string} [nextToken] This is the pagination token
8106
8202
  * @param {string} [search] Search for product or order
8107
8203
  * @param {string} [productID] Filter by token
8108
8204
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -8112,7 +8208,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
8112
8208
  * @param {*} [options] Override http request option.
8113
8209
  * @throws {RequiredError}
8114
8210
  */
8115
- listOrdersUser: async (paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8211
+ listOrdersUser: async (nextToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8116
8212
  const localVarPath = `/users/orders`;
8117
8213
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8118
8214
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8129,8 +8225,8 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
8129
8225
  // http bearer authentication required
8130
8226
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
8131
8227
 
8132
- if (paginationToken !== undefined) {
8133
- localVarQueryParameter['paginationToken'] = paginationToken;
8228
+ if (nextToken !== undefined) {
8229
+ localVarQueryParameter['nextToken'] = nextToken;
8134
8230
  }
8135
8231
 
8136
8232
  if (search !== undefined) {
@@ -8229,7 +8325,7 @@ export const OrderApiFp = function(configuration?: Configuration) {
8229
8325
  /**
8230
8326
  * List existing orders
8231
8327
  * @summary List existing orders
8232
- * @param {string} [paginationToken] This is the pagination token
8328
+ * @param {string} [nextToken] This is the pagination token
8233
8329
  * @param {string} [search] Search for product or order
8234
8330
  * @param {string} [productId] Filter by token
8235
8331
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -8242,14 +8338,14 @@ export const OrderApiFp = function(configuration?: Configuration) {
8242
8338
  * @param {*} [options] Override http request option.
8243
8339
  * @throws {RequiredError}
8244
8340
  */
8245
- async listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, kind?: OrderKind, source?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
8246
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options);
8341
+ async listOrders(nextToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, kind?: OrderKind, source?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
8342
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options);
8247
8343
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8248
8344
  },
8249
8345
  /**
8250
8346
  * List existing orders
8251
8347
  * @summary List existing orders
8252
- * @param {string} [paginationToken] This is the pagination token
8348
+ * @param {string} [nextToken] This is the pagination token
8253
8349
  * @param {string} [search] Search for product or order
8254
8350
  * @param {string} [productID] Filter by token
8255
8351
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -8259,8 +8355,8 @@ export const OrderApiFp = function(configuration?: Configuration) {
8259
8355
  * @param {*} [options] Override http request option.
8260
8356
  * @throws {RequiredError}
8261
8357
  */
8262
- async listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOrderListResponse>> {
8263
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options);
8358
+ async listOrdersUser(nextToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOrderListResponse>> {
8359
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options);
8264
8360
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8265
8361
  },
8266
8362
  }
@@ -8316,7 +8412,7 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
8316
8412
  /**
8317
8413
  * List existing orders
8318
8414
  * @summary List existing orders
8319
- * @param {string} [paginationToken] This is the pagination token
8415
+ * @param {string} [nextToken] This is the pagination token
8320
8416
  * @param {string} [search] Search for product or order
8321
8417
  * @param {string} [productId] Filter by token
8322
8418
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -8329,13 +8425,13 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
8329
8425
  * @param {*} [options] Override http request option.
8330
8426
  * @throws {RequiredError}
8331
8427
  */
8332
- listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, kind?: OrderKind, source?: string, options?: any): AxiosPromise<OrderListResponse> {
8333
- return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(axios, basePath));
8428
+ listOrders(nextToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, kind?: OrderKind, source?: string, options?: any): AxiosPromise<OrderListResponse> {
8429
+ return localVarFp.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(axios, basePath));
8334
8430
  },
8335
8431
  /**
8336
8432
  * List existing orders
8337
8433
  * @summary List existing orders
8338
- * @param {string} [paginationToken] This is the pagination token
8434
+ * @param {string} [nextToken] This is the pagination token
8339
8435
  * @param {string} [search] Search for product or order
8340
8436
  * @param {string} [productID] Filter by token
8341
8437
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -8345,8 +8441,8 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
8345
8441
  * @param {*} [options] Override http request option.
8346
8442
  * @throws {RequiredError}
8347
8443
  */
8348
- listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: any): AxiosPromise<UserOrderListResponse> {
8349
- return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(axios, basePath));
8444
+ listOrdersUser(nextToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: any): AxiosPromise<UserOrderListResponse> {
8445
+ return localVarFp.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(axios, basePath));
8350
8446
  },
8351
8447
  };
8352
8448
  };
@@ -8409,7 +8505,7 @@ export class OrderApi extends BaseAPI {
8409
8505
  /**
8410
8506
  * List existing orders
8411
8507
  * @summary List existing orders
8412
- * @param {string} [paginationToken] This is the pagination token
8508
+ * @param {string} [nextToken] This is the pagination token
8413
8509
  * @param {string} [search] Search for product or order
8414
8510
  * @param {string} [productId] Filter by token
8415
8511
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -8423,14 +8519,14 @@ export class OrderApi extends BaseAPI {
8423
8519
  * @throws {RequiredError}
8424
8520
  * @memberof OrderApi
8425
8521
  */
8426
- public listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, kind?: OrderKind, source?: string, options?: AxiosRequestConfig) {
8427
- return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(this.axios, this.basePath));
8522
+ public listOrders(nextToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, kind?: OrderKind, source?: string, options?: AxiosRequestConfig) {
8523
+ return OrderApiFp(this.configuration).listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(this.axios, this.basePath));
8428
8524
  }
8429
8525
 
8430
8526
  /**
8431
8527
  * List existing orders
8432
8528
  * @summary List existing orders
8433
- * @param {string} [paginationToken] This is the pagination token
8529
+ * @param {string} [nextToken] This is the pagination token
8434
8530
  * @param {string} [search] Search for product or order
8435
8531
  * @param {string} [productID] Filter by token
8436
8532
  * @param {Array<string>} [balanceIDs] Filter by balance ids
@@ -8441,8 +8537,8 @@ export class OrderApi extends BaseAPI {
8441
8537
  * @throws {RequiredError}
8442
8538
  * @memberof OrderApi
8443
8539
  */
8444
- public listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) {
8445
- return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(this.axios, this.basePath));
8540
+ public listOrdersUser(nextToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) {
8541
+ return OrderApiFp(this.configuration).listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, options).then((request) => request(this.axios, this.basePath));
8446
8542
  }
8447
8543
  }
8448
8544
 
@@ -10165,10 +10261,11 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
10165
10261
  * @param {SortDirection} [sortDirection] sort direction
10166
10262
  * @param {boolean} [onlyClaimable] only claimable promotions
10167
10263
  * @param {Array<string>} [iDs] IDs to filter by
10264
+ * @param {string} [prevToken] This is the pagination token
10168
10265
  * @param {*} [options] Override http request option.
10169
10266
  * @throws {RequiredError}
10170
10267
  */
10171
- listPromotions: async (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, iDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10268
+ listPromotions: async (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, iDs?: Array<string>, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10172
10269
  const localVarPath = `/admins/promotions`;
10173
10270
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10174
10271
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10253,6 +10350,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
10253
10350
  localVarQueryParameter['IDs'] = iDs;
10254
10351
  }
10255
10352
 
10353
+ if (prevToken !== undefined) {
10354
+ localVarQueryParameter['PrevToken'] = prevToken;
10355
+ }
10356
+
10256
10357
 
10257
10358
 
10258
10359
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10556,11 +10657,12 @@ export const PromotionApiFp = function(configuration?: Configuration) {
10556
10657
  * @param {SortDirection} [sortDirection] sort direction
10557
10658
  * @param {boolean} [onlyClaimable] only claimable promotions
10558
10659
  * @param {Array<string>} [iDs] IDs to filter by
10660
+ * @param {string} [prevToken] This is the pagination token
10559
10661
  * @param {*} [options] Override http request option.
10560
10662
  * @throws {RequiredError}
10561
10663
  */
10562
- async listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
10563
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options);
10664
+ async listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, iDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
10665
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, prevToken, options);
10564
10666
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10565
10667
  },
10566
10668
  /**
@@ -10733,11 +10835,12 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
10733
10835
  * @param {SortDirection} [sortDirection] sort direction
10734
10836
  * @param {boolean} [onlyClaimable] only claimable promotions
10735
10837
  * @param {Array<string>} [iDs] IDs to filter by
10838
+ * @param {string} [prevToken] This is the pagination token
10736
10839
  * @param {*} [options] Override http request option.
10737
10840
  * @throws {RequiredError}
10738
10841
  */
10739
- listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, iDs?: Array<string>, options?: any): AxiosPromise<PromotionsResponse> {
10740
- return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(axios, basePath));
10842
+ listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, iDs?: Array<string>, prevToken?: string, options?: any): AxiosPromise<PromotionsResponse> {
10843
+ 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));
10741
10844
  },
10742
10845
  /**
10743
10846
  * List users promotions
@@ -10927,12 +11030,13 @@ export class PromotionApi extends BaseAPI {
10927
11030
  * @param {SortDirection} [sortDirection] sort direction
10928
11031
  * @param {boolean} [onlyClaimable] only claimable promotions
10929
11032
  * @param {Array<string>} [iDs] IDs to filter by
11033
+ * @param {string} [prevToken] This is the pagination token
10930
11034
  * @param {*} [options] Override http request option.
10931
11035
  * @throws {RequiredError}
10932
11036
  * @memberof PromotionApi
10933
11037
  */
10934
- public listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, iDs?: Array<string>, options?: AxiosRequestConfig) {
10935
- return 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));
11038
+ public listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, iDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig) {
11039
+ return 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));
10936
11040
  }
10937
11041
 
10938
11042
  /**
@@ -12024,13 +12128,13 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
12024
12128
  /**
12025
12129
  * List existing transactions
12026
12130
  * @summary List existing transactions
12027
- * @param {string} [paginationToken] This is the pagination token
12131
+ * @param {string} [nextToken] This is the pagination token
12028
12132
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
12029
12133
  * @param {Array<string>} [userIDs] This is the user ID
12030
12134
  * @param {*} [options] Override http request option.
12031
12135
  * @throws {RequiredError}
12032
12136
  */
12033
- listTransactions: async (paginationToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12137
+ listTransactions: async (nextToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12034
12138
  const localVarPath = `/admins/transactions`;
12035
12139
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12036
12140
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -12047,8 +12151,8 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
12047
12151
  // http bearer authentication required
12048
12152
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
12049
12153
 
12050
- if (paginationToken !== undefined) {
12051
- localVarQueryParameter['paginationToken'] = paginationToken;
12154
+ if (nextToken !== undefined) {
12155
+ localVarQueryParameter['nextToken'] = nextToken;
12052
12156
  }
12053
12157
 
12054
12158
  if (clientIDs) {
@@ -12073,12 +12177,12 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
12073
12177
  /**
12074
12178
  * List existing transactions
12075
12179
  * @summary List existing transactions for users
12076
- * @param {string} [paginationToken] This is the pagination token
12180
+ * @param {string} [nextToken] This is the pagination token
12077
12181
  * @param {Array<string>} [userIDs] This is the user ID
12078
12182
  * @param {*} [options] Override http request option.
12079
12183
  * @throws {RequiredError}
12080
12184
  */
12081
- listUserTransactions: async (paginationToken?: string, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12185
+ listUserTransactions: async (nextToken?: string, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12082
12186
  const localVarPath = `/users/transactions`;
12083
12187
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12084
12188
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -12095,8 +12199,8 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
12095
12199
  // http bearer authentication required
12096
12200
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
12097
12201
 
12098
- if (paginationToken !== undefined) {
12099
- localVarQueryParameter['paginationToken'] = paginationToken;
12202
+ if (nextToken !== undefined) {
12203
+ localVarQueryParameter['nextToken'] = nextToken;
12100
12204
  }
12101
12205
 
12102
12206
  if (userIDs) {
@@ -12127,26 +12231,26 @@ export const TransactionApiFp = function(configuration?: Configuration) {
12127
12231
  /**
12128
12232
  * List existing transactions
12129
12233
  * @summary List existing transactions
12130
- * @param {string} [paginationToken] This is the pagination token
12234
+ * @param {string} [nextToken] This is the pagination token
12131
12235
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
12132
12236
  * @param {Array<string>} [userIDs] This is the user ID
12133
12237
  * @param {*} [options] Override http request option.
12134
12238
  * @throws {RequiredError}
12135
12239
  */
12136
- async listTransactions(paginationToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionsResponse>> {
12137
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(paginationToken, clientIDs, userIDs, options);
12240
+ async listTransactions(nextToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionsResponse>> {
12241
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(nextToken, clientIDs, userIDs, options);
12138
12242
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12139
12243
  },
12140
12244
  /**
12141
12245
  * List existing transactions
12142
12246
  * @summary List existing transactions for users
12143
- * @param {string} [paginationToken] This is the pagination token
12247
+ * @param {string} [nextToken] This is the pagination token
12144
12248
  * @param {Array<string>} [userIDs] This is the user ID
12145
12249
  * @param {*} [options] Override http request option.
12146
12250
  * @throws {RequiredError}
12147
12251
  */
12148
- async listUserTransactions(paginationToken?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionsResponse>> {
12149
- const localVarAxiosArgs = await localVarAxiosParamCreator.listUserTransactions(paginationToken, userIDs, options);
12252
+ async listUserTransactions(nextToken?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionsResponse>> {
12253
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listUserTransactions(nextToken, userIDs, options);
12150
12254
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12151
12255
  },
12152
12256
  }
@@ -12162,25 +12266,25 @@ export const TransactionApiFactory = function (configuration?: Configuration, ba
12162
12266
  /**
12163
12267
  * List existing transactions
12164
12268
  * @summary List existing transactions
12165
- * @param {string} [paginationToken] This is the pagination token
12269
+ * @param {string} [nextToken] This is the pagination token
12166
12270
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
12167
12271
  * @param {Array<string>} [userIDs] This is the user ID
12168
12272
  * @param {*} [options] Override http request option.
12169
12273
  * @throws {RequiredError}
12170
12274
  */
12171
- listTransactions(paginationToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options?: any): AxiosPromise<TransactionsResponse> {
12172
- return localVarFp.listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
12275
+ listTransactions(nextToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options?: any): AxiosPromise<TransactionsResponse> {
12276
+ return localVarFp.listTransactions(nextToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
12173
12277
  },
12174
12278
  /**
12175
12279
  * List existing transactions
12176
12280
  * @summary List existing transactions for users
12177
- * @param {string} [paginationToken] This is the pagination token
12281
+ * @param {string} [nextToken] This is the pagination token
12178
12282
  * @param {Array<string>} [userIDs] This is the user ID
12179
12283
  * @param {*} [options] Override http request option.
12180
12284
  * @throws {RequiredError}
12181
12285
  */
12182
- listUserTransactions(paginationToken?: string, userIDs?: Array<string>, options?: any): AxiosPromise<TransactionsResponse> {
12183
- return localVarFp.listUserTransactions(paginationToken, userIDs, options).then((request) => request(axios, basePath));
12286
+ listUserTransactions(nextToken?: string, userIDs?: Array<string>, options?: any): AxiosPromise<TransactionsResponse> {
12287
+ return localVarFp.listUserTransactions(nextToken, userIDs, options).then((request) => request(axios, basePath));
12184
12288
  },
12185
12289
  };
12186
12290
  };
@@ -12195,28 +12299,28 @@ export class TransactionApi extends BaseAPI {
12195
12299
  /**
12196
12300
  * List existing transactions
12197
12301
  * @summary List existing transactions
12198
- * @param {string} [paginationToken] This is the pagination token
12302
+ * @param {string} [nextToken] This is the pagination token
12199
12303
  * @param {Array<string>} [clientIDs] This is the client IDs to filter by
12200
12304
  * @param {Array<string>} [userIDs] This is the user ID
12201
12305
  * @param {*} [options] Override http request option.
12202
12306
  * @throws {RequiredError}
12203
12307
  * @memberof TransactionApi
12204
12308
  */
12205
- public listTransactions(paginationToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options?: AxiosRequestConfig) {
12206
- return TransactionApiFp(this.configuration).listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
12309
+ public listTransactions(nextToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options?: AxiosRequestConfig) {
12310
+ return TransactionApiFp(this.configuration).listTransactions(nextToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
12207
12311
  }
12208
12312
 
12209
12313
  /**
12210
12314
  * List existing transactions
12211
12315
  * @summary List existing transactions for users
12212
- * @param {string} [paginationToken] This is the pagination token
12316
+ * @param {string} [nextToken] This is the pagination token
12213
12317
  * @param {Array<string>} [userIDs] This is the user ID
12214
12318
  * @param {*} [options] Override http request option.
12215
12319
  * @throws {RequiredError}
12216
12320
  * @memberof TransactionApi
12217
12321
  */
12218
- public listUserTransactions(paginationToken?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) {
12219
- return TransactionApiFp(this.configuration).listUserTransactions(paginationToken, userIDs, options).then((request) => request(this.axios, this.basePath));
12322
+ public listUserTransactions(nextToken?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) {
12323
+ return TransactionApiFp(this.configuration).listUserTransactions(nextToken, userIDs, options).then((request) => request(this.axios, this.basePath));
12220
12324
  }
12221
12325
  }
12222
12326