flexinet-api 0.0.1308-prerelease0 → 0.0.1308
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 +404 -455
- package/dist/api.d.ts +270 -310
- package/dist/api.js +222 -244
- package/dist/esm/api.d.ts +270 -310
- package/dist/esm/api.js +219 -241
- 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
|
@@ -689,25 +690,52 @@ export type Condition = typeof Condition[keyof typeof Condition];
|
|
689
690
|
/**
|
690
691
|
*
|
691
692
|
* @export
|
692
|
-
* @interface
|
693
|
+
* @interface CustomDealRestriction
|
693
694
|
*/
|
694
|
-
export interface
|
695
|
+
export interface CustomDealRestriction {
|
696
|
+
/**
|
697
|
+
*
|
698
|
+
* @type {string}
|
699
|
+
* @memberof CustomDealRestriction
|
700
|
+
*/
|
701
|
+
'tagKey': string;
|
702
|
+
/**
|
703
|
+
*
|
704
|
+
* @type {string}
|
705
|
+
* @memberof CustomDealRestriction
|
706
|
+
*/
|
707
|
+
'tagValue': string;
|
708
|
+
/**
|
709
|
+
*
|
710
|
+
* @type {number}
|
711
|
+
* @memberof CustomDealRestriction
|
712
|
+
*/
|
713
|
+
'minTurnoverPercent': number;
|
714
|
+
/**
|
715
|
+
*
|
716
|
+
* @type {CustomDealRestrictionPriority}
|
717
|
+
* @memberof CustomDealRestriction
|
718
|
+
*/
|
719
|
+
'priority': CustomDealRestrictionPriority;
|
695
720
|
/**
|
696
721
|
*
|
697
722
|
* @type {number}
|
698
|
-
* @memberof
|
723
|
+
* @memberof CustomDealRestriction
|
724
|
+
*/
|
725
|
+
'points': number;
|
726
|
+
/**
|
727
|
+
*
|
728
|
+
* @type {string}
|
729
|
+
* @memberof CustomDealRestriction
|
699
730
|
*/
|
700
|
-
'
|
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
|
@@ -841,9 +906,10 @@ export interface Item {
|
|
841
906
|
* @enum {string}
|
842
907
|
*/
|
843
908
|
export declare const Locale: {
|
844
|
-
readonly EnUs: "en-
|
845
|
-
readonly RoRo: "ro-
|
846
|
-
readonly HuHu: "hu-
|
909
|
+
readonly EnUs: "en-US";
|
910
|
+
readonly RoRo: "ro-RO";
|
911
|
+
readonly HuHu: "hu-HU";
|
912
|
+
readonly DeDe: "de-DE";
|
847
913
|
};
|
848
914
|
export type Locale = typeof Locale[keyof typeof Locale];
|
849
915
|
/**
|
@@ -933,66 +999,6 @@ export interface MetricsCollection {
|
|
933
999
|
*/
|
934
1000
|
'total': Metrics;
|
935
1001
|
}
|
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
1002
|
/**
|
997
1003
|
*
|
998
1004
|
* @export
|
@@ -1243,12 +1249,6 @@ export interface Order {
|
|
1243
1249
|
* @memberof Order
|
1244
1250
|
*/
|
1245
1251
|
'status'?: OrderStatus;
|
1246
|
-
/**
|
1247
|
-
*
|
1248
|
-
* @type {string}
|
1249
|
-
* @memberof Order
|
1250
|
-
*/
|
1251
|
-
'clientID'?: string;
|
1252
1252
|
}
|
1253
1253
|
/**
|
1254
1254
|
*
|
@@ -1296,7 +1296,6 @@ export interface OrderItemCreationRequest {
|
|
1296
1296
|
export declare const OrderKind: {
|
1297
1297
|
readonly Webshop: "webshop";
|
1298
1298
|
readonly Promotions: "promotions";
|
1299
|
-
readonly SalesBudget: "sales_budget";
|
1300
1299
|
};
|
1301
1300
|
export type OrderKind = typeof OrderKind[keyof typeof OrderKind];
|
1302
1301
|
/**
|
@@ -1418,6 +1417,12 @@ export interface Preferences {
|
|
1418
1417
|
* @memberof Preferences
|
1419
1418
|
*/
|
1420
1419
|
'promotionConfig': PromotionConfig;
|
1420
|
+
/**
|
1421
|
+
*
|
1422
|
+
* @type {Locale}
|
1423
|
+
* @memberof Preferences
|
1424
|
+
*/
|
1425
|
+
'locale'?: Locale;
|
1421
1426
|
}
|
1422
1427
|
/**
|
1423
1428
|
*
|
@@ -1431,12 +1436,6 @@ export interface PreferencesRequest {
|
|
1431
1436
|
* @memberof PreferencesRequest
|
1432
1437
|
*/
|
1433
1438
|
'preferredLocale'?: Locale;
|
1434
|
-
/**
|
1435
|
-
*
|
1436
|
-
* @type {Array<NotificationPreference>}
|
1437
|
-
* @memberof PreferencesRequest
|
1438
|
-
*/
|
1439
|
-
'notificationPreferences': Array<NotificationPreference>;
|
1440
1439
|
}
|
1441
1440
|
/**
|
1442
1441
|
*
|
@@ -1926,6 +1925,12 @@ export interface Profile {
|
|
1926
1925
|
* @interface Progress
|
1927
1926
|
*/
|
1928
1927
|
export interface Progress {
|
1928
|
+
/**
|
1929
|
+
*
|
1930
|
+
* @type {string}
|
1931
|
+
* @memberof Progress
|
1932
|
+
*/
|
1933
|
+
'promotionId': string;
|
1929
1934
|
/**
|
1930
1935
|
*
|
1931
1936
|
* @type {string}
|
@@ -1934,10 +1939,10 @@ export interface Progress {
|
|
1934
1939
|
'id': string;
|
1935
1940
|
/**
|
1936
1941
|
*
|
1937
|
-
* @type {
|
1942
|
+
* @type {string}
|
1938
1943
|
* @memberof Progress
|
1939
1944
|
*/
|
1940
|
-
'value':
|
1945
|
+
'value': string;
|
1941
1946
|
/**
|
1942
1947
|
*
|
1943
1948
|
* @type {string}
|
@@ -1946,11 +1951,11 @@ export interface Progress {
|
|
1946
1951
|
'value_mu': string;
|
1947
1952
|
/**
|
1948
1953
|
*
|
1949
|
-
* @type {{ [key: string]:
|
1954
|
+
* @type {{ [key: string]: string; }}
|
1950
1955
|
* @memberof Progress
|
1951
1956
|
*/
|
1952
1957
|
'value_detailed'?: {
|
1953
|
-
[key: string]:
|
1958
|
+
[key: string]: string;
|
1954
1959
|
};
|
1955
1960
|
/**
|
1956
1961
|
*
|
@@ -2186,12 +2191,6 @@ export interface Promotion {
|
|
2186
2191
|
* @memberof Promotion
|
2187
2192
|
*/
|
2188
2193
|
'status'?: PromotionStatus;
|
2189
|
-
/**
|
2190
|
-
*
|
2191
|
-
* @type {string}
|
2192
|
-
* @memberof Promotion
|
2193
|
-
*/
|
2194
|
-
'reference'?: string;
|
2195
2194
|
}
|
2196
2195
|
/**
|
2197
2196
|
* @type PromotionBeneficiariesResponse
|
@@ -2406,18 +2405,6 @@ export interface PromotionRequest {
|
|
2406
2405
|
* @memberof PromotionRequest
|
2407
2406
|
*/
|
2408
2407
|
'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
2408
|
}
|
2422
2409
|
/**
|
2423
2410
|
*
|
@@ -2592,29 +2579,6 @@ export declare const ReportTypesResponseTypesEnum: {
|
|
2592
2579
|
readonly PromotionExpanded: "promotion_expanded";
|
2593
2580
|
};
|
2594
2581
|
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
2582
|
/**
|
2619
2583
|
* @type Rule
|
2620
2584
|
* @export
|
@@ -3365,10 +3329,10 @@ export interface Tenant {
|
|
3365
3329
|
'azureEntraClientID': string;
|
3366
3330
|
/**
|
3367
3331
|
*
|
3368
|
-
* @type {
|
3332
|
+
* @type {Locale}
|
3369
3333
|
* @memberof Tenant
|
3370
3334
|
*/
|
3371
|
-
'locale':
|
3335
|
+
'locale': Locale;
|
3372
3336
|
}
|
3373
3337
|
/**
|
3374
3338
|
*
|
@@ -3412,24 +3376,7 @@ export interface Transaction {
|
|
3412
3376
|
* @memberof Transaction
|
3413
3377
|
*/
|
3414
3378
|
'createdAt': string;
|
3415
|
-
/**
|
3416
|
-
*
|
3417
|
-
* @type {TransactionCurrencyKind}
|
3418
|
-
* @memberof Transaction
|
3419
|
-
*/
|
3420
|
-
'currency': TransactionCurrencyKind;
|
3421
3379
|
}
|
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
3380
|
/**
|
3434
3381
|
*
|
3435
3382
|
* @export
|
@@ -3539,14 +3486,13 @@ export declare const TransactionSource: {
|
|
3539
3486
|
readonly Manual: "manual";
|
3540
3487
|
readonly Expiry: "expiry";
|
3541
3488
|
readonly Transfer: "transfer";
|
3542
|
-
readonly SalesBudget: "sales_budget";
|
3543
3489
|
};
|
3544
3490
|
export type TransactionSource = typeof TransactionSource[keyof typeof TransactionSource];
|
3545
3491
|
/**
|
3546
3492
|
* @type TransactionSourceReference
|
3547
3493
|
* @export
|
3548
3494
|
*/
|
3549
|
-
export type TransactionSourceReference = BalanceWithBeneficiaryRef |
|
3495
|
+
export type TransactionSourceReference = BalanceWithBeneficiaryRef | Order | PeriodPromotion | User;
|
3550
3496
|
/**
|
3551
3497
|
*
|
3552
3498
|
* @export
|
@@ -3682,12 +3628,6 @@ export interface UpdatePromotionRequest {
|
|
3682
3628
|
* @memberof UpdatePromotionRequest
|
3683
3629
|
*/
|
3684
3630
|
'notificationConfig'?: PromotionNotificationConfig;
|
3685
|
-
/**
|
3686
|
-
*
|
3687
|
-
* @type {string}
|
3688
|
-
* @memberof UpdatePromotionRequest
|
3689
|
-
*/
|
3690
|
-
'reference'?: string;
|
3691
3631
|
}
|
3692
3632
|
/**
|
3693
3633
|
*
|
@@ -3903,7 +3843,7 @@ export interface UserOrder {
|
|
3903
3843
|
* @type {string}
|
3904
3844
|
* @memberof UserOrder
|
3905
3845
|
*/
|
3906
|
-
'source'
|
3846
|
+
'source'?: string;
|
3907
3847
|
/**
|
3908
3848
|
*
|
3909
3849
|
* @type {string}
|
@@ -3912,10 +3852,10 @@ export interface UserOrder {
|
|
3912
3852
|
'userID'?: string;
|
3913
3853
|
/**
|
3914
3854
|
*
|
3915
|
-
* @type {
|
3855
|
+
* @type {OrderStatus}
|
3916
3856
|
* @memberof UserOrder
|
3917
3857
|
*/
|
3918
|
-
'
|
3858
|
+
'status'?: OrderStatus;
|
3919
3859
|
}
|
3920
3860
|
/**
|
3921
3861
|
*
|
@@ -3936,6 +3876,25 @@ export interface UserOrderListResponse {
|
|
3936
3876
|
*/
|
3937
3877
|
'nextToken'?: string;
|
3938
3878
|
}
|
3879
|
+
/**
|
3880
|
+
*
|
3881
|
+
* @export
|
3882
|
+
* @interface UserPreferencesRequest
|
3883
|
+
*/
|
3884
|
+
export interface UserPreferencesRequest {
|
3885
|
+
/**
|
3886
|
+
*
|
3887
|
+
* @type {Locale}
|
3888
|
+
* @memberof UserPreferencesRequest
|
3889
|
+
*/
|
3890
|
+
'preferredLocale'?: Locale;
|
3891
|
+
/**
|
3892
|
+
*
|
3893
|
+
* @type {Array<NotificationPreference>}
|
3894
|
+
* @memberof UserPreferencesRequest
|
3895
|
+
*/
|
3896
|
+
'notificationPreferences': Array<NotificationPreference>;
|
3897
|
+
}
|
3939
3898
|
/**
|
3940
3899
|
*
|
3941
3900
|
* @export
|
@@ -4507,6 +4466,14 @@ export declare const BulkApiAxiosParamCreator: (configuration?: Configuration) =
|
|
4507
4466
|
* @throws {RequiredError}
|
4508
4467
|
*/
|
4509
4468
|
bulkCreateTags: (tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4469
|
+
/**
|
4470
|
+
* Update multiple clients
|
4471
|
+
* @summary Update multiple clients
|
4472
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4473
|
+
* @param {*} [options] Override http request option.
|
4474
|
+
* @throws {RequiredError}
|
4475
|
+
*/
|
4476
|
+
bulkUpdateClients: (clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4510
4477
|
};
|
4511
4478
|
/**
|
4512
4479
|
* BulkApi - functional programming interface
|
@@ -4537,6 +4504,14 @@ export declare const BulkApiFp: (configuration?: Configuration) => {
|
|
4537
4504
|
* @throws {RequiredError}
|
4538
4505
|
*/
|
4539
4506
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TagDetailed>>>;
|
4507
|
+
/**
|
4508
|
+
* Update multiple clients
|
4509
|
+
* @summary Update multiple clients
|
4510
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4511
|
+
* @param {*} [options] Override http request option.
|
4512
|
+
* @throws {RequiredError}
|
4513
|
+
*/
|
4514
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Client>>>;
|
4540
4515
|
};
|
4541
4516
|
/**
|
4542
4517
|
* BulkApi - factory interface
|
@@ -4567,6 +4542,14 @@ export declare const BulkApiFactory: (configuration?: Configuration, basePath?:
|
|
4567
4542
|
* @throws {RequiredError}
|
4568
4543
|
*/
|
4569
4544
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: any): AxiosPromise<Array<TagDetailed>>;
|
4545
|
+
/**
|
4546
|
+
* Update multiple clients
|
4547
|
+
* @summary Update multiple clients
|
4548
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4549
|
+
* @param {*} [options] Override http request option.
|
4550
|
+
* @throws {RequiredError}
|
4551
|
+
*/
|
4552
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: any): AxiosPromise<Array<Client>>;
|
4570
4553
|
};
|
4571
4554
|
/**
|
4572
4555
|
* BulkApi - object-oriented interface
|
@@ -4602,6 +4585,15 @@ export declare class BulkApi extends BaseAPI {
|
|
4602
4585
|
* @memberof BulkApi
|
4603
4586
|
*/
|
4604
4587
|
bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed[], any>>;
|
4588
|
+
/**
|
4589
|
+
* Update multiple clients
|
4590
|
+
* @summary Update multiple clients
|
4591
|
+
* @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
|
4592
|
+
* @param {*} [options] Override http request option.
|
4593
|
+
* @throws {RequiredError}
|
4594
|
+
* @memberof BulkApi
|
4595
|
+
*/
|
4596
|
+
bulkUpdateClients(clientsBulkUpdateRequest?: ClientsBulkUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Client[], any>>;
|
4605
4597
|
}
|
4606
4598
|
/**
|
4607
4599
|
* CategoryApi - axios parameter creator
|
@@ -4969,24 +4961,11 @@ export declare const CustomDealsApiAxiosParamCreator: (configuration?: Configura
|
|
4969
4961
|
/**
|
4970
4962
|
* Create custom deal restrictions
|
4971
4963
|
* @summary Create custom deal restrictions
|
4972
|
-
* @param {
|
4964
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
4973
4965
|
* @param {*} [options] Override http request option.
|
4974
4966
|
* @throws {RequiredError}
|
4975
4967
|
*/
|
4976
|
-
createCustomDealRestrictions: (
|
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
|
4986
|
-
* @param {*} [options] Override http request option.
|
4987
|
-
* @throws {RequiredError}
|
4988
|
-
*/
|
4989
|
-
getCustomDealMinTargetValue: (startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4968
|
+
createCustomDealRestrictions: (customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
4990
4969
|
/**
|
4991
4970
|
* List custom deal restrictions
|
4992
4971
|
* @summary List custom deal restrictions
|
@@ -5003,24 +4982,11 @@ export declare const CustomDealsApiFp: (configuration?: Configuration) => {
|
|
5003
4982
|
/**
|
5004
4983
|
* Create custom deal restrictions
|
5005
4984
|
* @summary Create custom deal restrictions
|
5006
|
-
* @param {
|
5007
|
-
* @param {*} [options] Override http request option.
|
5008
|
-
* @throws {RequiredError}
|
5009
|
-
*/
|
5010
|
-
createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
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
|
4985
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5020
4986
|
* @param {*} [options] Override http request option.
|
5021
4987
|
* @throws {RequiredError}
|
5022
4988
|
*/
|
5023
|
-
|
4989
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
5024
4990
|
/**
|
5025
4991
|
* List custom deal restrictions
|
5026
4992
|
* @summary List custom deal restrictions
|
@@ -5037,24 +5003,11 @@ export declare const CustomDealsApiFactory: (configuration?: Configuration, base
|
|
5037
5003
|
/**
|
5038
5004
|
* Create custom deal restrictions
|
5039
5005
|
* @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
|
5006
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5054
5007
|
* @param {*} [options] Override http request option.
|
5055
5008
|
* @throws {RequiredError}
|
5056
5009
|
*/
|
5057
|
-
|
5010
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: any): AxiosPromise<void>;
|
5058
5011
|
/**
|
5059
5012
|
* List custom deal restrictions
|
5060
5013
|
* @summary List custom deal restrictions
|
@@ -5073,26 +5026,12 @@ export declare class CustomDealsApi extends BaseAPI {
|
|
5073
5026
|
/**
|
5074
5027
|
* Create custom deal restrictions
|
5075
5028
|
* @summary Create custom deal restrictions
|
5076
|
-
* @param {
|
5029
|
+
* @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
|
5077
5030
|
* @param {*} [options] Override http request option.
|
5078
5031
|
* @throws {RequiredError}
|
5079
5032
|
* @memberof CustomDealsApi
|
5080
5033
|
*/
|
5081
|
-
createCustomDealRestrictions(
|
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
|
5091
|
-
* @param {*} [options] Override http request option.
|
5092
|
-
* @throws {RequiredError}
|
5093
|
-
* @memberof CustomDealsApi
|
5094
|
-
*/
|
5095
|
-
getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomDealMinTargetValueResponse, any>>;
|
5034
|
+
createCustomDealRestrictions(customDealRestrictionRequest: CustomDealRestrictionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5096
5035
|
/**
|
5097
5036
|
* List custom deal restrictions
|
5098
5037
|
* @summary List custom deal restrictions
|
@@ -5310,6 +5249,13 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
5310
5249
|
* @throws {RequiredError}
|
5311
5250
|
*/
|
5312
5251
|
getPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5252
|
+
/**
|
5253
|
+
* Get preferences for the authenticated user
|
5254
|
+
* @summary Get preferences
|
5255
|
+
* @param {*} [options] Override http request option.
|
5256
|
+
* @throws {RequiredError}
|
5257
|
+
*/
|
5258
|
+
getUserPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5313
5259
|
/**
|
5314
5260
|
* List paginated notifications
|
5315
5261
|
* @summary List notifications
|
@@ -5335,6 +5281,14 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
5335
5281
|
* @throws {RequiredError}
|
5336
5282
|
*/
|
5337
5283
|
updatePreferences: (preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5284
|
+
/**
|
5285
|
+
* Update preferences for the authenticated user
|
5286
|
+
* @summary Update preferences
|
5287
|
+
* @param {UserPreferencesRequest} userPreferencesRequest notification preferences
|
5288
|
+
* @param {*} [options] Override http request option.
|
5289
|
+
* @throws {RequiredError}
|
5290
|
+
*/
|
5291
|
+
updateUserPreferences: (userPreferencesRequest: UserPreferencesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5338
5292
|
};
|
5339
5293
|
/**
|
5340
5294
|
* NotificationApi - functional programming interface
|
@@ -5364,6 +5318,13 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
5364
5318
|
* @throws {RequiredError}
|
5365
5319
|
*/
|
5366
5320
|
getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>>;
|
5321
|
+
/**
|
5322
|
+
* Get preferences for the authenticated user
|
5323
|
+
* @summary Get preferences
|
5324
|
+
* @param {*} [options] Override http request option.
|
5325
|
+
* @throws {RequiredError}
|
5326
|
+
*/
|
5327
|
+
getUserPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Preferences>>;
|
5367
5328
|
/**
|
5368
5329
|
* List paginated notifications
|
5369
5330
|
* @summary List notifications
|
@@ -5389,6 +5350,14 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
5389
5350
|
* @throws {RequiredError}
|
5390
5351
|
*/
|
5391
5352
|
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
5353
|
+
/**
|
5354
|
+
* Update preferences for the authenticated user
|
5355
|
+
* @summary Update preferences
|
5356
|
+
* @param {UserPreferencesRequest} userPreferencesRequest notification preferences
|
5357
|
+
* @param {*} [options] Override http request option.
|
5358
|
+
* @throws {RequiredError}
|
5359
|
+
*/
|
5360
|
+
updateUserPreferences(userPreferencesRequest: UserPreferencesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
5392
5361
|
};
|
5393
5362
|
/**
|
5394
5363
|
* NotificationApi - factory interface
|
@@ -5418,6 +5387,13 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
5418
5387
|
* @throws {RequiredError}
|
5419
5388
|
*/
|
5420
5389
|
getPreferences(options?: any): AxiosPromise<Preferences>;
|
5390
|
+
/**
|
5391
|
+
* Get preferences for the authenticated user
|
5392
|
+
* @summary Get preferences
|
5393
|
+
* @param {*} [options] Override http request option.
|
5394
|
+
* @throws {RequiredError}
|
5395
|
+
*/
|
5396
|
+
getUserPreferences(options?: any): AxiosPromise<Preferences>;
|
5421
5397
|
/**
|
5422
5398
|
* List paginated notifications
|
5423
5399
|
* @summary List notifications
|
@@ -5443,6 +5419,14 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
5443
5419
|
* @throws {RequiredError}
|
5444
5420
|
*/
|
5445
5421
|
updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void>;
|
5422
|
+
/**
|
5423
|
+
* Update preferences for the authenticated user
|
5424
|
+
* @summary Update preferences
|
5425
|
+
* @param {UserPreferencesRequest} userPreferencesRequest notification preferences
|
5426
|
+
* @param {*} [options] Override http request option.
|
5427
|
+
* @throws {RequiredError}
|
5428
|
+
*/
|
5429
|
+
updateUserPreferences(userPreferencesRequest: UserPreferencesRequest, options?: any): AxiosPromise<void>;
|
5446
5430
|
};
|
5447
5431
|
/**
|
5448
5432
|
* NotificationApi - object-oriented interface
|
@@ -5477,6 +5461,14 @@ export declare class NotificationApi extends BaseAPI {
|
|
5477
5461
|
* @memberof NotificationApi
|
5478
5462
|
*/
|
5479
5463
|
getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Preferences, any>>;
|
5464
|
+
/**
|
5465
|
+
* Get preferences for the authenticated user
|
5466
|
+
* @summary Get preferences
|
5467
|
+
* @param {*} [options] Override http request option.
|
5468
|
+
* @throws {RequiredError}
|
5469
|
+
* @memberof NotificationApi
|
5470
|
+
*/
|
5471
|
+
getUserPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Preferences, any>>;
|
5480
5472
|
/**
|
5481
5473
|
* List paginated notifications
|
5482
5474
|
* @summary List notifications
|
@@ -5505,20 +5497,21 @@ export declare class NotificationApi extends BaseAPI {
|
|
5505
5497
|
* @memberof NotificationApi
|
5506
5498
|
*/
|
5507
5499
|
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5500
|
+
/**
|
5501
|
+
* Update preferences for the authenticated user
|
5502
|
+
* @summary Update preferences
|
5503
|
+
* @param {UserPreferencesRequest} userPreferencesRequest notification preferences
|
5504
|
+
* @param {*} [options] Override http request option.
|
5505
|
+
* @throws {RequiredError}
|
5506
|
+
* @memberof NotificationApi
|
5507
|
+
*/
|
5508
|
+
updateUserPreferences(userPreferencesRequest: UserPreferencesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
5508
5509
|
}
|
5509
5510
|
/**
|
5510
5511
|
* OrderApi - axios parameter creator
|
5511
5512
|
* @export
|
5512
5513
|
*/
|
5513
5514
|
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
5515
|
/**
|
5523
5516
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5524
5517
|
* @summary Create an order for a product
|
@@ -5554,12 +5547,10 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5554
5547
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5555
5548
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5556
5549
|
* @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
5550
|
* @param {*} [options] Override http request option.
|
5560
5551
|
* @throws {RequiredError}
|
5561
5552
|
*/
|
5562
|
-
listOrders: (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5553
|
+
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
5554
|
/**
|
5564
5555
|
* List existing orders
|
5565
5556
|
* @summary List existing orders
|
@@ -5580,14 +5571,6 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
|
|
5580
5571
|
* @export
|
5581
5572
|
*/
|
5582
5573
|
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
5574
|
/**
|
5592
5575
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5593
5576
|
* @summary Create an order for a product
|
@@ -5623,12 +5606,10 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5623
5606
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5624
5607
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5625
5608
|
* @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
5609
|
* @param {*} [options] Override http request option.
|
5629
5610
|
* @throws {RequiredError}
|
5630
5611
|
*/
|
5631
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5612
|
+
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
5613
|
/**
|
5633
5614
|
* List existing orders
|
5634
5615
|
* @summary List existing orders
|
@@ -5649,14 +5630,6 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
5649
5630
|
* @export
|
5650
5631
|
*/
|
5651
5632
|
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
5633
|
/**
|
5661
5634
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5662
5635
|
* @summary Create an order for a product
|
@@ -5692,12 +5665,10 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5692
5665
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5693
5666
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5694
5667
|
* @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
5668
|
* @param {*} [options] Override http request option.
|
5698
5669
|
* @throws {RequiredError}
|
5699
5670
|
*/
|
5700
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5671
|
+
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
5672
|
/**
|
5702
5673
|
* List existing orders
|
5703
5674
|
* @summary List existing orders
|
@@ -5720,15 +5691,6 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
5720
5691
|
* @extends {BaseAPI}
|
5721
5692
|
*/
|
5722
5693
|
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
5694
|
/**
|
5733
5695
|
* Create a product order. If successful the value of the product will be deducted from the used balance.
|
5734
5696
|
* @summary Create an order for a product
|
@@ -5767,13 +5729,11 @@ export declare class OrderApi extends BaseAPI {
|
|
5767
5729
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
5768
5730
|
* @param {Array<string>} [userIDs] Filter by user ids
|
5769
5731
|
* @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
5732
|
* @param {*} [options] Override http request option.
|
5773
5733
|
* @throws {RequiredError}
|
5774
5734
|
* @memberof OrderApi
|
5775
5735
|
*/
|
5776
|
-
listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, userIDs?: Array<string>, clientIDs?: Array<string>,
|
5736
|
+
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
5737
|
/**
|
5778
5738
|
* List existing orders
|
5779
5739
|
* @summary List existing orders
|