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/README.md +2 -2
- package/api.ts +414 -164
- package/dist/api.d.ts +266 -96
- package/dist/api.js +304 -164
- package/dist/esm/api.d.ts +266 -96
- package/dist/esm/api.js +304 -164
- package/package.json +1 -1
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}
|
@@ -832,6 +838,12 @@ export interface ClientListResponse {
|
|
832
838
|
* @memberof ClientListResponse
|
833
839
|
*/
|
834
840
|
'hasMore': boolean;
|
841
|
+
/**
|
842
|
+
* This is the pagination token
|
843
|
+
* @type {string}
|
844
|
+
* @memberof ClientListResponse
|
845
|
+
*/
|
846
|
+
'prevToken'?: string;
|
835
847
|
}
|
836
848
|
/**
|
837
849
|
*
|
@@ -1414,6 +1426,12 @@ export interface NotificationListResponse {
|
|
1414
1426
|
* @memberof NotificationListResponse
|
1415
1427
|
*/
|
1416
1428
|
'unreadCount': number;
|
1429
|
+
/**
|
1430
|
+
* This is the pagination token
|
1431
|
+
* @type {string}
|
1432
|
+
* @memberof NotificationListResponse
|
1433
|
+
*/
|
1434
|
+
'prevToken'?: string;
|
1417
1435
|
}
|
1418
1436
|
/**
|
1419
1437
|
*
|
@@ -1602,6 +1620,12 @@ export interface OrderListResponse {
|
|
1602
1620
|
* @memberof OrderListResponse
|
1603
1621
|
*/
|
1604
1622
|
'nextToken'?: string;
|
1623
|
+
/**
|
1624
|
+
* This is the pagination token
|
1625
|
+
* @type {string}
|
1626
|
+
* @memberof OrderListResponse
|
1627
|
+
*/
|
1628
|
+
'prevToken'?: string;
|
1605
1629
|
}
|
1606
1630
|
/**
|
1607
1631
|
* @type OrderSourceReference
|
@@ -2174,6 +2198,12 @@ export interface ProductRequestsResponse {
|
|
2174
2198
|
* @memberof ProductRequestsResponse
|
2175
2199
|
*/
|
2176
2200
|
'nextToken'?: string;
|
2201
|
+
/**
|
2202
|
+
* This is the pagination token
|
2203
|
+
* @type {string}
|
2204
|
+
* @memberof ProductRequestsResponse
|
2205
|
+
*/
|
2206
|
+
'prevToken'?: string;
|
2177
2207
|
}
|
2178
2208
|
/**
|
2179
2209
|
*
|
@@ -2229,6 +2259,12 @@ export interface ProductsResponse {
|
|
2229
2259
|
* @memberof ProductsResponse
|
2230
2260
|
*/
|
2231
2261
|
'nextToken'?: string;
|
2262
|
+
/**
|
2263
|
+
* This is the pagination token
|
2264
|
+
* @type {string}
|
2265
|
+
* @memberof ProductsResponse
|
2266
|
+
*/
|
2267
|
+
'prevToken'?: string;
|
2232
2268
|
}
|
2233
2269
|
/**
|
2234
2270
|
*
|
@@ -2346,6 +2382,12 @@ export interface ProgressResponse {
|
|
2346
2382
|
* @memberof ProgressResponse
|
2347
2383
|
*/
|
2348
2384
|
'nextToken'?: string;
|
2385
|
+
/**
|
2386
|
+
* This is the pagination token
|
2387
|
+
* @type {string}
|
2388
|
+
* @memberof ProgressResponse
|
2389
|
+
*/
|
2390
|
+
'prevToken'?: string;
|
2349
2391
|
}
|
2350
2392
|
/**
|
2351
2393
|
*
|
@@ -2595,6 +2637,12 @@ export interface PromotionClientBeneficiaries {
|
|
2595
2637
|
* @memberof PromotionClientBeneficiaries
|
2596
2638
|
*/
|
2597
2639
|
'nextToken'?: string;
|
2640
|
+
/**
|
2641
|
+
* This is the pagination token
|
2642
|
+
* @type {string}
|
2643
|
+
* @memberof PromotionClientBeneficiaries
|
2644
|
+
*/
|
2645
|
+
'prevToken'?: string;
|
2598
2646
|
}
|
2599
2647
|
|
2600
2648
|
|
@@ -2841,6 +2889,12 @@ export interface PromotionUserBeneficiaries {
|
|
2841
2889
|
* @memberof PromotionUserBeneficiaries
|
2842
2890
|
*/
|
2843
2891
|
'nextToken'?: string;
|
2892
|
+
/**
|
2893
|
+
* This is the pagination token
|
2894
|
+
* @type {string}
|
2895
|
+
* @memberof PromotionUserBeneficiaries
|
2896
|
+
*/
|
2897
|
+
'prevToken'?: string;
|
2844
2898
|
}
|
2845
2899
|
|
2846
2900
|
|
@@ -2862,6 +2916,12 @@ export interface PromotionsResponse {
|
|
2862
2916
|
* @memberof PromotionsResponse
|
2863
2917
|
*/
|
2864
2918
|
'nextToken'?: string;
|
2919
|
+
/**
|
2920
|
+
* This is the pagination token
|
2921
|
+
* @type {string}
|
2922
|
+
* @memberof PromotionsResponse
|
2923
|
+
*/
|
2924
|
+
'prevToken'?: string;
|
2865
2925
|
}
|
2866
2926
|
/**
|
2867
2927
|
*
|
@@ -3113,6 +3173,12 @@ export interface SegmentListResponse {
|
|
3113
3173
|
* @memberof SegmentListResponse
|
3114
3174
|
*/
|
3115
3175
|
'hasMore': boolean;
|
3176
|
+
/**
|
3177
|
+
* This is the pagination token
|
3178
|
+
* @type {string}
|
3179
|
+
* @memberof SegmentListResponse
|
3180
|
+
*/
|
3181
|
+
'prevToken'?: string;
|
3116
3182
|
}
|
3117
3183
|
/**
|
3118
3184
|
*
|
@@ -4010,6 +4076,12 @@ export interface TransactionsResponse {
|
|
4010
4076
|
* @memberof TransactionsResponse
|
4011
4077
|
*/
|
4012
4078
|
'nextToken'?: string;
|
4079
|
+
/**
|
4080
|
+
* This is the pagination token
|
4081
|
+
* @type {string}
|
4082
|
+
* @memberof TransactionsResponse
|
4083
|
+
*/
|
4084
|
+
'prevToken'?: string;
|
4013
4085
|
}
|
4014
4086
|
/**
|
4015
4087
|
*
|
@@ -4309,6 +4381,12 @@ export interface UserListResponse {
|
|
4309
4381
|
* @memberof UserListResponse
|
4310
4382
|
*/
|
4311
4383
|
'hasMore': boolean;
|
4384
|
+
/**
|
4385
|
+
* This is the pagination token
|
4386
|
+
* @type {string}
|
4387
|
+
* @memberof UserListResponse
|
4388
|
+
*/
|
4389
|
+
'prevToken'?: string;
|
4312
4390
|
}
|
4313
4391
|
/**
|
4314
4392
|
*
|
@@ -4397,6 +4475,12 @@ export interface UserOrderListResponse {
|
|
4397
4475
|
* @memberof UserOrderListResponse
|
4398
4476
|
*/
|
4399
4477
|
'nextToken'?: string;
|
4478
|
+
/**
|
4479
|
+
* This is the pagination token
|
4480
|
+
* @type {string}
|
4481
|
+
* @memberof UserOrderListResponse
|
4482
|
+
*/
|
4483
|
+
'prevToken'?: string;
|
4400
4484
|
}
|
4401
4485
|
/**
|
4402
4486
|
* @type UserOrderSourceReference
|
@@ -4648,6 +4732,12 @@ export interface UserPromotionsResponse {
|
|
4648
4732
|
* @memberof UserPromotionsResponse
|
4649
4733
|
*/
|
4650
4734
|
'nextToken'?: string;
|
4735
|
+
/**
|
4736
|
+
* This is the pagination token
|
4737
|
+
* @type {string}
|
4738
|
+
* @memberof UserPromotionsResponse
|
4739
|
+
*/
|
4740
|
+
'prevToken'?: string;
|
4651
4741
|
}
|
4652
4742
|
/**
|
4653
4743
|
*
|
@@ -4786,10 +4876,11 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration
|
|
4786
4876
|
* @summary List audit logs for given object type and ID
|
4787
4877
|
* @param {string} userID id of the user
|
4788
4878
|
* @param {string} [nextToken] This is the pagination token
|
4879
|
+
* @param {string} [prevToken] This is the pagination token
|
4789
4880
|
* @param {*} [options] Override http request option.
|
4790
4881
|
* @throws {RequiredError}
|
4791
4882
|
*/
|
4792
|
-
listUserAuditLogs: async (userID: string, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
4883
|
+
listUserAuditLogs: async (userID: string, nextToken?: string, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
4793
4884
|
// verify required parameter 'userID' is not null or undefined
|
4794
4885
|
assertParamExists('listUserAuditLogs', 'userID', userID)
|
4795
4886
|
const localVarPath = `/admins/audit/user/{userID}`
|
@@ -4813,6 +4904,10 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration
|
|
4813
4904
|
localVarQueryParameter['nextToken'] = nextToken;
|
4814
4905
|
}
|
4815
4906
|
|
4907
|
+
if (prevToken !== undefined) {
|
4908
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
4909
|
+
}
|
4910
|
+
|
4816
4911
|
|
4817
4912
|
|
4818
4913
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -4851,11 +4946,12 @@ export const AuditApiFp = function(configuration?: Configuration) {
|
|
4851
4946
|
* @summary List audit logs for given object type and ID
|
4852
4947
|
* @param {string} userID id of the user
|
4853
4948
|
* @param {string} [nextToken] This is the pagination token
|
4949
|
+
* @param {string} [prevToken] This is the pagination token
|
4854
4950
|
* @param {*} [options] Override http request option.
|
4855
4951
|
* @throws {RequiredError}
|
4856
4952
|
*/
|
4857
|
-
async listUserAuditLogs(userID: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuditLogListResponse>> {
|
4858
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserAuditLogs(userID, nextToken, options);
|
4953
|
+
async listUserAuditLogs(userID: string, nextToken?: string, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuditLogListResponse>> {
|
4954
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserAuditLogs(userID, nextToken, prevToken, options);
|
4859
4955
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4860
4956
|
},
|
4861
4957
|
}
|
@@ -4884,11 +4980,12 @@ export const AuditApiFactory = function (configuration?: Configuration, basePath
|
|
4884
4980
|
* @summary List audit logs for given object type and ID
|
4885
4981
|
* @param {string} userID id of the user
|
4886
4982
|
* @param {string} [nextToken] This is the pagination token
|
4983
|
+
* @param {string} [prevToken] This is the pagination token
|
4887
4984
|
* @param {*} [options] Override http request option.
|
4888
4985
|
* @throws {RequiredError}
|
4889
4986
|
*/
|
4890
|
-
listUserAuditLogs(userID: string, nextToken?: string, options?: any): AxiosPromise<AuditLogListResponse> {
|
4891
|
-
return localVarFp.listUserAuditLogs(userID, nextToken, options).then((request) => request(axios, basePath));
|
4987
|
+
listUserAuditLogs(userID: string, nextToken?: string, prevToken?: string, options?: any): AxiosPromise<AuditLogListResponse> {
|
4988
|
+
return localVarFp.listUserAuditLogs(userID, nextToken, prevToken, options).then((request) => request(axios, basePath));
|
4892
4989
|
},
|
4893
4990
|
};
|
4894
4991
|
};
|
@@ -4918,12 +5015,13 @@ export class AuditApi extends BaseAPI {
|
|
4918
5015
|
* @summary List audit logs for given object type and ID
|
4919
5016
|
* @param {string} userID id of the user
|
4920
5017
|
* @param {string} [nextToken] This is the pagination token
|
5018
|
+
* @param {string} [prevToken] This is the pagination token
|
4921
5019
|
* @param {*} [options] Override http request option.
|
4922
5020
|
* @throws {RequiredError}
|
4923
5021
|
* @memberof AuditApi
|
4924
5022
|
*/
|
4925
|
-
public listUserAuditLogs(userID: string, nextToken?: string, options?: AxiosRequestConfig) {
|
4926
|
-
return AuditApiFp(this.configuration).listUserAuditLogs(userID, nextToken, options).then((request) => request(this.axios, this.basePath));
|
5023
|
+
public listUserAuditLogs(userID: string, nextToken?: string, prevToken?: string, options?: AxiosRequestConfig) {
|
5024
|
+
return AuditApiFp(this.configuration).listUserAuditLogs(userID, nextToken, prevToken, options).then((request) => request(this.axios, this.basePath));
|
4927
5025
|
}
|
4928
5026
|
}
|
4929
5027
|
|
@@ -6036,10 +6134,11 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
6036
6134
|
* @param {Array<string>} [clientIDs] client IDs
|
6037
6135
|
* @param {string} [managerID] manager ID for whose clients we want to list
|
6038
6136
|
* @param {boolean} [isExcluded] is client excluded
|
6137
|
+
* @param {string} [prevToken] This is the pagination token
|
6039
6138
|
* @param {*} [options] Override http request option.
|
6040
6139
|
* @throws {RequiredError}
|
6041
6140
|
*/
|
6042
|
-
listClients: async (nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, isExcluded?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
6141
|
+
listClients: async (nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, isExcluded?: boolean, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
6043
6142
|
const localVarPath = `/admins/clients`;
|
6044
6143
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
6045
6144
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -6080,6 +6179,10 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
6080
6179
|
localVarQueryParameter['isExcluded'] = isExcluded;
|
6081
6180
|
}
|
6082
6181
|
|
6182
|
+
if (prevToken !== undefined) {
|
6183
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
6184
|
+
}
|
6185
|
+
|
6083
6186
|
|
6084
6187
|
|
6085
6188
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -6176,11 +6279,12 @@ export const ClientApiFp = function(configuration?: Configuration) {
|
|
6176
6279
|
* @param {Array<string>} [clientIDs] client IDs
|
6177
6280
|
* @param {string} [managerID] manager ID for whose clients we want to list
|
6178
6281
|
* @param {boolean} [isExcluded] is client excluded
|
6282
|
+
* @param {string} [prevToken] This is the pagination token
|
6179
6283
|
* @param {*} [options] Override http request option.
|
6180
6284
|
* @throws {RequiredError}
|
6181
6285
|
*/
|
6182
|
-
async listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, isExcluded?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>> {
|
6183
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options);
|
6286
|
+
async listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, isExcluded?: boolean, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>> {
|
6287
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options);
|
6184
6288
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6185
6289
|
},
|
6186
6290
|
/**
|
@@ -6234,11 +6338,12 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
6234
6338
|
* @param {Array<string>} [clientIDs] client IDs
|
6235
6339
|
* @param {string} [managerID] manager ID for whose clients we want to list
|
6236
6340
|
* @param {boolean} [isExcluded] is client excluded
|
6341
|
+
* @param {string} [prevToken] This is the pagination token
|
6237
6342
|
* @param {*} [options] Override http request option.
|
6238
6343
|
* @throws {RequiredError}
|
6239
6344
|
*/
|
6240
|
-
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, isExcluded?: boolean, options?: any): AxiosPromise<ClientListResponse> {
|
6241
|
-
return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options).then((request) => request(axios, basePath));
|
6345
|
+
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, isExcluded?: boolean, prevToken?: string, options?: any): AxiosPromise<ClientListResponse> {
|
6346
|
+
return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options).then((request) => request(axios, basePath));
|
6242
6347
|
},
|
6243
6348
|
/**
|
6244
6349
|
* Update client
|
@@ -6294,12 +6399,13 @@ export class ClientApi extends BaseAPI {
|
|
6294
6399
|
* @param {Array<string>} [clientIDs] client IDs
|
6295
6400
|
* @param {string} [managerID] manager ID for whose clients we want to list
|
6296
6401
|
* @param {boolean} [isExcluded] is client excluded
|
6402
|
+
* @param {string} [prevToken] This is the pagination token
|
6297
6403
|
* @param {*} [options] Override http request option.
|
6298
6404
|
* @throws {RequiredError}
|
6299
6405
|
* @memberof ClientApi
|
6300
6406
|
*/
|
6301
|
-
public listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, isExcluded?: boolean, options?: AxiosRequestConfig) {
|
6302
|
-
return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, options).then((request) => request(this.axios, this.basePath));
|
6407
|
+
public listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, managerID?: string, isExcluded?: boolean, prevToken?: string, options?: AxiosRequestConfig) {
|
6408
|
+
return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, managerID, isExcluded, prevToken, options).then((request) => request(this.axios, this.basePath));
|
6303
6409
|
}
|
6304
6410
|
|
6305
6411
|
/**
|
@@ -6369,10 +6475,11 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
|
|
6369
6475
|
* @summary List configurations
|
6370
6476
|
* @param {string} [nextToken] This is the pagination token
|
6371
6477
|
* @param {string} [search] search string
|
6478
|
+
* @param {string} [prevToken] This is the pagination token
|
6372
6479
|
* @param {*} [options] Override http request option.
|
6373
6480
|
* @throws {RequiredError}
|
6374
6481
|
*/
|
6375
|
-
listConfigurations: async (nextToken?: string, search?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
6482
|
+
listConfigurations: async (nextToken?: string, search?: string, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
6376
6483
|
const localVarPath = `/admins/configurations`;
|
6377
6484
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
6378
6485
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -6397,6 +6504,10 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
|
|
6397
6504
|
localVarQueryParameter['search'] = search;
|
6398
6505
|
}
|
6399
6506
|
|
6507
|
+
if (prevToken !== undefined) {
|
6508
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
6509
|
+
}
|
6510
|
+
|
6400
6511
|
|
6401
6512
|
|
6402
6513
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -6502,11 +6613,12 @@ export const ConfigurationApiFp = function(configuration?: Configuration) {
|
|
6502
6613
|
* @summary List configurations
|
6503
6614
|
* @param {string} [nextToken] This is the pagination token
|
6504
6615
|
* @param {string} [search] search string
|
6616
|
+
* @param {string} [prevToken] This is the pagination token
|
6505
6617
|
* @param {*} [options] Override http request option.
|
6506
6618
|
* @throws {RequiredError}
|
6507
6619
|
*/
|
6508
|
-
async listConfigurations(nextToken?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BackofficeConfig>> {
|
6509
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listConfigurations(nextToken, search, options);
|
6620
|
+
async listConfigurations(nextToken?: string, search?: string, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BackofficeConfig>> {
|
6621
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listConfigurations(nextToken, search, prevToken, options);
|
6510
6622
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6511
6623
|
},
|
6512
6624
|
/**
|
@@ -6554,11 +6666,12 @@ export const ConfigurationApiFactory = function (configuration?: Configuration,
|
|
6554
6666
|
* @summary List configurations
|
6555
6667
|
* @param {string} [nextToken] This is the pagination token
|
6556
6668
|
* @param {string} [search] search string
|
6669
|
+
* @param {string} [prevToken] This is the pagination token
|
6557
6670
|
* @param {*} [options] Override http request option.
|
6558
6671
|
* @throws {RequiredError}
|
6559
6672
|
*/
|
6560
|
-
listConfigurations(nextToken?: string, search?: string, options?: any): AxiosPromise<BackofficeConfig> {
|
6561
|
-
return localVarFp.listConfigurations(nextToken, search, options).then((request) => request(axios, basePath));
|
6673
|
+
listConfigurations(nextToken?: string, search?: string, prevToken?: string, options?: any): AxiosPromise<BackofficeConfig> {
|
6674
|
+
return localVarFp.listConfigurations(nextToken, search, prevToken, options).then((request) => request(axios, basePath));
|
6562
6675
|
},
|
6563
6676
|
/**
|
6564
6677
|
* List all features
|
@@ -6605,12 +6718,13 @@ export class ConfigurationApi extends BaseAPI {
|
|
6605
6718
|
* @summary List configurations
|
6606
6719
|
* @param {string} [nextToken] This is the pagination token
|
6607
6720
|
* @param {string} [search] search string
|
6721
|
+
* @param {string} [prevToken] This is the pagination token
|
6608
6722
|
* @param {*} [options] Override http request option.
|
6609
6723
|
* @throws {RequiredError}
|
6610
6724
|
* @memberof ConfigurationApi
|
6611
6725
|
*/
|
6612
|
-
public listConfigurations(nextToken?: string, search?: string, options?: AxiosRequestConfig) {
|
6613
|
-
return ConfigurationApiFp(this.configuration).listConfigurations(nextToken, search, options).then((request) => request(this.axios, this.basePath));
|
6726
|
+
public listConfigurations(nextToken?: string, search?: string, prevToken?: string, options?: AxiosRequestConfig) {
|
6727
|
+
return ConfigurationApiFp(this.configuration).listConfigurations(nextToken, search, prevToken, options).then((request) => request(this.axios, this.basePath));
|
6614
6728
|
}
|
6615
6729
|
|
6616
6730
|
/**
|
@@ -7402,10 +7516,11 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
7402
7516
|
* @summary List notifications
|
7403
7517
|
* @param {string} [nextToken] This is the pagination token
|
7404
7518
|
* @param {NotificationStatus} [status] Notification status
|
7519
|
+
* @param {string} [prevToken] This is the pagination token
|
7405
7520
|
* @param {*} [options] Override http request option.
|
7406
7521
|
* @throws {RequiredError}
|
7407
7522
|
*/
|
7408
|
-
listNotifications: async (nextToken?: string, status?: NotificationStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
7523
|
+
listNotifications: async (nextToken?: string, status?: NotificationStatus, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
7409
7524
|
const localVarPath = `/users/notifications`;
|
7410
7525
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
7411
7526
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -7430,6 +7545,10 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
7430
7545
|
localVarQueryParameter['status'] = status;
|
7431
7546
|
}
|
7432
7547
|
|
7548
|
+
if (prevToken !== undefined) {
|
7549
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
7550
|
+
}
|
7551
|
+
|
7433
7552
|
|
7434
7553
|
|
7435
7554
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -7616,11 +7735,12 @@ export const NotificationApiFp = function(configuration?: Configuration) {
|
|
7616
7735
|
* @summary List notifications
|
7617
7736
|
* @param {string} [nextToken] This is the pagination token
|
7618
7737
|
* @param {NotificationStatus} [status] Notification status
|
7738
|
+
* @param {string} [prevToken] This is the pagination token
|
7619
7739
|
* @param {*} [options] Override http request option.
|
7620
7740
|
* @throws {RequiredError}
|
7621
7741
|
*/
|
7622
|
-
async listNotifications(nextToken?: string, status?: NotificationStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationListResponse>> {
|
7623
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listNotifications(nextToken, status, options);
|
7742
|
+
async listNotifications(nextToken?: string, status?: NotificationStatus, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationListResponse>> {
|
7743
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listNotifications(nextToken, status, prevToken, options);
|
7624
7744
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
7625
7745
|
},
|
7626
7746
|
/**
|
@@ -7709,11 +7829,12 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
|
|
7709
7829
|
* @summary List notifications
|
7710
7830
|
* @param {string} [nextToken] This is the pagination token
|
7711
7831
|
* @param {NotificationStatus} [status] Notification status
|
7832
|
+
* @param {string} [prevToken] This is the pagination token
|
7712
7833
|
* @param {*} [options] Override http request option.
|
7713
7834
|
* @throws {RequiredError}
|
7714
7835
|
*/
|
7715
|
-
listNotifications(nextToken?: string, status?: NotificationStatus, options?: any): AxiosPromise<NotificationListResponse> {
|
7716
|
-
return localVarFp.listNotifications(nextToken, status, options).then((request) => request(axios, basePath));
|
7836
|
+
listNotifications(nextToken?: string, status?: NotificationStatus, prevToken?: string, options?: any): AxiosPromise<NotificationListResponse> {
|
7837
|
+
return localVarFp.listNotifications(nextToken, status, prevToken, options).then((request) => request(axios, basePath));
|
7717
7838
|
},
|
7718
7839
|
/**
|
7719
7840
|
* Update notification by ID
|
@@ -7806,12 +7927,13 @@ export class NotificationApi extends BaseAPI {
|
|
7806
7927
|
* @summary List notifications
|
7807
7928
|
* @param {string} [nextToken] This is the pagination token
|
7808
7929
|
* @param {NotificationStatus} [status] Notification status
|
7930
|
+
* @param {string} [prevToken] This is the pagination token
|
7809
7931
|
* @param {*} [options] Override http request option.
|
7810
7932
|
* @throws {RequiredError}
|
7811
7933
|
* @memberof NotificationApi
|
7812
7934
|
*/
|
7813
|
-
public listNotifications(nextToken?: string, status?: NotificationStatus, options?: AxiosRequestConfig) {
|
7814
|
-
return NotificationApiFp(this.configuration).listNotifications(nextToken, status, options).then((request) => request(this.axios, this.basePath));
|
7935
|
+
public listNotifications(nextToken?: string, status?: NotificationStatus, prevToken?: string, options?: AxiosRequestConfig) {
|
7936
|
+
return NotificationApiFp(this.configuration).listNotifications(nextToken, status, prevToken, options).then((request) => request(this.axios, this.basePath));
|
7815
7937
|
}
|
7816
7938
|
|
7817
7939
|
/**
|
@@ -8014,7 +8136,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
8014
8136
|
/**
|
8015
8137
|
* List existing orders
|
8016
8138
|
* @summary List existing orders
|
8017
|
-
* @param {string} [
|
8139
|
+
* @param {string} [nextToken] This is the pagination token
|
8018
8140
|
* @param {string} [search] Search for product or order
|
8019
8141
|
* @param {string} [productId] Filter by token
|
8020
8142
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
@@ -8024,10 +8146,11 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
8024
8146
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
8025
8147
|
* @param {OrderKind} [kind] Filter by kind
|
8026
8148
|
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
8149
|
+
* @param {string} [prevToken] This is the pagination token
|
8027
8150
|
* @param {*} [options] Override http request option.
|
8028
8151
|
* @throws {RequiredError}
|
8029
8152
|
*/
|
8030
|
-
listOrders: async (
|
8153
|
+
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, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8031
8154
|
const localVarPath = `/admins/orders`;
|
8032
8155
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8033
8156
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -8044,8 +8167,8 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
8044
8167
|
// http bearer authentication required
|
8045
8168
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8046
8169
|
|
8047
|
-
if (
|
8048
|
-
localVarQueryParameter['
|
8170
|
+
if (nextToken !== undefined) {
|
8171
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
8049
8172
|
}
|
8050
8173
|
|
8051
8174
|
if (search !== undefined) {
|
@@ -8088,6 +8211,10 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
8088
8211
|
localVarQueryParameter['source'] = source;
|
8089
8212
|
}
|
8090
8213
|
|
8214
|
+
if (prevToken !== undefined) {
|
8215
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
8216
|
+
}
|
8217
|
+
|
8091
8218
|
|
8092
8219
|
|
8093
8220
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -8102,17 +8229,18 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
8102
8229
|
/**
|
8103
8230
|
* List existing orders
|
8104
8231
|
* @summary List existing orders
|
8105
|
-
* @param {string} [
|
8232
|
+
* @param {string} [nextToken] This is the pagination token
|
8106
8233
|
* @param {string} [search] Search for product or order
|
8107
8234
|
* @param {string} [productID] Filter by token
|
8108
8235
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
8109
8236
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
8110
8237
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
8111
8238
|
* @param {Array<string>} [userIDs] Filter by user ids
|
8239
|
+
* @param {string} [prevToken] This is the pagination token
|
8112
8240
|
* @param {*} [options] Override http request option.
|
8113
8241
|
* @throws {RequiredError}
|
8114
8242
|
*/
|
8115
|
-
listOrdersUser: async (
|
8243
|
+
listOrdersUser: async (nextToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8116
8244
|
const localVarPath = `/users/orders`;
|
8117
8245
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8118
8246
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -8129,8 +8257,8 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
8129
8257
|
// http bearer authentication required
|
8130
8258
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8131
8259
|
|
8132
|
-
if (
|
8133
|
-
localVarQueryParameter['
|
8260
|
+
if (nextToken !== undefined) {
|
8261
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
8134
8262
|
}
|
8135
8263
|
|
8136
8264
|
if (search !== undefined) {
|
@@ -8161,6 +8289,10 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
|
|
8161
8289
|
localVarQueryParameter['userIDs'] = userIDs;
|
8162
8290
|
}
|
8163
8291
|
|
8292
|
+
if (prevToken !== undefined) {
|
8293
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
8294
|
+
}
|
8295
|
+
|
8164
8296
|
|
8165
8297
|
|
8166
8298
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -8229,7 +8361,7 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
8229
8361
|
/**
|
8230
8362
|
* List existing orders
|
8231
8363
|
* @summary List existing orders
|
8232
|
-
* @param {string} [
|
8364
|
+
* @param {string} [nextToken] This is the pagination token
|
8233
8365
|
* @param {string} [search] Search for product or order
|
8234
8366
|
* @param {string} [productId] Filter by token
|
8235
8367
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
@@ -8239,28 +8371,30 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
8239
8371
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
8240
8372
|
* @param {OrderKind} [kind] Filter by kind
|
8241
8373
|
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
8374
|
+
* @param {string} [prevToken] This is the pagination token
|
8242
8375
|
* @param {*} [options] Override http request option.
|
8243
8376
|
* @throws {RequiredError}
|
8244
8377
|
*/
|
8245
|
-
async listOrders(
|
8246
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(
|
8378
|
+
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, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
|
8379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options);
|
8247
8380
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8248
8381
|
},
|
8249
8382
|
/**
|
8250
8383
|
* List existing orders
|
8251
8384
|
* @summary List existing orders
|
8252
|
-
* @param {string} [
|
8385
|
+
* @param {string} [nextToken] This is the pagination token
|
8253
8386
|
* @param {string} [search] Search for product or order
|
8254
8387
|
* @param {string} [productID] Filter by token
|
8255
8388
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
8256
8389
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
8257
8390
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
8258
8391
|
* @param {Array<string>} [userIDs] Filter by user ids
|
8392
|
+
* @param {string} [prevToken] This is the pagination token
|
8259
8393
|
* @param {*} [options] Override http request option.
|
8260
8394
|
* @throws {RequiredError}
|
8261
8395
|
*/
|
8262
|
-
async listOrdersUser(
|
8263
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrdersUser(
|
8396
|
+
async listOrdersUser(nextToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOrderListResponse>> {
|
8397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options);
|
8264
8398
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
8265
8399
|
},
|
8266
8400
|
}
|
@@ -8316,7 +8450,7 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
|
|
8316
8450
|
/**
|
8317
8451
|
* List existing orders
|
8318
8452
|
* @summary List existing orders
|
8319
|
-
* @param {string} [
|
8453
|
+
* @param {string} [nextToken] This is the pagination token
|
8320
8454
|
* @param {string} [search] Search for product or order
|
8321
8455
|
* @param {string} [productId] Filter by token
|
8322
8456
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
@@ -8326,27 +8460,29 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
|
|
8326
8460
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
8327
8461
|
* @param {OrderKind} [kind] Filter by kind
|
8328
8462
|
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
8463
|
+
* @param {string} [prevToken] This is the pagination token
|
8329
8464
|
* @param {*} [options] Override http request option.
|
8330
8465
|
* @throws {RequiredError}
|
8331
8466
|
*/
|
8332
|
-
listOrders(
|
8333
|
-
return localVarFp.listOrders(
|
8467
|
+
listOrders(nextToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, kind?: OrderKind, source?: string, prevToken?: string, options?: any): AxiosPromise<OrderListResponse> {
|
8468
|
+
return localVarFp.listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options).then((request) => request(axios, basePath));
|
8334
8469
|
},
|
8335
8470
|
/**
|
8336
8471
|
* List existing orders
|
8337
8472
|
* @summary List existing orders
|
8338
|
-
* @param {string} [
|
8473
|
+
* @param {string} [nextToken] This is the pagination token
|
8339
8474
|
* @param {string} [search] Search for product or order
|
8340
8475
|
* @param {string} [productID] Filter by token
|
8341
8476
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
8342
8477
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
8343
8478
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
8344
8479
|
* @param {Array<string>} [userIDs] Filter by user ids
|
8480
|
+
* @param {string} [prevToken] This is the pagination token
|
8345
8481
|
* @param {*} [options] Override http request option.
|
8346
8482
|
* @throws {RequiredError}
|
8347
8483
|
*/
|
8348
|
-
listOrdersUser(
|
8349
|
-
return localVarFp.listOrdersUser(
|
8484
|
+
listOrdersUser(nextToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, prevToken?: string, options?: any): AxiosPromise<UserOrderListResponse> {
|
8485
|
+
return localVarFp.listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options).then((request) => request(axios, basePath));
|
8350
8486
|
},
|
8351
8487
|
};
|
8352
8488
|
};
|
@@ -8409,7 +8545,7 @@ export class OrderApi extends BaseAPI {
|
|
8409
8545
|
/**
|
8410
8546
|
* List existing orders
|
8411
8547
|
* @summary List existing orders
|
8412
|
-
* @param {string} [
|
8548
|
+
* @param {string} [nextToken] This is the pagination token
|
8413
8549
|
* @param {string} [search] Search for product or order
|
8414
8550
|
* @param {string} [productId] Filter by token
|
8415
8551
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
@@ -8419,30 +8555,32 @@ export class OrderApi extends BaseAPI {
|
|
8419
8555
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
8420
8556
|
* @param {OrderKind} [kind] Filter by kind
|
8421
8557
|
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
8558
|
+
* @param {string} [prevToken] This is the pagination token
|
8422
8559
|
* @param {*} [options] Override http request option.
|
8423
8560
|
* @throws {RequiredError}
|
8424
8561
|
* @memberof OrderApi
|
8425
8562
|
*/
|
8426
|
-
public listOrders(
|
8427
|
-
return OrderApiFp(this.configuration).listOrders(
|
8563
|
+
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, prevToken?: string, options?: AxiosRequestConfig) {
|
8564
|
+
return OrderApiFp(this.configuration).listOrders(nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, prevToken, options).then((request) => request(this.axios, this.basePath));
|
8428
8565
|
}
|
8429
8566
|
|
8430
8567
|
/**
|
8431
8568
|
* List existing orders
|
8432
8569
|
* @summary List existing orders
|
8433
|
-
* @param {string} [
|
8570
|
+
* @param {string} [nextToken] This is the pagination token
|
8434
8571
|
* @param {string} [search] Search for product or order
|
8435
8572
|
* @param {string} [productID] Filter by token
|
8436
8573
|
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
8437
8574
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
8438
8575
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
8439
8576
|
* @param {Array<string>} [userIDs] Filter by user ids
|
8577
|
+
* @param {string} [prevToken] This is the pagination token
|
8440
8578
|
* @param {*} [options] Override http request option.
|
8441
8579
|
* @throws {RequiredError}
|
8442
8580
|
* @memberof OrderApi
|
8443
8581
|
*/
|
8444
|
-
public listOrdersUser(
|
8445
|
-
return OrderApiFp(this.configuration).listOrdersUser(
|
8582
|
+
public listOrdersUser(nextToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig) {
|
8583
|
+
return OrderApiFp(this.configuration).listOrdersUser(nextToken, search, productID, balanceIDs, createdAfter, createdBefore, userIDs, prevToken, options).then((request) => request(this.axios, this.basePath));
|
8446
8584
|
}
|
8447
8585
|
}
|
8448
8586
|
|
@@ -8725,10 +8863,11 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
8725
8863
|
* @summary List existing product requests
|
8726
8864
|
* @param {ProductRequestStatus} [status] The product request status
|
8727
8865
|
* @param {string} [nextToken] This is the pagination token
|
8866
|
+
* @param {string} [prevToken] This is the pagination token
|
8728
8867
|
* @param {*} [options] Override http request option.
|
8729
8868
|
* @throws {RequiredError}
|
8730
8869
|
*/
|
8731
|
-
listProductRequests: async (status?: ProductRequestStatus, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8870
|
+
listProductRequests: async (status?: ProductRequestStatus, nextToken?: string, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8732
8871
|
const localVarPath = `/admins/products/requests`;
|
8733
8872
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8734
8873
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -8753,6 +8892,10 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
8753
8892
|
localVarQueryParameter['nextToken'] = nextToken;
|
8754
8893
|
}
|
8755
8894
|
|
8895
|
+
if (prevToken !== undefined) {
|
8896
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
8897
|
+
}
|
8898
|
+
|
8756
8899
|
|
8757
8900
|
|
8758
8901
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -8776,10 +8919,11 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
8776
8919
|
* @param {string} [segmentID] The segment ID
|
8777
8920
|
* @param {string} [nextToken] This is the pagination token
|
8778
8921
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
8922
|
+
* @param {string} [prevToken] This is the pagination token
|
8779
8923
|
* @param {*} [options] Override http request option.
|
8780
8924
|
* @throws {RequiredError}
|
8781
8925
|
*/
|
8782
|
-
listProducts: async (kind?: ProductKind, categoryID?: string, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, ids?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8926
|
+
listProducts: async (kind?: ProductKind, categoryID?: string, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, ids?: Array<string>, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8783
8927
|
const localVarPath = `/admins/products`;
|
8784
8928
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8785
8929
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -8832,6 +8976,10 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
8832
8976
|
localVarQueryParameter['ids'] = ids;
|
8833
8977
|
}
|
8834
8978
|
|
8979
|
+
if (prevToken !== undefined) {
|
8980
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
8981
|
+
}
|
8982
|
+
|
8835
8983
|
|
8836
8984
|
|
8837
8985
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -8847,10 +8995,11 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
8847
8995
|
* List product requests
|
8848
8996
|
* @summary List product requests
|
8849
8997
|
* @param {string} [nextToken] This is the pagination token
|
8998
|
+
* @param {string} [prevToken] This is the pagination token
|
8850
8999
|
* @param {*} [options] Override http request option.
|
8851
9000
|
* @throws {RequiredError}
|
8852
9001
|
*/
|
8853
|
-
listUserProductRequests: async (nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
9002
|
+
listUserProductRequests: async (nextToken?: string, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8854
9003
|
const localVarPath = `/users/products/requests`;
|
8855
9004
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8856
9005
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -8871,6 +9020,10 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
8871
9020
|
localVarQueryParameter['nextToken'] = nextToken;
|
8872
9021
|
}
|
8873
9022
|
|
9023
|
+
if (prevToken !== undefined) {
|
9024
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
9025
|
+
}
|
9026
|
+
|
8874
9027
|
|
8875
9028
|
|
8876
9029
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -8891,10 +9044,11 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
8891
9044
|
* @param {string} [search] search string
|
8892
9045
|
* @param {ProductAvailability} [availability] The product availability
|
8893
9046
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
9047
|
+
* @param {string} [prevToken] This is the pagination token
|
8894
9048
|
* @param {*} [options] Override http request option.
|
8895
9049
|
* @throws {RequiredError}
|
8896
9050
|
*/
|
8897
|
-
listUserProducts: async (kind?: ProductKind, nextToken?: string, categoryID?: string, search?: string, availability?: ProductAvailability, ids?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
9051
|
+
listUserProducts: async (kind?: ProductKind, nextToken?: string, categoryID?: string, search?: string, availability?: ProductAvailability, ids?: Array<string>, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
8898
9052
|
const localVarPath = `/users/products`;
|
8899
9053
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
8900
9054
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -8935,6 +9089,10 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
|
|
8935
9089
|
localVarQueryParameter['ids'] = ids;
|
8936
9090
|
}
|
8937
9091
|
|
9092
|
+
if (prevToken !== undefined) {
|
9093
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
9094
|
+
}
|
9095
|
+
|
8938
9096
|
|
8939
9097
|
|
8940
9098
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -9080,11 +9238,12 @@ export const ProductApiFp = function(configuration?: Configuration) {
|
|
9080
9238
|
* @summary List existing product requests
|
9081
9239
|
* @param {ProductRequestStatus} [status] The product request status
|
9082
9240
|
* @param {string} [nextToken] This is the pagination token
|
9241
|
+
* @param {string} [prevToken] This is the pagination token
|
9083
9242
|
* @param {*} [options] Override http request option.
|
9084
9243
|
* @throws {RequiredError}
|
9085
9244
|
*/
|
9086
|
-
async listProductRequests(status?: ProductRequestStatus, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequestsResponse>> {
|
9087
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductRequests(status, nextToken, options);
|
9245
|
+
async listProductRequests(status?: ProductRequestStatus, nextToken?: string, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequestsResponse>> {
|
9246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductRequests(status, nextToken, prevToken, options);
|
9088
9247
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
9089
9248
|
},
|
9090
9249
|
/**
|
@@ -9099,22 +9258,24 @@ export const ProductApiFp = function(configuration?: Configuration) {
|
|
9099
9258
|
* @param {string} [segmentID] The segment ID
|
9100
9259
|
* @param {string} [nextToken] This is the pagination token
|
9101
9260
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
9261
|
+
* @param {string} [prevToken] This is the pagination token
|
9102
9262
|
* @param {*} [options] Override http request option.
|
9103
9263
|
* @throws {RequiredError}
|
9104
9264
|
*/
|
9105
|
-
async listProducts(kind?: ProductKind, categoryID?: string, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, ids?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>> {
|
9106
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options);
|
9265
|
+
async listProducts(kind?: ProductKind, categoryID?: string, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, ids?: Array<string>, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>> {
|
9266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options);
|
9107
9267
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
9108
9268
|
},
|
9109
9269
|
/**
|
9110
9270
|
* List product requests
|
9111
9271
|
* @summary List product requests
|
9112
9272
|
* @param {string} [nextToken] This is the pagination token
|
9273
|
+
* @param {string} [prevToken] This is the pagination token
|
9113
9274
|
* @param {*} [options] Override http request option.
|
9114
9275
|
* @throws {RequiredError}
|
9115
9276
|
*/
|
9116
|
-
async listUserProductRequests(nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequestsResponse>> {
|
9117
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProductRequests(nextToken, options);
|
9277
|
+
async listUserProductRequests(nextToken?: string, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequestsResponse>> {
|
9278
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProductRequests(nextToken, prevToken, options);
|
9118
9279
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
9119
9280
|
},
|
9120
9281
|
/**
|
@@ -9126,11 +9287,12 @@ export const ProductApiFp = function(configuration?: Configuration) {
|
|
9126
9287
|
* @param {string} [search] search string
|
9127
9288
|
* @param {ProductAvailability} [availability] The product availability
|
9128
9289
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
9290
|
+
* @param {string} [prevToken] This is the pagination token
|
9129
9291
|
* @param {*} [options] Override http request option.
|
9130
9292
|
* @throws {RequiredError}
|
9131
9293
|
*/
|
9132
|
-
async listUserProducts(kind?: ProductKind, nextToken?: string, categoryID?: string, search?: string, availability?: ProductAvailability, ids?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>> {
|
9133
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProducts(kind, nextToken, categoryID, search, availability, ids, options);
|
9294
|
+
async listUserProducts(kind?: ProductKind, nextToken?: string, categoryID?: string, search?: string, availability?: ProductAvailability, ids?: Array<string>, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>> {
|
9295
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options);
|
9134
9296
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
9135
9297
|
},
|
9136
9298
|
/**
|
@@ -9230,11 +9392,12 @@ export const ProductApiFactory = function (configuration?: Configuration, basePa
|
|
9230
9392
|
* @summary List existing product requests
|
9231
9393
|
* @param {ProductRequestStatus} [status] The product request status
|
9232
9394
|
* @param {string} [nextToken] This is the pagination token
|
9395
|
+
* @param {string} [prevToken] This is the pagination token
|
9233
9396
|
* @param {*} [options] Override http request option.
|
9234
9397
|
* @throws {RequiredError}
|
9235
9398
|
*/
|
9236
|
-
listProductRequests(status?: ProductRequestStatus, nextToken?: string, options?: any): AxiosPromise<ProductRequestsResponse> {
|
9237
|
-
return localVarFp.listProductRequests(status, nextToken, options).then((request) => request(axios, basePath));
|
9399
|
+
listProductRequests(status?: ProductRequestStatus, nextToken?: string, prevToken?: string, options?: any): AxiosPromise<ProductRequestsResponse> {
|
9400
|
+
return localVarFp.listProductRequests(status, nextToken, prevToken, options).then((request) => request(axios, basePath));
|
9238
9401
|
},
|
9239
9402
|
/**
|
9240
9403
|
* List existing products
|
@@ -9248,21 +9411,23 @@ export const ProductApiFactory = function (configuration?: Configuration, basePa
|
|
9248
9411
|
* @param {string} [segmentID] The segment ID
|
9249
9412
|
* @param {string} [nextToken] This is the pagination token
|
9250
9413
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
9414
|
+
* @param {string} [prevToken] This is the pagination token
|
9251
9415
|
* @param {*} [options] Override http request option.
|
9252
9416
|
* @throws {RequiredError}
|
9253
9417
|
*/
|
9254
|
-
listProducts(kind?: ProductKind, categoryID?: string, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, ids?: Array<string>, options?: any): AxiosPromise<ProductsResponse> {
|
9255
|
-
return localVarFp.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options).then((request) => request(axios, basePath));
|
9418
|
+
listProducts(kind?: ProductKind, categoryID?: string, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, ids?: Array<string>, prevToken?: string, options?: any): AxiosPromise<ProductsResponse> {
|
9419
|
+
return localVarFp.listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options).then((request) => request(axios, basePath));
|
9256
9420
|
},
|
9257
9421
|
/**
|
9258
9422
|
* List product requests
|
9259
9423
|
* @summary List product requests
|
9260
9424
|
* @param {string} [nextToken] This is the pagination token
|
9425
|
+
* @param {string} [prevToken] This is the pagination token
|
9261
9426
|
* @param {*} [options] Override http request option.
|
9262
9427
|
* @throws {RequiredError}
|
9263
9428
|
*/
|
9264
|
-
listUserProductRequests(nextToken?: string, options?: any): AxiosPromise<ProductRequestsResponse> {
|
9265
|
-
return localVarFp.listUserProductRequests(nextToken, options).then((request) => request(axios, basePath));
|
9429
|
+
listUserProductRequests(nextToken?: string, prevToken?: string, options?: any): AxiosPromise<ProductRequestsResponse> {
|
9430
|
+
return localVarFp.listUserProductRequests(nextToken, prevToken, options).then((request) => request(axios, basePath));
|
9266
9431
|
},
|
9267
9432
|
/**
|
9268
9433
|
* List existing products for the user
|
@@ -9273,11 +9438,12 @@ export const ProductApiFactory = function (configuration?: Configuration, basePa
|
|
9273
9438
|
* @param {string} [search] search string
|
9274
9439
|
* @param {ProductAvailability} [availability] The product availability
|
9275
9440
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
9441
|
+
* @param {string} [prevToken] This is the pagination token
|
9276
9442
|
* @param {*} [options] Override http request option.
|
9277
9443
|
* @throws {RequiredError}
|
9278
9444
|
*/
|
9279
|
-
listUserProducts(kind?: ProductKind, nextToken?: string, categoryID?: string, search?: string, availability?: ProductAvailability, ids?: Array<string>, options?: any): AxiosPromise<ProductsResponse> {
|
9280
|
-
return localVarFp.listUserProducts(kind, nextToken, categoryID, search, availability, ids, options).then((request) => request(axios, basePath));
|
9445
|
+
listUserProducts(kind?: ProductKind, nextToken?: string, categoryID?: string, search?: string, availability?: ProductAvailability, ids?: Array<string>, prevToken?: string, options?: any): AxiosPromise<ProductsResponse> {
|
9446
|
+
return localVarFp.listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options).then((request) => request(axios, basePath));
|
9281
9447
|
},
|
9282
9448
|
/**
|
9283
9449
|
* Update a product by id
|
@@ -9389,12 +9555,13 @@ export class ProductApi extends BaseAPI {
|
|
9389
9555
|
* @summary List existing product requests
|
9390
9556
|
* @param {ProductRequestStatus} [status] The product request status
|
9391
9557
|
* @param {string} [nextToken] This is the pagination token
|
9558
|
+
* @param {string} [prevToken] This is the pagination token
|
9392
9559
|
* @param {*} [options] Override http request option.
|
9393
9560
|
* @throws {RequiredError}
|
9394
9561
|
* @memberof ProductApi
|
9395
9562
|
*/
|
9396
|
-
public listProductRequests(status?: ProductRequestStatus, nextToken?: string, options?: AxiosRequestConfig) {
|
9397
|
-
return ProductApiFp(this.configuration).listProductRequests(status, nextToken, options).then((request) => request(this.axios, this.basePath));
|
9563
|
+
public listProductRequests(status?: ProductRequestStatus, nextToken?: string, prevToken?: string, options?: AxiosRequestConfig) {
|
9564
|
+
return ProductApiFp(this.configuration).listProductRequests(status, nextToken, prevToken, options).then((request) => request(this.axios, this.basePath));
|
9398
9565
|
}
|
9399
9566
|
|
9400
9567
|
/**
|
@@ -9409,24 +9576,26 @@ export class ProductApi extends BaseAPI {
|
|
9409
9576
|
* @param {string} [segmentID] The segment ID
|
9410
9577
|
* @param {string} [nextToken] This is the pagination token
|
9411
9578
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
9579
|
+
* @param {string} [prevToken] This is the pagination token
|
9412
9580
|
* @param {*} [options] Override http request option.
|
9413
9581
|
* @throws {RequiredError}
|
9414
9582
|
* @memberof ProductApi
|
9415
9583
|
*/
|
9416
|
-
public listProducts(kind?: ProductKind, categoryID?: string, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, ids?: Array<string>, options?: AxiosRequestConfig) {
|
9417
|
-
return ProductApiFp(this.configuration).listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, options).then((request) => request(this.axios, this.basePath));
|
9584
|
+
public listProducts(kind?: ProductKind, categoryID?: string, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, ids?: Array<string>, prevToken?: string, options?: AxiosRequestConfig) {
|
9585
|
+
return ProductApiFp(this.configuration).listProducts(kind, categoryID, search, usage, status, availability, segmentID, nextToken, ids, prevToken, options).then((request) => request(this.axios, this.basePath));
|
9418
9586
|
}
|
9419
9587
|
|
9420
9588
|
/**
|
9421
9589
|
* List product requests
|
9422
9590
|
* @summary List product requests
|
9423
9591
|
* @param {string} [nextToken] This is the pagination token
|
9592
|
+
* @param {string} [prevToken] This is the pagination token
|
9424
9593
|
* @param {*} [options] Override http request option.
|
9425
9594
|
* @throws {RequiredError}
|
9426
9595
|
* @memberof ProductApi
|
9427
9596
|
*/
|
9428
|
-
public listUserProductRequests(nextToken?: string, options?: AxiosRequestConfig) {
|
9429
|
-
return ProductApiFp(this.configuration).listUserProductRequests(nextToken, options).then((request) => request(this.axios, this.basePath));
|
9597
|
+
public listUserProductRequests(nextToken?: string, prevToken?: string, options?: AxiosRequestConfig) {
|
9598
|
+
return ProductApiFp(this.configuration).listUserProductRequests(nextToken, prevToken, options).then((request) => request(this.axios, this.basePath));
|
9430
9599
|
}
|
9431
9600
|
|
9432
9601
|
/**
|
@@ -9438,12 +9607,13 @@ export class ProductApi extends BaseAPI {
|
|
9438
9607
|
* @param {string} [search] search string
|
9439
9608
|
* @param {ProductAvailability} [availability] The product availability
|
9440
9609
|
* @param {Array<string>} [ids] This a list of ids to filter by
|
9610
|
+
* @param {string} [prevToken] This is the pagination token
|
9441
9611
|
* @param {*} [options] Override http request option.
|
9442
9612
|
* @throws {RequiredError}
|
9443
9613
|
* @memberof ProductApi
|
9444
9614
|
*/
|
9445
|
-
public listUserProducts(kind?: ProductKind, nextToken?: string, categoryID?: string, search?: string, availability?: ProductAvailability, ids?: Array<string>, options?: AxiosRequestConfig) {
|
9446
|
-
return ProductApiFp(this.configuration).listUserProducts(kind, nextToken, categoryID, search, availability, ids, options).then((request) => request(this.axios, this.basePath));
|
9615
|
+
public listUserProducts(kind?: ProductKind, nextToken?: string, categoryID?: string, search?: string, availability?: ProductAvailability, ids?: Array<string>, prevToken?: string, options?: AxiosRequestConfig) {
|
9616
|
+
return ProductApiFp(this.configuration).listUserProducts(kind, nextToken, categoryID, search, availability, ids, prevToken, options).then((request) => request(this.axios, this.basePath));
|
9447
9617
|
}
|
9448
9618
|
|
9449
9619
|
/**
|
@@ -9478,10 +9648,11 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
|
|
9478
9648
|
* @param {ProgressInterval} [interval] Interval
|
9479
9649
|
* @param {string} [nextToken] This is the pagination token
|
9480
9650
|
* @param {ProgressStateAggregation} [state] Progress state
|
9651
|
+
* @param {string} [prevToken] This is the pagination token
|
9481
9652
|
* @param {*} [options] Override http request option.
|
9482
9653
|
* @throws {RequiredError}
|
9483
9654
|
*/
|
9484
|
-
listProgress: async (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
9655
|
+
listProgress: async (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
9485
9656
|
// verify required parameter 'promotionIDs' is not null or undefined
|
9486
9657
|
assertParamExists('listProgress', 'promotionIDs', promotionIDs)
|
9487
9658
|
const localVarPath = `/admins/progress`;
|
@@ -9528,6 +9699,10 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
|
|
9528
9699
|
localVarQueryParameter['state'] = state;
|
9529
9700
|
}
|
9530
9701
|
|
9702
|
+
if (prevToken !== undefined) {
|
9703
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
9704
|
+
}
|
9705
|
+
|
9531
9706
|
|
9532
9707
|
|
9533
9708
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -9546,10 +9721,11 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
|
|
9546
9721
|
* @param {number} [periodID] Period ID
|
9547
9722
|
* @param {string} [nextToken] This is the pagination token
|
9548
9723
|
* @param {ProgressStateAggregation} [state] Progress state
|
9724
|
+
* @param {string} [prevToken] This is the pagination token
|
9549
9725
|
* @param {*} [options] Override http request option.
|
9550
9726
|
* @throws {RequiredError}
|
9551
9727
|
*/
|
9552
|
-
listUserProgress: async (promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
9728
|
+
listUserProgress: async (promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
9553
9729
|
// verify required parameter 'promotionIDs' is not null or undefined
|
9554
9730
|
assertParamExists('listUserProgress', 'promotionIDs', promotionIDs)
|
9555
9731
|
const localVarPath = `/users/progress`;
|
@@ -9584,6 +9760,10 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
|
|
9584
9760
|
localVarQueryParameter['state'] = state;
|
9585
9761
|
}
|
9586
9762
|
|
9763
|
+
if (prevToken !== undefined) {
|
9764
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
9765
|
+
}
|
9766
|
+
|
9587
9767
|
|
9588
9768
|
|
9589
9769
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -9615,11 +9795,12 @@ export const ProgressApiFp = function(configuration?: Configuration) {
|
|
9615
9795
|
* @param {ProgressInterval} [interval] Interval
|
9616
9796
|
* @param {string} [nextToken] This is the pagination token
|
9617
9797
|
* @param {ProgressStateAggregation} [state] Progress state
|
9798
|
+
* @param {string} [prevToken] This is the pagination token
|
9618
9799
|
* @param {*} [options] Override http request option.
|
9619
9800
|
* @throws {RequiredError}
|
9620
9801
|
*/
|
9621
|
-
async listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
|
9622
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options);
|
9802
|
+
async listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
|
9803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options);
|
9623
9804
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
9624
9805
|
},
|
9625
9806
|
/**
|
@@ -9629,11 +9810,12 @@ export const ProgressApiFp = function(configuration?: Configuration) {
|
|
9629
9810
|
* @param {number} [periodID] Period ID
|
9630
9811
|
* @param {string} [nextToken] This is the pagination token
|
9631
9812
|
* @param {ProgressStateAggregation} [state] Progress state
|
9813
|
+
* @param {string} [prevToken] This is the pagination token
|
9632
9814
|
* @param {*} [options] Override http request option.
|
9633
9815
|
* @throws {RequiredError}
|
9634
9816
|
*/
|
9635
|
-
async listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
|
9636
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, options);
|
9817
|
+
async listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
|
9818
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options);
|
9637
9819
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
9638
9820
|
},
|
9639
9821
|
}
|
@@ -9656,11 +9838,12 @@ export const ProgressApiFactory = function (configuration?: Configuration, baseP
|
|
9656
9838
|
* @param {ProgressInterval} [interval] Interval
|
9657
9839
|
* @param {string} [nextToken] This is the pagination token
|
9658
9840
|
* @param {ProgressStateAggregation} [state] Progress state
|
9841
|
+
* @param {string} [prevToken] This is the pagination token
|
9659
9842
|
* @param {*} [options] Override http request option.
|
9660
9843
|
* @throws {RequiredError}
|
9661
9844
|
*/
|
9662
|
-
listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: any): AxiosPromise<ProgressResponse> {
|
9663
|
-
return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(axios, basePath));
|
9845
|
+
listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, prevToken?: string, options?: any): AxiosPromise<ProgressResponse> {
|
9846
|
+
return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options).then((request) => request(axios, basePath));
|
9664
9847
|
},
|
9665
9848
|
/**
|
9666
9849
|
* List users progress
|
@@ -9669,11 +9852,12 @@ export const ProgressApiFactory = function (configuration?: Configuration, baseP
|
|
9669
9852
|
* @param {number} [periodID] Period ID
|
9670
9853
|
* @param {string} [nextToken] This is the pagination token
|
9671
9854
|
* @param {ProgressStateAggregation} [state] Progress state
|
9855
|
+
* @param {string} [prevToken] This is the pagination token
|
9672
9856
|
* @param {*} [options] Override http request option.
|
9673
9857
|
* @throws {RequiredError}
|
9674
9858
|
*/
|
9675
|
-
listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: any): AxiosPromise<ProgressResponse> {
|
9676
|
-
return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(axios, basePath));
|
9859
|
+
listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, prevToken?: string, options?: any): AxiosPromise<ProgressResponse> {
|
9860
|
+
return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options).then((request) => request(axios, basePath));
|
9677
9861
|
},
|
9678
9862
|
};
|
9679
9863
|
};
|
@@ -9695,12 +9879,13 @@ export class ProgressApi extends BaseAPI {
|
|
9695
9879
|
* @param {ProgressInterval} [interval] Interval
|
9696
9880
|
* @param {string} [nextToken] This is the pagination token
|
9697
9881
|
* @param {ProgressStateAggregation} [state] Progress state
|
9882
|
+
* @param {string} [prevToken] This is the pagination token
|
9698
9883
|
* @param {*} [options] Override http request option.
|
9699
9884
|
* @throws {RequiredError}
|
9700
9885
|
* @memberof ProgressApi
|
9701
9886
|
*/
|
9702
|
-
public listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig) {
|
9703
|
-
return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(this.axios, this.basePath));
|
9887
|
+
public listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, prevToken?: string, options?: AxiosRequestConfig) {
|
9888
|
+
return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, prevToken, options).then((request) => request(this.axios, this.basePath));
|
9704
9889
|
}
|
9705
9890
|
|
9706
9891
|
/**
|
@@ -9710,12 +9895,13 @@ export class ProgressApi extends BaseAPI {
|
|
9710
9895
|
* @param {number} [periodID] Period ID
|
9711
9896
|
* @param {string} [nextToken] This is the pagination token
|
9712
9897
|
* @param {ProgressStateAggregation} [state] Progress state
|
9898
|
+
* @param {string} [prevToken] This is the pagination token
|
9713
9899
|
* @param {*} [options] Override http request option.
|
9714
9900
|
* @throws {RequiredError}
|
9715
9901
|
* @memberof ProgressApi
|
9716
9902
|
*/
|
9717
|
-
public listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig) {
|
9718
|
-
return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(this.axios, this.basePath));
|
9903
|
+
public listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, prevToken?: string, options?: AxiosRequestConfig) {
|
9904
|
+
return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, state, prevToken, options).then((request) => request(this.axios, this.basePath));
|
9719
9905
|
}
|
9720
9906
|
}
|
9721
9907
|
|
@@ -10089,10 +10275,11 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
10089
10275
|
* @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
|
10090
10276
|
* @param {ProgressInterval} [interval] Progress interval to filter by
|
10091
10277
|
* @param {ProgressStateAggregation} [state] Progress state
|
10278
|
+
* @param {string} [prevToken] This is the pagination token
|
10092
10279
|
* @param {*} [options] Override http request option.
|
10093
10280
|
* @throws {RequiredError}
|
10094
10281
|
*/
|
10095
|
-
listPromotionBeneficiaries: async (id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, interval?: ProgressInterval, state?: ProgressStateAggregation, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
10282
|
+
listPromotionBeneficiaries: async (id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, interval?: ProgressInterval, state?: ProgressStateAggregation, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
10096
10283
|
// verify required parameter 'id' is not null or undefined
|
10097
10284
|
assertParamExists('listPromotionBeneficiaries', 'id', id)
|
10098
10285
|
const localVarPath = `/admins/promotions/{id}/beneficiaries`
|
@@ -10136,6 +10323,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
10136
10323
|
localVarQueryParameter['state'] = state;
|
10137
10324
|
}
|
10138
10325
|
|
10326
|
+
if (prevToken !== undefined) {
|
10327
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
10328
|
+
}
|
10329
|
+
|
10139
10330
|
|
10140
10331
|
|
10141
10332
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -10165,10 +10356,11 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
10165
10356
|
* @param {SortDirection} [sortDirection] sort direction
|
10166
10357
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
10167
10358
|
* @param {Array<string>} [iDs] IDs to filter by
|
10359
|
+
* @param {string} [prevToken] This is the pagination token
|
10168
10360
|
* @param {*} [options] Override http request option.
|
10169
10361
|
* @throws {RequiredError}
|
10170
10362
|
*/
|
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> => {
|
10363
|
+
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
10364
|
const localVarPath = `/admins/promotions`;
|
10173
10365
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
10174
10366
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -10253,6 +10445,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
10253
10445
|
localVarQueryParameter['IDs'] = iDs;
|
10254
10446
|
}
|
10255
10447
|
|
10448
|
+
if (prevToken !== undefined) {
|
10449
|
+
localVarQueryParameter['PrevToken'] = prevToken;
|
10450
|
+
}
|
10451
|
+
|
10256
10452
|
|
10257
10453
|
|
10258
10454
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -10279,10 +10475,11 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
10279
10475
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
10280
10476
|
* @param {PromotionType} [type] promotion type
|
10281
10477
|
* @param {Array<string>} [iDs] IDs to filter by
|
10478
|
+
* @param {string} [prevToken] This is the pagination token
|
10282
10479
|
* @param {*} [options] Override http request option.
|
10283
10480
|
* @throws {RequiredError}
|
10284
10481
|
*/
|
10285
|
-
listUserPromotions: async (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
10482
|
+
listUserPromotions: async (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
10286
10483
|
const localVarPath = `/users/promotions`;
|
10287
10484
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
10288
10485
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -10355,6 +10552,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
10355
10552
|
localVarQueryParameter['IDs'] = iDs;
|
10356
10553
|
}
|
10357
10554
|
|
10555
|
+
if (prevToken !== undefined) {
|
10556
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
10557
|
+
}
|
10558
|
+
|
10358
10559
|
|
10359
10560
|
|
10360
10561
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -10531,11 +10732,12 @@ export const PromotionApiFp = function(configuration?: Configuration) {
|
|
10531
10732
|
* @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
|
10532
10733
|
* @param {ProgressInterval} [interval] Progress interval to filter by
|
10533
10734
|
* @param {ProgressStateAggregation} [state] Progress state
|
10735
|
+
* @param {string} [prevToken] This is the pagination token
|
10534
10736
|
* @param {*} [options] Override http request option.
|
10535
10737
|
* @throws {RequiredError}
|
10536
10738
|
*/
|
10537
|
-
async listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, interval?: ProgressInterval, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionBeneficiariesResponse>> {
|
10538
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options);
|
10739
|
+
async listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, interval?: ProgressInterval, state?: ProgressStateAggregation, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionBeneficiariesResponse>> {
|
10740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options);
|
10539
10741
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
10540
10742
|
},
|
10541
10743
|
/**
|
@@ -10556,11 +10758,12 @@ export const PromotionApiFp = function(configuration?: Configuration) {
|
|
10556
10758
|
* @param {SortDirection} [sortDirection] sort direction
|
10557
10759
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
10558
10760
|
* @param {Array<string>} [iDs] IDs to filter by
|
10761
|
+
* @param {string} [prevToken] This is the pagination token
|
10559
10762
|
* @param {*} [options] Override http request option.
|
10560
10763
|
* @throws {RequiredError}
|
10561
10764
|
*/
|
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);
|
10765
|
+
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>> {
|
10766
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, prevToken, options);
|
10564
10767
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
10565
10768
|
},
|
10566
10769
|
/**
|
@@ -10578,11 +10781,12 @@ export const PromotionApiFp = function(configuration?: Configuration) {
|
|
10578
10781
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
10579
10782
|
* @param {PromotionType} [type] promotion type
|
10580
10783
|
* @param {Array<string>} [iDs] IDs to filter by
|
10784
|
+
* @param {string} [prevToken] This is the pagination token
|
10581
10785
|
* @param {*} [options] Override http request option.
|
10582
10786
|
* @throws {RequiredError}
|
10583
10787
|
*/
|
10584
|
-
async listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>> {
|
10585
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options);
|
10788
|
+
async listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>> {
|
10789
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options);
|
10586
10790
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
10587
10791
|
},
|
10588
10792
|
/**
|
@@ -10709,11 +10913,12 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
|
|
10709
10913
|
* @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
|
10710
10914
|
* @param {ProgressInterval} [interval] Progress interval to filter by
|
10711
10915
|
* @param {ProgressStateAggregation} [state] Progress state
|
10916
|
+
* @param {string} [prevToken] This is the pagination token
|
10712
10917
|
* @param {*} [options] Override http request option.
|
10713
10918
|
* @throws {RequiredError}
|
10714
10919
|
*/
|
10715
|
-
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, interval?: ProgressInterval, state?: ProgressStateAggregation, options?: any): AxiosPromise<PromotionBeneficiariesResponse> {
|
10716
|
-
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options).then((request) => request(axios, basePath));
|
10920
|
+
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, interval?: ProgressInterval, state?: ProgressStateAggregation, prevToken?: string, options?: any): AxiosPromise<PromotionBeneficiariesResponse> {
|
10921
|
+
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options).then((request) => request(axios, basePath));
|
10717
10922
|
},
|
10718
10923
|
/**
|
10719
10924
|
* List all promotions
|
@@ -10733,11 +10938,12 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
|
|
10733
10938
|
* @param {SortDirection} [sortDirection] sort direction
|
10734
10939
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
10735
10940
|
* @param {Array<string>} [iDs] IDs to filter by
|
10941
|
+
* @param {string} [prevToken] This is the pagination token
|
10736
10942
|
* @param {*} [options] Override http request option.
|
10737
10943
|
* @throws {RequiredError}
|
10738
10944
|
*/
|
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));
|
10945
|
+
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> {
|
10946
|
+
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
10947
|
},
|
10742
10948
|
/**
|
10743
10949
|
* List users promotions
|
@@ -10754,11 +10960,12 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
|
|
10754
10960
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
10755
10961
|
* @param {PromotionType} [type] promotion type
|
10756
10962
|
* @param {Array<string>} [iDs] IDs to filter by
|
10963
|
+
* @param {string} [prevToken] This is the pagination token
|
10757
10964
|
* @param {*} [options] Override http request option.
|
10758
10965
|
* @throws {RequiredError}
|
10759
10966
|
*/
|
10760
|
-
listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: any): AxiosPromise<UserPromotionsResponse> {
|
10761
|
-
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(axios, basePath));
|
10967
|
+
listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, prevToken?: string, options?: any): AxiosPromise<UserPromotionsResponse> {
|
10968
|
+
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, prevToken, options).then((request) => request(axios, basePath));
|
10762
10969
|
},
|
10763
10970
|
/**
|
10764
10971
|
* Update promotion by id
|
@@ -10901,12 +11108,13 @@ export class PromotionApi extends BaseAPI {
|
|
10901
11108
|
* @param {string} [search] search string, searches in client name/referenceID or user name/referenceID
|
10902
11109
|
* @param {ProgressInterval} [interval] Progress interval to filter by
|
10903
11110
|
* @param {ProgressStateAggregation} [state] Progress state
|
11111
|
+
* @param {string} [prevToken] This is the pagination token
|
10904
11112
|
* @param {*} [options] Override http request option.
|
10905
11113
|
* @throws {RequiredError}
|
10906
11114
|
* @memberof PromotionApi
|
10907
11115
|
*/
|
10908
|
-
public listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, interval?: ProgressInterval, state?: ProgressStateAggregation, options?: AxiosRequestConfig) {
|
10909
|
-
return PromotionApiFp(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, options).then((request) => request(this.axios, this.basePath));
|
11116
|
+
public listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, interval?: ProgressInterval, state?: ProgressStateAggregation, prevToken?: string, options?: AxiosRequestConfig) {
|
11117
|
+
return PromotionApiFp(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, interval, state, prevToken, options).then((request) => request(this.axios, this.basePath));
|
10910
11118
|
}
|
10911
11119
|
|
10912
11120
|
/**
|
@@ -10927,12 +11135,13 @@ export class PromotionApi extends BaseAPI {
|
|
10927
11135
|
* @param {SortDirection} [sortDirection] sort direction
|
10928
11136
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
10929
11137
|
* @param {Array<string>} [iDs] IDs to filter by
|
11138
|
+
* @param {string} [prevToken] This is the pagination token
|
10930
11139
|
* @param {*} [options] Override http request option.
|
10931
11140
|
* @throws {RequiredError}
|
10932
11141
|
* @memberof PromotionApi
|
10933
11142
|
*/
|
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));
|
11143
|
+
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) {
|
11144
|
+
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
11145
|
}
|
10937
11146
|
|
10938
11147
|
/**
|
@@ -10950,12 +11159,13 @@ export class PromotionApi extends BaseAPI {
|
|
10950
11159
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
10951
11160
|
* @param {PromotionType} [type] promotion type
|
10952
11161
|
* @param {Array<string>} [iDs] IDs to filter by
|
11162
|
+
* @param {string} [prevToken] This is the pagination token
|
10953
11163
|
* @param {*} [options] Override http request option.
|
10954
11164
|
* @throws {RequiredError}
|
10955
11165
|
* @memberof PromotionApi
|
10956
11166
|
*/
|
10957
|
-
public listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig) {
|
10958
|
-
return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(this.axios, this.basePath));
|
11167
|
+
public listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig) {
|
11168
|
+
return 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));
|
10959
11169
|
}
|
10960
11170
|
|
10961
11171
|
/**
|
@@ -11316,10 +11526,11 @@ export const SegmentApiAxiosParamCreator = function (configuration?: Configurati
|
|
11316
11526
|
* @summary Method returns segments list.
|
11317
11527
|
* @param {string} [nextToken]
|
11318
11528
|
* @param {string} [search] search string
|
11529
|
+
* @param {string} [prevToken]
|
11319
11530
|
* @param {*} [options] Override http request option.
|
11320
11531
|
* @throws {RequiredError}
|
11321
11532
|
*/
|
11322
|
-
listSegments: async (nextToken?: string, search?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
11533
|
+
listSegments: async (nextToken?: string, search?: string, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
11323
11534
|
const localVarPath = `/admins/segments`;
|
11324
11535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
11325
11536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -11344,6 +11555,10 @@ export const SegmentApiAxiosParamCreator = function (configuration?: Configurati
|
|
11344
11555
|
localVarQueryParameter['search'] = search;
|
11345
11556
|
}
|
11346
11557
|
|
11558
|
+
if (prevToken !== undefined) {
|
11559
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
11560
|
+
}
|
11561
|
+
|
11347
11562
|
|
11348
11563
|
|
11349
11564
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -11392,11 +11607,12 @@ export const SegmentApiFp = function(configuration?: Configuration) {
|
|
11392
11607
|
* @summary Method returns segments list.
|
11393
11608
|
* @param {string} [nextToken]
|
11394
11609
|
* @param {string} [search] search string
|
11610
|
+
* @param {string} [prevToken]
|
11395
11611
|
* @param {*} [options] Override http request option.
|
11396
11612
|
* @throws {RequiredError}
|
11397
11613
|
*/
|
11398
|
-
async listSegments(nextToken?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SegmentListResponse>> {
|
11399
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSegments(nextToken, search, options);
|
11614
|
+
async listSegments(nextToken?: string, search?: string, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SegmentListResponse>> {
|
11615
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSegments(nextToken, search, prevToken, options);
|
11400
11616
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
11401
11617
|
},
|
11402
11618
|
}
|
@@ -11434,11 +11650,12 @@ export const SegmentApiFactory = function (configuration?: Configuration, basePa
|
|
11434
11650
|
* @summary Method returns segments list.
|
11435
11651
|
* @param {string} [nextToken]
|
11436
11652
|
* @param {string} [search] search string
|
11653
|
+
* @param {string} [prevToken]
|
11437
11654
|
* @param {*} [options] Override http request option.
|
11438
11655
|
* @throws {RequiredError}
|
11439
11656
|
*/
|
11440
|
-
listSegments(nextToken?: string, search?: string, options?: any): AxiosPromise<SegmentListResponse> {
|
11441
|
-
return localVarFp.listSegments(nextToken, search, options).then((request) => request(axios, basePath));
|
11657
|
+
listSegments(nextToken?: string, search?: string, prevToken?: string, options?: any): AxiosPromise<SegmentListResponse> {
|
11658
|
+
return localVarFp.listSegments(nextToken, search, prevToken, options).then((request) => request(axios, basePath));
|
11442
11659
|
},
|
11443
11660
|
};
|
11444
11661
|
};
|
@@ -11479,12 +11696,13 @@ export class SegmentApi extends BaseAPI {
|
|
11479
11696
|
* @summary Method returns segments list.
|
11480
11697
|
* @param {string} [nextToken]
|
11481
11698
|
* @param {string} [search] search string
|
11699
|
+
* @param {string} [prevToken]
|
11482
11700
|
* @param {*} [options] Override http request option.
|
11483
11701
|
* @throws {RequiredError}
|
11484
11702
|
* @memberof SegmentApi
|
11485
11703
|
*/
|
11486
|
-
public listSegments(nextToken?: string, search?: string, options?: AxiosRequestConfig) {
|
11487
|
-
return SegmentApiFp(this.configuration).listSegments(nextToken, search, options).then((request) => request(this.axios, this.basePath));
|
11704
|
+
public listSegments(nextToken?: string, search?: string, prevToken?: string, options?: AxiosRequestConfig) {
|
11705
|
+
return SegmentApiFp(this.configuration).listSegments(nextToken, search, prevToken, options).then((request) => request(this.axios, this.basePath));
|
11488
11706
|
}
|
11489
11707
|
}
|
11490
11708
|
|
@@ -12024,13 +12242,14 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
|
|
12024
12242
|
/**
|
12025
12243
|
* List existing transactions
|
12026
12244
|
* @summary List existing transactions
|
12027
|
-
* @param {string} [
|
12245
|
+
* @param {string} [nextToken] This is the pagination token
|
12028
12246
|
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
12029
12247
|
* @param {Array<string>} [userIDs] This is the user ID
|
12248
|
+
* @param {string} [prevToken] This is the pagination token
|
12030
12249
|
* @param {*} [options] Override http request option.
|
12031
12250
|
* @throws {RequiredError}
|
12032
12251
|
*/
|
12033
|
-
listTransactions: async (
|
12252
|
+
listTransactions: async (nextToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
12034
12253
|
const localVarPath = `/admins/transactions`;
|
12035
12254
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
12036
12255
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -12047,8 +12266,8 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
|
|
12047
12266
|
// http bearer authentication required
|
12048
12267
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
12049
12268
|
|
12050
|
-
if (
|
12051
|
-
localVarQueryParameter['
|
12269
|
+
if (nextToken !== undefined) {
|
12270
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
12052
12271
|
}
|
12053
12272
|
|
12054
12273
|
if (clientIDs) {
|
@@ -12059,6 +12278,10 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
|
|
12059
12278
|
localVarQueryParameter['userIDs'] = userIDs;
|
12060
12279
|
}
|
12061
12280
|
|
12281
|
+
if (prevToken !== undefined) {
|
12282
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
12283
|
+
}
|
12284
|
+
|
12062
12285
|
|
12063
12286
|
|
12064
12287
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -12073,12 +12296,13 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
|
|
12073
12296
|
/**
|
12074
12297
|
* List existing transactions
|
12075
12298
|
* @summary List existing transactions for users
|
12076
|
-
* @param {string} [
|
12299
|
+
* @param {string} [nextToken] This is the pagination token
|
12077
12300
|
* @param {Array<string>} [userIDs] This is the user ID
|
12301
|
+
* @param {string} [prevToken] This is the pagination token
|
12078
12302
|
* @param {*} [options] Override http request option.
|
12079
12303
|
* @throws {RequiredError}
|
12080
12304
|
*/
|
12081
|
-
listUserTransactions: async (
|
12305
|
+
listUserTransactions: async (nextToken?: string, userIDs?: Array<string>, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
12082
12306
|
const localVarPath = `/users/transactions`;
|
12083
12307
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
12084
12308
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -12095,14 +12319,18 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
|
|
12095
12319
|
// http bearer authentication required
|
12096
12320
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
12097
12321
|
|
12098
|
-
if (
|
12099
|
-
localVarQueryParameter['
|
12322
|
+
if (nextToken !== undefined) {
|
12323
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
12100
12324
|
}
|
12101
12325
|
|
12102
12326
|
if (userIDs) {
|
12103
12327
|
localVarQueryParameter['userIDs'] = userIDs;
|
12104
12328
|
}
|
12105
12329
|
|
12330
|
+
if (prevToken !== undefined) {
|
12331
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
12332
|
+
}
|
12333
|
+
|
12106
12334
|
|
12107
12335
|
|
12108
12336
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -12127,26 +12355,28 @@ export const TransactionApiFp = function(configuration?: Configuration) {
|
|
12127
12355
|
/**
|
12128
12356
|
* List existing transactions
|
12129
12357
|
* @summary List existing transactions
|
12130
|
-
* @param {string} [
|
12358
|
+
* @param {string} [nextToken] This is the pagination token
|
12131
12359
|
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
12132
12360
|
* @param {Array<string>} [userIDs] This is the user ID
|
12361
|
+
* @param {string} [prevToken] This is the pagination token
|
12133
12362
|
* @param {*} [options] Override http request option.
|
12134
12363
|
* @throws {RequiredError}
|
12135
12364
|
*/
|
12136
|
-
async listTransactions(
|
12137
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(
|
12365
|
+
async listTransactions(nextToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionsResponse>> {
|
12366
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(nextToken, clientIDs, userIDs, prevToken, options);
|
12138
12367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
12139
12368
|
},
|
12140
12369
|
/**
|
12141
12370
|
* List existing transactions
|
12142
12371
|
* @summary List existing transactions for users
|
12143
|
-
* @param {string} [
|
12372
|
+
* @param {string} [nextToken] This is the pagination token
|
12144
12373
|
* @param {Array<string>} [userIDs] This is the user ID
|
12374
|
+
* @param {string} [prevToken] This is the pagination token
|
12145
12375
|
* @param {*} [options] Override http request option.
|
12146
12376
|
* @throws {RequiredError}
|
12147
12377
|
*/
|
12148
|
-
async listUserTransactions(
|
12149
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserTransactions(
|
12378
|
+
async listUserTransactions(nextToken?: string, userIDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionsResponse>> {
|
12379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserTransactions(nextToken, userIDs, prevToken, options);
|
12150
12380
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
12151
12381
|
},
|
12152
12382
|
}
|
@@ -12162,25 +12392,27 @@ export const TransactionApiFactory = function (configuration?: Configuration, ba
|
|
12162
12392
|
/**
|
12163
12393
|
* List existing transactions
|
12164
12394
|
* @summary List existing transactions
|
12165
|
-
* @param {string} [
|
12395
|
+
* @param {string} [nextToken] This is the pagination token
|
12166
12396
|
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
12167
12397
|
* @param {Array<string>} [userIDs] This is the user ID
|
12398
|
+
* @param {string} [prevToken] This is the pagination token
|
12168
12399
|
* @param {*} [options] Override http request option.
|
12169
12400
|
* @throws {RequiredError}
|
12170
12401
|
*/
|
12171
|
-
listTransactions(
|
12172
|
-
return localVarFp.listTransactions(
|
12402
|
+
listTransactions(nextToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, prevToken?: string, options?: any): AxiosPromise<TransactionsResponse> {
|
12403
|
+
return localVarFp.listTransactions(nextToken, clientIDs, userIDs, prevToken, options).then((request) => request(axios, basePath));
|
12173
12404
|
},
|
12174
12405
|
/**
|
12175
12406
|
* List existing transactions
|
12176
12407
|
* @summary List existing transactions for users
|
12177
|
-
* @param {string} [
|
12408
|
+
* @param {string} [nextToken] This is the pagination token
|
12178
12409
|
* @param {Array<string>} [userIDs] This is the user ID
|
12410
|
+
* @param {string} [prevToken] This is the pagination token
|
12179
12411
|
* @param {*} [options] Override http request option.
|
12180
12412
|
* @throws {RequiredError}
|
12181
12413
|
*/
|
12182
|
-
listUserTransactions(
|
12183
|
-
return localVarFp.listUserTransactions(
|
12414
|
+
listUserTransactions(nextToken?: string, userIDs?: Array<string>, prevToken?: string, options?: any): AxiosPromise<TransactionsResponse> {
|
12415
|
+
return localVarFp.listUserTransactions(nextToken, userIDs, prevToken, options).then((request) => request(axios, basePath));
|
12184
12416
|
},
|
12185
12417
|
};
|
12186
12418
|
};
|
@@ -12195,28 +12427,30 @@ export class TransactionApi extends BaseAPI {
|
|
12195
12427
|
/**
|
12196
12428
|
* List existing transactions
|
12197
12429
|
* @summary List existing transactions
|
12198
|
-
* @param {string} [
|
12430
|
+
* @param {string} [nextToken] This is the pagination token
|
12199
12431
|
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
12200
12432
|
* @param {Array<string>} [userIDs] This is the user ID
|
12433
|
+
* @param {string} [prevToken] This is the pagination token
|
12201
12434
|
* @param {*} [options] Override http request option.
|
12202
12435
|
* @throws {RequiredError}
|
12203
12436
|
* @memberof TransactionApi
|
12204
12437
|
*/
|
12205
|
-
public listTransactions(
|
12206
|
-
return TransactionApiFp(this.configuration).listTransactions(
|
12438
|
+
public listTransactions(nextToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig) {
|
12439
|
+
return TransactionApiFp(this.configuration).listTransactions(nextToken, clientIDs, userIDs, prevToken, options).then((request) => request(this.axios, this.basePath));
|
12207
12440
|
}
|
12208
12441
|
|
12209
12442
|
/**
|
12210
12443
|
* List existing transactions
|
12211
12444
|
* @summary List existing transactions for users
|
12212
|
-
* @param {string} [
|
12445
|
+
* @param {string} [nextToken] This is the pagination token
|
12213
12446
|
* @param {Array<string>} [userIDs] This is the user ID
|
12447
|
+
* @param {string} [prevToken] This is the pagination token
|
12214
12448
|
* @param {*} [options] Override http request option.
|
12215
12449
|
* @throws {RequiredError}
|
12216
12450
|
* @memberof TransactionApi
|
12217
12451
|
*/
|
12218
|
-
public listUserTransactions(
|
12219
|
-
return TransactionApiFp(this.configuration).listUserTransactions(
|
12452
|
+
public listUserTransactions(nextToken?: string, userIDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig) {
|
12453
|
+
return TransactionApiFp(this.configuration).listUserTransactions(nextToken, userIDs, prevToken, options).then((request) => request(this.axios, this.basePath));
|
12220
12454
|
}
|
12221
12455
|
}
|
12222
12456
|
|
@@ -12348,10 +12582,11 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
12348
12582
|
* @param {string} [nextToken] This is the pagination token
|
12349
12583
|
* @param {string} [search] search string
|
12350
12584
|
* @param {Array<string>} [userIDs] user ids to filter by
|
12585
|
+
* @param {string} [prevToken] This is the pagination token
|
12351
12586
|
* @param {*} [options] Override http request option.
|
12352
12587
|
* @throws {RequiredError}
|
12353
12588
|
*/
|
12354
|
-
listCustomerUsers: async (nextToken?: string, search?: string, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
12589
|
+
listCustomerUsers: async (nextToken?: string, search?: string, userIDs?: Array<string>, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
12355
12590
|
const localVarPath = `/users`;
|
12356
12591
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
12357
12592
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -12380,6 +12615,10 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
12380
12615
|
localVarQueryParameter['userIDs'] = userIDs;
|
12381
12616
|
}
|
12382
12617
|
|
12618
|
+
if (prevToken !== undefined) {
|
12619
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
12620
|
+
}
|
12621
|
+
|
12383
12622
|
|
12384
12623
|
|
12385
12624
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -12400,10 +12639,11 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
12400
12639
|
* @param {Array<string>} [clientIDs] client IDs to filter by
|
12401
12640
|
* @param {Array<string>} [userIDs] user ids to filter by
|
12402
12641
|
* @param {UserSource} [source] source to filter by
|
12642
|
+
* @param {string} [prevToken] This is the pagination token
|
12403
12643
|
* @param {*} [options] Override http request option.
|
12404
12644
|
* @throws {RequiredError}
|
12405
12645
|
*/
|
12406
|
-
listUsers: async (nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
12646
|
+
listUsers: async (nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, prevToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
12407
12647
|
const localVarPath = `/admins/users`;
|
12408
12648
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
12409
12649
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -12444,6 +12684,10 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
12444
12684
|
localVarQueryParameter['source'] = source;
|
12445
12685
|
}
|
12446
12686
|
|
12687
|
+
if (prevToken !== undefined) {
|
12688
|
+
localVarQueryParameter['prevToken'] = prevToken;
|
12689
|
+
}
|
12690
|
+
|
12447
12691
|
|
12448
12692
|
|
12449
12693
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -12503,11 +12747,12 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
12503
12747
|
* @param {string} [nextToken] This is the pagination token
|
12504
12748
|
* @param {string} [search] search string
|
12505
12749
|
* @param {Array<string>} [userIDs] user ids to filter by
|
12750
|
+
* @param {string} [prevToken] This is the pagination token
|
12506
12751
|
* @param {*} [options] Override http request option.
|
12507
12752
|
* @throws {RequiredError}
|
12508
12753
|
*/
|
12509
|
-
async listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>> {
|
12510
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, options);
|
12754
|
+
async listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>> {
|
12755
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, prevToken, options);
|
12511
12756
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
12512
12757
|
},
|
12513
12758
|
/**
|
@@ -12519,11 +12764,12 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
12519
12764
|
* @param {Array<string>} [clientIDs] client IDs to filter by
|
12520
12765
|
* @param {Array<string>} [userIDs] user ids to filter by
|
12521
12766
|
* @param {UserSource} [source] source to filter by
|
12767
|
+
* @param {string} [prevToken] This is the pagination token
|
12522
12768
|
* @param {*} [options] Override http request option.
|
12523
12769
|
* @throws {RequiredError}
|
12524
12770
|
*/
|
12525
|
-
async listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>> {
|
12526
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
|
12771
|
+
async listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, prevToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>> {
|
12772
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options);
|
12527
12773
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
12528
12774
|
},
|
12529
12775
|
}
|
@@ -12571,11 +12817,12 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
12571
12817
|
* @param {string} [nextToken] This is the pagination token
|
12572
12818
|
* @param {string} [search] search string
|
12573
12819
|
* @param {Array<string>} [userIDs] user ids to filter by
|
12820
|
+
* @param {string} [prevToken] This is the pagination token
|
12574
12821
|
* @param {*} [options] Override http request option.
|
12575
12822
|
* @throws {RequiredError}
|
12576
12823
|
*/
|
12577
|
-
listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: any): AxiosPromise<UserListResponse> {
|
12578
|
-
return localVarFp.listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(axios, basePath));
|
12824
|
+
listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, prevToken?: string, options?: any): AxiosPromise<UserListResponse> {
|
12825
|
+
return localVarFp.listCustomerUsers(nextToken, search, userIDs, prevToken, options).then((request) => request(axios, basePath));
|
12579
12826
|
},
|
12580
12827
|
/**
|
12581
12828
|
* List all users
|
@@ -12586,11 +12833,12 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
12586
12833
|
* @param {Array<string>} [clientIDs] client IDs to filter by
|
12587
12834
|
* @param {Array<string>} [userIDs] user ids to filter by
|
12588
12835
|
* @param {UserSource} [source] source to filter by
|
12836
|
+
* @param {string} [prevToken] This is the pagination token
|
12589
12837
|
* @param {*} [options] Override http request option.
|
12590
12838
|
* @throws {RequiredError}
|
12591
12839
|
*/
|
12592
|
-
listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: any): AxiosPromise<UserListResponse> {
|
12593
|
-
return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
|
12840
|
+
listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, prevToken?: string, options?: any): AxiosPromise<UserListResponse> {
|
12841
|
+
return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options).then((request) => request(axios, basePath));
|
12594
12842
|
},
|
12595
12843
|
};
|
12596
12844
|
};
|
@@ -12643,12 +12891,13 @@ export class UserApi extends BaseAPI {
|
|
12643
12891
|
* @param {string} [nextToken] This is the pagination token
|
12644
12892
|
* @param {string} [search] search string
|
12645
12893
|
* @param {Array<string>} [userIDs] user ids to filter by
|
12894
|
+
* @param {string} [prevToken] This is the pagination token
|
12646
12895
|
* @param {*} [options] Override http request option.
|
12647
12896
|
* @throws {RequiredError}
|
12648
12897
|
* @memberof UserApi
|
12649
12898
|
*/
|
12650
|
-
public listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) {
|
12651
|
-
return UserApiFp(this.configuration).listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(this.axios, this.basePath));
|
12899
|
+
public listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, prevToken?: string, options?: AxiosRequestConfig) {
|
12900
|
+
return UserApiFp(this.configuration).listCustomerUsers(nextToken, search, userIDs, prevToken, options).then((request) => request(this.axios, this.basePath));
|
12652
12901
|
}
|
12653
12902
|
|
12654
12903
|
/**
|
@@ -12660,12 +12909,13 @@ export class UserApi extends BaseAPI {
|
|
12660
12909
|
* @param {Array<string>} [clientIDs] client IDs to filter by
|
12661
12910
|
* @param {Array<string>} [userIDs] user ids to filter by
|
12662
12911
|
* @param {UserSource} [source] source to filter by
|
12912
|
+
* @param {string} [prevToken] This is the pagination token
|
12663
12913
|
* @param {*} [options] Override http request option.
|
12664
12914
|
* @throws {RequiredError}
|
12665
12915
|
* @memberof UserApi
|
12666
12916
|
*/
|
12667
|
-
public listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig) {
|
12668
|
-
return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
|
12917
|
+
public listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, prevToken?: string, options?: AxiosRequestConfig) {
|
12918
|
+
return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, prevToken, options).then((request) => request(this.axios, this.basePath));
|
12669
12919
|
}
|
12670
12920
|
}
|
12671
12921
|
|