flexinet-api 0.0.1273-prerelease0 → 0.0.1273
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 +225 -439
- package/dist/api.d.ts +173 -295
- package/dist/api.js +91 -240
- package/dist/esm/api.d.ts +173 -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;
|
695
708
|
/**
|
696
709
|
*
|
697
710
|
* @type {number}
|
698
|
-
* @memberof
|
711
|
+
* @memberof CustomDealRestriction
|
699
712
|
*/
|
700
|
-
'
|
713
|
+
'minTurnoverPercent': number;
|
714
|
+
/**
|
715
|
+
*
|
716
|
+
* @type {CustomDealRestrictionPriority}
|
717
|
+
* @memberof CustomDealRestriction
|
718
|
+
*/
|
719
|
+
'priority': CustomDealRestrictionPriority;
|
720
|
+
/**
|
721
|
+
*
|
722
|
+
* @type {number}
|
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
|
736
|
+
*/
|
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
|
/**
|
@@ -2180,12 +2184,6 @@ export interface Promotion {
|
|
2180
2184
|
* @memberof Promotion
|
2181
2185
|
*/
|
2182
2186
|
'status'?: PromotionStatus;
|
2183
|
-
/**
|
2184
|
-
*
|
2185
|
-
* @type {string}
|
2186
|
-
* @memberof Promotion
|
2187
|
-
*/
|
2188
|
-
'reference'?: string;
|
2189
2187
|
}
|
2190
2188
|
/**
|
2191
2189
|
* @type PromotionBeneficiariesResponse
|
@@ -2400,18 +2398,6 @@ export interface PromotionRequest {
|
|
2400
2398
|
* @memberof PromotionRequest
|
2401
2399
|
*/
|
2402
2400
|
'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
2401
|
}
|
2416
2402
|
/**
|
2417
2403
|
*
|
@@ -2586,29 +2572,6 @@ export declare const ReportTypesResponseTypesEnum: {
|
|
2586
2572
|
readonly PromotionExpanded: "promotion_expanded";
|
2587
2573
|
};
|
2588
2574
|
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
2575
|
/**
|
2613
2576
|
* @type Rule
|
2614
2577
|
* @export
|
@@ -3406,24 +3369,7 @@ export interface Transaction {
|
|
3406
3369
|
* @memberof Transaction
|
3407
3370
|
*/
|
3408
3371
|
'createdAt': string;
|
3409
|
-
/**
|
3410
|
-
*
|
3411
|
-
* @type {TransactionCurrencyKind}
|
3412
|
-
* @memberof Transaction
|
3413
|
-
*/
|
3414
|
-
'currency': TransactionCurrencyKind;
|
3415
3372
|
}
|
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
3373
|
/**
|
3428
3374
|
*
|
3429
3375
|
* @export
|
@@ -3533,14 +3479,13 @@ export declare const TransactionSource: {
|
|
3533
3479
|
readonly Manual: "manual";
|
3534
3480
|
readonly Expiry: "expiry";
|
3535
3481
|
readonly Transfer: "transfer";
|
3536
|
-
readonly SalesBudget: "sales_budget";
|
3537
3482
|
};
|
3538
3483
|
export type TransactionSource = typeof TransactionSource[keyof typeof TransactionSource];
|
3539
3484
|
/**
|
3540
3485
|
* @type TransactionSourceReference
|
3541
3486
|
* @export
|
3542
3487
|
*/
|
3543
|
-
export type TransactionSourceReference = BalanceWithBeneficiaryRef |
|
3488
|
+
export type TransactionSourceReference = BalanceWithBeneficiaryRef | Order | PeriodPromotion | User;
|
3544
3489
|
/**
|
3545
3490
|
*
|
3546
3491
|
* @export
|
@@ -3676,12 +3621,6 @@ export interface UpdatePromotionRequest {
|
|
3676
3621
|
* @memberof UpdatePromotionRequest
|
3677
3622
|
*/
|
3678
3623
|
'notificationConfig'?: PromotionNotificationConfig;
|
3679
|
-
/**
|
3680
|
-
*
|
3681
|
-
* @type {string}
|
3682
|
-
* @memberof UpdatePromotionRequest
|
3683
|
-
*/
|
3684
|
-
'reference'?: string;
|
3685
3624
|
}
|
3686
3625
|
/**
|
3687
3626
|
*
|
@@ -3897,7 +3836,7 @@ export interface UserOrder {
|
|
3897
3836
|
* @type {string}
|
3898
3837
|
* @memberof UserOrder
|
3899
3838
|
*/
|
3900
|
-
'source'
|
3839
|
+
'source'?: string;
|
3901
3840
|
/**
|
3902
3841
|
*
|
3903
3842
|
* @type {string}
|
@@ -3906,10 +3845,10 @@ export interface UserOrder {
|
|
3906
3845
|
'userID'?: string;
|
3907
3846
|
/**
|
3908
3847
|
*
|
3909
|
-
* @type {
|
3848
|
+
* @type {OrderStatus}
|
3910
3849
|
* @memberof UserOrder
|
3911
3850
|
*/
|
3912
|
-
'
|
3851
|
+
'status'?: OrderStatus;
|
3913
3852
|
}
|
3914
3853
|
/**
|
3915
3854
|
*
|
@@ -4501,6 +4440,14 @@ export declare const BulkApiAxiosParamCreator: (configuration?: Configuration) =
|
|
4501
4440
|
* @throws {RequiredError}
|
4502
4441
|
*/
|
4503
4442
|
bulkCreateTags: (tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4443
|
+
/**
|
4444
|
+
* Update multiple clients
|
4445
|
+
* @summary Update multiple clients
|
4446
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4447
|
+
* @param {*} [options] Override http request option.
|
4448
|
+
* @throws {RequiredError}
|
4449
|
+
*/
|
4450
|
+
bulkUpdateClients: (clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4504
4451
|
};
|
4505
4452
|
/**
|
4506
4453
|
* BulkApi - functional programming interface
|
@@ -4531,6 +4478,14 @@ export declare const BulkApiFp: (configuration?: Configuration) => {
|
|
4531
4478
|
* @throws {RequiredError}
|
4532
4479
|
*/
|
4533
4480
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TagDetailed>>>;
|
4481
|
+
/**
|
4482
|
+
* Update multiple clients
|
4483
|
+
* @summary Update multiple clients
|
4484
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4485
|
+
* @param {*} [options] Override http request option.
|
4486
|
+
* @throws {RequiredError}
|
4487
|
+
*/
|
4488
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Client>>>;
|
4534
4489
|
};
|
4535
4490
|
/**
|
4536
4491
|
* BulkApi - factory interface
|
@@ -4561,6 +4516,14 @@ export declare const BulkApiFactory: (configuration?: Configuration, basePath?:
|
|
4561
4516
|
* @throws {RequiredError}
|
4562
4517
|
*/
|
4563
4518
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: any): AxiosPromise<Array<TagDetailed>>;
|
4519
|
+
/**
|
4520
|
+
* Update multiple clients
|
4521
|
+
* @summary Update multiple clients
|
4522
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4523
|
+
* @param {*} [options] Override http request option.
|
4524
|
+
* @throws {RequiredError}
|
4525
|
+
*/
|
4526
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: any): AxiosPromise<Array<Client>>;
|
4564
4527
|
};
|
4565
4528
|
/**
|
4566
4529
|
* BulkApi - object-oriented interface
|
@@ -4596,6 +4559,15 @@ export declare class BulkApi extends BaseAPI {
|
|
4596
4559
|
* @memberof BulkApi
|
4597
4560
|
*/
|
4598
4561
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed[], any>>;
|
4562
|
+
/**
|
4563
|
+
* Update multiple clients
|
4564
|
+
* @summary Update multiple clients
|
4565
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4566
|
+
* @param {*} [options] Override http request option.
|
4567
|
+
* @throws {RequiredError}
|
4568
|
+
* @memberof BulkApi
|
4569
|
+
*/
|
4570
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Client[], any>>;
|
4599
4571
|
}
|
4600
4572
|
/**
|
4601
4573
|
* CategoryApi - axios parameter creator
|
@@ -4963,24 +4935,11 @@ export declare const CustomDealsApiAxiosParamCreator: (configuration?: Configura
|
|
4963
4935
|
/**
|
4964
4936
|
* Create custom deal restrictions
|
4965
4937
|
* @summary Create custom deal restrictions
|
4966
|
-
* @param {
|
4967
|
-
* @param {*} [options] Override http request option.
|
4968
|
-
* @throws {RequiredError}
|
4969
|
-
*/
|
4970
|
-
createCustomDealRestrictions: (customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
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
|
4938
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
4980
4939
|
* @param {*} [options] Override http request option.
|
4981
4940
|
* @throws {RequiredError}
|
4982
4941
|
*/
|
4983
|
-
|
4942
|
+
createCustomDealRestrictions: (customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4984
4943
|
/**
|
4985
4944
|
* List custom deal restrictions
|
4986
4945
|
* @summary List custom deal restrictions
|
@@ -4997,24 +4956,11 @@ export declare const CustomDealsApiFp: (configuration?: Configuration) => {
|
|
4997
4956
|
/**
|
4998
4957
|
* Create custom deal restrictions
|
4999
4958
|
* @summary Create custom deal restrictions
|
5000
|
-
* @param {
|
5001
|
-
* @param {*} [options] Override http request option.
|
5002
|
-
* @throws {RequiredError}
|
5003
|
-
*/
|
5004
|
-
createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
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
|
4959
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5014
4960
|
* @param {*} [options] Override http request option.
|
5015
4961
|
* @throws {RequiredError}
|
5016
4962
|
*/
|
5017
|
-
|
4963
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
5018
4964
|
/**
|
5019
4965
|
* List custom deal restrictions
|
5020
4966
|
* @summary List custom deal restrictions
|
@@ -5031,24 +4977,11 @@ export declare const CustomDealsApiFactory: (configuration?: Configuration, base
|
|
5031
4977
|
/**
|
5032
4978
|
* Create custom deal restrictions
|
5033
4979
|
* @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
|
4980
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5048
4981
|
* @param {*} [options] Override http request option.
|
5049
4982
|
* @throws {RequiredError}
|
5050
4983
|
*/
|
5051
|
-
|
4984
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: any): AxiosPromise<void>;
|
5052
4985
|
/**
|
5053
4986
|
* List custom deal restrictions
|
5054
4987
|
* @summary List custom deal restrictions
|
@@ -5067,26 +5000,12 @@ export declare class CustomDealsApi extends BaseAPI {
|
|
5067
5000
|
/**
|
5068
5001
|
* Create custom deal restrictions
|
5069
5002
|
* @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
|
5003
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5085
5004
|
* @param {*} [options] Override http request option.
|
5086
5005
|
* @throws {RequiredError}
|
5087
5006
|
* @memberof CustomDealsApi
|
5088
5007
|
*/
|
5089
|
-
|
5008
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5090
5009
|
/**
|
5091
5010
|
* List custom deal restrictions
|
5092
5011
|
* @summary List custom deal restrictions
|
@@ -5505,14 +5424,6 @@ export declare class NotificationApi extends BaseAPI {
|
|
5505
5424
|
* @export
|
5506
5425
|
*/
|
5507
5426
|
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
5427
|
/**
|
5517
5428
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5518
5429
|
* @summary Create an order for a product
|
@@ -5548,12 +5459,10 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5548
5459
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5549
5460
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5550
5461
|
* @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
5462
|
* @param {*} [options] Override http request option.
|
5554
5463
|
* @throws {RequiredError}
|
5555
5464
|
*/
|
5556
|
-
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5465
|
+
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
5466
|
/**
|
5558
5467
|
* List existing orders
|
5559
5468
|
* @summary List existing orders
|
@@ -5574,14 +5483,6 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5574
5483
|
* @export
|
5575
5484
|
*/
|
5576
5485
|
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
5486
|
/**
|
5586
5487
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5587
5488
|
* @summary Create an order for a product
|
@@ -5617,12 +5518,10 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5617
5518
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5618
5519
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5619
5520
|
* @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
5521
|
* @param {*} [options] Override http request option.
|
5623
5522
|
* @throws {RequiredError}
|
5624
5523
|
*/
|
5625
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5524
|
+
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
5525
|
/**
|
5627
5526
|
* List existing orders
|
5628
5527
|
* @summary List existing orders
|
@@ -5643,14 +5542,6 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5643
5542
|
* @export
|
5644
5543
|
*/
|
5645
5544
|
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
5545
|
/**
|
5655
5546
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5656
5547
|
* @summary Create an order for a product
|
@@ -5686,12 +5577,10 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5686
5577
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5687
5578
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5688
5579
|
* @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
5580
|
* @param {*} [options] Override http request option.
|
5692
5581
|
* @throws {RequiredError}
|
5693
5582
|
*/
|
5694
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5583
|
+
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
5584
|
/**
|
5696
5585
|
* List existing orders
|
5697
5586
|
* @summary List existing orders
|
@@ -5714,15 +5603,6 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5714
5603
|
* @extends {BaseAPI}
|
5715
5604
|
*/
|
5716
5605
|
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
5606
|
/**
|
5727
5607
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5728
5608
|
* @summary Create an order for a product
|
@@ -5761,13 +5641,11 @@ export declare class OrderApi extends BaseAPI {
|
|
5761
5641
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5762
5642
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5763
5643
|
* @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
5644
|
* @param {*} [options] Override http request option.
|
5767
5645
|
* @throws {RequiredError}
|
5768
5646
|
* @memberof OrderApi
|
5769
5647
|
*/
|
5770
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5648
|
+
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
5649
|
/**
|
5772
5650
|
* List existing orders
|
5773
5651
|
* @summary List existing orders
|