flexinet-api 0.0.1892-prerelease0-dev → 0.0.1892
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 +186 -81
- package/dist/api.d.ts +122 -60
- package/dist/api.js +104 -38
- package/dist/esm/api.d.ts +122 -60
- package/dist/esm/api.js +101 -35
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
@@ -168,8 +168,7 @@ export const OrderKind = {
|
|
168
168
|
export const OrderStatus = {
|
169
169
|
Pending: 'pending',
|
170
170
|
Completed: 'completed',
|
171
|
-
Cancelled: 'cancelled'
|
172
|
-
Unknown: 'unknown'
|
171
|
+
Cancelled: 'cancelled'
|
173
172
|
};
|
174
173
|
/**
|
175
174
|
*
|
@@ -293,6 +292,9 @@ export const ReportTypesResponseTypesEnum = {
|
|
293
292
|
Promotion: 'promotion',
|
294
293
|
PromotionExpanded: 'promotion_expanded'
|
295
294
|
};
|
295
|
+
export const RequiredRestrictionKindEnum = {
|
296
|
+
Required: 'required'
|
297
|
+
};
|
296
298
|
/**
|
297
299
|
*
|
298
300
|
* @export
|
@@ -2220,13 +2222,28 @@ export const CustomDealsApiAxiosParamCreator = function (configuration) {
|
|
2220
2222
|
/**
|
2221
2223
|
* Get custom deal min target value
|
2222
2224
|
* @summary Get custom deal min target value
|
2223
|
-
* @param {
|
2224
|
-
* @param {
|
2225
|
-
* @
|
2226
|
-
|
2227
|
-
|
2228
|
-
|
2229
|
-
|
2225
|
+
* @param {string} startingAt start at
|
2226
|
+
* @param {string} endingAt end at
|
2227
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
2228
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
2229
|
+
* @param {string} tagKey tag key
|
2230
|
+
* @param {string} tagValue tag value
|
2231
|
+
* @param {*} [options] Override http request option.
|
2232
|
+
* @throws {RequiredError}
|
2233
|
+
*/
|
2234
|
+
getCustomDealMinTargetValue: (startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
2235
|
+
// verify required parameter 'startingAt' is not null or undefined
|
2236
|
+
assertParamExists('getCustomDealMinTargetValue', 'startingAt', startingAt);
|
2237
|
+
// verify required parameter 'endingAt' is not null or undefined
|
2238
|
+
assertParamExists('getCustomDealMinTargetValue', 'endingAt', endingAt);
|
2239
|
+
// verify required parameter 'beneficiaryKind' is not null or undefined
|
2240
|
+
assertParamExists('getCustomDealMinTargetValue', 'beneficiaryKind', beneficiaryKind);
|
2241
|
+
// verify required parameter 'beneficiaryValues' is not null or undefined
|
2242
|
+
assertParamExists('getCustomDealMinTargetValue', 'beneficiaryValues', beneficiaryValues);
|
2243
|
+
// verify required parameter 'tagKey' is not null or undefined
|
2244
|
+
assertParamExists('getCustomDealMinTargetValue', 'tagKey', tagKey);
|
2245
|
+
// verify required parameter 'tagValue' is not null or undefined
|
2246
|
+
assertParamExists('getCustomDealMinTargetValue', 'tagValue', tagValue);
|
2230
2247
|
const localVarPath = `/admins/custom-deals/min-target-value`;
|
2231
2248
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2232
2249
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -2234,17 +2251,37 @@ export const CustomDealsApiAxiosParamCreator = function (configuration) {
|
|
2234
2251
|
if (configuration) {
|
2235
2252
|
baseOptions = configuration.baseOptions;
|
2236
2253
|
}
|
2237
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
2254
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
2238
2255
|
const localVarHeaderParameter = {};
|
2239
2256
|
const localVarQueryParameter = {};
|
2240
2257
|
// authentication systemJWT required
|
2241
2258
|
// http bearer authentication required
|
2242
2259
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
2243
|
-
|
2260
|
+
if (startingAt !== undefined) {
|
2261
|
+
localVarQueryParameter['startingAt'] = (startingAt instanceof Date) ?
|
2262
|
+
startingAt.toISOString() :
|
2263
|
+
startingAt;
|
2264
|
+
}
|
2265
|
+
if (endingAt !== undefined) {
|
2266
|
+
localVarQueryParameter['endingAt'] = (endingAt instanceof Date) ?
|
2267
|
+
endingAt.toISOString() :
|
2268
|
+
endingAt;
|
2269
|
+
}
|
2270
|
+
if (beneficiaryKind !== undefined) {
|
2271
|
+
localVarQueryParameter['beneficiaryKind'] = beneficiaryKind;
|
2272
|
+
}
|
2273
|
+
if (beneficiaryValues) {
|
2274
|
+
localVarQueryParameter['beneficiaryValues'] = beneficiaryValues;
|
2275
|
+
}
|
2276
|
+
if (tagKey !== undefined) {
|
2277
|
+
localVarQueryParameter['tagKey'] = tagKey;
|
2278
|
+
}
|
2279
|
+
if (tagValue !== undefined) {
|
2280
|
+
localVarQueryParameter['tagValue'] = tagValue;
|
2281
|
+
}
|
2244
2282
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2245
2283
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2246
2284
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
2247
|
-
localVarRequestOptions.data = serializeDataIfNeeded(minTargetValue, localVarRequestOptions, configuration);
|
2248
2285
|
return {
|
2249
2286
|
url: toPathString(localVarUrlObj),
|
2250
2287
|
options: localVarRequestOptions,
|
@@ -2303,13 +2340,18 @@ export const CustomDealsApiFp = function (configuration) {
|
|
2303
2340
|
/**
|
2304
2341
|
* Get custom deal min target value
|
2305
2342
|
* @summary Get custom deal min target value
|
2306
|
-
* @param {
|
2343
|
+
* @param {string} startingAt start at
|
2344
|
+
* @param {string} endingAt end at
|
2345
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
2346
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
2347
|
+
* @param {string} tagKey tag key
|
2348
|
+
* @param {string} tagValue tag value
|
2307
2349
|
* @param {*} [options] Override http request option.
|
2308
2350
|
* @throws {RequiredError}
|
2309
2351
|
*/
|
2310
|
-
getCustomDealMinTargetValue(
|
2352
|
+
getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
|
2311
2353
|
return __awaiter(this, void 0, void 0, function* () {
|
2312
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCustomDealMinTargetValue(
|
2354
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options);
|
2313
2355
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2314
2356
|
});
|
2315
2357
|
},
|
@@ -2347,12 +2389,17 @@ export const CustomDealsApiFactory = function (configuration, basePath, axios) {
|
|
2347
2389
|
/**
|
2348
2390
|
* Get custom deal min target value
|
2349
2391
|
* @summary Get custom deal min target value
|
2350
|
-
* @param {
|
2392
|
+
* @param {string} startingAt start at
|
2393
|
+
* @param {string} endingAt end at
|
2394
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
2395
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
2396
|
+
* @param {string} tagKey tag key
|
2397
|
+
* @param {string} tagValue tag value
|
2351
2398
|
* @param {*} [options] Override http request option.
|
2352
2399
|
* @throws {RequiredError}
|
2353
2400
|
*/
|
2354
|
-
getCustomDealMinTargetValue(
|
2355
|
-
return localVarFp.getCustomDealMinTargetValue(
|
2401
|
+
getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
|
2402
|
+
return localVarFp.getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options).then((request) => request(axios, basePath));
|
2356
2403
|
},
|
2357
2404
|
/**
|
2358
2405
|
* List custom deal restrictions
|
@@ -2386,13 +2433,18 @@ export class CustomDealsApi extends BaseAPI {
|
|
2386
2433
|
/**
|
2387
2434
|
* Get custom deal min target value
|
2388
2435
|
* @summary Get custom deal min target value
|
2389
|
-
* @param {
|
2436
|
+
* @param {string} startingAt start at
|
2437
|
+
* @param {string} endingAt end at
|
2438
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
2439
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
2440
|
+
* @param {string} tagKey tag key
|
2441
|
+
* @param {string} tagValue tag value
|
2390
2442
|
* @param {*} [options] Override http request option.
|
2391
2443
|
* @throws {RequiredError}
|
2392
2444
|
* @memberof CustomDealsApi
|
2393
2445
|
*/
|
2394
|
-
getCustomDealMinTargetValue(
|
2395
|
-
return CustomDealsApiFp(this.configuration).getCustomDealMinTargetValue(
|
2446
|
+
getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
|
2447
|
+
return CustomDealsApiFp(this.configuration).getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options).then((request) => request(this.axios, this.basePath));
|
2396
2448
|
}
|
2397
2449
|
/**
|
2398
2450
|
* List custom deal restrictions
|
@@ -5364,10 +5416,11 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
5364
5416
|
* @param {PromotionSortByField} [sortBy] sort by field
|
5365
5417
|
* @param {SortDirection} [sortDirection] sort direction
|
5366
5418
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
5419
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
5367
5420
|
* @param {*} [options] Override http request option.
|
5368
5421
|
* @throws {RequiredError}
|
5369
5422
|
*/
|
5370
|
-
listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
5423
|
+
listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
5371
5424
|
const localVarPath = `/admins/promotions`;
|
5372
5425
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
5373
5426
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -5431,6 +5484,9 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
5431
5484
|
if (onlyClaimable !== undefined) {
|
5432
5485
|
localVarQueryParameter['onlyClaimable'] = onlyClaimable;
|
5433
5486
|
}
|
5487
|
+
if (iDs) {
|
5488
|
+
localVarQueryParameter['IDs'] = iDs;
|
5489
|
+
}
|
5434
5490
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
5435
5491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
5436
5492
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -5453,10 +5509,11 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
5453
5509
|
* @param {SortDirection} [sortDirection] sort direction
|
5454
5510
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
5455
5511
|
* @param {PromotionType} [type] promotion type
|
5512
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
5456
5513
|
* @param {*} [options] Override http request option.
|
5457
5514
|
* @throws {RequiredError}
|
5458
5515
|
*/
|
5459
|
-
listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
5516
|
+
listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
5460
5517
|
const localVarPath = `/users/promotions`;
|
5461
5518
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
5462
5519
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -5511,6 +5568,9 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
5511
5568
|
if (type !== undefined) {
|
5512
5569
|
localVarQueryParameter['type'] = type;
|
5513
5570
|
}
|
5571
|
+
if (iDs) {
|
5572
|
+
localVarQueryParameter['IDs'] = iDs;
|
5573
|
+
}
|
5514
5574
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
5515
5575
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
5516
5576
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
@@ -5720,12 +5780,13 @@ export const PromotionApiFp = function (configuration) {
|
|
5720
5780
|
* @param {PromotionSortByField} [sortBy] sort by field
|
5721
5781
|
* @param {SortDirection} [sortDirection] sort direction
|
5722
5782
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
5783
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
5723
5784
|
* @param {*} [options] Override http request option.
|
5724
5785
|
* @throws {RequiredError}
|
5725
5786
|
*/
|
5726
|
-
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
|
5787
|
+
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
|
5727
5788
|
return __awaiter(this, void 0, void 0, function* () {
|
5728
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options);
|
5789
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options);
|
5729
5790
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
5730
5791
|
});
|
5731
5792
|
},
|
@@ -5743,12 +5804,13 @@ export const PromotionApiFp = function (configuration) {
|
|
5743
5804
|
* @param {SortDirection} [sortDirection] sort direction
|
5744
5805
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
5745
5806
|
* @param {PromotionType} [type] promotion type
|
5807
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
5746
5808
|
* @param {*} [options] Override http request option.
|
5747
5809
|
* @throws {RequiredError}
|
5748
5810
|
*/
|
5749
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options) {
|
5811
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
|
5750
5812
|
return __awaiter(this, void 0, void 0, function* () {
|
5751
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options);
|
5813
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options);
|
5752
5814
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
5753
5815
|
});
|
5754
5816
|
},
|
@@ -5900,11 +5962,12 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
5900
5962
|
* @param {PromotionSortByField} [sortBy] sort by field
|
5901
5963
|
* @param {SortDirection} [sortDirection] sort direction
|
5902
5964
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
5965
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
5903
5966
|
* @param {*} [options] Override http request option.
|
5904
5967
|
* @throws {RequiredError}
|
5905
5968
|
*/
|
5906
|
-
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
|
5907
|
-
return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
|
5969
|
+
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
|
5970
|
+
return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(axios, basePath));
|
5908
5971
|
},
|
5909
5972
|
/**
|
5910
5973
|
* List users promotions
|
@@ -5920,11 +5983,12 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
5920
5983
|
* @param {SortDirection} [sortDirection] sort direction
|
5921
5984
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
5922
5985
|
* @param {PromotionType} [type] promotion type
|
5986
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
5923
5987
|
* @param {*} [options] Override http request option.
|
5924
5988
|
* @throws {RequiredError}
|
5925
5989
|
*/
|
5926
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options) {
|
5927
|
-
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options).then((request) => request(axios, basePath));
|
5990
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
|
5991
|
+
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(axios, basePath));
|
5928
5992
|
},
|
5929
5993
|
/**
|
5930
5994
|
* Update promotion by id
|
@@ -6081,12 +6145,13 @@ export class PromotionApi extends BaseAPI {
|
|
6081
6145
|
* @param {PromotionSortByField} [sortBy] sort by field
|
6082
6146
|
* @param {SortDirection} [sortDirection] sort direction
|
6083
6147
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
6148
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
6084
6149
|
* @param {*} [options] Override http request option.
|
6085
6150
|
* @throws {RequiredError}
|
6086
6151
|
* @memberof PromotionApi
|
6087
6152
|
*/
|
6088
|
-
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
|
6089
|
-
return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(this.axios, this.basePath));
|
6153
|
+
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
|
6154
|
+
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));
|
6090
6155
|
}
|
6091
6156
|
/**
|
6092
6157
|
* List users promotions
|
@@ -6102,12 +6167,13 @@ export class PromotionApi extends BaseAPI {
|
|
6102
6167
|
* @param {SortDirection} [sortDirection] sort direction
|
6103
6168
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
6104
6169
|
* @param {PromotionType} [type] promotion type
|
6170
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
6105
6171
|
* @param {*} [options] Override http request option.
|
6106
6172
|
* @throws {RequiredError}
|
6107
6173
|
* @memberof PromotionApi
|
6108
6174
|
*/
|
6109
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options) {
|
6110
|
-
return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options).then((request) => request(this.axios, this.basePath));
|
6175
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
|
6176
|
+
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));
|
6111
6177
|
}
|
6112
6178
|
/**
|
6113
6179
|
* Update promotion by id
|