flexinet-api 0.0.1264-prerelease0 → 0.0.1264
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 -304
- package/dist/api.d.ts +179 -235
- package/dist/api.js +91 -123
- package/dist/esm/api.d.ts +179 -235
- package/dist/esm/api.js +88 -120
- package/package.json +1 -1
package/dist/esm/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
|
@@ -687,14 +688,54 @@ export declare const Condition: {
|
|
687
688
|
};
|
688
689
|
export type Condition = typeof Condition[keyof typeof Condition];
|
689
690
|
/**
|
690
|
-
*
|
691
|
+
*
|
691
692
|
* @export
|
693
|
+
* @interface CustomDealRestriction
|
692
694
|
*/
|
693
|
-
export
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
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;
|
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;
|
738
|
+
}
|
698
739
|
/**
|
699
740
|
*
|
700
741
|
* @export
|
@@ -706,6 +747,43 @@ export declare const CustomDealRestrictionPriority: {
|
|
706
747
|
readonly High: "high";
|
707
748
|
};
|
708
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
|
+
}
|
709
787
|
/**
|
710
788
|
*
|
711
789
|
* @export
|
@@ -894,6 +972,12 @@ export interface MetricsAggregation {
|
|
894
972
|
* @memberof MetricsAggregation
|
895
973
|
*/
|
896
974
|
'total': MetricsCollection;
|
975
|
+
/**
|
976
|
+
*
|
977
|
+
* @type {string}
|
978
|
+
* @memberof MetricsAggregation
|
979
|
+
*/
|
980
|
+
'updatedAt'?: string;
|
897
981
|
}
|
898
982
|
/**
|
899
983
|
*
|
@@ -914,66 +998,6 @@ export interface MetricsCollection {
|
|
914
998
|
*/
|
915
999
|
'total': Metrics;
|
916
1000
|
}
|
917
|
-
/**
|
918
|
-
*
|
919
|
-
* @export
|
920
|
-
* @interface MinTurnoverRestriction
|
921
|
-
*/
|
922
|
-
export interface MinTurnoverRestriction {
|
923
|
-
/**
|
924
|
-
*
|
925
|
-
* @type {string}
|
926
|
-
* @memberof MinTurnoverRestriction
|
927
|
-
*/
|
928
|
-
'kind': MinTurnoverRestrictionKindEnum;
|
929
|
-
/**
|
930
|
-
*
|
931
|
-
* @type {Array<MinTurnoverRestrictionValue>}
|
932
|
-
* @memberof MinTurnoverRestriction
|
933
|
-
*/
|
934
|
-
'values': Array<MinTurnoverRestrictionValue>;
|
935
|
-
}
|
936
|
-
export declare const MinTurnoverRestrictionKindEnum: {
|
937
|
-
readonly MinTurnover: "minTurnover";
|
938
|
-
};
|
939
|
-
export type MinTurnoverRestrictionKindEnum = typeof MinTurnoverRestrictionKindEnum[keyof typeof MinTurnoverRestrictionKindEnum];
|
940
|
-
/**
|
941
|
-
*
|
942
|
-
* @export
|
943
|
-
* @interface MinTurnoverRestrictionValue
|
944
|
-
*/
|
945
|
-
export interface MinTurnoverRestrictionValue {
|
946
|
-
/**
|
947
|
-
*
|
948
|
-
* @type {string}
|
949
|
-
* @memberof MinTurnoverRestrictionValue
|
950
|
-
*/
|
951
|
-
'tagKey': string;
|
952
|
-
/**
|
953
|
-
*
|
954
|
-
* @type {string}
|
955
|
-
* @memberof MinTurnoverRestrictionValue
|
956
|
-
*/
|
957
|
-
'tagValue': string;
|
958
|
-
/**
|
959
|
-
*
|
960
|
-
* @type {number}
|
961
|
-
* @memberof MinTurnoverRestrictionValue
|
962
|
-
*/
|
963
|
-
'minTurnoverPercent': number;
|
964
|
-
/**
|
965
|
-
*
|
966
|
-
* @type {CustomDealRestrictionPriority}
|
967
|
-
* @memberof MinTurnoverRestrictionValue
|
968
|
-
*/
|
969
|
-
'priority': CustomDealRestrictionPriority;
|
970
|
-
/**
|
971
|
-
*
|
972
|
-
* @type {number}
|
973
|
-
* @memberof MinTurnoverRestrictionValue
|
974
|
-
*/
|
975
|
-
'points': number;
|
976
|
-
}
|
977
1001
|
/**
|
978
1002
|
*
|
979
1003
|
* @export
|
@@ -1224,12 +1248,6 @@ export interface Order {
|
|
1224
1248
|
* @memberof Order
|
1225
1249
|
*/
|
1226
1250
|
'status'?: OrderStatus;
|
1227
|
-
/**
|
1228
|
-
*
|
1229
|
-
* @type {string}
|
1230
|
-
* @memberof Order
|
1231
|
-
*/
|
1232
|
-
'clientID'?: string;
|
1233
1251
|
}
|
1234
1252
|
/**
|
1235
1253
|
*
|
@@ -1277,7 +1295,6 @@ export interface OrderItemCreationRequest {
|
|
1277
1295
|
export declare const OrderKind: {
|
1278
1296
|
readonly Webshop: "webshop";
|
1279
1297
|
readonly Promotions: "promotions";
|
1280
|
-
readonly SalesBudget: "sales_budget";
|
1281
1298
|
};
|
1282
1299
|
export type OrderKind = typeof OrderKind[keyof typeof OrderKind];
|
1283
1300
|
/**
|
@@ -2167,12 +2184,6 @@ export interface Promotion {
|
|
2167
2184
|
* @memberof Promotion
|
2168
2185
|
*/
|
2169
2186
|
'status'?: PromotionStatus;
|
2170
|
-
/**
|
2171
|
-
*
|
2172
|
-
* @type {string}
|
2173
|
-
* @memberof Promotion
|
2174
|
-
*/
|
2175
|
-
'reference'?: string;
|
2176
2187
|
}
|
2177
2188
|
/**
|
2178
2189
|
* @type PromotionBeneficiariesResponse
|
@@ -2387,18 +2398,6 @@ export interface PromotionRequest {
|
|
2387
2398
|
* @memberof PromotionRequest
|
2388
2399
|
*/
|
2389
2400
|
'notificationConfig'?: PromotionNotificationConfig;
|
2390
|
-
/**
|
2391
|
-
*
|
2392
|
-
* @type {PromotionType}
|
2393
|
-
* @memberof PromotionRequest
|
2394
|
-
*/
|
2395
|
-
'type'?: PromotionType;
|
2396
|
-
/**
|
2397
|
-
*
|
2398
|
-
* @type {string}
|
2399
|
-
* @memberof PromotionRequest
|
2400
|
-
*/
|
2401
|
-
'reference'?: string;
|
2402
2401
|
}
|
2403
2402
|
/**
|
2404
2403
|
*
|
@@ -2573,29 +2572,6 @@ export declare const ReportTypesResponseTypesEnum: {
|
|
2573
2572
|
readonly PromotionExpanded: "promotion_expanded";
|
2574
2573
|
};
|
2575
2574
|
export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
|
2576
|
-
/**
|
2577
|
-
*
|
2578
|
-
* @export
|
2579
|
-
* @interface RequiredRestriction
|
2580
|
-
*/
|
2581
|
-
export interface RequiredRestriction {
|
2582
|
-
/**
|
2583
|
-
*
|
2584
|
-
* @type {string}
|
2585
|
-
* @memberof RequiredRestriction
|
2586
|
-
*/
|
2587
|
-
'kind': RequiredRestrictionKindEnum;
|
2588
|
-
/**
|
2589
|
-
*
|
2590
|
-
* @type {Array<string>}
|
2591
|
-
* @memberof RequiredRestriction
|
2592
|
-
*/
|
2593
|
-
'tagKeys': Array<string>;
|
2594
|
-
}
|
2595
|
-
export declare const RequiredRestrictionKindEnum: {
|
2596
|
-
readonly Required: "required";
|
2597
|
-
};
|
2598
|
-
export type RequiredRestrictionKindEnum = typeof RequiredRestrictionKindEnum[keyof typeof RequiredRestrictionKindEnum];
|
2599
2575
|
/**
|
2600
2576
|
* @type Rule
|
2601
2577
|
* @export
|
@@ -3393,24 +3369,7 @@ export interface Transaction {
|
|
3393
3369
|
* @memberof Transaction
|
3394
3370
|
*/
|
3395
3371
|
'createdAt': string;
|
3396
|
-
/**
|
3397
|
-
*
|
3398
|
-
* @type {TransactionCurrencyKind}
|
3399
|
-
* @memberof Transaction
|
3400
|
-
*/
|
3401
|
-
'currency': TransactionCurrencyKind;
|
3402
3372
|
}
|
3403
|
-
/**
|
3404
|
-
*
|
3405
|
-
* @export
|
3406
|
-
* @enum {string}
|
3407
|
-
*/
|
3408
|
-
export declare const TransactionCurrencyKind: {
|
3409
|
-
readonly Points: "points";
|
3410
|
-
readonly CustomDealBudget: "customDealBudget";
|
3411
|
-
readonly SalesBudget: "salesBudget";
|
3412
|
-
};
|
3413
|
-
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3414
3373
|
/**
|
3415
3374
|
*
|
3416
3375
|
* @export
|
@@ -3520,14 +3479,13 @@ export declare const TransactionSource: {
|
|
3520
3479
|
readonly Manual: "manual";
|
3521
3480
|
readonly Expiry: "expiry";
|
3522
3481
|
readonly Transfer: "transfer";
|
3523
|
-
readonly SalesBudget: "sales_budget";
|
3524
3482
|
};
|
3525
3483
|
export type TransactionSource = typeof TransactionSource[keyof typeof TransactionSource];
|
3526
3484
|
/**
|
3527
3485
|
* @type TransactionSourceReference
|
3528
3486
|
* @export
|
3529
3487
|
*/
|
3530
|
-
export type TransactionSourceReference = BalanceWithBeneficiaryRef |
|
3488
|
+
export type TransactionSourceReference = BalanceWithBeneficiaryRef | Order | PeriodPromotion | User;
|
3531
3489
|
/**
|
3532
3490
|
*
|
3533
3491
|
* @export
|
@@ -3663,12 +3621,6 @@ export interface UpdatePromotionRequest {
|
|
3663
3621
|
* @memberof UpdatePromotionRequest
|
3664
3622
|
*/
|
3665
3623
|
'notificationConfig'?: PromotionNotificationConfig;
|
3666
|
-
/**
|
3667
|
-
*
|
3668
|
-
* @type {string}
|
3669
|
-
* @memberof UpdatePromotionRequest
|
3670
|
-
*/
|
3671
|
-
'reference'?: string;
|
3672
3624
|
}
|
3673
3625
|
/**
|
3674
3626
|
*
|
@@ -3884,7 +3836,7 @@ export interface UserOrder {
|
|
3884
3836
|
* @type {string}
|
3885
3837
|
* @memberof UserOrder
|
3886
3838
|
*/
|
3887
|
-
'source'
|
3839
|
+
'source'?: string;
|
3888
3840
|
/**
|
3889
3841
|
*
|
3890
3842
|
* @type {string}
|
@@ -3893,10 +3845,10 @@ export interface UserOrder {
|
|
3893
3845
|
'userID'?: string;
|
3894
3846
|
/**
|
3895
3847
|
*
|
3896
|
-
* @type {
|
3848
|
+
* @type {OrderStatus}
|
3897
3849
|
* @memberof UserOrder
|
3898
3850
|
*/
|
3899
|
-
'
|
3851
|
+
'status'?: OrderStatus;
|
3900
3852
|
}
|
3901
3853
|
/**
|
3902
3854
|
*
|
@@ -4488,6 +4440,14 @@ export declare const BulkApiAxiosParamCreator: (configuration?: Configuration) =
|
|
4488
4440
|
* @throws {RequiredError}
|
4489
4441
|
*/
|
4490
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>;
|
4491
4451
|
};
|
4492
4452
|
/**
|
4493
4453
|
* BulkApi - functional programming interface
|
@@ -4518,6 +4478,14 @@ export declare const BulkApiFp: (configuration?: Configuration) => {
|
|
4518
4478
|
* @throws {RequiredError}
|
4519
4479
|
*/
|
4520
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>>>;
|
4521
4489
|
};
|
4522
4490
|
/**
|
4523
4491
|
* BulkApi - factory interface
|
@@ -4548,6 +4516,14 @@ export declare const BulkApiFactory: (configuration?: Configuration, basePath?:
|
|
4548
4516
|
* @throws {RequiredError}
|
4549
4517
|
*/
|
4550
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>>;
|
4551
4527
|
};
|
4552
4528
|
/**
|
4553
4529
|
* BulkApi - object-oriented interface
|
@@ -4583,6 +4559,15 @@ export declare class BulkApi extends BaseAPI {
|
|
4583
4559
|
* @memberof BulkApi
|
4584
4560
|
*/
|
4585
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>>;
|
4586
4571
|
}
|
4587
4572
|
/**
|
4588
4573
|
* CategoryApi - axios parameter creator
|
@@ -4950,11 +4935,11 @@ export declare const CustomDealsApiAxiosParamCreator: (configuration?: Configura
|
|
4950
4935
|
/**
|
4951
4936
|
* Create custom deal restrictions
|
4952
4937
|
* @summary Create custom deal restrictions
|
4953
|
-
* @param {
|
4938
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
4954
4939
|
* @param {*} [options] Override http request option.
|
4955
4940
|
* @throws {RequiredError}
|
4956
4941
|
*/
|
4957
|
-
createCustomDealRestrictions: (
|
4942
|
+
createCustomDealRestrictions: (customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4958
4943
|
/**
|
4959
4944
|
* List custom deal restrictions
|
4960
4945
|
* @summary List custom deal restrictions
|
@@ -4971,11 +4956,11 @@ export declare const CustomDealsApiFp: (configuration?: Configuration) => {
|
|
4971
4956
|
/**
|
4972
4957
|
* Create custom deal restrictions
|
4973
4958
|
* @summary Create custom deal restrictions
|
4974
|
-
* @param {
|
4959
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
4975
4960
|
* @param {*} [options] Override http request option.
|
4976
4961
|
* @throws {RequiredError}
|
4977
4962
|
*/
|
4978
|
-
createCustomDealRestrictions(
|
4963
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
4979
4964
|
/**
|
4980
4965
|
* List custom deal restrictions
|
4981
4966
|
* @summary List custom deal restrictions
|
@@ -4992,11 +4977,11 @@ export declare const CustomDealsApiFactory: (configuration?: Configuration, base
|
|
4992
4977
|
/**
|
4993
4978
|
* Create custom deal restrictions
|
4994
4979
|
* @summary Create custom deal restrictions
|
4995
|
-
* @param {
|
4980
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
4996
4981
|
* @param {*} [options] Override http request option.
|
4997
4982
|
* @throws {RequiredError}
|
4998
4983
|
*/
|
4999
|
-
createCustomDealRestrictions(
|
4984
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: any): AxiosPromise<void>;
|
5000
4985
|
/**
|
5001
4986
|
* List custom deal restrictions
|
5002
4987
|
* @summary List custom deal restrictions
|
@@ -5015,12 +5000,12 @@ export declare class CustomDealsApi extends BaseAPI {
|
|
5015
5000
|
/**
|
5016
5001
|
* Create custom deal restrictions
|
5017
5002
|
* @summary Create custom deal restrictions
|
5018
|
-
* @param {
|
5003
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5019
5004
|
* @param {*} [options] Override http request option.
|
5020
5005
|
* @throws {RequiredError}
|
5021
5006
|
* @memberof CustomDealsApi
|
5022
5007
|
*/
|
5023
|
-
createCustomDealRestrictions(
|
5008
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5024
5009
|
/**
|
5025
5010
|
* List custom deal restrictions
|
5026
5011
|
* @summary List custom deal restrictions
|
@@ -5439,14 +5424,6 @@ export declare class NotificationApi extends BaseAPI {
|
|
5439
5424
|
* @export
|
5440
5425
|
*/
|
5441
5426
|
export declare const OrderApiAxiosParamCreator: (configuration?: Configuration) => {
|
5442
|
-
/**
|
5443
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5444
|
-
* @summary Create an order for a product
|
5445
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5446
|
-
* @param {*} [options] Override http request option.
|
5447
|
-
* @throws {RequiredError}
|
5448
|
-
*/
|
5449
|
-
createAdminOrder: (adminOrderCreationRequest?: AdminOrderCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5450
5427
|
/**
|
5451
5428
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5452
5429
|
* @summary Create an order for a product
|
@@ -5482,12 +5459,10 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5482
5459
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5483
5460
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5484
5461
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5485
|
-
* @param {OrderKind} [kind] Filter by kind
|
5486
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5487
5462
|
* @param {*} [options] Override http request option.
|
5488
5463
|
* @throws {RequiredError}
|
5489
5464
|
*/
|
5490
|
-
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>;
|
5491
5466
|
/**
|
5492
5467
|
* List existing orders
|
5493
5468
|
* @summary List existing orders
|
@@ -5508,14 +5483,6 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5508
5483
|
* @export
|
5509
5484
|
*/
|
5510
5485
|
export declare const OrderApiFp: (configuration?: Configuration) => {
|
5511
|
-
/**
|
5512
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5513
|
-
* @summary Create an order for a product
|
5514
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5515
|
-
* @param {*} [options] Override http request option.
|
5516
|
-
* @throws {RequiredError}
|
5517
|
-
*/
|
5518
|
-
createAdminOrder(adminOrderCreationRequest?: AdminOrderCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
5519
5486
|
/**
|
5520
5487
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5521
5488
|
* @summary Create an order for a product
|
@@ -5551,12 +5518,10 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5551
5518
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5552
5519
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5553
5520
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5554
|
-
* @param {OrderKind} [kind] Filter by kind
|
5555
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5556
5521
|
* @param {*} [options] Override http request option.
|
5557
5522
|
* @throws {RequiredError}
|
5558
5523
|
*/
|
5559
|
-
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>>;
|
5560
5525
|
/**
|
5561
5526
|
* List existing orders
|
5562
5527
|
* @summary List existing orders
|
@@ -5577,14 +5542,6 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5577
5542
|
* @export
|
5578
5543
|
*/
|
5579
5544
|
export declare const OrderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
5580
|
-
/**
|
5581
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5582
|
-
* @summary Create an order for a product
|
5583
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5584
|
-
* @param {*} [options] Override http request option.
|
5585
|
-
* @throws {RequiredError}
|
5586
|
-
*/
|
5587
|
-
createAdminOrder(adminOrderCreationRequest?: AdminOrderCreationRequest, options?: any): AxiosPromise<Order>;
|
5588
5545
|
/**
|
5589
5546
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5590
5547
|
* @summary Create an order for a product
|
@@ -5620,12 +5577,10 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5620
5577
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5621
5578
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5622
5579
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5623
|
-
* @param {OrderKind} [kind] Filter by kind
|
5624
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5625
5580
|
* @param {*} [options] Override http request option.
|
5626
5581
|
* @throws {RequiredError}
|
5627
5582
|
*/
|
5628
|
-
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>;
|
5629
5584
|
/**
|
5630
5585
|
* List existing orders
|
5631
5586
|
* @summary List existing orders
|
@@ -5648,15 +5603,6 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5648
5603
|
* @extends {BaseAPI}
|
5649
5604
|
*/
|
5650
5605
|
export declare class OrderApi extends BaseAPI {
|
5651
|
-
/**
|
5652
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5653
|
-
* @summary Create an order for a product
|
5654
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5655
|
-
* @param {*} [options] Override http request option.
|
5656
|
-
* @throws {RequiredError}
|
5657
|
-
* @memberof OrderApi
|
5658
|
-
*/
|
5659
|
-
createAdminOrder(adminOrderCreationRequest?: AdminOrderCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
5660
5606
|
/**
|
5661
5607
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5662
5608
|
* @summary Create an order for a product
|
@@ -5695,13 +5641,11 @@ export declare class OrderApi extends BaseAPI {
|
|
5695
5641
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5696
5642
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5697
5643
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5698
|
-
* @param {OrderKind} [kind] Filter by kind
|
5699
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5700
5644
|
* @param {*} [options] Override http request option.
|
5701
5645
|
* @throws {RequiredError}
|
5702
5646
|
* @memberof OrderApi
|
5703
5647
|
*/
|
5704
|
-
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>>;
|
5705
5649
|
/**
|
5706
5650
|
* List existing orders
|
5707
5651
|
* @summary List existing orders
|