flexinet-api 0.0.1890-prerelease0-dev → 0.0.1890
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/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
|
@@ -3524,6 +3540,12 @@ export interface Tenant {
|
|
3524
3540
|
* @memberof Tenant
|
3525
3541
|
*/
|
3526
3542
|
'locale': Locale;
|
3543
|
+
/**
|
3544
|
+
*
|
3545
|
+
* @type {string}
|
3546
|
+
* @memberof Tenant
|
3547
|
+
*/
|
3548
|
+
'announcement'?: string;
|
3527
3549
|
}
|
3528
3550
|
/**
|
3529
3551
|
*
|
@@ -3573,6 +3595,12 @@ export interface Transaction {
|
|
3573
3595
|
* @memberof Transaction
|
3574
3596
|
*/
|
3575
3597
|
'currency': TransactionCurrencyKind;
|
3598
|
+
/**
|
3599
|
+
*
|
3600
|
+
* @type {string}
|
3601
|
+
* @memberof Transaction
|
3602
|
+
*/
|
3603
|
+
'description'?: string;
|
3576
3604
|
}
|
3577
3605
|
/**
|
3578
3606
|
*
|
@@ -4086,13 +4114,19 @@ export interface UserOrder {
|
|
4086
4114
|
* @type {string}
|
4087
4115
|
* @memberof UserOrder
|
4088
4116
|
*/
|
4089
|
-
'clientID'
|
4117
|
+
'clientID'?: string;
|
4090
4118
|
/**
|
4091
4119
|
*
|
4092
4120
|
* @type {OrderStatus}
|
4093
4121
|
* @memberof UserOrder
|
4094
4122
|
*/
|
4095
4123
|
'status'?: OrderStatus;
|
4124
|
+
/**
|
4125
|
+
*
|
4126
|
+
* @type {OrderSourceReference}
|
4127
|
+
* @memberof UserOrder
|
4128
|
+
*/
|
4129
|
+
'sourceReference'?: OrderSourceReference;
|
4096
4130
|
}
|
4097
4131
|
/**
|
4098
4132
|
*
|
@@ -5346,11 +5380,16 @@ export declare const CustomDealsApiAxiosParamCreator: (configuration?: Configura
|
|
5346
5380
|
/**
|
5347
5381
|
* Get custom deal min target value
|
5348
5382
|
* @summary Get custom deal min target value
|
5349
|
-
* @param {
|
5383
|
+
* @param {string} startingAt start at
|
5384
|
+
* @param {string} endingAt end at
|
5385
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5386
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
5387
|
+
* @param {string} tagKey tag key
|
5388
|
+
* @param {string} tagValue tag value
|
5350
5389
|
* @param {*} [options] Override http request option.
|
5351
5390
|
* @throws {RequiredError}
|
5352
5391
|
*/
|
5353
|
-
getCustomDealMinTargetValue: (
|
5392
|
+
getCustomDealMinTargetValue: (startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5354
5393
|
/**
|
5355
5394
|
* List custom deal restrictions
|
5356
5395
|
* @summary List custom deal restrictions
|
@@ -5375,11 +5414,16 @@ export declare const CustomDealsApiFp: (configuration?: Configuration) => {
|
|
5375
5414
|
/**
|
5376
5415
|
* Get custom deal min target value
|
5377
5416
|
* @summary Get custom deal min target value
|
5378
|
-
* @param {
|
5417
|
+
* @param {string} startingAt start at
|
5418
|
+
* @param {string} endingAt end at
|
5419
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5420
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
5421
|
+
* @param {string} tagKey tag key
|
5422
|
+
* @param {string} tagValue tag value
|
5379
5423
|
* @param {*} [options] Override http request option.
|
5380
5424
|
* @throws {RequiredError}
|
5381
5425
|
*/
|
5382
|
-
getCustomDealMinTargetValue(
|
5426
|
+
getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDealMinTargetValueResponse>>;
|
5383
5427
|
/**
|
5384
5428
|
* List custom deal restrictions
|
5385
5429
|
* @summary List custom deal restrictions
|
@@ -5404,11 +5448,16 @@ export declare const CustomDealsApiFactory: (configuration?: Configuration, base
|
|
5404
5448
|
/**
|
5405
5449
|
* Get custom deal min target value
|
5406
5450
|
* @summary Get custom deal min target value
|
5407
|
-
* @param {
|
5451
|
+
* @param {string} startingAt start at
|
5452
|
+
* @param {string} endingAt end at
|
5453
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5454
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
5455
|
+
* @param {string} tagKey tag key
|
5456
|
+
* @param {string} tagValue tag value
|
5408
5457
|
* @param {*} [options] Override http request option.
|
5409
5458
|
* @throws {RequiredError}
|
5410
5459
|
*/
|
5411
|
-
getCustomDealMinTargetValue(
|
5460
|
+
getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: any): AxiosPromise<CustomDealMinTargetValueResponse>;
|
5412
5461
|
/**
|
5413
5462
|
* List custom deal restrictions
|
5414
5463
|
* @summary List custom deal restrictions
|
@@ -5436,12 +5485,17 @@ export declare class CustomDealsApi extends BaseAPI {
|
|
5436
5485
|
/**
|
5437
5486
|
* Get custom deal min target value
|
5438
5487
|
* @summary Get custom deal min target value
|
5439
|
-
* @param {
|
5488
|
+
* @param {string} startingAt start at
|
5489
|
+
* @param {string} endingAt end at
|
5490
|
+
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5491
|
+
* @param {Array<string>} beneficiaryValues beneficiary values
|
5492
|
+
* @param {string} tagKey tag key
|
5493
|
+
* @param {string} tagValue tag value
|
5440
5494
|
* @param {*} [options] Override http request option.
|
5441
5495
|
* @throws {RequiredError}
|
5442
5496
|
* @memberof CustomDealsApi
|
5443
5497
|
*/
|
5444
|
-
getCustomDealMinTargetValue(
|
5498
|
+
getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomDealMinTargetValueResponse, any>>;
|
5445
5499
|
/**
|
5446
5500
|
* List custom deal restrictions
|
5447
5501
|
* @summary List custom deal restrictions
|
@@ -6921,10 +6975,11 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
|
|
6921
6975
|
* @param {PromotionSortByField} [sortBy] sort by field
|
6922
6976
|
* @param {SortDirection} [sortDirection] sort direction
|
6923
6977
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
6978
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
6924
6979
|
* @param {*} [options] Override http request option.
|
6925
6980
|
* @throws {RequiredError}
|
6926
6981
|
*/
|
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>;
|
6982
|
+
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
6983
|
/**
|
6929
6984
|
* List users promotions
|
6930
6985
|
* @summary List promotions
|
@@ -6939,10 +6994,11 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
|
|
6939
6994
|
* @param {SortDirection} [sortDirection] sort direction
|
6940
6995
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
6941
6996
|
* @param {PromotionType} [type] promotion type
|
6997
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
6942
6998
|
* @param {*} [options] Override http request option.
|
6943
6999
|
* @throws {RequiredError}
|
6944
7000
|
*/
|
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>;
|
7001
|
+
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
7002
|
/**
|
6947
7003
|
* Update promotion by id
|
6948
7004
|
* @summary Update promotion
|
@@ -7063,10 +7119,11 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
7063
7119
|
* @param {PromotionSortByField} [sortBy] sort by field
|
7064
7120
|
* @param {SortDirection} [sortDirection] sort direction
|
7065
7121
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7122
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7066
7123
|
* @param {*} [options] Override http request option.
|
7067
7124
|
* @throws {RequiredError}
|
7068
7125
|
*/
|
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>>;
|
7126
|
+
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
7127
|
/**
|
7071
7128
|
* List users promotions
|
7072
7129
|
* @summary List promotions
|
@@ -7081,10 +7138,11 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
7081
7138
|
* @param {SortDirection} [sortDirection] sort direction
|
7082
7139
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7083
7140
|
* @param {PromotionType} [type] promotion type
|
7141
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7084
7142
|
* @param {*} [options] Override http request option.
|
7085
7143
|
* @throws {RequiredError}
|
7086
7144
|
*/
|
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>>;
|
7145
|
+
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
7146
|
/**
|
7089
7147
|
* Update promotion by id
|
7090
7148
|
* @summary Update promotion
|
@@ -7205,10 +7263,11 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
|
|
7205
7263
|
* @param {PromotionSortByField} [sortBy] sort by field
|
7206
7264
|
* @param {SortDirection} [sortDirection] sort direction
|
7207
7265
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7266
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7208
7267
|
* @param {*} [options] Override http request option.
|
7209
7268
|
* @throws {RequiredError}
|
7210
7269
|
*/
|
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>;
|
7270
|
+
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
7271
|
/**
|
7213
7272
|
* List users promotions
|
7214
7273
|
* @summary List promotions
|
@@ -7223,10 +7282,11 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
|
|
7223
7282
|
* @param {SortDirection} [sortDirection] sort direction
|
7224
7283
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7225
7284
|
* @param {PromotionType} [type] promotion type
|
7285
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7226
7286
|
* @param {*} [options] Override http request option.
|
7227
7287
|
* @throws {RequiredError}
|
7228
7288
|
*/
|
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>;
|
7289
|
+
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
7290
|
/**
|
7231
7291
|
* Update promotion by id
|
7232
7292
|
* @summary Update promotion
|
@@ -7359,11 +7419,12 @@ export declare class PromotionApi extends BaseAPI {
|
|
7359
7419
|
* @param {PromotionSortByField} [sortBy] sort by field
|
7360
7420
|
* @param {SortDirection} [sortDirection] sort direction
|
7361
7421
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7422
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7362
7423
|
* @param {*} [options] Override http request option.
|
7363
7424
|
* @throws {RequiredError}
|
7364
7425
|
* @memberof PromotionApi
|
7365
7426
|
*/
|
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>>;
|
7427
|
+
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
7428
|
/**
|
7368
7429
|
* List users promotions
|
7369
7430
|
* @summary List promotions
|
@@ -7378,11 +7439,12 @@ export declare class PromotionApi extends BaseAPI {
|
|
7378
7439
|
* @param {SortDirection} [sortDirection] sort direction
|
7379
7440
|
* @param {boolean} [onlyClaimable] only claimable promotions
|
7380
7441
|
* @param {PromotionType} [type] promotion type
|
7442
|
+
* @param {Array<string>} [iDs] IDs to filter by
|
7381
7443
|
* @param {*} [options] Override http request option.
|
7382
7444
|
* @throws {RequiredError}
|
7383
7445
|
* @memberof PromotionApi
|
7384
7446
|
*/
|
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>>;
|
7447
|
+
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
7448
|
/**
|
7387
7449
|
* Update promotion by id
|
7388
7450
|
* @summary Update promotion
|