flexinet-api 0.0.1294-prerelease0 → 0.0.1295
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 +231 -439
- package/dist/api.d.ts +179 -295
- package/dist/api.js +91 -240
- package/dist/esm/api.d.ts +179 -295
- package/dist/esm/api.js +88 -237
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
@@ -13,25 +13,6 @@ import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
14
14
|
import type { RequestArgs } from './base';
|
15
15
|
import { BaseAPI } from './base';
|
16
|
-
/**
|
17
|
-
*
|
18
|
-
* @export
|
19
|
-
* @interface AdminOrderCreationRequest
|
20
|
-
*/
|
21
|
-
export interface AdminOrderCreationRequest {
|
22
|
-
/**
|
23
|
-
*
|
24
|
-
* @type {Array<OrderItemCreationRequest>}
|
25
|
-
* @memberof AdminOrderCreationRequest
|
26
|
-
*/
|
27
|
-
'items': Array<OrderItemCreationRequest>;
|
28
|
-
/**
|
29
|
-
*
|
30
|
-
* @type {Beneficiary}
|
31
|
-
* @memberof AdminOrderCreationRequest
|
32
|
-
*/
|
33
|
-
'beneficiary'?: Beneficiary;
|
34
|
-
}
|
35
16
|
/**
|
36
17
|
*
|
37
18
|
* @export
|
@@ -200,12 +181,6 @@ export interface Balance {
|
|
200
181
|
* @memberof Balance
|
201
182
|
*/
|
202
183
|
'beneficiary': Beneficiary;
|
203
|
-
/**
|
204
|
-
*
|
205
|
-
* @type {TransactionCurrencyKind}
|
206
|
-
* @memberof Balance
|
207
|
-
*/
|
208
|
-
'currency': TransactionCurrencyKind;
|
209
184
|
}
|
210
185
|
/**
|
211
186
|
*
|
@@ -230,13 +205,7 @@ export interface BalanceUpdateRequest {
|
|
230
205
|
* @type {TransactionKind}
|
231
206
|
* @memberof BalanceUpdateRequest
|
232
207
|
*/
|
233
|
-
'transactionKind'
|
234
|
-
/**
|
235
|
-
*
|
236
|
-
* @type {TransactionCurrencyKind}
|
237
|
-
* @memberof BalanceUpdateRequest
|
238
|
-
*/
|
239
|
-
'currency'?: TransactionCurrencyKind;
|
208
|
+
'transactionKind'?: TransactionKind;
|
240
209
|
}
|
241
210
|
/**
|
242
211
|
*
|
@@ -262,12 +231,6 @@ export interface BalanceWithBeneficiaryRef {
|
|
262
231
|
* @memberof BalanceWithBeneficiaryRef
|
263
232
|
*/
|
264
233
|
'beneficiaryRef': BeneficiaryWithRef;
|
265
|
-
/**
|
266
|
-
*
|
267
|
-
* @type {TransactionCurrencyKind}
|
268
|
-
* @memberof BalanceWithBeneficiaryRef
|
269
|
-
*/
|
270
|
-
'currency': TransactionCurrencyKind;
|
271
234
|
}
|
272
235
|
/**
|
273
236
|
*
|
@@ -394,7 +357,7 @@ export interface CallbackBeneficiaryDetails {
|
|
394
357
|
* @type {string}
|
395
358
|
* @memberof CallbackBeneficiaryDetails
|
396
359
|
*/
|
397
|
-
'clientReference'
|
360
|
+
'clientReference'?: string;
|
398
361
|
/**
|
399
362
|
*
|
400
363
|
* @type {BeneficiaryKind}
|
@@ -406,7 +369,7 @@ export interface CallbackBeneficiaryDetails {
|
|
406
369
|
* @type {string}
|
407
370
|
* @memberof CallbackBeneficiaryDetails
|
408
371
|
*/
|
409
|
-
'userReference'
|
372
|
+
'userReference': string;
|
410
373
|
}
|
411
374
|
/**
|
412
375
|
* @type CallbackEvent
|
@@ -597,6 +560,12 @@ export interface Client {
|
|
597
560
|
* @memberof Client
|
598
561
|
*/
|
599
562
|
'isSuspended'?: boolean;
|
563
|
+
/**
|
564
|
+
*
|
565
|
+
* @type {boolean}
|
566
|
+
* @memberof Client
|
567
|
+
*/
|
568
|
+
'isExcluded'?: boolean;
|
600
569
|
}
|
601
570
|
/**
|
602
571
|
*
|
@@ -662,6 +631,25 @@ export interface ClientListResponse {
|
|
662
631
|
*/
|
663
632
|
'hasMore': boolean;
|
664
633
|
}
|
634
|
+
/**
|
635
|
+
*
|
636
|
+
* @export
|
637
|
+
* @interface ClientUpdateRequest
|
638
|
+
*/
|
639
|
+
export interface ClientUpdateRequest {
|
640
|
+
/**
|
641
|
+
*
|
642
|
+
* @type {string}
|
643
|
+
* @memberof ClientUpdateRequest
|
644
|
+
*/
|
645
|
+
'referenceId': string;
|
646
|
+
/**
|
647
|
+
*
|
648
|
+
* @type {boolean}
|
649
|
+
* @memberof ClientUpdateRequest
|
650
|
+
*/
|
651
|
+
'isExcluded': boolean;
|
652
|
+
}
|
665
653
|
/**
|
666
654
|
*
|
667
655
|
* @export
|
@@ -675,6 +663,19 @@ export interface ClientsBulkCreationRequest {
|
|
675
663
|
*/
|
676
664
|
'clients': Array<ClientCreationRequest>;
|
677
665
|
}
|
666
|
+
/**
|
667
|
+
*
|
668
|
+
* @export
|
669
|
+
* @interface ClientsBulkUpdateRequest
|
670
|
+
*/
|
671
|
+
export interface ClientsBulkUpdateRequest {
|
672
|
+
/**
|
673
|
+
*
|
674
|
+
* @type {Array<ClientUpdateRequest>}
|
675
|
+
* @memberof ClientsBulkUpdateRequest
|
676
|
+
*/
|
677
|
+
'clients': Array<ClientUpdateRequest>;
|
678
|
+
}
|
678
679
|
/**
|
679
680
|
*
|
680
681
|
* @export
|
@@ -689,25 +690,52 @@ export type Condition = typeof Condition[keyof typeof Condition];
|
|
689
690
|
/**
|
690
691
|
*
|
691
692
|
* @export
|
692
|
-
* @interface
|
693
|
+
* @interface CustomDealRestriction
|
693
694
|
*/
|
694
|
-
export interface
|
695
|
+
export interface CustomDealRestriction {
|
696
|
+
/**
|
697
|
+
*
|
698
|
+
* @type {string}
|
699
|
+
* @memberof CustomDealRestriction
|
700
|
+
*/
|
701
|
+
'tagKey': string;
|
702
|
+
/**
|
703
|
+
*
|
704
|
+
* @type {string}
|
705
|
+
* @memberof CustomDealRestriction
|
706
|
+
*/
|
707
|
+
'tagValue': string;
|
708
|
+
/**
|
709
|
+
*
|
710
|
+
* @type {number}
|
711
|
+
* @memberof CustomDealRestriction
|
712
|
+
*/
|
713
|
+
'minTurnoverPercent': number;
|
714
|
+
/**
|
715
|
+
*
|
716
|
+
* @type {CustomDealRestrictionPriority}
|
717
|
+
* @memberof CustomDealRestriction
|
718
|
+
*/
|
719
|
+
'priority': CustomDealRestrictionPriority;
|
695
720
|
/**
|
696
721
|
*
|
697
722
|
* @type {number}
|
698
|
-
* @memberof
|
723
|
+
* @memberof CustomDealRestriction
|
724
|
+
*/
|
725
|
+
'points': number;
|
726
|
+
/**
|
727
|
+
*
|
728
|
+
* @type {string}
|
729
|
+
* @memberof CustomDealRestriction
|
730
|
+
*/
|
731
|
+
'createdAt': string;
|
732
|
+
/**
|
733
|
+
*
|
734
|
+
* @type {string}
|
735
|
+
* @memberof CustomDealRestriction
|
699
736
|
*/
|
700
|
-
'
|
737
|
+
'updatedAt': string;
|
701
738
|
}
|
702
|
-
/**
|
703
|
-
* @type CustomDealRestriction
|
704
|
-
* @export
|
705
|
-
*/
|
706
|
-
export type CustomDealRestriction = {
|
707
|
-
kind: 'minTurnover';
|
708
|
-
} & MinTurnoverRestriction | {
|
709
|
-
kind: 'required';
|
710
|
-
} & RequiredRestriction;
|
711
739
|
/**
|
712
740
|
*
|
713
741
|
* @export
|
@@ -719,6 +747,43 @@ export declare const CustomDealRestrictionPriority: {
|
|
719
747
|
readonly High: "high";
|
720
748
|
};
|
721
749
|
export type CustomDealRestrictionPriority = typeof CustomDealRestrictionPriority[keyof typeof CustomDealRestrictionPriority];
|
750
|
+
/**
|
751
|
+
*
|
752
|
+
* @export
|
753
|
+
* @interface CustomDealRestrictionRequest
|
754
|
+
*/
|
755
|
+
export interface CustomDealRestrictionRequest {
|
756
|
+
/**
|
757
|
+
*
|
758
|
+
* @type {string}
|
759
|
+
* @memberof CustomDealRestrictionRequest
|
760
|
+
*/
|
761
|
+
'tagKey': string;
|
762
|
+
/**
|
763
|
+
*
|
764
|
+
* @type {string}
|
765
|
+
* @memberof CustomDealRestrictionRequest
|
766
|
+
*/
|
767
|
+
'tagValue': string;
|
768
|
+
/**
|
769
|
+
*
|
770
|
+
* @type {number}
|
771
|
+
* @memberof CustomDealRestrictionRequest
|
772
|
+
*/
|
773
|
+
'minTurnoverPercent': number;
|
774
|
+
/**
|
775
|
+
*
|
776
|
+
* @type {CustomDealRestrictionPriority}
|
777
|
+
* @memberof CustomDealRestrictionRequest
|
778
|
+
*/
|
779
|
+
'priority': CustomDealRestrictionPriority;
|
780
|
+
/**
|
781
|
+
*
|
782
|
+
* @type {number}
|
783
|
+
* @memberof CustomDealRestrictionRequest
|
784
|
+
*/
|
785
|
+
'points': number;
|
786
|
+
}
|
722
787
|
/**
|
723
788
|
*
|
724
789
|
* @export
|
@@ -907,6 +972,12 @@ export interface MetricsAggregation {
|
|
907
972
|
* @memberof MetricsAggregation
|
908
973
|
*/
|
909
974
|
'total': MetricsCollection;
|
975
|
+
/**
|
976
|
+
*
|
977
|
+
* @type {string}
|
978
|
+
* @memberof MetricsAggregation
|
979
|
+
*/
|
980
|
+
'updatedAt'?: string;
|
910
981
|
}
|
911
982
|
/**
|
912
983
|
*
|
@@ -927,66 +998,6 @@ export interface MetricsCollection {
|
|
927
998
|
*/
|
928
999
|
'total': Metrics;
|
929
1000
|
}
|
930
|
-
/**
|
931
|
-
*
|
932
|
-
* @export
|
933
|
-
* @interface MinTurnoverRestriction
|
934
|
-
*/
|
935
|
-
export interface MinTurnoverRestriction {
|
936
|
-
/**
|
937
|
-
*
|
938
|
-
* @type {string}
|
939
|
-
* @memberof MinTurnoverRestriction
|
940
|
-
*/
|
941
|
-
'kind': MinTurnoverRestrictionKindEnum;
|
942
|
-
/**
|
943
|
-
*
|
944
|
-
* @type {Array<MinTurnoverRestrictionValue>}
|
945
|
-
* @memberof MinTurnoverRestriction
|
946
|
-
*/
|
947
|
-
'values': Array<MinTurnoverRestrictionValue>;
|
948
|
-
}
|
949
|
-
export declare const MinTurnoverRestrictionKindEnum: {
|
950
|
-
readonly MinTurnover: "minTurnover";
|
951
|
-
};
|
952
|
-
export type MinTurnoverRestrictionKindEnum = typeof MinTurnoverRestrictionKindEnum[keyof typeof MinTurnoverRestrictionKindEnum];
|
953
|
-
/**
|
954
|
-
*
|
955
|
-
* @export
|
956
|
-
* @interface MinTurnoverRestrictionValue
|
957
|
-
*/
|
958
|
-
export interface MinTurnoverRestrictionValue {
|
959
|
-
/**
|
960
|
-
*
|
961
|
-
* @type {string}
|
962
|
-
* @memberof MinTurnoverRestrictionValue
|
963
|
-
*/
|
964
|
-
'tagKey': string;
|
965
|
-
/**
|
966
|
-
*
|
967
|
-
* @type {string}
|
968
|
-
* @memberof MinTurnoverRestrictionValue
|
969
|
-
*/
|
970
|
-
'tagValue': string;
|
971
|
-
/**
|
972
|
-
*
|
973
|
-
* @type {number}
|
974
|
-
* @memberof MinTurnoverRestrictionValue
|
975
|
-
*/
|
976
|
-
'minTurnoverPercent': number;
|
977
|
-
/**
|
978
|
-
*
|
979
|
-
* @type {CustomDealRestrictionPriority}
|
980
|
-
* @memberof MinTurnoverRestrictionValue
|
981
|
-
*/
|
982
|
-
'priority': CustomDealRestrictionPriority;
|
983
|
-
/**
|
984
|
-
*
|
985
|
-
* @type {number}
|
986
|
-
* @memberof MinTurnoverRestrictionValue
|
987
|
-
*/
|
988
|
-
'points': number;
|
989
|
-
}
|
990
1001
|
/**
|
991
1002
|
*
|
992
1003
|
* @export
|
@@ -1237,12 +1248,6 @@ export interface Order {
|
|
1237
1248
|
* @memberof Order
|
1238
1249
|
*/
|
1239
1250
|
'status'?: OrderStatus;
|
1240
|
-
/**
|
1241
|
-
*
|
1242
|
-
* @type {string}
|
1243
|
-
* @memberof Order
|
1244
|
-
*/
|
1245
|
-
'clientID'?: string;
|
1246
1251
|
}
|
1247
1252
|
/**
|
1248
1253
|
*
|
@@ -1290,7 +1295,6 @@ export interface OrderItemCreationRequest {
|
|
1290
1295
|
export declare const OrderKind: {
|
1291
1296
|
readonly Webshop: "webshop";
|
1292
1297
|
readonly Promotions: "promotions";
|
1293
|
-
readonly SalesBudget: "sales_budget";
|
1294
1298
|
};
|
1295
1299
|
export type OrderKind = typeof OrderKind[keyof typeof OrderKind];
|
1296
1300
|
/**
|
@@ -1920,6 +1924,12 @@ export interface Profile {
|
|
1920
1924
|
* @interface Progress
|
1921
1925
|
*/
|
1922
1926
|
export interface Progress {
|
1927
|
+
/**
|
1928
|
+
*
|
1929
|
+
* @type {string}
|
1930
|
+
* @memberof Progress
|
1931
|
+
*/
|
1932
|
+
'promotionId': string;
|
1923
1933
|
/**
|
1924
1934
|
*
|
1925
1935
|
* @type {string}
|
@@ -2180,12 +2190,6 @@ export interface Promotion {
|
|
2180
2190
|
* @memberof Promotion
|
2181
2191
|
*/
|
2182
2192
|
'status'?: PromotionStatus;
|
2183
|
-
/**
|
2184
|
-
*
|
2185
|
-
* @type {string}
|
2186
|
-
* @memberof Promotion
|
2187
|
-
*/
|
2188
|
-
'reference'?: string;
|
2189
2193
|
}
|
2190
2194
|
/**
|
2191
2195
|
* @type PromotionBeneficiariesResponse
|
@@ -2400,18 +2404,6 @@ export interface PromotionRequest {
|
|
2400
2404
|
* @memberof PromotionRequest
|
2401
2405
|
*/
|
2402
2406
|
'notificationConfig'?: PromotionNotificationConfig;
|
2403
|
-
/**
|
2404
|
-
*
|
2405
|
-
* @type {PromotionType}
|
2406
|
-
* @memberof PromotionRequest
|
2407
|
-
*/
|
2408
|
-
'type'?: PromotionType;
|
2409
|
-
/**
|
2410
|
-
*
|
2411
|
-
* @type {string}
|
2412
|
-
* @memberof PromotionRequest
|
2413
|
-
*/
|
2414
|
-
'reference'?: string;
|
2415
2407
|
}
|
2416
2408
|
/**
|
2417
2409
|
*
|
@@ -2586,29 +2578,6 @@ export declare const ReportTypesResponseTypesEnum: {
|
|
2586
2578
|
readonly PromotionExpanded: "promotion_expanded";
|
2587
2579
|
};
|
2588
2580
|
export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
|
2589
|
-
/**
|
2590
|
-
*
|
2591
|
-
* @export
|
2592
|
-
* @interface RequiredRestriction
|
2593
|
-
*/
|
2594
|
-
export interface RequiredRestriction {
|
2595
|
-
/**
|
2596
|
-
*
|
2597
|
-
* @type {string}
|
2598
|
-
* @memberof RequiredRestriction
|
2599
|
-
*/
|
2600
|
-
'kind': RequiredRestrictionKindEnum;
|
2601
|
-
/**
|
2602
|
-
*
|
2603
|
-
* @type {Array<string>}
|
2604
|
-
* @memberof RequiredRestriction
|
2605
|
-
*/
|
2606
|
-
'tagKeys': Array<string>;
|
2607
|
-
}
|
2608
|
-
export declare const RequiredRestrictionKindEnum: {
|
2609
|
-
readonly Required: "required";
|
2610
|
-
};
|
2611
|
-
export type RequiredRestrictionKindEnum = typeof RequiredRestrictionKindEnum[keyof typeof RequiredRestrictionKindEnum];
|
2612
2581
|
/**
|
2613
2582
|
* @type Rule
|
2614
2583
|
* @export
|
@@ -3406,24 +3375,7 @@ export interface Transaction {
|
|
3406
3375
|
* @memberof Transaction
|
3407
3376
|
*/
|
3408
3377
|
'createdAt': string;
|
3409
|
-
/**
|
3410
|
-
*
|
3411
|
-
* @type {TransactionCurrencyKind}
|
3412
|
-
* @memberof Transaction
|
3413
|
-
*/
|
3414
|
-
'currency': TransactionCurrencyKind;
|
3415
3378
|
}
|
3416
|
-
/**
|
3417
|
-
*
|
3418
|
-
* @export
|
3419
|
-
* @enum {string}
|
3420
|
-
*/
|
3421
|
-
export declare const TransactionCurrencyKind: {
|
3422
|
-
readonly Points: "points";
|
3423
|
-
readonly CustomDealBudget: "customDealBudget";
|
3424
|
-
readonly SalesBudget: "salesBudget";
|
3425
|
-
};
|
3426
|
-
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3427
3379
|
/**
|
3428
3380
|
*
|
3429
3381
|
* @export
|
@@ -3533,14 +3485,13 @@ export declare const TransactionSource: {
|
|
3533
3485
|
readonly Manual: "manual";
|
3534
3486
|
readonly Expiry: "expiry";
|
3535
3487
|
readonly Transfer: "transfer";
|
3536
|
-
readonly SalesBudget: "sales_budget";
|
3537
3488
|
};
|
3538
3489
|
export type TransactionSource = typeof TransactionSource[keyof typeof TransactionSource];
|
3539
3490
|
/**
|
3540
3491
|
* @type TransactionSourceReference
|
3541
3492
|
* @export
|
3542
3493
|
*/
|
3543
|
-
export type TransactionSourceReference = BalanceWithBeneficiaryRef |
|
3494
|
+
export type TransactionSourceReference = BalanceWithBeneficiaryRef | Order | PeriodPromotion | User;
|
3544
3495
|
/**
|
3545
3496
|
*
|
3546
3497
|
* @export
|
@@ -3676,12 +3627,6 @@ export interface UpdatePromotionRequest {
|
|
3676
3627
|
* @memberof UpdatePromotionRequest
|
3677
3628
|
*/
|
3678
3629
|
'notificationConfig'?: PromotionNotificationConfig;
|
3679
|
-
/**
|
3680
|
-
*
|
3681
|
-
* @type {string}
|
3682
|
-
* @memberof UpdatePromotionRequest
|
3683
|
-
*/
|
3684
|
-
'reference'?: string;
|
3685
3630
|
}
|
3686
3631
|
/**
|
3687
3632
|
*
|
@@ -3897,7 +3842,7 @@ export interface UserOrder {
|
|
3897
3842
|
* @type {string}
|
3898
3843
|
* @memberof UserOrder
|
3899
3844
|
*/
|
3900
|
-
'source'
|
3845
|
+
'source'?: string;
|
3901
3846
|
/**
|
3902
3847
|
*
|
3903
3848
|
* @type {string}
|
@@ -3906,10 +3851,10 @@ export interface UserOrder {
|
|
3906
3851
|
'userID'?: string;
|
3907
3852
|
/**
|
3908
3853
|
*
|
3909
|
-
* @type {
|
3854
|
+
* @type {OrderStatus}
|
3910
3855
|
* @memberof UserOrder
|
3911
3856
|
*/
|
3912
|
-
'
|
3857
|
+
'status'?: OrderStatus;
|
3913
3858
|
}
|
3914
3859
|
/**
|
3915
3860
|
*
|
@@ -4501,6 +4446,14 @@ export declare const BulkApiAxiosParamCreator: (configuration?: Configuration) =
|
|
4501
4446
|
* @throws {RequiredError}
|
4502
4447
|
*/
|
4503
4448
|
bulkCreateTags: (tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4449
|
+
/**
|
4450
|
+
* Update multiple clients
|
4451
|
+
* @summary Update multiple clients
|
4452
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4453
|
+
* @param {*} [options] Override http request option.
|
4454
|
+
* @throws {RequiredError}
|
4455
|
+
*/
|
4456
|
+
bulkUpdateClients: (clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4504
4457
|
};
|
4505
4458
|
/**
|
4506
4459
|
* BulkApi - functional programming interface
|
@@ -4531,6 +4484,14 @@ export declare const BulkApiFp: (configuration?: Configuration) => {
|
|
4531
4484
|
* @throws {RequiredError}
|
4532
4485
|
*/
|
4533
4486
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TagDetailed>>>;
|
4487
|
+
/**
|
4488
|
+
* Update multiple clients
|
4489
|
+
* @summary Update multiple clients
|
4490
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4491
|
+
* @param {*} [options] Override http request option.
|
4492
|
+
* @throws {RequiredError}
|
4493
|
+
*/
|
4494
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Client>>>;
|
4534
4495
|
};
|
4535
4496
|
/**
|
4536
4497
|
* BulkApi - factory interface
|
@@ -4561,6 +4522,14 @@ export declare const BulkApiFactory: (configuration?: Configuration, basePath?:
|
|
4561
4522
|
* @throws {RequiredError}
|
4562
4523
|
*/
|
4563
4524
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: any): AxiosPromise<Array<TagDetailed>>;
|
4525
|
+
/**
|
4526
|
+
* Update multiple clients
|
4527
|
+
* @summary Update multiple clients
|
4528
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4529
|
+
* @param {*} [options] Override http request option.
|
4530
|
+
* @throws {RequiredError}
|
4531
|
+
*/
|
4532
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: any): AxiosPromise<Array<Client>>;
|
4564
4533
|
};
|
4565
4534
|
/**
|
4566
4535
|
* BulkApi - object-oriented interface
|
@@ -4596,6 +4565,15 @@ export declare class BulkApi extends BaseAPI {
|
|
4596
4565
|
* @memberof BulkApi
|
4597
4566
|
*/
|
4598
4567
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed[], any>>;
|
4568
|
+
/**
|
4569
|
+
* Update multiple clients
|
4570
|
+
* @summary Update multiple clients
|
4571
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4572
|
+
* @param {*} [options] Override http request option.
|
4573
|
+
* @throws {RequiredError}
|
4574
|
+
* @memberof BulkApi
|
4575
|
+
*/
|
4576
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Client[], any>>;
|
4599
4577
|
}
|
4600
4578
|
/**
|
4601
4579
|
* CategoryApi - axios parameter creator
|
@@ -4963,24 +4941,11 @@ export declare const CustomDealsApiAxiosParamCreator: (configuration?: Configura
|
|
4963
4941
|
/**
|
4964
4942
|
* Create custom deal restrictions
|
4965
4943
|
* @summary Create custom deal restrictions
|
4966
|
-
* @param {
|
4944
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
4967
4945
|
* @param {*} [options] Override http request option.
|
4968
4946
|
* @throws {RequiredError}
|
4969
4947
|
*/
|
4970
|
-
createCustomDealRestrictions: (
|
4971
|
-
/**
|
4972
|
-
* Get custom deal min target value
|
4973
|
-
* @summary Get custom deal min target value
|
4974
|
-
* @param {string} startingAt start at
|
4975
|
-
* @param {string} endingAt end at
|
4976
|
-
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
4977
|
-
* @param {Array<string>} beneficiaryValues beneficiary values
|
4978
|
-
* @param {string} tagKey tag key
|
4979
|
-
* @param {string} tagValue tag value
|
4980
|
-
* @param {*} [options] Override http request option.
|
4981
|
-
* @throws {RequiredError}
|
4982
|
-
*/
|
4983
|
-
getCustomDealMinTargetValue: (startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4948
|
+
createCustomDealRestrictions: (customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4984
4949
|
/**
|
4985
4950
|
* List custom deal restrictions
|
4986
4951
|
* @summary List custom deal restrictions
|
@@ -4997,24 +4962,11 @@ export declare const CustomDealsApiFp: (configuration?: Configuration) => {
|
|
4997
4962
|
/**
|
4998
4963
|
* Create custom deal restrictions
|
4999
4964
|
* @summary Create custom deal restrictions
|
5000
|
-
* @param {
|
4965
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5001
4966
|
* @param {*} [options] Override http request option.
|
5002
4967
|
* @throws {RequiredError}
|
5003
4968
|
*/
|
5004
|
-
createCustomDealRestrictions(
|
5005
|
-
/**
|
5006
|
-
* Get custom deal min target value
|
5007
|
-
* @summary Get custom deal min target value
|
5008
|
-
* @param {string} startingAt start at
|
5009
|
-
* @param {string} endingAt end at
|
5010
|
-
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5011
|
-
* @param {Array<string>} beneficiaryValues beneficiary values
|
5012
|
-
* @param {string} tagKey tag key
|
5013
|
-
* @param {string} tagValue tag value
|
5014
|
-
* @param {*} [options] Override http request option.
|
5015
|
-
* @throws {RequiredError}
|
5016
|
-
*/
|
5017
|
-
getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDealMinTargetValueResponse>>;
|
4969
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
5018
4970
|
/**
|
5019
4971
|
* List custom deal restrictions
|
5020
4972
|
* @summary List custom deal restrictions
|
@@ -5031,24 +4983,11 @@ export declare const CustomDealsApiFactory: (configuration?: Configuration, base
|
|
5031
4983
|
/**
|
5032
4984
|
* Create custom deal restrictions
|
5033
4985
|
* @summary Create custom deal restrictions
|
5034
|
-
* @param {
|
5035
|
-
* @param {*} [options] Override http request option.
|
5036
|
-
* @throws {RequiredError}
|
5037
|
-
*/
|
5038
|
-
createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: any): AxiosPromise<void>;
|
5039
|
-
/**
|
5040
|
-
* Get custom deal min target value
|
5041
|
-
* @summary Get custom deal min target value
|
5042
|
-
* @param {string} startingAt start at
|
5043
|
-
* @param {string} endingAt end at
|
5044
|
-
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5045
|
-
* @param {Array<string>} beneficiaryValues beneficiary values
|
5046
|
-
* @param {string} tagKey tag key
|
5047
|
-
* @param {string} tagValue tag value
|
4986
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5048
4987
|
* @param {*} [options] Override http request option.
|
5049
4988
|
* @throws {RequiredError}
|
5050
4989
|
*/
|
5051
|
-
|
4990
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: any): AxiosPromise<void>;
|
5052
4991
|
/**
|
5053
4992
|
* List custom deal restrictions
|
5054
4993
|
* @summary List custom deal restrictions
|
@@ -5067,26 +5006,12 @@ export declare class CustomDealsApi extends BaseAPI {
|
|
5067
5006
|
/**
|
5068
5007
|
* Create custom deal restrictions
|
5069
5008
|
* @summary Create custom deal restrictions
|
5070
|
-
* @param {
|
5071
|
-
* @param {*} [options] Override http request option.
|
5072
|
-
* @throws {RequiredError}
|
5073
|
-
* @memberof CustomDealsApi
|
5074
|
-
*/
|
5075
|
-
createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5076
|
-
/**
|
5077
|
-
* Get custom deal min target value
|
5078
|
-
* @summary Get custom deal min target value
|
5079
|
-
* @param {string} startingAt start at
|
5080
|
-
* @param {string} endingAt end at
|
5081
|
-
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5082
|
-
* @param {Array<string>} beneficiaryValues beneficiary values
|
5083
|
-
* @param {string} tagKey tag key
|
5084
|
-
* @param {string} tagValue tag value
|
5009
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5085
5010
|
* @param {*} [options] Override http request option.
|
5086
5011
|
* @throws {RequiredError}
|
5087
5012
|
* @memberof CustomDealsApi
|
5088
5013
|
*/
|
5089
|
-
|
5014
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5090
5015
|
/**
|
5091
5016
|
* List custom deal restrictions
|
5092
5017
|
* @summary List custom deal restrictions
|
@@ -5505,14 +5430,6 @@ export declare class NotificationApi extends BaseAPI {
|
|
5505
5430
|
* @export
|
5506
5431
|
*/
|
5507
5432
|
export declare const OrderApiAxiosParamCreator: (configuration?: Configuration) => {
|
5508
|
-
/**
|
5509
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5510
|
-
* @summary Create an order for a product
|
5511
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5512
|
-
* @param {*} [options] Override http request option.
|
5513
|
-
* @throws {RequiredError}
|
5514
|
-
*/
|
5515
|
-
createAdminOrder: (adminOrderCreationRequest?: AdminOrderCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5516
5433
|
/**
|
5517
5434
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5518
5435
|
* @summary Create an order for a product
|
@@ -5548,12 +5465,10 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5548
5465
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5549
5466
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5550
5467
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5551
|
-
* @param {OrderKind} [kind] Filter by kind
|
5552
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5553
5468
|
* @param {*} [options] Override http request option.
|
5554
5469
|
* @throws {RequiredError}
|
5555
5470
|
*/
|
5556
|
-
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5471
|
+
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5557
5472
|
/**
|
5558
5473
|
* List existing orders
|
5559
5474
|
* @summary List existing orders
|
@@ -5574,14 +5489,6 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5574
5489
|
* @export
|
5575
5490
|
*/
|
5576
5491
|
export declare const OrderApiFp: (configuration?: Configuration) => {
|
5577
|
-
/**
|
5578
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5579
|
-
* @summary Create an order for a product
|
5580
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5581
|
-
* @param {*} [options] Override http request option.
|
5582
|
-
* @throws {RequiredError}
|
5583
|
-
*/
|
5584
|
-
createAdminOrder(adminOrderCreationRequest?: AdminOrderCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
5585
5492
|
/**
|
5586
5493
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5587
5494
|
* @summary Create an order for a product
|
@@ -5617,12 +5524,10 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5617
5524
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5618
5525
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5619
5526
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5620
|
-
* @param {OrderKind} [kind] Filter by kind
|
5621
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5622
5527
|
* @param {*} [options] Override http request option.
|
5623
5528
|
* @throws {RequiredError}
|
5624
5529
|
*/
|
5625
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5530
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>>;
|
5626
5531
|
/**
|
5627
5532
|
* List existing orders
|
5628
5533
|
* @summary List existing orders
|
@@ -5643,14 +5548,6 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5643
5548
|
* @export
|
5644
5549
|
*/
|
5645
5550
|
export declare const OrderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
5646
|
-
/**
|
5647
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5648
|
-
* @summary Create an order for a product
|
5649
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5650
|
-
* @param {*} [options] Override http request option.
|
5651
|
-
* @throws {RequiredError}
|
5652
|
-
*/
|
5653
|
-
createAdminOrder(adminOrderCreationRequest?: AdminOrderCreationRequest, options?: any): AxiosPromise<Order>;
|
5654
5551
|
/**
|
5655
5552
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5656
5553
|
* @summary Create an order for a product
|
@@ -5686,12 +5583,10 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5686
5583
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5687
5584
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5688
5585
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5689
|
-
* @param {OrderKind} [kind] Filter by kind
|
5690
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5691
5586
|
* @param {*} [options] Override http request option.
|
5692
5587
|
* @throws {RequiredError}
|
5693
5588
|
*/
|
5694
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5589
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: any): AxiosPromise<OrderListResponse>;
|
5695
5590
|
/**
|
5696
5591
|
* List existing orders
|
5697
5592
|
* @summary List existing orders
|
@@ -5714,15 +5609,6 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5714
5609
|
* @extends {BaseAPI}
|
5715
5610
|
*/
|
5716
5611
|
export declare class OrderApi extends BaseAPI {
|
5717
|
-
/**
|
5718
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5719
|
-
* @summary Create an order for a product
|
5720
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5721
|
-
* @param {*} [options] Override http request option.
|
5722
|
-
* @throws {RequiredError}
|
5723
|
-
* @memberof OrderApi
|
5724
|
-
*/
|
5725
|
-
createAdminOrder(adminOrderCreationRequest?: AdminOrderCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
5726
5612
|
/**
|
5727
5613
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5728
5614
|
* @summary Create an order for a product
|
@@ -5761,13 +5647,11 @@ export declare class OrderApi extends BaseAPI {
|
|
5761
5647
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5762
5648
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5763
5649
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5764
|
-
* @param {OrderKind} [kind] Filter by kind
|
5765
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5766
5650
|
* @param {*} [options] Override http request option.
|
5767
5651
|
* @throws {RequiredError}
|
5768
5652
|
* @memberof OrderApi
|
5769
5653
|
*/
|
5770
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5654
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderListResponse, any>>;
|
5771
5655
|
/**
|
5772
5656
|
* List existing orders
|
5773
5657
|
* @summary List existing orders
|