flexinet-api 0.0.1882-prerelease0-dev → 0.0.1882
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 +174 -81
- package/dist/api.d.ts +110 -60
- package/dist/api.js +104 -38
- package/dist/esm/api.d.ts +110 -60
- package/dist/esm/api.js +101 -35
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
@@ -268,6 +268,12 @@ export interface BalanceBulkUpdateRequest {
|
|
268
268
|
* @memberof BalanceBulkUpdateRequest
|
269
269
|
*/
|
270
270
|
'currency'?: TransactionCurrencyKind;
|
271
|
+
/**
|
272
|
+
*
|
273
|
+
* @type {string}
|
274
|
+
* @memberof BalanceBulkUpdateRequest
|
275
|
+
*/
|
276
|
+
'description'?: string;
|
271
277
|
}
|
272
278
|
/**
|
273
279
|
*
|
@@ -299,6 +305,12 @@ export interface BalanceUpdateRequest {
|
|
299
305
|
* @memberof BalanceUpdateRequest
|
300
306
|
*/
|
301
307
|
'currency'?: TransactionCurrencyKind;
|
308
|
+
/**
|
309
|
+
*
|
310
|
+
* @type {string}
|
311
|
+
* @memberof BalanceUpdateRequest
|
312
|
+
*/
|
313
|
+
'description'?: string;
|
302
314
|
}
|
303
315
|
/**
|
304
316
|
*
|
@@ -843,7 +855,9 @@ export interface CustomDealMinTargetValueResponse {
|
|
843
855
|
*/
|
844
856
|
export type CustomDealRestriction = {
|
845
857
|
kind: 'minTurnover';
|
846
|
-
} & MinTurnoverRestriction
|
858
|
+
} & MinTurnoverRestriction | {
|
859
|
+
kind: 'required';
|
860
|
+
} & RequiredRestriction;
|
847
861
|
/**
|
848
862
|
*
|
849
863
|
* @export
|
@@ -1073,43 +1087,6 @@ export interface MetricsCollection {
|
|
1073
1087
|
*/
|
1074
1088
|
'total': Metrics;
|
1075
1089
|
}
|
1076
|
-
/**
|
1077
|
-
*
|
1078
|
-
* @export
|
1079
|
-
* @interface MinTargetValue
|
1080
|
-
*/
|
1081
|
-
export interface MinTargetValue {
|
1082
|
-
/**
|
1083
|
-
*
|
1084
|
-
* @type {string}
|
1085
|
-
* @memberof MinTargetValue
|
1086
|
-
*/
|
1087
|
-
'startingAt': string;
|
1088
|
-
/**
|
1089
|
-
*
|
1090
|
-
* @type {string}
|
1091
|
-
* @memberof MinTargetValue
|
1092
|
-
*/
|
1093
|
-
'endingAt': string;
|
1094
|
-
/**
|
1095
|
-
*
|
1096
|
-
* @type {BeneficiaryKind}
|
1097
|
-
* @memberof MinTargetValue
|
1098
|
-
*/
|
1099
|
-
'beneficiaryKind': BeneficiaryKind;
|
1100
|
-
/**
|
1101
|
-
*
|
1102
|
-
* @type {Array<string>}
|
1103
|
-
* @memberof MinTargetValue
|
1104
|
-
*/
|
1105
|
-
'beneficiaryValues': Array<string>;
|
1106
|
-
/**
|
1107
|
-
*
|
1108
|
-
* @type {Array<Rule>}
|
1109
|
-
* @memberof MinTargetValue
|
1110
|
-
*/
|
1111
|
-
'rules': Array<Rule>;
|
1112
|
-
}
|
1113
1090
|
/**
|
1114
1091
|
*
|
1115
1092
|
* @export
|
@@ -1141,10 +1118,16 @@ export type MinTurnoverRestrictionKindEnum = typeof MinTurnoverRestrictionKindEn
|
|
1141
1118
|
export interface MinTurnoverRestrictionValue {
|
1142
1119
|
/**
|
1143
1120
|
*
|
1144
|
-
* @type {
|
1121
|
+
* @type {string}
|
1145
1122
|
* @memberof MinTurnoverRestrictionValue
|
1146
1123
|
*/
|
1147
|
-
'
|
1124
|
+
'tagKey': string;
|
1125
|
+
/**
|
1126
|
+
*
|
1127
|
+
* @type {string}
|
1128
|
+
* @memberof MinTurnoverRestrictionValue
|
1129
|
+
*/
|
1130
|
+
'tagValue': string;
|
1148
1131
|
/**
|
1149
1132
|
*
|
1150
1133
|
* @type {string}
|
@@ -1159,10 +1142,10 @@ export interface MinTurnoverRestrictionValue {
|
|
1159
1142
|
'priority': CustomDealRestrictionPriority;
|
1160
1143
|
/**
|
1161
1144
|
*
|
1162
|
-
* @type {
|
1145
|
+
* @type {number}
|
1163
1146
|
* @memberof MinTurnoverRestrictionValue
|
1164
1147
|
*/
|
1165
|
-
'
|
1148
|
+
'points': number;
|
1166
1149
|
}
|
1167
1150
|
/**
|
1168
1151
|
*
|
@@ -1402,6 +1385,12 @@ export interface Order {
|
|
1402
1385
|
* @memberof Order
|
1403
1386
|
*/
|
1404
1387
|
'source'?: string;
|
1388
|
+
/**
|
1389
|
+
*
|
1390
|
+
* @type {OrderSourceReference}
|
1391
|
+
* @memberof Order
|
1392
|
+
*/
|
1393
|
+
'sourceReference'?: OrderSourceReference;
|
1405
1394
|
/**
|
1406
1395
|
*
|
1407
1396
|
* @type {string}
|
@@ -1489,6 +1478,11 @@ export interface OrderListResponse {
|
|
1489
1478
|
*/
|
1490
1479
|
'nextToken'?: string;
|
1491
1480
|
}
|
1481
|
+
/**
|
1482
|
+
* @type OrderSourceReference
|
1483
|
+
* @export
|
1484
|
+
*/
|
1485
|
+
export type OrderSourceReference = PeriodPromotion | User;
|
1492
1486
|
/**
|
1493
1487
|
*
|
1494
1488
|
* @export
|
@@ -1498,7 +1492,6 @@ export declare const OrderStatus: {
|
|
1498
1492
|
readonly Pending: "pending";
|
1499
1493
|
readonly Completed: "completed";
|
1500
1494
|
readonly Cancelled: "cancelled";
|
1501
|
-
readonly Unknown: "unknown";
|
1502
1495
|
};
|
1503
1496
|
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
1504
1497
|
/**
|
@@ -2770,6 +2763,29 @@ export declare const ReportTypesResponseTypesEnum: {
|
|
2770
2763
|
readonly PromotionExpanded: "promotion_expanded";
|
2771
2764
|
};
|
2772
2765
|
export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
|
2766
|
+
/**
|
2767
|
+
*
|
2768
|
+
* @export
|
2769
|
+
* @interface RequiredRestriction
|
2770
|
+
*/
|
2771
|
+
export interface RequiredRestriction {
|
2772
|
+
/**
|
2773
|
+
*
|
2774
|
+
* @type {string}
|
2775
|
+
* @memberof RequiredRestriction
|
2776
|
+
*/
|
2777
|
+
'kind': RequiredRestrictionKindEnum;
|
2778
|
+
/**
|
2779
|
+
*
|
2780
|
+
* @type {Array<string>}
|
2781
|
+
* @memberof RequiredRestriction
|
2782
|
+
*/
|
2783
|
+
'tagKeys': Array<string>;
|
2784
|
+
}
|
2785
|
+
export declare const RequiredRestrictionKindEnum: {
|
2786
|
+
readonly Required: "required";
|
2787
|
+
};
|
2788
|
+
export type RequiredRestrictionKindEnum = typeof RequiredRestrictionKindEnum[keyof typeof RequiredRestrictionKindEnum];
|
2773
2789
|
/**
|
2774
2790
|
* @type Rule
|
2775
2791
|
* @export
|
@@ -3573,6 +3589,12 @@ export interface Transaction {
|
|
3573
3589
|
* @memberof Transaction
|
3574
3590
|
*/
|
3575
3591
|
'currency': TransactionCurrencyKind;
|
3592
|
+
/**
|
3593
|
+
*
|
3594
|
+
* @type {string}
|
3595
|
+
* @memberof Transaction
|
3596
|
+
*/
|
3597
|
+
'description'?: string;
|
3576
3598
|
}
|
3577
3599
|
/**
|
3578
3600
|
*
|
@@ -4086,7 +4108,7 @@ export interface UserOrder {
|
|
4086
4108
|
* @type {string}
|
4087
4109
|
* @memberof UserOrder
|
4088
4110
|
*/
|
4089
|
-
'clientID'
|
4111
|
+
'clientID'?: string;
|
4090
4112
|
/**
|
4091
4113
|
*
|
4092
4114
|
* @type {OrderStatus}
|
@@ -5346,11 +5368,16 @@ export declare const CustomDealsApiAxiosParamCreator: (configuration?: Configura
|
|
5346
5368
|
/**
|
5347
5369
|
* Get custom deal min target value
|
5348
5370
|
* @summary Get custom deal min target value
|
5349
|
-
* @param {
|
5371
|
+
* @param {string} startingAt start at
|
5372
|
+
* @param {string} endingAt end at
|
5373
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5374
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
5375
|
+
* @param {string} tagKey tag key
|
5376
|
+
* @param {string} tagValue tag value
|
5350
5377
|
* @param {*} [options] Override http request option.
|
5351
5378
|
* @throws {RequiredError}
|
5352
5379
|
*/
|
5353
|
-
getCustomDealMinTargetValue: (
|
5380
|
+
getCustomDealMinTargetValue: (startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5354
5381
|
/**
|
5355
5382
|
* List custom deal restrictions
|
5356
5383
|
* @summary List custom deal restrictions
|
@@ -5375,11 +5402,16 @@ export declare const CustomDealsApiFp: (configuration?: Configuration) => {
|
|
5375
5402
|
/**
|
5376
5403
|
* Get custom deal min target value
|
5377
5404
|
* @summary Get custom deal min target value
|
5378
|
-
* @param {
|
5405
|
+
* @param {string} startingAt start at
|
5406
|
+
* @param {string} endingAt end at
|
5407
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5408
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
5409
|
+
* @param {string} tagKey tag key
|
5410
|
+
* @param {string} tagValue tag value
|
5379
5411
|
* @param {*} [options] Override http request option.
|
5380
5412
|
* @throws {RequiredError}
|
5381
5413
|
*/
|
5382
|
-
getCustomDealMinTargetValue(
|
5414
|
+
getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDealMinTargetValueResponse>>;
|
5383
5415
|
/**
|
5384
5416
|
* List custom deal restrictions
|
5385
5417
|
* @summary List custom deal restrictions
|
@@ -5404,11 +5436,16 @@ export declare const CustomDealsApiFactory: (configuration?: Configuration, base
|
|
5404
5436
|
/**
|
5405
5437
|
* Get custom deal min target value
|
5406
5438
|
* @summary Get custom deal min target value
|
5407
|
-
* @param {
|
5439
|
+
* @param {string} startingAt start at
|
5440
|
+
* @param {string} endingAt end at
|
5441
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5442
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
5443
|
+
* @param {string} tagKey tag key
|
5444
|
+
* @param {string} tagValue tag value
|
5408
5445
|
* @param {*} [options] Override http request option.
|
5409
5446
|
* @throws {RequiredError}
|
5410
5447
|
*/
|
5411
|
-
getCustomDealMinTargetValue(
|
5448
|
+
getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: any): AxiosPromise<CustomDealMinTargetValueResponse>;
|
5412
5449
|
/**
|
5413
5450
|
* List custom deal restrictions
|
5414
5451
|
* @summary List custom deal restrictions
|
@@ -5436,12 +5473,17 @@ export declare class CustomDealsApi extends BaseAPI {
|
|
5436
5473
|
/**
|
5437
5474
|
* Get custom deal min target value
|
5438
5475
|
* @summary Get custom deal min target value
|
5439
|
-
* @param {
|
5476
|
+
* @param {string} startingAt start at
|
5477
|
+
* @param {string} endingAt end at
|
5478
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5479
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
5480
|
+
* @param {string} tagKey tag key
|
5481
|
+
* @param {string} tagValue tag value
|
5440
5482
|
* @param {*} [options] Override http request option.
|
5441
5483
|
* @throws {RequiredError}
|
5442
5484
|
* @memberof CustomDealsApi
|
5443
5485
|
*/
|
5444
|
-
getCustomDealMinTargetValue(
|
5486
|
+
getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomDealMinTargetValueResponse, any>>;
|
5445
5487
|
/**
|
5446
5488
|
* List custom deal restrictions
|
5447
5489
|
* @summary List custom deal restrictions
|
@@ -6921,10 +6963,11 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
|
|
6921
6963
|
* @param {PromotionSortByField} [sortBy] sort by field
|
6922
6964
|
* @param {SortDirection} [sortDirection] sort direction
|
6923
6965
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
6966
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
6924
6967
|
* @param {*} [options] Override http request option.
|
6925
6968
|
* @throws {RequiredError}
|
6926
6969
|
*/
|
6927
|
-
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, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
6970
|
+
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<RequestArgs>;
|
6928
6971
|
/**
|
6929
6972
|
* List users promotions
|
6930
6973
|
* @summary List promotions
|
@@ -6939,10 +6982,11 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
|
|
6939
6982
|
* @param {SortDirection} [sortDirection] sort direction
|
6940
6983
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
6941
6984
|
* @param {PromotionType} [type] promotion type
|
6985
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
6942
6986
|
* @param {*} [options] Override http request option.
|
6943
6987
|
* @throws {RequiredError}
|
6944
6988
|
*/
|
6945
|
-
listUserPromotions: (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
6989
|
+
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<RequestArgs>;
|
6946
6990
|
/**
|
6947
6991
|
* Update promotion by id
|
6948
6992
|
* @summary Update promotion
|
@@ -7063,10 +7107,11 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
7063
7107
|
* @param {PromotionSortByField} [sortBy] sort by field
|
7064
7108
|
* @param {SortDirection} [sortDirection] sort direction
|
7065
7109
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7110
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7066
7111
|
* @param {*} [options] Override http request option.
|
7067
7112
|
* @throws {RequiredError}
|
7068
7113
|
*/
|
7069
|
-
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, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
|
7114
|
+
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>>;
|
7070
7115
|
/**
|
7071
7116
|
* List users promotions
|
7072
7117
|
* @summary List promotions
|
@@ -7081,10 +7126,11 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
7081
7126
|
* @param {SortDirection} [sortDirection] sort direction
|
7082
7127
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7083
7128
|
* @param {PromotionType} [type] promotion type
|
7129
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7084
7130
|
* @param {*} [options] Override http request option.
|
7085
7131
|
* @throws {RequiredError}
|
7086
7132
|
*/
|
7087
|
-
listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>>;
|
7133
|
+
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>>;
|
7088
7134
|
/**
|
7089
7135
|
* Update promotion by id
|
7090
7136
|
* @summary Update promotion
|
@@ -7205,10 +7251,11 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
|
|
7205
7251
|
* @param {PromotionSortByField} [sortBy] sort by field
|
7206
7252
|
* @param {SortDirection} [sortDirection] sort direction
|
7207
7253
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7254
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7208
7255
|
* @param {*} [options] Override http request option.
|
7209
7256
|
* @throws {RequiredError}
|
7210
7257
|
*/
|
7211
|
-
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, options?: any): AxiosPromise<PromotionsResponse>;
|
7258
|
+
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>;
|
7212
7259
|
/**
|
7213
7260
|
* List users promotions
|
7214
7261
|
* @summary List promotions
|
@@ -7223,10 +7270,11 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
|
|
7223
7270
|
* @param {SortDirection} [sortDirection] sort direction
|
7224
7271
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7225
7272
|
* @param {PromotionType} [type] promotion type
|
7273
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7226
7274
|
* @param {*} [options] Override http request option.
|
7227
7275
|
* @throws {RequiredError}
|
7228
7276
|
*/
|
7229
|
-
listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: any): AxiosPromise<UserPromotionsResponse>;
|
7277
|
+
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>;
|
7230
7278
|
/**
|
7231
7279
|
* Update promotion by id
|
7232
7280
|
* @summary Update promotion
|
@@ -7359,11 +7407,12 @@ export declare class PromotionApi extends BaseAPI {
|
|
7359
7407
|
* @param {PromotionSortByField} [sortBy] sort by field
|
7360
7408
|
* @param {SortDirection} [sortDirection] sort direction
|
7361
7409
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7410
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7362
7411
|
* @param {*} [options] Override http request option.
|
7363
7412
|
* @throws {RequiredError}
|
7364
7413
|
* @memberof PromotionApi
|
7365
7414
|
*/
|
7366
|
-
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, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
|
7415
|
+
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<import("axios").AxiosResponse<PromotionsResponse, any>>;
|
7367
7416
|
/**
|
7368
7417
|
* List users promotions
|
7369
7418
|
* @summary List promotions
|
@@ -7378,11 +7427,12 @@ export declare class PromotionApi extends BaseAPI {
|
|
7378
7427
|
* @param {SortDirection} [sortDirection] sort direction
|
7379
7428
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7380
7429
|
* @param {PromotionType} [type] promotion type
|
7430
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7381
7431
|
* @param {*} [options] Override http request option.
|
7382
7432
|
* @throws {RequiredError}
|
7383
7433
|
* @memberof PromotionApi
|
7384
7434
|
*/
|
7385
|
-
listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPromotionsResponse, any>>;
|
7435
|
+
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<import("axios").AxiosResponse<UserPromotionsResponse, any>>;
|
7386
7436
|
/**
|
7387
7437
|
* Update promotion by id
|
7388
7438
|
* @summary Update promotion
|