flexinet-api 0.0.1317-prerelease0 → 0.0.1318
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 +415 -463
- package/dist/api.d.ts +279 -316
- package/dist/api.js +226 -245
- package/dist/esm/api.d.ts +279 -316
- package/dist/esm/api.js +223 -242
- 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
|
712
|
+
*/
|
713
|
+
'minTurnoverPercent': number;
|
714
|
+
/**
|
715
|
+
*
|
716
|
+
* @type {CustomDealRestrictionPriority}
|
717
|
+
* @memberof CustomDealRestriction
|
699
718
|
*/
|
700
|
-
'
|
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
|
@@ -801,6 +866,9 @@ export declare const Feature: {
|
|
801
866
|
readonly SalesBudget: "sales_budget";
|
802
867
|
readonly CustomDeals: "custom_deals";
|
803
868
|
readonly UserInfo: "user_info";
|
869
|
+
readonly ExternalInventory: "external_inventory";
|
870
|
+
readonly OrderEvents: "order_events";
|
871
|
+
readonly OrderStatusPolling: "order_status_polling";
|
804
872
|
};
|
805
873
|
export type Feature = typeof Feature[keyof typeof Feature];
|
806
874
|
/**
|
@@ -841,9 +909,10 @@ export interface Item {
|
|
841
909
|
* @enum {string}
|
842
910
|
*/
|
843
911
|
export declare const Locale: {
|
844
|
-
readonly EnUs: "en-
|
845
|
-
readonly RoRo: "ro-
|
846
|
-
readonly HuHu: "hu-
|
912
|
+
readonly EnUs: "en-US";
|
913
|
+
readonly RoRo: "ro-RO";
|
914
|
+
readonly HuHu: "hu-HU";
|
915
|
+
readonly DeDe: "de-DE";
|
847
916
|
};
|
848
917
|
export type Locale = typeof Locale[keyof typeof Locale];
|
849
918
|
/**
|
@@ -874,10 +943,10 @@ export interface Metrics {
|
|
874
943
|
};
|
875
944
|
/**
|
876
945
|
*
|
877
|
-
* @type {
|
946
|
+
* @type {string}
|
878
947
|
* @memberof Metrics
|
879
948
|
*/
|
880
|
-
'salesValue'?:
|
949
|
+
'salesValue'?: string;
|
881
950
|
}
|
882
951
|
/**
|
883
952
|
*
|
@@ -933,66 +1002,6 @@ export interface MetricsCollection {
|
|
933
1002
|
*/
|
934
1003
|
'total': Metrics;
|
935
1004
|
}
|
936
|
-
/**
|
937
|
-
*
|
938
|
-
* @export
|
939
|
-
* @interface MinTurnoverRestriction
|
940
|
-
*/
|
941
|
-
export interface MinTurnoverRestriction {
|
942
|
-
/**
|
943
|
-
*
|
944
|
-
* @type {string}
|
945
|
-
* @memberof MinTurnoverRestriction
|
946
|
-
*/
|
947
|
-
'kind': MinTurnoverRestrictionKindEnum;
|
948
|
-
/**
|
949
|
-
*
|
950
|
-
* @type {Array<MinTurnoverRestrictionValue>}
|
951
|
-
* @memberof MinTurnoverRestriction
|
952
|
-
*/
|
953
|
-
'values': Array<MinTurnoverRestrictionValue>;
|
954
|
-
}
|
955
|
-
export declare const MinTurnoverRestrictionKindEnum: {
|
956
|
-
readonly MinTurnover: "minTurnover";
|
957
|
-
};
|
958
|
-
export type MinTurnoverRestrictionKindEnum = typeof MinTurnoverRestrictionKindEnum[keyof typeof MinTurnoverRestrictionKindEnum];
|
959
|
-
/**
|
960
|
-
*
|
961
|
-
* @export
|
962
|
-
* @interface MinTurnoverRestrictionValue
|
963
|
-
*/
|
964
|
-
export interface MinTurnoverRestrictionValue {
|
965
|
-
/**
|
966
|
-
*
|
967
|
-
* @type {string}
|
968
|
-
* @memberof MinTurnoverRestrictionValue
|
969
|
-
*/
|
970
|
-
'tagKey': string;
|
971
|
-
/**
|
972
|
-
*
|
973
|
-
* @type {string}
|
974
|
-
* @memberof MinTurnoverRestrictionValue
|
975
|
-
*/
|
976
|
-
'tagValue': string;
|
977
|
-
/**
|
978
|
-
*
|
979
|
-
* @type {number}
|
980
|
-
* @memberof MinTurnoverRestrictionValue
|
981
|
-
*/
|
982
|
-
'minTurnoverPercent': number;
|
983
|
-
/**
|
984
|
-
*
|
985
|
-
* @type {CustomDealRestrictionPriority}
|
986
|
-
* @memberof MinTurnoverRestrictionValue
|
987
|
-
*/
|
988
|
-
'priority': CustomDealRestrictionPriority;
|
989
|
-
/**
|
990
|
-
*
|
991
|
-
* @type {number}
|
992
|
-
* @memberof MinTurnoverRestrictionValue
|
993
|
-
*/
|
994
|
-
'points': number;
|
995
|
-
}
|
996
1005
|
/**
|
997
1006
|
*
|
998
1007
|
* @export
|
@@ -1243,12 +1252,6 @@ export interface Order {
|
|
1243
1252
|
* @memberof Order
|
1244
1253
|
*/
|
1245
1254
|
'status'?: OrderStatus;
|
1246
|
-
/**
|
1247
|
-
*
|
1248
|
-
* @type {string}
|
1249
|
-
* @memberof Order
|
1250
|
-
*/
|
1251
|
-
'clientID'?: string;
|
1252
1255
|
}
|
1253
1256
|
/**
|
1254
1257
|
*
|
@@ -1296,7 +1299,6 @@ export interface OrderItemCreationRequest {
|
|
1296
1299
|
export declare const OrderKind: {
|
1297
1300
|
readonly Webshop: "webshop";
|
1298
1301
|
readonly Promotions: "promotions";
|
1299
|
-
readonly SalesBudget: "sales_budget";
|
1300
1302
|
};
|
1301
1303
|
export type OrderKind = typeof OrderKind[keyof typeof OrderKind];
|
1302
1304
|
/**
|
@@ -1418,6 +1420,12 @@ export interface Preferences {
|
|
1418
1420
|
* @memberof Preferences
|
1419
1421
|
*/
|
1420
1422
|
'promotionConfig': PromotionConfig;
|
1423
|
+
/**
|
1424
|
+
*
|
1425
|
+
* @type {Locale}
|
1426
|
+
* @memberof Preferences
|
1427
|
+
*/
|
1428
|
+
'locale'?: Locale;
|
1421
1429
|
}
|
1422
1430
|
/**
|
1423
1431
|
*
|
@@ -1431,12 +1439,6 @@ export interface PreferencesRequest {
|
|
1431
1439
|
* @memberof PreferencesRequest
|
1432
1440
|
*/
|
1433
1441
|
'preferredLocale'?: Locale;
|
1434
|
-
/**
|
1435
|
-
*
|
1436
|
-
* @type {Array<NotificationPreference>}
|
1437
|
-
* @memberof PreferencesRequest
|
1438
|
-
*/
|
1439
|
-
'notificationPreferences': Array<NotificationPreference>;
|
1440
1442
|
}
|
1441
1443
|
/**
|
1442
1444
|
*
|
@@ -1926,6 +1928,12 @@ export interface Profile {
|
|
1926
1928
|
* @interface Progress
|
1927
1929
|
*/
|
1928
1930
|
export interface Progress {
|
1931
|
+
/**
|
1932
|
+
*
|
1933
|
+
* @type {string}
|
1934
|
+
* @memberof Progress
|
1935
|
+
*/
|
1936
|
+
'promotionId': string;
|
1929
1937
|
/**
|
1930
1938
|
*
|
1931
1939
|
* @type {string}
|
@@ -1934,10 +1942,10 @@ export interface Progress {
|
|
1934
1942
|
'id': string;
|
1935
1943
|
/**
|
1936
1944
|
*
|
1937
|
-
* @type {
|
1945
|
+
* @type {string}
|
1938
1946
|
* @memberof Progress
|
1939
1947
|
*/
|
1940
|
-
'value':
|
1948
|
+
'value': string;
|
1941
1949
|
/**
|
1942
1950
|
*
|
1943
1951
|
* @type {string}
|
@@ -1946,11 +1954,11 @@ export interface Progress {
|
|
1946
1954
|
'value_mu': string;
|
1947
1955
|
/**
|
1948
1956
|
*
|
1949
|
-
* @type {{ [key: string]:
|
1957
|
+
* @type {{ [key: string]: string; }}
|
1950
1958
|
* @memberof Progress
|
1951
1959
|
*/
|
1952
1960
|
'value_detailed'?: {
|
1953
|
-
[key: string]:
|
1961
|
+
[key: string]: string;
|
1954
1962
|
};
|
1955
1963
|
/**
|
1956
1964
|
*
|
@@ -2186,12 +2194,6 @@ export interface Promotion {
|
|
2186
2194
|
* @memberof Promotion
|
2187
2195
|
*/
|
2188
2196
|
'status'?: PromotionStatus;
|
2189
|
-
/**
|
2190
|
-
*
|
2191
|
-
* @type {string}
|
2192
|
-
* @memberof Promotion
|
2193
|
-
*/
|
2194
|
-
'reference'?: string;
|
2195
2197
|
}
|
2196
2198
|
/**
|
2197
2199
|
* @type PromotionBeneficiariesResponse
|
@@ -2406,18 +2408,6 @@ export interface PromotionRequest {
|
|
2406
2408
|
* @memberof PromotionRequest
|
2407
2409
|
*/
|
2408
2410
|
'notificationConfig'?: PromotionNotificationConfig;
|
2409
|
-
/**
|
2410
|
-
*
|
2411
|
-
* @type {PromotionType}
|
2412
|
-
* @memberof PromotionRequest
|
2413
|
-
*/
|
2414
|
-
'type'?: PromotionType;
|
2415
|
-
/**
|
2416
|
-
*
|
2417
|
-
* @type {string}
|
2418
|
-
* @memberof PromotionRequest
|
2419
|
-
*/
|
2420
|
-
'reference'?: string;
|
2421
2411
|
}
|
2422
2412
|
/**
|
2423
2413
|
*
|
@@ -2592,29 +2582,6 @@ export declare const ReportTypesResponseTypesEnum: {
|
|
2592
2582
|
readonly PromotionExpanded: "promotion_expanded";
|
2593
2583
|
};
|
2594
2584
|
export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
|
2595
|
-
/**
|
2596
|
-
*
|
2597
|
-
* @export
|
2598
|
-
* @interface RequiredRestriction
|
2599
|
-
*/
|
2600
|
-
export interface RequiredRestriction {
|
2601
|
-
/**
|
2602
|
-
*
|
2603
|
-
* @type {string}
|
2604
|
-
* @memberof RequiredRestriction
|
2605
|
-
*/
|
2606
|
-
'kind': RequiredRestrictionKindEnum;
|
2607
|
-
/**
|
2608
|
-
*
|
2609
|
-
* @type {Array<string>}
|
2610
|
-
* @memberof RequiredRestriction
|
2611
|
-
*/
|
2612
|
-
'tagKeys': Array<string>;
|
2613
|
-
}
|
2614
|
-
export declare const RequiredRestrictionKindEnum: {
|
2615
|
-
readonly Required: "required";
|
2616
|
-
};
|
2617
|
-
export type RequiredRestrictionKindEnum = typeof RequiredRestrictionKindEnum[keyof typeof RequiredRestrictionKindEnum];
|
2618
2585
|
/**
|
2619
2586
|
* @type Rule
|
2620
2587
|
* @export
|
@@ -3110,10 +3077,10 @@ export interface TagRuleValueNumber {
|
|
3110
3077
|
'kind': TagRuleKind;
|
3111
3078
|
/**
|
3112
3079
|
*
|
3113
|
-
* @type {
|
3080
|
+
* @type {string}
|
3114
3081
|
* @memberof TagRuleValueNumber
|
3115
3082
|
*/
|
3116
|
-
'value':
|
3083
|
+
'value': string;
|
3117
3084
|
}
|
3118
3085
|
/**
|
3119
3086
|
*
|
@@ -3255,10 +3222,10 @@ export interface Target {
|
|
3255
3222
|
export interface TargetLevel {
|
3256
3223
|
/**
|
3257
3224
|
*
|
3258
|
-
* @type {
|
3225
|
+
* @type {string}
|
3259
3226
|
* @memberof TargetLevel
|
3260
3227
|
*/
|
3261
|
-
'value':
|
3228
|
+
'value': string;
|
3262
3229
|
/**
|
3263
3230
|
*
|
3264
3231
|
* @type {BonusValue}
|
@@ -3365,10 +3332,10 @@ export interface Tenant {
|
|
3365
3332
|
'azureEntraClientID': string;
|
3366
3333
|
/**
|
3367
3334
|
*
|
3368
|
-
* @type {
|
3335
|
+
* @type {Locale}
|
3369
3336
|
* @memberof Tenant
|
3370
3337
|
*/
|
3371
|
-
'locale':
|
3338
|
+
'locale': Locale;
|
3372
3339
|
}
|
3373
3340
|
/**
|
3374
3341
|
*
|
@@ -3412,24 +3379,7 @@ export interface Transaction {
|
|
3412
3379
|
* @memberof Transaction
|
3413
3380
|
*/
|
3414
3381
|
'createdAt': string;
|
3415
|
-
/**
|
3416
|
-
*
|
3417
|
-
* @type {TransactionCurrencyKind}
|
3418
|
-
* @memberof Transaction
|
3419
|
-
*/
|
3420
|
-
'currency': TransactionCurrencyKind;
|
3421
3382
|
}
|
3422
|
-
/**
|
3423
|
-
*
|
3424
|
-
* @export
|
3425
|
-
* @enum {string}
|
3426
|
-
*/
|
3427
|
-
export declare const TransactionCurrencyKind: {
|
3428
|
-
readonly Points: "points";
|
3429
|
-
readonly CustomDealBudget: "customDealBudget";
|
3430
|
-
readonly SalesBudget: "salesBudget";
|
3431
|
-
};
|
3432
|
-
export type TransactionCurrencyKind = typeof TransactionCurrencyKind[keyof typeof TransactionCurrencyKind];
|
3433
3383
|
/**
|
3434
3384
|
*
|
3435
3385
|
* @export
|
@@ -3539,14 +3489,13 @@ export declare const TransactionSource: {
|
|
3539
3489
|
readonly Manual: "manual";
|
3540
3490
|
readonly Expiry: "expiry";
|
3541
3491
|
readonly Transfer: "transfer";
|
3542
|
-
readonly SalesBudget: "sales_budget";
|
3543
3492
|
};
|
3544
3493
|
export type TransactionSource = typeof TransactionSource[keyof typeof TransactionSource];
|
3545
3494
|
/**
|
3546
3495
|
* @type TransactionSourceReference
|
3547
3496
|
* @export
|
3548
3497
|
*/
|
3549
|
-
export type TransactionSourceReference = BalanceWithBeneficiaryRef |
|
3498
|
+
export type TransactionSourceReference = BalanceWithBeneficiaryRef | Order | PeriodPromotion | User;
|
3550
3499
|
/**
|
3551
3500
|
*
|
3552
3501
|
* @export
|
@@ -3682,12 +3631,6 @@ export interface UpdatePromotionRequest {
|
|
3682
3631
|
* @memberof UpdatePromotionRequest
|
3683
3632
|
*/
|
3684
3633
|
'notificationConfig'?: PromotionNotificationConfig;
|
3685
|
-
/**
|
3686
|
-
*
|
3687
|
-
* @type {string}
|
3688
|
-
* @memberof UpdatePromotionRequest
|
3689
|
-
*/
|
3690
|
-
'reference'?: string;
|
3691
3634
|
}
|
3692
3635
|
/**
|
3693
3636
|
*
|
@@ -3903,7 +3846,7 @@ export interface UserOrder {
|
|
3903
3846
|
* @type {string}
|
3904
3847
|
* @memberof UserOrder
|
3905
3848
|
*/
|
3906
|
-
'source'
|
3849
|
+
'source'?: string;
|
3907
3850
|
/**
|
3908
3851
|
*
|
3909
3852
|
* @type {string}
|
@@ -3912,10 +3855,10 @@ export interface UserOrder {
|
|
3912
3855
|
'userID'?: string;
|
3913
3856
|
/**
|
3914
3857
|
*
|
3915
|
-
* @type {
|
3858
|
+
* @type {OrderStatus}
|
3916
3859
|
* @memberof UserOrder
|
3917
3860
|
*/
|
3918
|
-
'
|
3861
|
+
'status'?: OrderStatus;
|
3919
3862
|
}
|
3920
3863
|
/**
|
3921
3864
|
*
|
@@ -3936,6 +3879,25 @@ export interface UserOrderListResponse {
|
|
3936
3879
|
*/
|
3937
3880
|
'nextToken'?: string;
|
3938
3881
|
}
|
3882
|
+
/**
|
3883
|
+
*
|
3884
|
+
* @export
|
3885
|
+
* @interface UserPreferencesRequest
|
3886
|
+
*/
|
3887
|
+
export interface UserPreferencesRequest {
|
3888
|
+
/**
|
3889
|
+
*
|
3890
|
+
* @type {Locale}
|
3891
|
+
* @memberof UserPreferencesRequest
|
3892
|
+
*/
|
3893
|
+
'preferredLocale'?: Locale;
|
3894
|
+
/**
|
3895
|
+
*
|
3896
|
+
* @type {Array<NotificationPreference>}
|
3897
|
+
* @memberof UserPreferencesRequest
|
3898
|
+
*/
|
3899
|
+
'notificationPreferences': Array<NotificationPreference>;
|
3900
|
+
}
|
3939
3901
|
/**
|
3940
3902
|
*
|
3941
3903
|
* @export
|
@@ -4507,6 +4469,14 @@ export declare const BulkApiAxiosParamCreator: (configuration?: Configuration) =
|
|
4507
4469
|
* @throws {RequiredError}
|
4508
4470
|
*/
|
4509
4471
|
bulkCreateTags: (tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4472
|
+
/**
|
4473
|
+
* Update multiple clients
|
4474
|
+
* @summary Update multiple clients
|
4475
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4476
|
+
* @param {*} [options] Override http request option.
|
4477
|
+
* @throws {RequiredError}
|
4478
|
+
*/
|
4479
|
+
bulkUpdateClients: (clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4510
4480
|
};
|
4511
4481
|
/**
|
4512
4482
|
* BulkApi - functional programming interface
|
@@ -4537,6 +4507,14 @@ export declare const BulkApiFp: (configuration?: Configuration) => {
|
|
4537
4507
|
* @throws {RequiredError}
|
4538
4508
|
*/
|
4539
4509
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TagDetailed>>>;
|
4510
|
+
/**
|
4511
|
+
* Update multiple clients
|
4512
|
+
* @summary Update multiple clients
|
4513
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4514
|
+
* @param {*} [options] Override http request option.
|
4515
|
+
* @throws {RequiredError}
|
4516
|
+
*/
|
4517
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Client>>>;
|
4540
4518
|
};
|
4541
4519
|
/**
|
4542
4520
|
* BulkApi - factory interface
|
@@ -4567,6 +4545,14 @@ export declare const BulkApiFactory: (configuration?: Configuration, basePath?:
|
|
4567
4545
|
* @throws {RequiredError}
|
4568
4546
|
*/
|
4569
4547
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: any): AxiosPromise<Array<TagDetailed>>;
|
4548
|
+
/**
|
4549
|
+
* Update multiple clients
|
4550
|
+
* @summary Update multiple clients
|
4551
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4552
|
+
* @param {*} [options] Override http request option.
|
4553
|
+
* @throws {RequiredError}
|
4554
|
+
*/
|
4555
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: any): AxiosPromise<Array<Client>>;
|
4570
4556
|
};
|
4571
4557
|
/**
|
4572
4558
|
* BulkApi - object-oriented interface
|
@@ -4602,6 +4588,15 @@ export declare class BulkApi extends BaseAPI {
|
|
4602
4588
|
* @memberof BulkApi
|
4603
4589
|
*/
|
4604
4590
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed[], any>>;
|
4591
|
+
/**
|
4592
|
+
* Update multiple clients
|
4593
|
+
* @summary Update multiple clients
|
4594
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4595
|
+
* @param {*} [options] Override http request option.
|
4596
|
+
* @throws {RequiredError}
|
4597
|
+
* @memberof BulkApi
|
4598
|
+
*/
|
4599
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Client[], any>>;
|
4605
4600
|
}
|
4606
4601
|
/**
|
4607
4602
|
* CategoryApi - axios parameter creator
|
@@ -4969,24 +4964,11 @@ export declare const CustomDealsApiAxiosParamCreator: (configuration?: Configura
|
|
4969
4964
|
/**
|
4970
4965
|
* Create custom deal restrictions
|
4971
4966
|
* @summary Create custom deal restrictions
|
4972
|
-
* @param {
|
4973
|
-
* @param {*} [options] Override http request option.
|
4974
|
-
* @throws {RequiredError}
|
4975
|
-
*/
|
4976
|
-
createCustomDealRestrictions: (customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4977
|
-
/**
|
4978
|
-
* Get custom deal min target value
|
4979
|
-
* @summary Get custom deal min target value
|
4980
|
-
* @param {string} startingAt start at
|
4981
|
-
* @param {string} endingAt end at
|
4982
|
-
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
4983
|
-
* @param {Array<string>} beneficiaryValues beneficiary values
|
4984
|
-
* @param {string} tagKey tag key
|
4985
|
-
* @param {string} tagValue tag value
|
4967
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
4986
4968
|
* @param {*} [options] Override http request option.
|
4987
4969
|
* @throws {RequiredError}
|
4988
4970
|
*/
|
4989
|
-
|
4971
|
+
createCustomDealRestrictions: (customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4990
4972
|
/**
|
4991
4973
|
* List custom deal restrictions
|
4992
4974
|
* @summary List custom deal restrictions
|
@@ -5003,24 +4985,11 @@ export declare const CustomDealsApiFp: (configuration?: Configuration) => {
|
|
5003
4985
|
/**
|
5004
4986
|
* Create custom deal restrictions
|
5005
4987
|
* @summary Create custom deal restrictions
|
5006
|
-
* @param {
|
4988
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5007
4989
|
* @param {*} [options] Override http request option.
|
5008
4990
|
* @throws {RequiredError}
|
5009
4991
|
*/
|
5010
|
-
createCustomDealRestrictions(
|
5011
|
-
/**
|
5012
|
-
* Get custom deal min target value
|
5013
|
-
* @summary Get custom deal min target value
|
5014
|
-
* @param {string} startingAt start at
|
5015
|
-
* @param {string} endingAt end at
|
5016
|
-
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5017
|
-
* @param {Array<string>} beneficiaryValues beneficiary values
|
5018
|
-
* @param {string} tagKey tag key
|
5019
|
-
* @param {string} tagValue tag value
|
5020
|
-
* @param {*} [options] Override http request option.
|
5021
|
-
* @throws {RequiredError}
|
5022
|
-
*/
|
5023
|
-
getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDealMinTargetValueResponse>>;
|
4992
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
5024
4993
|
/**
|
5025
4994
|
* List custom deal restrictions
|
5026
4995
|
* @summary List custom deal restrictions
|
@@ -5037,24 +5006,11 @@ export declare const CustomDealsApiFactory: (configuration?: Configuration, base
|
|
5037
5006
|
/**
|
5038
5007
|
* Create custom deal restrictions
|
5039
5008
|
* @summary Create custom deal restrictions
|
5040
|
-
* @param {
|
5041
|
-
* @param {*} [options] Override http request option.
|
5042
|
-
* @throws {RequiredError}
|
5043
|
-
*/
|
5044
|
-
createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: any): AxiosPromise<void>;
|
5045
|
-
/**
|
5046
|
-
* Get custom deal min target value
|
5047
|
-
* @summary Get custom deal min target value
|
5048
|
-
* @param {string} startingAt start at
|
5049
|
-
* @param {string} endingAt end at
|
5050
|
-
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5051
|
-
* @param {Array<string>} beneficiaryValues beneficiary values
|
5052
|
-
* @param {string} tagKey tag key
|
5053
|
-
* @param {string} tagValue tag value
|
5009
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5054
5010
|
* @param {*} [options] Override http request option.
|
5055
5011
|
* @throws {RequiredError}
|
5056
5012
|
*/
|
5057
|
-
|
5013
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: any): AxiosPromise<void>;
|
5058
5014
|
/**
|
5059
5015
|
* List custom deal restrictions
|
5060
5016
|
* @summary List custom deal restrictions
|
@@ -5073,26 +5029,12 @@ export declare class CustomDealsApi extends BaseAPI {
|
|
5073
5029
|
/**
|
5074
5030
|
* Create custom deal restrictions
|
5075
5031
|
* @summary Create custom deal restrictions
|
5076
|
-
* @param {
|
5077
|
-
* @param {*} [options] Override http request option.
|
5078
|
-
* @throws {RequiredError}
|
5079
|
-
* @memberof CustomDealsApi
|
5080
|
-
*/
|
5081
|
-
createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5082
|
-
/**
|
5083
|
-
* Get custom deal min target value
|
5084
|
-
* @summary Get custom deal min target value
|
5085
|
-
* @param {string} startingAt start at
|
5086
|
-
* @param {string} endingAt end at
|
5087
|
-
* @param {BeneficiaryKind} beneficiaryKind beneficiary kind
|
5088
|
-
* @param {Array<string>} beneficiaryValues beneficiary values
|
5089
|
-
* @param {string} tagKey tag key
|
5090
|
-
* @param {string} tagValue tag value
|
5032
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5091
5033
|
* @param {*} [options] Override http request option.
|
5092
5034
|
* @throws {RequiredError}
|
5093
5035
|
* @memberof CustomDealsApi
|
5094
5036
|
*/
|
5095
|
-
|
5037
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5096
5038
|
/**
|
5097
5039
|
* List custom deal restrictions
|
5098
5040
|
* @summary List custom deal restrictions
|
@@ -5310,6 +5252,13 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
5310
5252
|
* @throws {RequiredError}
|
5311
5253
|
*/
|
5312
5254
|
getPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5255
|
+
/**
|
5256
|
+
* Get preferences for the authenticated user
|
5257
|
+
* @summary Get preferences
|
5258
|
+
* @param {*} [options] Override http request option.
|
5259
|
+
* @throws {RequiredError}
|
5260
|
+
*/
|
5261
|
+
getUserPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5313
5262
|
/**
|
5314
5263
|
* List paginated notifications
|
5315
5264
|
* @summary List notifications
|
@@ -5335,6 +5284,14 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
5335
5284
|
* @throws {RequiredError}
|
5336
5285
|
*/
|
5337
5286
|
updatePreferences: (preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5287
|
+
/**
|
5288
|
+
* Update preferences for the authenticated user
|
5289
|
+
* @summary Update preferences
|
5290
|
+
* @param {UserPreferencesRequest} userPreferencesRequest notification preferences
|
5291
|
+
* @param {*} [options] Override http request option.
|
5292
|
+
* @throws {RequiredError}
|
5293
|
+
*/
|
5294
|
+
updateUserPreferences: (userPreferencesRequest: UserPreferencesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5338
5295
|
};
|
5339
5296
|
/**
|
5340
5297
|
* NotificationApi - functional programming interface
|
@@ -5364,6 +5321,13 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
5364
5321
|
* @throws {RequiredError}
|
5365
5322
|
*/
|
5366
5323
|
getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>>;
|
5324
|
+
/**
|
5325
|
+
* Get preferences for the authenticated user
|
5326
|
+
* @summary Get preferences
|
5327
|
+
* @param {*} [options] Override http request option.
|
5328
|
+
* @throws {RequiredError}
|
5329
|
+
*/
|
5330
|
+
getUserPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>>;
|
5367
5331
|
/**
|
5368
5332
|
* List paginated notifications
|
5369
5333
|
* @summary List notifications
|
@@ -5389,6 +5353,14 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
5389
5353
|
* @throws {RequiredError}
|
5390
5354
|
*/
|
5391
5355
|
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
5356
|
+
/**
|
5357
|
+
* Update preferences for the authenticated user
|
5358
|
+
* @summary Update preferences
|
5359
|
+
* @param {UserPreferencesRequest} userPreferencesRequest notification preferences
|
5360
|
+
* @param {*} [options] Override http request option.
|
5361
|
+
* @throws {RequiredError}
|
5362
|
+
*/
|
5363
|
+
updateUserPreferences(userPreferencesRequest: UserPreferencesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
5392
5364
|
};
|
5393
5365
|
/**
|
5394
5366
|
* NotificationApi - factory interface
|
@@ -5418,6 +5390,13 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
5418
5390
|
* @throws {RequiredError}
|
5419
5391
|
*/
|
5420
5392
|
getPreferences(options?: any): AxiosPromise<Preferences>;
|
5393
|
+
/**
|
5394
|
+
* Get preferences for the authenticated user
|
5395
|
+
* @summary Get preferences
|
5396
|
+
* @param {*} [options] Override http request option.
|
5397
|
+
* @throws {RequiredError}
|
5398
|
+
*/
|
5399
|
+
getUserPreferences(options?: any): AxiosPromise<Preferences>;
|
5421
5400
|
/**
|
5422
5401
|
* List paginated notifications
|
5423
5402
|
* @summary List notifications
|
@@ -5443,6 +5422,14 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
5443
5422
|
* @throws {RequiredError}
|
5444
5423
|
*/
|
5445
5424
|
updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void>;
|
5425
|
+
/**
|
5426
|
+
* Update preferences for the authenticated user
|
5427
|
+
* @summary Update preferences
|
5428
|
+
* @param {UserPreferencesRequest} userPreferencesRequest notification preferences
|
5429
|
+
* @param {*} [options] Override http request option.
|
5430
|
+
* @throws {RequiredError}
|
5431
|
+
*/
|
5432
|
+
updateUserPreferences(userPreferencesRequest: UserPreferencesRequest, options?: any): AxiosPromise<void>;
|
5446
5433
|
};
|
5447
5434
|
/**
|
5448
5435
|
* NotificationApi - object-oriented interface
|
@@ -5477,6 +5464,14 @@ export declare class NotificationApi extends BaseAPI {
|
|
5477
5464
|
* @memberof NotificationApi
|
5478
5465
|
*/
|
5479
5466
|
getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Preferences, any>>;
|
5467
|
+
/**
|
5468
|
+
* Get preferences for the authenticated user
|
5469
|
+
* @summary Get preferences
|
5470
|
+
* @param {*} [options] Override http request option.
|
5471
|
+
* @throws {RequiredError}
|
5472
|
+
* @memberof NotificationApi
|
5473
|
+
*/
|
5474
|
+
getUserPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Preferences, any>>;
|
5480
5475
|
/**
|
5481
5476
|
* List paginated notifications
|
5482
5477
|
* @summary List notifications
|
@@ -5505,20 +5500,21 @@ export declare class NotificationApi extends BaseAPI {
|
|
5505
5500
|
* @memberof NotificationApi
|
5506
5501
|
*/
|
5507
5502
|
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5503
|
+
/**
|
5504
|
+
* Update preferences for the authenticated user
|
5505
|
+
* @summary Update preferences
|
5506
|
+
* @param {UserPreferencesRequest} userPreferencesRequest notification preferences
|
5507
|
+
* @param {*} [options] Override http request option.
|
5508
|
+
* @throws {RequiredError}
|
5509
|
+
* @memberof NotificationApi
|
5510
|
+
*/
|
5511
|
+
updateUserPreferences(userPreferencesRequest: UserPreferencesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5508
5512
|
}
|
5509
5513
|
/**
|
5510
5514
|
* OrderApi - axios parameter creator
|
5511
5515
|
* @export
|
5512
5516
|
*/
|
5513
5517
|
export declare const OrderApiAxiosParamCreator: (configuration?: Configuration) => {
|
5514
|
-
/**
|
5515
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5516
|
-
* @summary Create an order for a product
|
5517
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5518
|
-
* @param {*} [options] Override http request option.
|
5519
|
-
* @throws {RequiredError}
|
5520
|
-
*/
|
5521
|
-
createAdminOrder: (adminOrderCreationRequest?: AdminOrderCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5522
5518
|
/**
|
5523
5519
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5524
5520
|
* @summary Create an order for a product
|
@@ -5554,12 +5550,10 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5554
5550
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5555
5551
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5556
5552
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5557
|
-
* @param {OrderKind} [kind] Filter by kind
|
5558
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5559
5553
|
* @param {*} [options] Override http request option.
|
5560
5554
|
* @throws {RequiredError}
|
5561
5555
|
*/
|
5562
|
-
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5556
|
+
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5563
5557
|
/**
|
5564
5558
|
* List existing orders
|
5565
5559
|
* @summary List existing orders
|
@@ -5580,14 +5574,6 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5580
5574
|
* @export
|
5581
5575
|
*/
|
5582
5576
|
export declare const OrderApiFp: (configuration?: Configuration) => {
|
5583
|
-
/**
|
5584
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5585
|
-
* @summary Create an order for a product
|
5586
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5587
|
-
* @param {*} [options] Override http request option.
|
5588
|
-
* @throws {RequiredError}
|
5589
|
-
*/
|
5590
|
-
createAdminOrder(adminOrderCreationRequest?: AdminOrderCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
5591
5577
|
/**
|
5592
5578
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5593
5579
|
* @summary Create an order for a product
|
@@ -5623,12 +5609,10 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5623
5609
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5624
5610
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5625
5611
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5626
|
-
* @param {OrderKind} [kind] Filter by kind
|
5627
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5628
5612
|
* @param {*} [options] Override http request option.
|
5629
5613
|
* @throws {RequiredError}
|
5630
5614
|
*/
|
5631
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5615
|
+
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>>;
|
5632
5616
|
/**
|
5633
5617
|
* List existing orders
|
5634
5618
|
* @summary List existing orders
|
@@ -5649,14 +5633,6 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5649
5633
|
* @export
|
5650
5634
|
*/
|
5651
5635
|
export declare const OrderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
5652
|
-
/**
|
5653
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5654
|
-
* @summary Create an order for a product
|
5655
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5656
|
-
* @param {*} [options] Override http request option.
|
5657
|
-
* @throws {RequiredError}
|
5658
|
-
*/
|
5659
|
-
createAdminOrder(adminOrderCreationRequest?: AdminOrderCreationRequest, options?: any): AxiosPromise<Order>;
|
5660
5636
|
/**
|
5661
5637
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5662
5638
|
* @summary Create an order for a product
|
@@ -5692,12 +5668,10 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5692
5668
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5693
5669
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5694
5670
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5695
|
-
* @param {OrderKind} [kind] Filter by kind
|
5696
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5697
5671
|
* @param {*} [options] Override http request option.
|
5698
5672
|
* @throws {RequiredError}
|
5699
5673
|
*/
|
5700
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5674
|
+
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>, options?: any): AxiosPromise<OrderListResponse>;
|
5701
5675
|
/**
|
5702
5676
|
* List existing orders
|
5703
5677
|
* @summary List existing orders
|
@@ -5720,15 +5694,6 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5720
5694
|
* @extends {BaseAPI}
|
5721
5695
|
*/
|
5722
5696
|
export declare class OrderApi extends BaseAPI {
|
5723
|
-
/**
|
5724
|
-
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5725
|
-
* @summary Create an order for a product
|
5726
|
-
* @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
|
5727
|
-
* @param {*} [options] Override http request option.
|
5728
|
-
* @throws {RequiredError}
|
5729
|
-
* @memberof OrderApi
|
5730
|
-
*/
|
5731
|
-
createAdminOrder(adminOrderCreationRequest?: AdminOrderCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
5732
5697
|
/**
|
5733
5698
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5734
5699
|
* @summary Create an order for a product
|
@@ -5767,13 +5732,11 @@ export declare class OrderApi extends BaseAPI {
|
|
5767
5732
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5768
5733
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5769
5734
|
* @param {Array<string>} [clientIDs] Filter by client ids
|
5770
|
-
* @param {OrderKind} [kind] Filter by kind
|
5771
|
-
* @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
|
5772
5735
|
* @param {*} [options] Override http request option.
|
5773
5736
|
* @throws {RequiredError}
|
5774
5737
|
* @memberof OrderApi
|
5775
5738
|
*/
|
5776
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5739
|
+
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>>;
|
5777
5740
|
/**
|
5778
5741
|
* List existing orders
|
5779
5742
|
* @summary List existing orders
|