@munchi_oy/core 1.9.1 → 1.9.2
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/dist/generated/api.d.ts +461 -2125
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +463 -2488
- package/package.json +15 -13
- package/src/version.ts +1 -1
package/generated/api.ts
CHANGED
|
@@ -23,20 +23,6 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @enum {string}
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
export const ABLYEVENT = {
|
|
33
|
-
Sync: 'sync',
|
|
34
|
-
KdsItemStatusSync: 'kds_item_status_sync'
|
|
35
|
-
} as const;
|
|
36
|
-
|
|
37
|
-
export type ABLYEVENT = typeof ABLYEVENT[keyof typeof ABLYEVENT];
|
|
38
|
-
|
|
39
|
-
|
|
40
26
|
/**
|
|
41
27
|
*
|
|
42
28
|
* @export
|
|
@@ -970,61 +956,6 @@ export interface BusinessInfoResponseDtoLoyaltyPlan {
|
|
|
970
956
|
*/
|
|
971
957
|
'expire_after_minutes': number | null;
|
|
972
958
|
}
|
|
973
|
-
/**
|
|
974
|
-
*
|
|
975
|
-
* @export
|
|
976
|
-
* @interface BusinessInfoV2ResponseDto
|
|
977
|
-
*/
|
|
978
|
-
export interface BusinessInfoV2ResponseDto {
|
|
979
|
-
/**
|
|
980
|
-
* The ID of the business
|
|
981
|
-
* @type {number}
|
|
982
|
-
* @memberof BusinessInfoV2ResponseDto
|
|
983
|
-
*/
|
|
984
|
-
'businessId': number;
|
|
985
|
-
/**
|
|
986
|
-
* The name of the business
|
|
987
|
-
* @type {string}
|
|
988
|
-
* @memberof BusinessInfoV2ResponseDto
|
|
989
|
-
*/
|
|
990
|
-
'businessName': string;
|
|
991
|
-
/**
|
|
992
|
-
* The URL of the business logo
|
|
993
|
-
* @type {string}
|
|
994
|
-
* @memberof BusinessInfoV2ResponseDto
|
|
995
|
-
*/
|
|
996
|
-
'logoUrl': string | null;
|
|
997
|
-
/**
|
|
998
|
-
* The phone of the business
|
|
999
|
-
* @type {string}
|
|
1000
|
-
* @memberof BusinessInfoV2ResponseDto
|
|
1001
|
-
*/
|
|
1002
|
-
'phone'?: string | null;
|
|
1003
|
-
/**
|
|
1004
|
-
*
|
|
1005
|
-
* @type {BusinessInfoResponseDtoLoyaltyPlan}
|
|
1006
|
-
* @memberof BusinessInfoV2ResponseDto
|
|
1007
|
-
*/
|
|
1008
|
-
'loyaltyPlan': BusinessInfoResponseDtoLoyaltyPlan | null;
|
|
1009
|
-
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @type {BusinessInfoResponseDtoDetail}
|
|
1012
|
-
* @memberof BusinessInfoV2ResponseDto
|
|
1013
|
-
*/
|
|
1014
|
-
'detail': BusinessInfoResponseDtoDetail;
|
|
1015
|
-
/**
|
|
1016
|
-
* Email address of the business
|
|
1017
|
-
* @type {string}
|
|
1018
|
-
* @memberof BusinessInfoV2ResponseDto
|
|
1019
|
-
*/
|
|
1020
|
-
'businessEmail': string | null;
|
|
1021
|
-
/**
|
|
1022
|
-
* KDS profiles linked to the business
|
|
1023
|
-
* @type {Array<KdsProfileResponseDto>}
|
|
1024
|
-
* @memberof BusinessInfoV2ResponseDto
|
|
1025
|
-
*/
|
|
1026
|
-
'kdsProfiles': Array<KdsProfileResponseDto>;
|
|
1027
|
-
}
|
|
1028
959
|
/**
|
|
1029
960
|
*
|
|
1030
961
|
* @export
|
|
@@ -1154,25 +1085,6 @@ export interface BusinessPermissionResponseDto {
|
|
|
1154
1085
|
*/
|
|
1155
1086
|
'updatedAt': string;
|
|
1156
1087
|
}
|
|
1157
|
-
/**
|
|
1158
|
-
*
|
|
1159
|
-
* @export
|
|
1160
|
-
* @interface BusinessProvidersSupportedIntegrationsResponseDto
|
|
1161
|
-
*/
|
|
1162
|
-
export interface BusinessProvidersSupportedIntegrationsResponseDto {
|
|
1163
|
-
/**
|
|
1164
|
-
* Business ID
|
|
1165
|
-
* @type {number}
|
|
1166
|
-
* @memberof BusinessProvidersSupportedIntegrationsResponseDto
|
|
1167
|
-
*/
|
|
1168
|
-
'businessId': number;
|
|
1169
|
-
/**
|
|
1170
|
-
* Providers and their supported integrations for this business
|
|
1171
|
-
* @type {Array<ProviderSupportedIntegrationsDto>}
|
|
1172
|
-
* @memberof BusinessProvidersSupportedIntegrationsResponseDto
|
|
1173
|
-
*/
|
|
1174
|
-
'providers': Array<ProviderSupportedIntegrationsDto>;
|
|
1175
|
-
}
|
|
1176
1088
|
/**
|
|
1177
1089
|
*
|
|
1178
1090
|
* @export
|
|
@@ -2707,6 +2619,78 @@ export interface CompletedStepDto {
|
|
|
2707
2619
|
}
|
|
2708
2620
|
|
|
2709
2621
|
|
|
2622
|
+
/**
|
|
2623
|
+
*
|
|
2624
|
+
* @export
|
|
2625
|
+
* @interface ConditionPayloadDto
|
|
2626
|
+
*/
|
|
2627
|
+
export interface ConditionPayloadDto {
|
|
2628
|
+
/**
|
|
2629
|
+
*
|
|
2630
|
+
* @type {object}
|
|
2631
|
+
* @memberof ConditionPayloadDto
|
|
2632
|
+
*/
|
|
2633
|
+
'startUtc'?: object | null;
|
|
2634
|
+
/**
|
|
2635
|
+
*
|
|
2636
|
+
* @type {object}
|
|
2637
|
+
* @memberof ConditionPayloadDto
|
|
2638
|
+
*/
|
|
2639
|
+
'endUtc'?: object | null;
|
|
2640
|
+
/**
|
|
2641
|
+
*
|
|
2642
|
+
* @type {object}
|
|
2643
|
+
* @memberof ConditionPayloadDto
|
|
2644
|
+
*/
|
|
2645
|
+
'days'?: object | null;
|
|
2646
|
+
/**
|
|
2647
|
+
*
|
|
2648
|
+
* @type {object}
|
|
2649
|
+
* @memberof ConditionPayloadDto
|
|
2650
|
+
*/
|
|
2651
|
+
'from'?: object | null;
|
|
2652
|
+
/**
|
|
2653
|
+
*
|
|
2654
|
+
* @type {object}
|
|
2655
|
+
* @memberof ConditionPayloadDto
|
|
2656
|
+
*/
|
|
2657
|
+
'to'?: object | null;
|
|
2658
|
+
/**
|
|
2659
|
+
*
|
|
2660
|
+
* @type {object}
|
|
2661
|
+
* @memberof ConditionPayloadDto
|
|
2662
|
+
*/
|
|
2663
|
+
'minValue'?: object | null;
|
|
2664
|
+
/**
|
|
2665
|
+
*
|
|
2666
|
+
* @type {object}
|
|
2667
|
+
* @memberof ConditionPayloadDto
|
|
2668
|
+
*/
|
|
2669
|
+
'maxValue'?: object | null;
|
|
2670
|
+
/**
|
|
2671
|
+
*
|
|
2672
|
+
* @type {object}
|
|
2673
|
+
* @memberof ConditionPayloadDto
|
|
2674
|
+
*/
|
|
2675
|
+
'productIds'?: object | null;
|
|
2676
|
+
}
|
|
2677
|
+
/**
|
|
2678
|
+
*
|
|
2679
|
+
* @export
|
|
2680
|
+
* @enum {string}
|
|
2681
|
+
*/
|
|
2682
|
+
|
|
2683
|
+
export const ConditionType = {
|
|
2684
|
+
TimeWindow: 'TIME_WINDOW',
|
|
2685
|
+
DateRange: 'DATE_RANGE',
|
|
2686
|
+
CartMinValue: 'CART_MIN_VALUE',
|
|
2687
|
+
CartMaxValue: 'CART_MAX_VALUE',
|
|
2688
|
+
ProductInCart: 'PRODUCT_IN_CART'
|
|
2689
|
+
} as const;
|
|
2690
|
+
|
|
2691
|
+
export type ConditionType = typeof ConditionType[keyof typeof ConditionType];
|
|
2692
|
+
|
|
2693
|
+
|
|
2710
2694
|
/**
|
|
2711
2695
|
*
|
|
2712
2696
|
* @export
|
|
@@ -2895,21 +2879,6 @@ export interface ConnectTerminalDto {
|
|
|
2895
2879
|
*/
|
|
2896
2880
|
'terminalHardwareId': string;
|
|
2897
2881
|
}
|
|
2898
|
-
/**
|
|
2899
|
-
*
|
|
2900
|
-
* @export
|
|
2901
|
-
* @enum {string}
|
|
2902
|
-
*/
|
|
2903
|
-
|
|
2904
|
-
export const ConsumptionType = {
|
|
2905
|
-
Delivery: 'DELIVERY',
|
|
2906
|
-
Pickup: 'PICKUP',
|
|
2907
|
-
DineIn: 'DINE_IN'
|
|
2908
|
-
} as const;
|
|
2909
|
-
|
|
2910
|
-
export type ConsumptionType = typeof ConsumptionType[keyof typeof ConsumptionType];
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
2882
|
/**
|
|
2914
2883
|
*
|
|
2915
2884
|
* @export
|
|
@@ -3040,68 +3009,6 @@ export interface CreateInvoiceCompanyDto {
|
|
|
3040
3009
|
*/
|
|
3041
3010
|
'address'?: string;
|
|
3042
3011
|
}
|
|
3043
|
-
/**
|
|
3044
|
-
*
|
|
3045
|
-
* @export
|
|
3046
|
-
* @interface CreateLoyaltyProgramUserDto
|
|
3047
|
-
*/
|
|
3048
|
-
export interface CreateLoyaltyProgramUserDto {
|
|
3049
|
-
/**
|
|
3050
|
-
*
|
|
3051
|
-
* @type {string}
|
|
3052
|
-
* @memberof CreateLoyaltyProgramUserDto
|
|
3053
|
-
*/
|
|
3054
|
-
'first_name': string;
|
|
3055
|
-
/**
|
|
3056
|
-
*
|
|
3057
|
-
* @type {string}
|
|
3058
|
-
* @memberof CreateLoyaltyProgramUserDto
|
|
3059
|
-
*/
|
|
3060
|
-
'last_name': string;
|
|
3061
|
-
/**
|
|
3062
|
-
*
|
|
3063
|
-
* @type {string}
|
|
3064
|
-
* @memberof CreateLoyaltyProgramUserDto
|
|
3065
|
-
*/
|
|
3066
|
-
'email': string;
|
|
3067
|
-
/**
|
|
3068
|
-
*
|
|
3069
|
-
* @type {string}
|
|
3070
|
-
* @memberof CreateLoyaltyProgramUserDto
|
|
3071
|
-
*/
|
|
3072
|
-
'country_code': string;
|
|
3073
|
-
/**
|
|
3074
|
-
*
|
|
3075
|
-
* @type {string}
|
|
3076
|
-
* @memberof CreateLoyaltyProgramUserDto
|
|
3077
|
-
*/
|
|
3078
|
-
'phone': string;
|
|
3079
|
-
/**
|
|
3080
|
-
*
|
|
3081
|
-
* @type {string}
|
|
3082
|
-
* @memberof CreateLoyaltyProgramUserDto
|
|
3083
|
-
*/
|
|
3084
|
-
'date_of_birth'?: string;
|
|
3085
|
-
}
|
|
3086
|
-
/**
|
|
3087
|
-
*
|
|
3088
|
-
* @export
|
|
3089
|
-
* @interface CreateLoyaltyProgramUserResponseDto
|
|
3090
|
-
*/
|
|
3091
|
-
export interface CreateLoyaltyProgramUserResponseDto {
|
|
3092
|
-
/**
|
|
3093
|
-
*
|
|
3094
|
-
* @type {ProgramUserDto}
|
|
3095
|
-
* @memberof CreateLoyaltyProgramUserResponseDto
|
|
3096
|
-
*/
|
|
3097
|
-
'user': ProgramUserDto;
|
|
3098
|
-
/**
|
|
3099
|
-
*
|
|
3100
|
-
* @type {LoyaltyAccountDto}
|
|
3101
|
-
* @memberof CreateLoyaltyProgramUserResponseDto
|
|
3102
|
-
*/
|
|
3103
|
-
'loyaltyAccount': LoyaltyAccountDto;
|
|
3104
|
-
}
|
|
3105
3012
|
/**
|
|
3106
3013
|
*
|
|
3107
3014
|
* @export
|
|
@@ -3723,30 +3630,98 @@ export type DeviceType = typeof DeviceType[keyof typeof DeviceType];
|
|
|
3723
3630
|
*/
|
|
3724
3631
|
export interface DiscountDto {
|
|
3725
3632
|
/**
|
|
3726
|
-
*
|
|
3633
|
+
*
|
|
3727
3634
|
* @type {string}
|
|
3728
3635
|
* @memberof DiscountDto
|
|
3729
3636
|
*/
|
|
3730
|
-
'
|
|
3637
|
+
'createdAt': string;
|
|
3731
3638
|
/**
|
|
3732
|
-
*
|
|
3639
|
+
*
|
|
3733
3640
|
* @type {string}
|
|
3734
3641
|
* @memberof DiscountDto
|
|
3735
3642
|
*/
|
|
3736
|
-
'
|
|
3643
|
+
'updatedAt': string;
|
|
3737
3644
|
/**
|
|
3738
|
-
*
|
|
3645
|
+
*
|
|
3739
3646
|
* @type {number}
|
|
3740
3647
|
* @memberof DiscountDto
|
|
3741
3648
|
*/
|
|
3742
|
-
'
|
|
3649
|
+
'id': number;
|
|
3743
3650
|
/**
|
|
3744
|
-
*
|
|
3651
|
+
*
|
|
3745
3652
|
* @type {string}
|
|
3746
3653
|
* @memberof DiscountDto
|
|
3747
3654
|
*/
|
|
3748
|
-
'
|
|
3655
|
+
'name': string;
|
|
3656
|
+
/**
|
|
3657
|
+
*
|
|
3658
|
+
* @type {number}
|
|
3659
|
+
* @memberof DiscountDto
|
|
3660
|
+
*/
|
|
3661
|
+
'value': number;
|
|
3662
|
+
/**
|
|
3663
|
+
*
|
|
3664
|
+
* @type {DiscountScopeType}
|
|
3665
|
+
* @memberof DiscountDto
|
|
3666
|
+
*/
|
|
3667
|
+
'scopeType': DiscountScopeType;
|
|
3668
|
+
/**
|
|
3669
|
+
*
|
|
3670
|
+
* @type {PromotionDiscountType}
|
|
3671
|
+
* @memberof DiscountDto
|
|
3672
|
+
*/
|
|
3673
|
+
'type'?: PromotionDiscountType;
|
|
3674
|
+
/**
|
|
3675
|
+
*
|
|
3676
|
+
* @type {string}
|
|
3677
|
+
* @memberof DiscountDto
|
|
3678
|
+
*/
|
|
3679
|
+
'description'?: string;
|
|
3680
|
+
/**
|
|
3681
|
+
*
|
|
3682
|
+
* @type {boolean}
|
|
3683
|
+
* @memberof DiscountDto
|
|
3684
|
+
*/
|
|
3685
|
+
'available'?: boolean;
|
|
3686
|
+
/**
|
|
3687
|
+
*
|
|
3688
|
+
* @type {object}
|
|
3689
|
+
* @memberof DiscountDto
|
|
3690
|
+
*/
|
|
3691
|
+
'channel'?: object | null;
|
|
3692
|
+
/**
|
|
3693
|
+
*
|
|
3694
|
+
* @type {boolean}
|
|
3695
|
+
* @memberof DiscountDto
|
|
3696
|
+
*/
|
|
3697
|
+
'isAutomatic': boolean;
|
|
3698
|
+
/**
|
|
3699
|
+
*
|
|
3700
|
+
* @type {object}
|
|
3701
|
+
* @memberof DiscountDto
|
|
3702
|
+
*/
|
|
3703
|
+
'maxUsesPerOrder'?: object | null;
|
|
3704
|
+
/**
|
|
3705
|
+
*
|
|
3706
|
+
* @type {number}
|
|
3707
|
+
* @memberof DiscountDto
|
|
3708
|
+
*/
|
|
3709
|
+
'priority': number;
|
|
3710
|
+
/**
|
|
3711
|
+
*
|
|
3712
|
+
* @type {boolean}
|
|
3713
|
+
* @memberof DiscountDto
|
|
3714
|
+
*/
|
|
3715
|
+
'enabled': boolean;
|
|
3716
|
+
/**
|
|
3717
|
+
*
|
|
3718
|
+
* @type {Array<DiscountRuleDto>}
|
|
3719
|
+
* @memberof DiscountDto
|
|
3720
|
+
*/
|
|
3721
|
+
'rules': Array<DiscountRuleDto>;
|
|
3749
3722
|
}
|
|
3723
|
+
|
|
3724
|
+
|
|
3750
3725
|
/**
|
|
3751
3726
|
*
|
|
3752
3727
|
* @export
|
|
@@ -3768,6 +3743,33 @@ export interface DiscountOptionsDto {
|
|
|
3768
3743
|
}
|
|
3769
3744
|
|
|
3770
3745
|
|
|
3746
|
+
/**
|
|
3747
|
+
*
|
|
3748
|
+
* @export
|
|
3749
|
+
* @interface DiscountRuleDto
|
|
3750
|
+
*/
|
|
3751
|
+
export interface DiscountRuleDto {
|
|
3752
|
+
/**
|
|
3753
|
+
*
|
|
3754
|
+
* @type {number}
|
|
3755
|
+
* @memberof DiscountRuleDto
|
|
3756
|
+
*/
|
|
3757
|
+
'id': number;
|
|
3758
|
+
/**
|
|
3759
|
+
*
|
|
3760
|
+
* @type {ConditionType}
|
|
3761
|
+
* @memberof DiscountRuleDto
|
|
3762
|
+
*/
|
|
3763
|
+
'type': ConditionType;
|
|
3764
|
+
/**
|
|
3765
|
+
*
|
|
3766
|
+
* @type {ConditionPayloadDto}
|
|
3767
|
+
* @memberof DiscountRuleDto
|
|
3768
|
+
*/
|
|
3769
|
+
'payload': ConditionPayloadDto;
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3772
|
+
|
|
3771
3773
|
/**
|
|
3772
3774
|
*
|
|
3773
3775
|
* @export
|
|
@@ -3782,6 +3784,20 @@ export const DiscountScope = {
|
|
|
3782
3784
|
export type DiscountScope = typeof DiscountScope[keyof typeof DiscountScope];
|
|
3783
3785
|
|
|
3784
3786
|
|
|
3787
|
+
/**
|
|
3788
|
+
*
|
|
3789
|
+
* @export
|
|
3790
|
+
* @enum {string}
|
|
3791
|
+
*/
|
|
3792
|
+
|
|
3793
|
+
export const DiscountScopeType = {
|
|
3794
|
+
Business: 'BUSINESS',
|
|
3795
|
+
Owner: 'OWNER'
|
|
3796
|
+
} as const;
|
|
3797
|
+
|
|
3798
|
+
export type DiscountScopeType = typeof DiscountScopeType[keyof typeof DiscountScopeType];
|
|
3799
|
+
|
|
3800
|
+
|
|
3785
3801
|
/**
|
|
3786
3802
|
*
|
|
3787
3803
|
* @export
|
|
@@ -4968,12 +4984,6 @@ export interface GetStationResponseDtoStation {
|
|
|
4968
4984
|
* @memberof GetStationResponseDtoStation
|
|
4969
4985
|
*/
|
|
4970
4986
|
'prefix': string;
|
|
4971
|
-
/**
|
|
4972
|
-
*
|
|
4973
|
-
* @type {object}
|
|
4974
|
-
* @memberof GetStationResponseDtoStation
|
|
4975
|
-
*/
|
|
4976
|
-
'settings'?: object;
|
|
4977
4987
|
/**
|
|
4978
4988
|
*
|
|
4979
4989
|
* @type {object}
|
|
@@ -5415,1198 +5425,6 @@ export interface ItemPriceDto {
|
|
|
5415
5425
|
*/
|
|
5416
5426
|
'priceBreakdown': ItemPriceBreakdownDto;
|
|
5417
5427
|
}
|
|
5418
|
-
/**
|
|
5419
|
-
*
|
|
5420
|
-
* @export
|
|
5421
|
-
* @enum {string}
|
|
5422
|
-
*/
|
|
5423
|
-
|
|
5424
|
-
export const KDSEVENTNAME = {
|
|
5425
|
-
OrderCreated: 'order.created',
|
|
5426
|
-
OrderReady: 'order.ready',
|
|
5427
|
-
OrderReverted: 'order.reverted',
|
|
5428
|
-
OrderDeleted: 'order.deleted',
|
|
5429
|
-
PrintingOrder: 'printing.order'
|
|
5430
|
-
} as const;
|
|
5431
|
-
|
|
5432
|
-
export type KDSEVENTNAME = typeof KDSEVENTNAME[keyof typeof KDSEVENTNAME];
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
/**
|
|
5436
|
-
*
|
|
5437
|
-
* @export
|
|
5438
|
-
* @interface KdsCoordinateDto
|
|
5439
|
-
*/
|
|
5440
|
-
export interface KdsCoordinateDto {
|
|
5441
|
-
/**
|
|
5442
|
-
*
|
|
5443
|
-
* @type {string}
|
|
5444
|
-
* @memberof KdsCoordinateDto
|
|
5445
|
-
*/
|
|
5446
|
-
'id': string;
|
|
5447
|
-
/**
|
|
5448
|
-
*
|
|
5449
|
-
* @type {number}
|
|
5450
|
-
* @memberof KdsCoordinateDto
|
|
5451
|
-
*/
|
|
5452
|
-
'lat': number | null;
|
|
5453
|
-
/**
|
|
5454
|
-
*
|
|
5455
|
-
* @type {number}
|
|
5456
|
-
* @memberof KdsCoordinateDto
|
|
5457
|
-
*/
|
|
5458
|
-
'lon': number | null;
|
|
5459
|
-
}
|
|
5460
|
-
/**
|
|
5461
|
-
*
|
|
5462
|
-
* @export
|
|
5463
|
-
* @interface KdsCustomerDto
|
|
5464
|
-
*/
|
|
5465
|
-
export interface KdsCustomerDto {
|
|
5466
|
-
/**
|
|
5467
|
-
*
|
|
5468
|
-
* @type {string}
|
|
5469
|
-
* @memberof KdsCustomerDto
|
|
5470
|
-
*/
|
|
5471
|
-
'id': string;
|
|
5472
|
-
/**
|
|
5473
|
-
*
|
|
5474
|
-
* @type {string}
|
|
5475
|
-
* @memberof KdsCustomerDto
|
|
5476
|
-
*/
|
|
5477
|
-
'name': string;
|
|
5478
|
-
/**
|
|
5479
|
-
*
|
|
5480
|
-
* @type {string}
|
|
5481
|
-
* @memberof KdsCustomerDto
|
|
5482
|
-
*/
|
|
5483
|
-
'phone': string | null;
|
|
5484
|
-
/**
|
|
5485
|
-
*
|
|
5486
|
-
* @type {string}
|
|
5487
|
-
* @memberof KdsCustomerDto
|
|
5488
|
-
*/
|
|
5489
|
-
'email': string | null;
|
|
5490
|
-
}
|
|
5491
|
-
/**
|
|
5492
|
-
*
|
|
5493
|
-
* @export
|
|
5494
|
-
* @interface KdsDeliveryDto
|
|
5495
|
-
*/
|
|
5496
|
-
export interface KdsDeliveryDto {
|
|
5497
|
-
/**
|
|
5498
|
-
*
|
|
5499
|
-
* @type {string}
|
|
5500
|
-
* @memberof KdsDeliveryDto
|
|
5501
|
-
*/
|
|
5502
|
-
'id': string;
|
|
5503
|
-
/**
|
|
5504
|
-
*
|
|
5505
|
-
* @type {boolean}
|
|
5506
|
-
* @memberof KdsDeliveryDto
|
|
5507
|
-
*/
|
|
5508
|
-
'selfDelivery': boolean;
|
|
5509
|
-
/**
|
|
5510
|
-
*
|
|
5511
|
-
* @type {string}
|
|
5512
|
-
* @memberof KdsDeliveryDto
|
|
5513
|
-
*/
|
|
5514
|
-
'note': string | null;
|
|
5515
|
-
/**
|
|
5516
|
-
*
|
|
5517
|
-
* @type {DeliveryStatus}
|
|
5518
|
-
* @memberof KdsDeliveryDto
|
|
5519
|
-
*/
|
|
5520
|
-
'status': DeliveryStatus;
|
|
5521
|
-
/**
|
|
5522
|
-
*
|
|
5523
|
-
* @type {DeliveryType}
|
|
5524
|
-
* @memberof KdsDeliveryDto
|
|
5525
|
-
*/
|
|
5526
|
-
'type': DeliveryType;
|
|
5527
|
-
/**
|
|
5528
|
-
*
|
|
5529
|
-
* @type {number}
|
|
5530
|
-
* @memberof KdsDeliveryDto
|
|
5531
|
-
*/
|
|
5532
|
-
'deliveryFee': number;
|
|
5533
|
-
/**
|
|
5534
|
-
*
|
|
5535
|
-
* @type {KdsLocationDto}
|
|
5536
|
-
* @memberof KdsDeliveryDto
|
|
5537
|
-
*/
|
|
5538
|
-
'location': KdsLocationDto | null;
|
|
5539
|
-
}
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
/**
|
|
5543
|
-
*
|
|
5544
|
-
* @export
|
|
5545
|
-
* @interface KdsLocationDto
|
|
5546
|
-
*/
|
|
5547
|
-
export interface KdsLocationDto {
|
|
5548
|
-
/**
|
|
5549
|
-
*
|
|
5550
|
-
* @type {string}
|
|
5551
|
-
* @memberof KdsLocationDto
|
|
5552
|
-
*/
|
|
5553
|
-
'id': string;
|
|
5554
|
-
/**
|
|
5555
|
-
*
|
|
5556
|
-
* @type {string}
|
|
5557
|
-
* @memberof KdsLocationDto
|
|
5558
|
-
*/
|
|
5559
|
-
'formatted_address': string | null;
|
|
5560
|
-
/**
|
|
5561
|
-
*
|
|
5562
|
-
* @type {string}
|
|
5563
|
-
* @memberof KdsLocationDto
|
|
5564
|
-
*/
|
|
5565
|
-
'city': string | null;
|
|
5566
|
-
/**
|
|
5567
|
-
*
|
|
5568
|
-
* @type {string}
|
|
5569
|
-
* @memberof KdsLocationDto
|
|
5570
|
-
*/
|
|
5571
|
-
'country': string | null;
|
|
5572
|
-
/**
|
|
5573
|
-
*
|
|
5574
|
-
* @type {KdsCoordinateDto}
|
|
5575
|
-
* @memberof KdsLocationDto
|
|
5576
|
-
*/
|
|
5577
|
-
'coordinates': KdsCoordinateDto | null;
|
|
5578
|
-
}
|
|
5579
|
-
/**
|
|
5580
|
-
*
|
|
5581
|
-
* @export
|
|
5582
|
-
* @interface KdsOrderDto
|
|
5583
|
-
*/
|
|
5584
|
-
export interface KdsOrderDto {
|
|
5585
|
-
/**
|
|
5586
|
-
*
|
|
5587
|
-
* @type {string}
|
|
5588
|
-
* @memberof KdsOrderDto
|
|
5589
|
-
*/
|
|
5590
|
-
'id': string;
|
|
5591
|
-
/**
|
|
5592
|
-
*
|
|
5593
|
-
* @type {string}
|
|
5594
|
-
* @memberof KdsOrderDto
|
|
5595
|
-
*/
|
|
5596
|
-
'parentOrderId': string;
|
|
5597
|
-
/**
|
|
5598
|
-
*
|
|
5599
|
-
* @type {number}
|
|
5600
|
-
* @memberof KdsOrderDto
|
|
5601
|
-
*/
|
|
5602
|
-
'businessId': number;
|
|
5603
|
-
/**
|
|
5604
|
-
*
|
|
5605
|
-
* @type {string}
|
|
5606
|
-
* @memberof KdsOrderDto
|
|
5607
|
-
*/
|
|
5608
|
-
'profileId': string;
|
|
5609
|
-
/**
|
|
5610
|
-
*
|
|
5611
|
-
* @type {string}
|
|
5612
|
-
* @memberof KdsOrderDto
|
|
5613
|
-
*/
|
|
5614
|
-
'profileName': string;
|
|
5615
|
-
/**
|
|
5616
|
-
*
|
|
5617
|
-
* @type {ProviderEnum}
|
|
5618
|
-
* @memberof KdsOrderDto
|
|
5619
|
-
*/
|
|
5620
|
-
'provider': ProviderEnum;
|
|
5621
|
-
/**
|
|
5622
|
-
*
|
|
5623
|
-
* @type {string}
|
|
5624
|
-
* @memberof KdsOrderDto
|
|
5625
|
-
*/
|
|
5626
|
-
'orderNumber': string;
|
|
5627
|
-
/**
|
|
5628
|
-
*
|
|
5629
|
-
* @type {string}
|
|
5630
|
-
* @memberof KdsOrderDto
|
|
5631
|
-
*/
|
|
5632
|
-
'comment': string | null;
|
|
5633
|
-
/**
|
|
5634
|
-
*
|
|
5635
|
-
* @type {number}
|
|
5636
|
-
* @memberof KdsOrderDto
|
|
5637
|
-
*/
|
|
5638
|
-
'preparedIn': number | null;
|
|
5639
|
-
/**
|
|
5640
|
-
*
|
|
5641
|
-
* @type {string}
|
|
5642
|
-
* @memberof KdsOrderDto
|
|
5643
|
-
*/
|
|
5644
|
-
'spotNumber': string | null;
|
|
5645
|
-
/**
|
|
5646
|
-
*
|
|
5647
|
-
* @type {string}
|
|
5648
|
-
* @memberof KdsOrderDto
|
|
5649
|
-
*/
|
|
5650
|
-
'acceptedAt': string | null;
|
|
5651
|
-
/**
|
|
5652
|
-
*
|
|
5653
|
-
* @type {string}
|
|
5654
|
-
* @memberof KdsOrderDto
|
|
5655
|
-
*/
|
|
5656
|
-
'pickupEta': string | null;
|
|
5657
|
-
/**
|
|
5658
|
-
*
|
|
5659
|
-
* @type {string}
|
|
5660
|
-
* @memberof KdsOrderDto
|
|
5661
|
-
*/
|
|
5662
|
-
'deliveryEta': string | null;
|
|
5663
|
-
/**
|
|
5664
|
-
*
|
|
5665
|
-
* @type {ConsumptionType}
|
|
5666
|
-
* @memberof KdsOrderDto
|
|
5667
|
-
*/
|
|
5668
|
-
'consumptionType': ConsumptionType;
|
|
5669
|
-
/**
|
|
5670
|
-
*
|
|
5671
|
-
* @type {string}
|
|
5672
|
-
* @memberof KdsOrderDto
|
|
5673
|
-
*/
|
|
5674
|
-
'orderCreatedAt': string;
|
|
5675
|
-
/**
|
|
5676
|
-
*
|
|
5677
|
-
* @type {string}
|
|
5678
|
-
* @memberof KdsOrderDto
|
|
5679
|
-
*/
|
|
5680
|
-
'orderUpdatedAt': string;
|
|
5681
|
-
/**
|
|
5682
|
-
*
|
|
5683
|
-
* @type {OrderType}
|
|
5684
|
-
* @memberof KdsOrderDto
|
|
5685
|
-
*/
|
|
5686
|
-
'type': OrderType;
|
|
5687
|
-
/**
|
|
5688
|
-
*
|
|
5689
|
-
* @type {OrderMode}
|
|
5690
|
-
* @memberof KdsOrderDto
|
|
5691
|
-
*/
|
|
5692
|
-
'orderMode': OrderMode;
|
|
5693
|
-
/**
|
|
5694
|
-
*
|
|
5695
|
-
* @type {SourceType}
|
|
5696
|
-
* @memberof KdsOrderDto
|
|
5697
|
-
*/
|
|
5698
|
-
'sourceType': SourceType;
|
|
5699
|
-
/**
|
|
5700
|
-
*
|
|
5701
|
-
* @type {OrderStatus}
|
|
5702
|
-
* @memberof KdsOrderDto
|
|
5703
|
-
*/
|
|
5704
|
-
'status': OrderStatus;
|
|
5705
|
-
/**
|
|
5706
|
-
*
|
|
5707
|
-
* @type {string}
|
|
5708
|
-
* @memberof KdsOrderDto
|
|
5709
|
-
*/
|
|
5710
|
-
'createdAt': string;
|
|
5711
|
-
/**
|
|
5712
|
-
*
|
|
5713
|
-
* @type {string}
|
|
5714
|
-
* @memberof KdsOrderDto
|
|
5715
|
-
*/
|
|
5716
|
-
'updatedAt': string;
|
|
5717
|
-
/**
|
|
5718
|
-
*
|
|
5719
|
-
* @type {KdsCustomerDto}
|
|
5720
|
-
* @memberof KdsOrderDto
|
|
5721
|
-
*/
|
|
5722
|
-
'customer': KdsCustomerDto | null;
|
|
5723
|
-
/**
|
|
5724
|
-
*
|
|
5725
|
-
* @type {KdsDeliveryDto}
|
|
5726
|
-
* @memberof KdsOrderDto
|
|
5727
|
-
*/
|
|
5728
|
-
'delivery': KdsDeliveryDto | null;
|
|
5729
|
-
/**
|
|
5730
|
-
*
|
|
5731
|
-
* @type {KdsPreorderDto}
|
|
5732
|
-
* @memberof KdsOrderDto
|
|
5733
|
-
*/
|
|
5734
|
-
'preorder': KdsPreorderDto | null;
|
|
5735
|
-
/**
|
|
5736
|
-
*
|
|
5737
|
-
* @type {KdsPriceSummaryDto}
|
|
5738
|
-
* @memberof KdsOrderDto
|
|
5739
|
-
*/
|
|
5740
|
-
'priceSummary': KdsPriceSummaryDto | null;
|
|
5741
|
-
/**
|
|
5742
|
-
*
|
|
5743
|
-
* @type {Array<KdsOrderItemDto>}
|
|
5744
|
-
* @memberof KdsOrderDto
|
|
5745
|
-
*/
|
|
5746
|
-
'items': Array<KdsOrderItemDto>;
|
|
5747
|
-
}
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
/**
|
|
5751
|
-
*
|
|
5752
|
-
* @export
|
|
5753
|
-
* @interface KdsOrderItemDto
|
|
5754
|
-
*/
|
|
5755
|
-
export interface KdsOrderItemDto {
|
|
5756
|
-
/**
|
|
5757
|
-
*
|
|
5758
|
-
* @type {string}
|
|
5759
|
-
* @memberof KdsOrderItemDto
|
|
5760
|
-
*/
|
|
5761
|
-
'id': string;
|
|
5762
|
-
/**
|
|
5763
|
-
*
|
|
5764
|
-
* @type {string}
|
|
5765
|
-
* @memberof KdsOrderItemDto
|
|
5766
|
-
*/
|
|
5767
|
-
'orderId': string;
|
|
5768
|
-
/**
|
|
5769
|
-
*
|
|
5770
|
-
* @type {string}
|
|
5771
|
-
* @memberof KdsOrderItemDto
|
|
5772
|
-
*/
|
|
5773
|
-
'externalProductId': string;
|
|
5774
|
-
/**
|
|
5775
|
-
*
|
|
5776
|
-
* @type {string}
|
|
5777
|
-
* @memberof KdsOrderItemDto
|
|
5778
|
-
*/
|
|
5779
|
-
'name': string;
|
|
5780
|
-
/**
|
|
5781
|
-
*
|
|
5782
|
-
* @type {number}
|
|
5783
|
-
* @memberof KdsOrderItemDto
|
|
5784
|
-
*/
|
|
5785
|
-
'quantity': number;
|
|
5786
|
-
/**
|
|
5787
|
-
*
|
|
5788
|
-
* @type {number}
|
|
5789
|
-
* @memberof KdsOrderItemDto
|
|
5790
|
-
*/
|
|
5791
|
-
'unitPrice': number;
|
|
5792
|
-
/**
|
|
5793
|
-
*
|
|
5794
|
-
* @type {number}
|
|
5795
|
-
* @memberof KdsOrderItemDto
|
|
5796
|
-
*/
|
|
5797
|
-
'paidPrice': number;
|
|
5798
|
-
/**
|
|
5799
|
-
*
|
|
5800
|
-
* @type {string}
|
|
5801
|
-
* @memberof KdsOrderItemDto
|
|
5802
|
-
*/
|
|
5803
|
-
'comment': string | null;
|
|
5804
|
-
/**
|
|
5805
|
-
*
|
|
5806
|
-
* @type {KitchenItemStatus}
|
|
5807
|
-
* @memberof KdsOrderItemDto
|
|
5808
|
-
*/
|
|
5809
|
-
'kitchenStatus': KitchenItemStatus;
|
|
5810
|
-
/**
|
|
5811
|
-
*
|
|
5812
|
-
* @type {string}
|
|
5813
|
-
* @memberof KdsOrderItemDto
|
|
5814
|
-
*/
|
|
5815
|
-
'createdAt': string;
|
|
5816
|
-
/**
|
|
5817
|
-
*
|
|
5818
|
-
* @type {string}
|
|
5819
|
-
* @memberof KdsOrderItemDto
|
|
5820
|
-
*/
|
|
5821
|
-
'updatedAt': string;
|
|
5822
|
-
/**
|
|
5823
|
-
*
|
|
5824
|
-
* @type {Array<KdsOrderOptionDto>}
|
|
5825
|
-
* @memberof KdsOrderItemDto
|
|
5826
|
-
*/
|
|
5827
|
-
'options': Array<KdsOrderOptionDto>;
|
|
5828
|
-
}
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
/**
|
|
5832
|
-
*
|
|
5833
|
-
* @export
|
|
5834
|
-
* @interface KdsOrderListResponseDto
|
|
5835
|
-
*/
|
|
5836
|
-
export interface KdsOrderListResponseDto {
|
|
5837
|
-
/**
|
|
5838
|
-
* KDS orders
|
|
5839
|
-
* @type {Array<KdsOrderDto>}
|
|
5840
|
-
* @memberof KdsOrderListResponseDto
|
|
5841
|
-
*/
|
|
5842
|
-
'orders': Array<KdsOrderDto>;
|
|
5843
|
-
/**
|
|
5844
|
-
*
|
|
5845
|
-
* @type {KdsOrderListResponseDtoPagination}
|
|
5846
|
-
* @memberof KdsOrderListResponseDto
|
|
5847
|
-
*/
|
|
5848
|
-
'pagination': KdsOrderListResponseDtoPagination;
|
|
5849
|
-
}
|
|
5850
|
-
/**
|
|
5851
|
-
* Pagination details
|
|
5852
|
-
* @export
|
|
5853
|
-
* @interface KdsOrderListResponseDtoPagination
|
|
5854
|
-
*/
|
|
5855
|
-
export interface KdsOrderListResponseDtoPagination {
|
|
5856
|
-
/**
|
|
5857
|
-
*
|
|
5858
|
-
* @type {number}
|
|
5859
|
-
* @memberof KdsOrderListResponseDtoPagination
|
|
5860
|
-
*/
|
|
5861
|
-
'page': number;
|
|
5862
|
-
/**
|
|
5863
|
-
*
|
|
5864
|
-
* @type {number}
|
|
5865
|
-
* @memberof KdsOrderListResponseDtoPagination
|
|
5866
|
-
*/
|
|
5867
|
-
'rowPerPage': number;
|
|
5868
|
-
/**
|
|
5869
|
-
*
|
|
5870
|
-
* @type {number}
|
|
5871
|
-
* @memberof KdsOrderListResponseDtoPagination
|
|
5872
|
-
*/
|
|
5873
|
-
'totalPages': number;
|
|
5874
|
-
/**
|
|
5875
|
-
*
|
|
5876
|
-
* @type {number}
|
|
5877
|
-
* @memberof KdsOrderListResponseDtoPagination
|
|
5878
|
-
*/
|
|
5879
|
-
'totalItems': number;
|
|
5880
|
-
/**
|
|
5881
|
-
*
|
|
5882
|
-
* @type {boolean}
|
|
5883
|
-
* @memberof KdsOrderListResponseDtoPagination
|
|
5884
|
-
*/
|
|
5885
|
-
'hasNextPage': boolean;
|
|
5886
|
-
/**
|
|
5887
|
-
*
|
|
5888
|
-
* @type {boolean}
|
|
5889
|
-
* @memberof KdsOrderListResponseDtoPagination
|
|
5890
|
-
*/
|
|
5891
|
-
'hasPreviousPage': boolean;
|
|
5892
|
-
}
|
|
5893
|
-
/**
|
|
5894
|
-
*
|
|
5895
|
-
* @export
|
|
5896
|
-
* @interface KdsOrderOptionDto
|
|
5897
|
-
*/
|
|
5898
|
-
export interface KdsOrderOptionDto {
|
|
5899
|
-
/**
|
|
5900
|
-
*
|
|
5901
|
-
* @type {string}
|
|
5902
|
-
* @memberof KdsOrderOptionDto
|
|
5903
|
-
*/
|
|
5904
|
-
'id': string;
|
|
5905
|
-
/**
|
|
5906
|
-
*
|
|
5907
|
-
* @type {string}
|
|
5908
|
-
* @memberof KdsOrderOptionDto
|
|
5909
|
-
*/
|
|
5910
|
-
'orderItemId': string;
|
|
5911
|
-
/**
|
|
5912
|
-
*
|
|
5913
|
-
* @type {string}
|
|
5914
|
-
* @memberof KdsOrderOptionDto
|
|
5915
|
-
*/
|
|
5916
|
-
'externalId': string;
|
|
5917
|
-
/**
|
|
5918
|
-
*
|
|
5919
|
-
* @type {string}
|
|
5920
|
-
* @memberof KdsOrderOptionDto
|
|
5921
|
-
*/
|
|
5922
|
-
'name': string;
|
|
5923
|
-
/**
|
|
5924
|
-
*
|
|
5925
|
-
* @type {string}
|
|
5926
|
-
* @memberof KdsOrderOptionDto
|
|
5927
|
-
*/
|
|
5928
|
-
'image': string | null;
|
|
5929
|
-
/**
|
|
5930
|
-
*
|
|
5931
|
-
* @type {string}
|
|
5932
|
-
* @memberof KdsOrderOptionDto
|
|
5933
|
-
*/
|
|
5934
|
-
'createdAt': string;
|
|
5935
|
-
/**
|
|
5936
|
-
*
|
|
5937
|
-
* @type {string}
|
|
5938
|
-
* @memberof KdsOrderOptionDto
|
|
5939
|
-
*/
|
|
5940
|
-
'updatedAt': string;
|
|
5941
|
-
/**
|
|
5942
|
-
*
|
|
5943
|
-
* @type {Array<KdsOrderSubOptionDto>}
|
|
5944
|
-
* @memberof KdsOrderOptionDto
|
|
5945
|
-
*/
|
|
5946
|
-
'subOptions': Array<KdsOrderSubOptionDto>;
|
|
5947
|
-
}
|
|
5948
|
-
/**
|
|
5949
|
-
*
|
|
5950
|
-
* @export
|
|
5951
|
-
* @interface KdsOrderSubOptionDto
|
|
5952
|
-
*/
|
|
5953
|
-
export interface KdsOrderSubOptionDto {
|
|
5954
|
-
/**
|
|
5955
|
-
*
|
|
5956
|
-
* @type {string}
|
|
5957
|
-
* @memberof KdsOrderSubOptionDto
|
|
5958
|
-
*/
|
|
5959
|
-
'id': string;
|
|
5960
|
-
/**
|
|
5961
|
-
*
|
|
5962
|
-
* @type {string}
|
|
5963
|
-
* @memberof KdsOrderSubOptionDto
|
|
5964
|
-
*/
|
|
5965
|
-
'orderOptionId': string;
|
|
5966
|
-
/**
|
|
5967
|
-
*
|
|
5968
|
-
* @type {string}
|
|
5969
|
-
* @memberof KdsOrderSubOptionDto
|
|
5970
|
-
*/
|
|
5971
|
-
'externalId': string;
|
|
5972
|
-
/**
|
|
5973
|
-
*
|
|
5974
|
-
* @type {string}
|
|
5975
|
-
* @memberof KdsOrderSubOptionDto
|
|
5976
|
-
*/
|
|
5977
|
-
'name': string;
|
|
5978
|
-
/**
|
|
5979
|
-
*
|
|
5980
|
-
* @type {number}
|
|
5981
|
-
* @memberof KdsOrderSubOptionDto
|
|
5982
|
-
*/
|
|
5983
|
-
'quantity': number;
|
|
5984
|
-
/**
|
|
5985
|
-
*
|
|
5986
|
-
* @type {number}
|
|
5987
|
-
* @memberof KdsOrderSubOptionDto
|
|
5988
|
-
*/
|
|
5989
|
-
'unitPrice': number;
|
|
5990
|
-
/**
|
|
5991
|
-
*
|
|
5992
|
-
* @type {number}
|
|
5993
|
-
* @memberof KdsOrderSubOptionDto
|
|
5994
|
-
*/
|
|
5995
|
-
'paidPrice': number;
|
|
5996
|
-
/**
|
|
5997
|
-
*
|
|
5998
|
-
* @type {string}
|
|
5999
|
-
* @memberof KdsOrderSubOptionDto
|
|
6000
|
-
*/
|
|
6001
|
-
'createdAt': string;
|
|
6002
|
-
/**
|
|
6003
|
-
*
|
|
6004
|
-
* @type {string}
|
|
6005
|
-
* @memberof KdsOrderSubOptionDto
|
|
6006
|
-
*/
|
|
6007
|
-
'updatedAt': string;
|
|
6008
|
-
}
|
|
6009
|
-
/**
|
|
6010
|
-
*
|
|
6011
|
-
* @export
|
|
6012
|
-
* @interface KdsPaginationDto
|
|
6013
|
-
*/
|
|
6014
|
-
export interface KdsPaginationDto {
|
|
6015
|
-
/**
|
|
6016
|
-
*
|
|
6017
|
-
* @type {number}
|
|
6018
|
-
* @memberof KdsPaginationDto
|
|
6019
|
-
*/
|
|
6020
|
-
'page': number;
|
|
6021
|
-
/**
|
|
6022
|
-
*
|
|
6023
|
-
* @type {number}
|
|
6024
|
-
* @memberof KdsPaginationDto
|
|
6025
|
-
*/
|
|
6026
|
-
'rowPerPage': number;
|
|
6027
|
-
/**
|
|
6028
|
-
*
|
|
6029
|
-
* @type {number}
|
|
6030
|
-
* @memberof KdsPaginationDto
|
|
6031
|
-
*/
|
|
6032
|
-
'totalPages': number;
|
|
6033
|
-
/**
|
|
6034
|
-
*
|
|
6035
|
-
* @type {number}
|
|
6036
|
-
* @memberof KdsPaginationDto
|
|
6037
|
-
*/
|
|
6038
|
-
'totalItems': number;
|
|
6039
|
-
/**
|
|
6040
|
-
*
|
|
6041
|
-
* @type {boolean}
|
|
6042
|
-
* @memberof KdsPaginationDto
|
|
6043
|
-
*/
|
|
6044
|
-
'hasNextPage': boolean;
|
|
6045
|
-
/**
|
|
6046
|
-
*
|
|
6047
|
-
* @type {boolean}
|
|
6048
|
-
* @memberof KdsPaginationDto
|
|
6049
|
-
*/
|
|
6050
|
-
'hasPreviousPage': boolean;
|
|
6051
|
-
}
|
|
6052
|
-
/**
|
|
6053
|
-
*
|
|
6054
|
-
* @export
|
|
6055
|
-
* @interface KdsPreorderDto
|
|
6056
|
-
*/
|
|
6057
|
-
export interface KdsPreorderDto {
|
|
6058
|
-
/**
|
|
6059
|
-
*
|
|
6060
|
-
* @type {string}
|
|
6061
|
-
* @memberof KdsPreorderDto
|
|
6062
|
-
*/
|
|
6063
|
-
'id': string;
|
|
6064
|
-
/**
|
|
6065
|
-
*
|
|
6066
|
-
* @type {PreorderStatus}
|
|
6067
|
-
* @memberof KdsPreorderDto
|
|
6068
|
-
*/
|
|
6069
|
-
'status': PreorderStatus;
|
|
6070
|
-
/**
|
|
6071
|
-
*
|
|
6072
|
-
* @type {string}
|
|
6073
|
-
* @memberof KdsPreorderDto
|
|
6074
|
-
*/
|
|
6075
|
-
'preorderTime': string;
|
|
6076
|
-
}
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
/**
|
|
6080
|
-
*
|
|
6081
|
-
* @export
|
|
6082
|
-
* @interface KdsPriceSummaryDto
|
|
6083
|
-
*/
|
|
6084
|
-
export interface KdsPriceSummaryDto {
|
|
6085
|
-
/**
|
|
6086
|
-
*
|
|
6087
|
-
* @type {string}
|
|
6088
|
-
* @memberof KdsPriceSummaryDto
|
|
6089
|
-
*/
|
|
6090
|
-
'id': string;
|
|
6091
|
-
/**
|
|
6092
|
-
*
|
|
6093
|
-
* @type {number}
|
|
6094
|
-
* @memberof KdsPriceSummaryDto
|
|
6095
|
-
*/
|
|
6096
|
-
'totalNet': number;
|
|
6097
|
-
}
|
|
6098
|
-
/**
|
|
6099
|
-
*
|
|
6100
|
-
* @export
|
|
6101
|
-
* @interface KdsPrintingEventDto
|
|
6102
|
-
*/
|
|
6103
|
-
export interface KdsPrintingEventDto {
|
|
6104
|
-
/**
|
|
6105
|
-
*
|
|
6106
|
-
* @type {KDSEVENTNAME}
|
|
6107
|
-
* @memberof KdsPrintingEventDto
|
|
6108
|
-
*/
|
|
6109
|
-
'event': KDSEVENTNAME;
|
|
6110
|
-
/**
|
|
6111
|
-
*
|
|
6112
|
-
* @type {KdsOrderDto}
|
|
6113
|
-
* @memberof KdsPrintingEventDto
|
|
6114
|
-
*/
|
|
6115
|
-
'order': KdsOrderDto;
|
|
6116
|
-
}
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
/**
|
|
6120
|
-
*
|
|
6121
|
-
* @export
|
|
6122
|
-
* @interface KdsProfileDto
|
|
6123
|
-
*/
|
|
6124
|
-
export interface KdsProfileDto {
|
|
6125
|
-
/**
|
|
6126
|
-
*
|
|
6127
|
-
* @type {string}
|
|
6128
|
-
* @memberof KdsProfileDto
|
|
6129
|
-
*/
|
|
6130
|
-
'id': string;
|
|
6131
|
-
/**
|
|
6132
|
-
*
|
|
6133
|
-
* @type {string}
|
|
6134
|
-
* @memberof KdsProfileDto
|
|
6135
|
-
*/
|
|
6136
|
-
'name': string;
|
|
6137
|
-
/**
|
|
6138
|
-
*
|
|
6139
|
-
* @type {SystemProfileType}
|
|
6140
|
-
* @memberof KdsProfileDto
|
|
6141
|
-
*/
|
|
6142
|
-
'systemType': SystemProfileType | null;
|
|
6143
|
-
}
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
/**
|
|
6147
|
-
*
|
|
6148
|
-
* @export
|
|
6149
|
-
* @interface KdsProfileResponseDto
|
|
6150
|
-
*/
|
|
6151
|
-
export interface KdsProfileResponseDto {
|
|
6152
|
-
/**
|
|
6153
|
-
* The KDS profile identifier
|
|
6154
|
-
* @type {string}
|
|
6155
|
-
* @memberof KdsProfileResponseDto
|
|
6156
|
-
*/
|
|
6157
|
-
'id': string;
|
|
6158
|
-
/**
|
|
6159
|
-
* The KDS profile name
|
|
6160
|
-
* @type {string}
|
|
6161
|
-
* @memberof KdsProfileResponseDto
|
|
6162
|
-
*/
|
|
6163
|
-
'name': string;
|
|
6164
|
-
/**
|
|
6165
|
-
*
|
|
6166
|
-
* @type {SystemProfileType}
|
|
6167
|
-
* @memberof KdsProfileResponseDto
|
|
6168
|
-
*/
|
|
6169
|
-
'systemType': SystemProfileType | null;
|
|
6170
|
-
}
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
/**
|
|
6174
|
-
*
|
|
6175
|
-
* @export
|
|
6176
|
-
* @interface KdsPubSubPayloadDto
|
|
6177
|
-
*/
|
|
6178
|
-
export interface KdsPubSubPayloadDto {
|
|
6179
|
-
/**
|
|
6180
|
-
*
|
|
6181
|
-
* @type {PubSubTarget}
|
|
6182
|
-
* @memberof KdsPubSubPayloadDto
|
|
6183
|
-
*/
|
|
6184
|
-
'target': PubSubTarget;
|
|
6185
|
-
/**
|
|
6186
|
-
*
|
|
6187
|
-
* @type {ProviderEnum}
|
|
6188
|
-
* @memberof KdsPubSubPayloadDto
|
|
6189
|
-
*/
|
|
6190
|
-
'provider': ProviderEnum;
|
|
6191
|
-
/**
|
|
6192
|
-
*
|
|
6193
|
-
* @type {number}
|
|
6194
|
-
* @memberof KdsPubSubPayloadDto
|
|
6195
|
-
*/
|
|
6196
|
-
'businessId': number;
|
|
6197
|
-
/**
|
|
6198
|
-
*
|
|
6199
|
-
* @type {PubSubAction}
|
|
6200
|
-
* @memberof KdsPubSubPayloadDto
|
|
6201
|
-
*/
|
|
6202
|
-
'action': PubSubAction;
|
|
6203
|
-
/**
|
|
6204
|
-
*
|
|
6205
|
-
* @type {string}
|
|
6206
|
-
* @memberof KdsPubSubPayloadDto
|
|
6207
|
-
*/
|
|
6208
|
-
'orderId': string;
|
|
6209
|
-
/**
|
|
6210
|
-
*
|
|
6211
|
-
* @type {SourceType}
|
|
6212
|
-
* @memberof KdsPubSubPayloadDto
|
|
6213
|
-
*/
|
|
6214
|
-
'type': SourceType;
|
|
6215
|
-
}
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
/**
|
|
6219
|
-
*
|
|
6220
|
-
* @export
|
|
6221
|
-
* @interface KdsReadyOrderResponseDto
|
|
6222
|
-
*/
|
|
6223
|
-
export interface KdsReadyOrderResponseDto {
|
|
6224
|
-
/**
|
|
6225
|
-
* Indicates whether the KDS order ready update succeeded
|
|
6226
|
-
* @type {boolean}
|
|
6227
|
-
* @memberof KdsReadyOrderResponseDto
|
|
6228
|
-
*/
|
|
6229
|
-
'status': boolean;
|
|
6230
|
-
/**
|
|
6231
|
-
* Human-readable status message
|
|
6232
|
-
* @type {string}
|
|
6233
|
-
* @memberof KdsReadyOrderResponseDto
|
|
6234
|
-
*/
|
|
6235
|
-
'message': string;
|
|
6236
|
-
/**
|
|
6237
|
-
*
|
|
6238
|
-
* @type {KdsReadyOrderResponseDtoOrder}
|
|
6239
|
-
* @memberof KdsReadyOrderResponseDto
|
|
6240
|
-
*/
|
|
6241
|
-
'order': KdsReadyOrderResponseDtoOrder | null;
|
|
6242
|
-
}
|
|
6243
|
-
/**
|
|
6244
|
-
* Updated KDS order after the ready flow completes
|
|
6245
|
-
* @export
|
|
6246
|
-
* @interface KdsReadyOrderResponseDtoOrder
|
|
6247
|
-
*/
|
|
6248
|
-
export interface KdsReadyOrderResponseDtoOrder {
|
|
6249
|
-
/**
|
|
6250
|
-
*
|
|
6251
|
-
* @type {string}
|
|
6252
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6253
|
-
*/
|
|
6254
|
-
'id': string;
|
|
6255
|
-
/**
|
|
6256
|
-
*
|
|
6257
|
-
* @type {string}
|
|
6258
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6259
|
-
*/
|
|
6260
|
-
'parentOrderId': string;
|
|
6261
|
-
/**
|
|
6262
|
-
*
|
|
6263
|
-
* @type {number}
|
|
6264
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6265
|
-
*/
|
|
6266
|
-
'businessId': number;
|
|
6267
|
-
/**
|
|
6268
|
-
*
|
|
6269
|
-
* @type {string}
|
|
6270
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6271
|
-
*/
|
|
6272
|
-
'profileId': string;
|
|
6273
|
-
/**
|
|
6274
|
-
*
|
|
6275
|
-
* @type {string}
|
|
6276
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6277
|
-
*/
|
|
6278
|
-
'profileName': string;
|
|
6279
|
-
/**
|
|
6280
|
-
*
|
|
6281
|
-
* @type {ProviderEnum}
|
|
6282
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6283
|
-
*/
|
|
6284
|
-
'provider': ProviderEnum;
|
|
6285
|
-
/**
|
|
6286
|
-
*
|
|
6287
|
-
* @type {string}
|
|
6288
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6289
|
-
*/
|
|
6290
|
-
'orderNumber': string;
|
|
6291
|
-
/**
|
|
6292
|
-
*
|
|
6293
|
-
* @type {string}
|
|
6294
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6295
|
-
*/
|
|
6296
|
-
'comment': string | null;
|
|
6297
|
-
/**
|
|
6298
|
-
*
|
|
6299
|
-
* @type {number}
|
|
6300
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6301
|
-
*/
|
|
6302
|
-
'preparedIn': number | null;
|
|
6303
|
-
/**
|
|
6304
|
-
*
|
|
6305
|
-
* @type {string}
|
|
6306
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6307
|
-
*/
|
|
6308
|
-
'spotNumber': string | null;
|
|
6309
|
-
/**
|
|
6310
|
-
*
|
|
6311
|
-
* @type {string}
|
|
6312
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6313
|
-
*/
|
|
6314
|
-
'acceptedAt': string | null;
|
|
6315
|
-
/**
|
|
6316
|
-
*
|
|
6317
|
-
* @type {string}
|
|
6318
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6319
|
-
*/
|
|
6320
|
-
'pickupEta': string | null;
|
|
6321
|
-
/**
|
|
6322
|
-
*
|
|
6323
|
-
* @type {string}
|
|
6324
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6325
|
-
*/
|
|
6326
|
-
'deliveryEta': string | null;
|
|
6327
|
-
/**
|
|
6328
|
-
*
|
|
6329
|
-
* @type {ConsumptionType}
|
|
6330
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6331
|
-
*/
|
|
6332
|
-
'consumptionType': ConsumptionType;
|
|
6333
|
-
/**
|
|
6334
|
-
*
|
|
6335
|
-
* @type {string}
|
|
6336
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6337
|
-
*/
|
|
6338
|
-
'orderCreatedAt': string;
|
|
6339
|
-
/**
|
|
6340
|
-
*
|
|
6341
|
-
* @type {string}
|
|
6342
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6343
|
-
*/
|
|
6344
|
-
'orderUpdatedAt': string;
|
|
6345
|
-
/**
|
|
6346
|
-
*
|
|
6347
|
-
* @type {OrderType}
|
|
6348
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6349
|
-
*/
|
|
6350
|
-
'type': OrderType;
|
|
6351
|
-
/**
|
|
6352
|
-
*
|
|
6353
|
-
* @type {OrderMode}
|
|
6354
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6355
|
-
*/
|
|
6356
|
-
'orderMode': OrderMode;
|
|
6357
|
-
/**
|
|
6358
|
-
*
|
|
6359
|
-
* @type {SourceType}
|
|
6360
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6361
|
-
*/
|
|
6362
|
-
'sourceType': SourceType;
|
|
6363
|
-
/**
|
|
6364
|
-
*
|
|
6365
|
-
* @type {OrderStatus}
|
|
6366
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6367
|
-
*/
|
|
6368
|
-
'status': OrderStatus;
|
|
6369
|
-
/**
|
|
6370
|
-
*
|
|
6371
|
-
* @type {string}
|
|
6372
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6373
|
-
*/
|
|
6374
|
-
'createdAt': string;
|
|
6375
|
-
/**
|
|
6376
|
-
*
|
|
6377
|
-
* @type {string}
|
|
6378
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6379
|
-
*/
|
|
6380
|
-
'updatedAt': string;
|
|
6381
|
-
/**
|
|
6382
|
-
*
|
|
6383
|
-
* @type {KdsCustomerDto}
|
|
6384
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6385
|
-
*/
|
|
6386
|
-
'customer': KdsCustomerDto | null;
|
|
6387
|
-
/**
|
|
6388
|
-
*
|
|
6389
|
-
* @type {KdsDeliveryDto}
|
|
6390
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6391
|
-
*/
|
|
6392
|
-
'delivery': KdsDeliveryDto | null;
|
|
6393
|
-
/**
|
|
6394
|
-
*
|
|
6395
|
-
* @type {KdsPreorderDto}
|
|
6396
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6397
|
-
*/
|
|
6398
|
-
'preorder': KdsPreorderDto | null;
|
|
6399
|
-
/**
|
|
6400
|
-
*
|
|
6401
|
-
* @type {KdsPriceSummaryDto}
|
|
6402
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6403
|
-
*/
|
|
6404
|
-
'priceSummary': KdsPriceSummaryDto | null;
|
|
6405
|
-
/**
|
|
6406
|
-
*
|
|
6407
|
-
* @type {Array<KdsOrderItemDto>}
|
|
6408
|
-
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6409
|
-
*/
|
|
6410
|
-
'items': Array<KdsOrderItemDto>;
|
|
6411
|
-
}
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
/**
|
|
6415
|
-
*
|
|
6416
|
-
* @export
|
|
6417
|
-
* @interface KdsRevertOrderResponseDto
|
|
6418
|
-
*/
|
|
6419
|
-
export interface KdsRevertOrderResponseDto {
|
|
6420
|
-
/**
|
|
6421
|
-
* Indicates whether the KDS order revert succeeded
|
|
6422
|
-
* @type {boolean}
|
|
6423
|
-
* @memberof KdsRevertOrderResponseDto
|
|
6424
|
-
*/
|
|
6425
|
-
'status': boolean;
|
|
6426
|
-
/**
|
|
6427
|
-
* Human-readable status message
|
|
6428
|
-
* @type {string}
|
|
6429
|
-
* @memberof KdsRevertOrderResponseDto
|
|
6430
|
-
*/
|
|
6431
|
-
'message': string;
|
|
6432
|
-
/**
|
|
6433
|
-
*
|
|
6434
|
-
* @type {KdsRevertOrderResponseDtoOrder}
|
|
6435
|
-
* @memberof KdsRevertOrderResponseDto
|
|
6436
|
-
*/
|
|
6437
|
-
'order': KdsRevertOrderResponseDtoOrder | null;
|
|
6438
|
-
}
|
|
6439
|
-
/**
|
|
6440
|
-
* Updated KDS order after the revert flow completes
|
|
6441
|
-
* @export
|
|
6442
|
-
* @interface KdsRevertOrderResponseDtoOrder
|
|
6443
|
-
*/
|
|
6444
|
-
export interface KdsRevertOrderResponseDtoOrder {
|
|
6445
|
-
/**
|
|
6446
|
-
*
|
|
6447
|
-
* @type {string}
|
|
6448
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6449
|
-
*/
|
|
6450
|
-
'id': string;
|
|
6451
|
-
/**
|
|
6452
|
-
*
|
|
6453
|
-
* @type {string}
|
|
6454
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6455
|
-
*/
|
|
6456
|
-
'parentOrderId': string;
|
|
6457
|
-
/**
|
|
6458
|
-
*
|
|
6459
|
-
* @type {number}
|
|
6460
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6461
|
-
*/
|
|
6462
|
-
'businessId': number;
|
|
6463
|
-
/**
|
|
6464
|
-
*
|
|
6465
|
-
* @type {string}
|
|
6466
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6467
|
-
*/
|
|
6468
|
-
'profileId': string;
|
|
6469
|
-
/**
|
|
6470
|
-
*
|
|
6471
|
-
* @type {string}
|
|
6472
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6473
|
-
*/
|
|
6474
|
-
'profileName': string;
|
|
6475
|
-
/**
|
|
6476
|
-
*
|
|
6477
|
-
* @type {ProviderEnum}
|
|
6478
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6479
|
-
*/
|
|
6480
|
-
'provider': ProviderEnum;
|
|
6481
|
-
/**
|
|
6482
|
-
*
|
|
6483
|
-
* @type {string}
|
|
6484
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6485
|
-
*/
|
|
6486
|
-
'orderNumber': string;
|
|
6487
|
-
/**
|
|
6488
|
-
*
|
|
6489
|
-
* @type {string}
|
|
6490
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6491
|
-
*/
|
|
6492
|
-
'comment': string | null;
|
|
6493
|
-
/**
|
|
6494
|
-
*
|
|
6495
|
-
* @type {number}
|
|
6496
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6497
|
-
*/
|
|
6498
|
-
'preparedIn': number | null;
|
|
6499
|
-
/**
|
|
6500
|
-
*
|
|
6501
|
-
* @type {string}
|
|
6502
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6503
|
-
*/
|
|
6504
|
-
'spotNumber': string | null;
|
|
6505
|
-
/**
|
|
6506
|
-
*
|
|
6507
|
-
* @type {string}
|
|
6508
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6509
|
-
*/
|
|
6510
|
-
'acceptedAt': string | null;
|
|
6511
|
-
/**
|
|
6512
|
-
*
|
|
6513
|
-
* @type {string}
|
|
6514
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6515
|
-
*/
|
|
6516
|
-
'pickupEta': string | null;
|
|
6517
|
-
/**
|
|
6518
|
-
*
|
|
6519
|
-
* @type {string}
|
|
6520
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6521
|
-
*/
|
|
6522
|
-
'deliveryEta': string | null;
|
|
6523
|
-
/**
|
|
6524
|
-
*
|
|
6525
|
-
* @type {ConsumptionType}
|
|
6526
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6527
|
-
*/
|
|
6528
|
-
'consumptionType': ConsumptionType;
|
|
6529
|
-
/**
|
|
6530
|
-
*
|
|
6531
|
-
* @type {string}
|
|
6532
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6533
|
-
*/
|
|
6534
|
-
'orderCreatedAt': string;
|
|
6535
|
-
/**
|
|
6536
|
-
*
|
|
6537
|
-
* @type {string}
|
|
6538
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6539
|
-
*/
|
|
6540
|
-
'orderUpdatedAt': string;
|
|
6541
|
-
/**
|
|
6542
|
-
*
|
|
6543
|
-
* @type {OrderType}
|
|
6544
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6545
|
-
*/
|
|
6546
|
-
'type': OrderType;
|
|
6547
|
-
/**
|
|
6548
|
-
*
|
|
6549
|
-
* @type {OrderMode}
|
|
6550
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6551
|
-
*/
|
|
6552
|
-
'orderMode': OrderMode;
|
|
6553
|
-
/**
|
|
6554
|
-
*
|
|
6555
|
-
* @type {SourceType}
|
|
6556
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6557
|
-
*/
|
|
6558
|
-
'sourceType': SourceType;
|
|
6559
|
-
/**
|
|
6560
|
-
*
|
|
6561
|
-
* @type {OrderStatus}
|
|
6562
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6563
|
-
*/
|
|
6564
|
-
'status': OrderStatus;
|
|
6565
|
-
/**
|
|
6566
|
-
*
|
|
6567
|
-
* @type {string}
|
|
6568
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6569
|
-
*/
|
|
6570
|
-
'createdAt': string;
|
|
6571
|
-
/**
|
|
6572
|
-
*
|
|
6573
|
-
* @type {string}
|
|
6574
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6575
|
-
*/
|
|
6576
|
-
'updatedAt': string;
|
|
6577
|
-
/**
|
|
6578
|
-
*
|
|
6579
|
-
* @type {KdsCustomerDto}
|
|
6580
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6581
|
-
*/
|
|
6582
|
-
'customer': KdsCustomerDto | null;
|
|
6583
|
-
/**
|
|
6584
|
-
*
|
|
6585
|
-
* @type {KdsDeliveryDto}
|
|
6586
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6587
|
-
*/
|
|
6588
|
-
'delivery': KdsDeliveryDto | null;
|
|
6589
|
-
/**
|
|
6590
|
-
*
|
|
6591
|
-
* @type {KdsPreorderDto}
|
|
6592
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6593
|
-
*/
|
|
6594
|
-
'preorder': KdsPreorderDto | null;
|
|
6595
|
-
/**
|
|
6596
|
-
*
|
|
6597
|
-
* @type {KdsPriceSummaryDto}
|
|
6598
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6599
|
-
*/
|
|
6600
|
-
'priceSummary': KdsPriceSummaryDto | null;
|
|
6601
|
-
/**
|
|
6602
|
-
*
|
|
6603
|
-
* @type {Array<KdsOrderItemDto>}
|
|
6604
|
-
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6605
|
-
*/
|
|
6606
|
-
'items': Array<KdsOrderItemDto>;
|
|
6607
|
-
}
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
5428
|
/**
|
|
6611
5429
|
*
|
|
6612
5430
|
* @export
|
|
@@ -6668,26 +5486,6 @@ export interface KioskStatusDto {
|
|
|
6668
5486
|
}
|
|
6669
5487
|
|
|
6670
5488
|
|
|
6671
|
-
/**
|
|
6672
|
-
*
|
|
6673
|
-
* @export
|
|
6674
|
-
* @enum {string}
|
|
6675
|
-
*/
|
|
6676
|
-
|
|
6677
|
-
export const KitchenItemStatus = {
|
|
6678
|
-
NotApplicable: 'NOT_APPLICABLE',
|
|
6679
|
-
Pending: 'PENDING',
|
|
6680
|
-
OnHold: 'ON_HOLD',
|
|
6681
|
-
SentToOm: 'SENT_TO_OM',
|
|
6682
|
-
DispatchedToKitchen: 'DISPATCHED_TO_KITCHEN',
|
|
6683
|
-
Completed: 'COMPLETED',
|
|
6684
|
-
Cancelled: 'CANCELLED',
|
|
6685
|
-
Ready: 'READY'
|
|
6686
|
-
} as const;
|
|
6687
|
-
|
|
6688
|
-
export type KitchenItemStatus = typeof KitchenItemStatus[keyof typeof KitchenItemStatus];
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
5489
|
/**
|
|
6692
5490
|
*
|
|
6693
5491
|
* @export
|
|
@@ -6698,7 +5496,6 @@ export const KitchenStatus = {
|
|
|
6698
5496
|
NotApplicable: 'not_applicable',
|
|
6699
5497
|
Pending: 'pending',
|
|
6700
5498
|
OnHold: 'on_hold',
|
|
6701
|
-
Ready: 'ready',
|
|
6702
5499
|
SentToOm: 'sent_to_om',
|
|
6703
5500
|
DispatchedToKitchen: 'dispatched_to_kitchen',
|
|
6704
5501
|
Completed: 'completed',
|
|
@@ -8991,20 +7788,6 @@ export interface OrderHistoryResponseDtoSummary {
|
|
|
8991
7788
|
*/
|
|
8992
7789
|
'totalTipAmount'?: number;
|
|
8993
7790
|
}
|
|
8994
|
-
/**
|
|
8995
|
-
*
|
|
8996
|
-
* @export
|
|
8997
|
-
* @enum {string}
|
|
8998
|
-
*/
|
|
8999
|
-
|
|
9000
|
-
export const OrderMode = {
|
|
9001
|
-
Instant: 'INSTANT',
|
|
9002
|
-
PreOrder: 'PRE_ORDER'
|
|
9003
|
-
} as const;
|
|
9004
|
-
|
|
9005
|
-
export type OrderMode = typeof OrderMode[keyof typeof OrderMode];
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
7791
|
/**
|
|
9009
7792
|
*
|
|
9010
7793
|
* @export
|
|
@@ -9430,22 +8213,6 @@ export const OrderSource = {
|
|
|
9430
8213
|
export type OrderSource = typeof OrderSource[keyof typeof OrderSource];
|
|
9431
8214
|
|
|
9432
8215
|
|
|
9433
|
-
/**
|
|
9434
|
-
*
|
|
9435
|
-
* @export
|
|
9436
|
-
* @enum {string}
|
|
9437
|
-
*/
|
|
9438
|
-
|
|
9439
|
-
export const OrderStatus = {
|
|
9440
|
-
InProgress: 'IN_PROGRESS',
|
|
9441
|
-
Ready: 'READY',
|
|
9442
|
-
Delivered: 'DELIVERED',
|
|
9443
|
-
Rejected: 'REJECTED'
|
|
9444
|
-
} as const;
|
|
9445
|
-
|
|
9446
|
-
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
8216
|
/**
|
|
9450
8217
|
*
|
|
9451
8218
|
* @export
|
|
@@ -14062,6 +12829,20 @@ export interface ProgramUserDto {
|
|
|
14062
12829
|
*/
|
|
14063
12830
|
'address'?: string;
|
|
14064
12831
|
}
|
|
12832
|
+
/**
|
|
12833
|
+
*
|
|
12834
|
+
* @export
|
|
12835
|
+
* @enum {string}
|
|
12836
|
+
*/
|
|
12837
|
+
|
|
12838
|
+
export const PromotionDiscountType = {
|
|
12839
|
+
Percentage: 'PERCENTAGE',
|
|
12840
|
+
Fixed: 'FIXED'
|
|
12841
|
+
} as const;
|
|
12842
|
+
|
|
12843
|
+
export type PromotionDiscountType = typeof PromotionDiscountType[keyof typeof PromotionDiscountType];
|
|
12844
|
+
|
|
12845
|
+
|
|
14065
12846
|
/**
|
|
14066
12847
|
*
|
|
14067
12848
|
* @export
|
|
@@ -14182,54 +12963,6 @@ export interface ProviderStatusResponseDto {
|
|
|
14182
12963
|
}
|
|
14183
12964
|
|
|
14184
12965
|
|
|
14185
|
-
/**
|
|
14186
|
-
*
|
|
14187
|
-
* @export
|
|
14188
|
-
* @interface ProviderSupportedIntegrationsDto
|
|
14189
|
-
*/
|
|
14190
|
-
export interface ProviderSupportedIntegrationsDto {
|
|
14191
|
-
/**
|
|
14192
|
-
*
|
|
14193
|
-
* @type {ProviderEnum}
|
|
14194
|
-
* @memberof ProviderSupportedIntegrationsDto
|
|
14195
|
-
*/
|
|
14196
|
-
'provider': ProviderEnum;
|
|
14197
|
-
/**
|
|
14198
|
-
* Integrations this provider supports
|
|
14199
|
-
* @type {Array<IntegrationType>}
|
|
14200
|
-
* @memberof ProviderSupportedIntegrationsDto
|
|
14201
|
-
*/
|
|
14202
|
-
'supportedIntegrations': Array<IntegrationType>;
|
|
14203
|
-
}
|
|
14204
|
-
|
|
14205
|
-
|
|
14206
|
-
/**
|
|
14207
|
-
*
|
|
14208
|
-
* @export
|
|
14209
|
-
* @enum {string}
|
|
14210
|
-
*/
|
|
14211
|
-
|
|
14212
|
-
export const PubSubAction = {
|
|
14213
|
-
Activity: 'ORDER_ACTIVITY',
|
|
14214
|
-
Deleted: 'ORDER_DELETED'
|
|
14215
|
-
} as const;
|
|
14216
|
-
|
|
14217
|
-
export type PubSubAction = typeof PubSubAction[keyof typeof PubSubAction];
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
/**
|
|
14221
|
-
*
|
|
14222
|
-
* @export
|
|
14223
|
-
* @enum {string}
|
|
14224
|
-
*/
|
|
14225
|
-
|
|
14226
|
-
export const PubSubTarget = {
|
|
14227
|
-
Kds: 'KDS'
|
|
14228
|
-
} as const;
|
|
14229
|
-
|
|
14230
|
-
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
14231
|
-
|
|
14232
|
-
|
|
14233
12966
|
/**
|
|
14234
12967
|
*
|
|
14235
12968
|
* @export
|
|
@@ -15342,20 +14075,6 @@ export interface SingleProviderStatusResponseDtoActiveChannel {
|
|
|
15342
14075
|
}
|
|
15343
14076
|
|
|
15344
14077
|
|
|
15345
|
-
/**
|
|
15346
|
-
*
|
|
15347
|
-
* @export
|
|
15348
|
-
* @enum {string}
|
|
15349
|
-
*/
|
|
15350
|
-
|
|
15351
|
-
export const SourceType = {
|
|
15352
|
-
Order: 'ORDER',
|
|
15353
|
-
Ticket: 'TICKET'
|
|
15354
|
-
} as const;
|
|
15355
|
-
|
|
15356
|
-
export type SourceType = typeof SourceType[keyof typeof SourceType];
|
|
15357
|
-
|
|
15358
|
-
|
|
15359
14078
|
/**
|
|
15360
14079
|
*
|
|
15361
14080
|
* @export
|
|
@@ -15545,12 +14264,6 @@ export interface StationDetailsDto {
|
|
|
15545
14264
|
* @memberof StationDetailsDto
|
|
15546
14265
|
*/
|
|
15547
14266
|
'prefix': string;
|
|
15548
|
-
/**
|
|
15549
|
-
*
|
|
15550
|
-
* @type {object}
|
|
15551
|
-
* @memberof StationDetailsDto
|
|
15552
|
-
*/
|
|
15553
|
-
'settings'?: object;
|
|
15554
14267
|
/**
|
|
15555
14268
|
*
|
|
15556
14269
|
* @type {object}
|
|
@@ -15642,99 +14355,12 @@ export interface StationDetailsDtoPaymentTerminal {
|
|
|
15642
14355
|
*/
|
|
15643
14356
|
export interface StationSyncResponseDto {
|
|
15644
14357
|
/**
|
|
15645
|
-
*
|
|
15646
|
-
* @type {StationSyncResponseDtoStation}
|
|
15647
|
-
* @memberof StationSyncResponseDto
|
|
15648
|
-
*/
|
|
15649
|
-
'station': StationSyncResponseDtoStation;
|
|
15650
|
-
}
|
|
15651
|
-
/**
|
|
15652
|
-
* The synced station data
|
|
15653
|
-
* @export
|
|
15654
|
-
* @interface StationSyncResponseDtoStation
|
|
15655
|
-
*/
|
|
15656
|
-
export interface StationSyncResponseDtoStation {
|
|
15657
|
-
/**
|
|
15658
|
-
*
|
|
15659
|
-
* @type {string}
|
|
15660
|
-
* @memberof StationSyncResponseDtoStation
|
|
15661
|
-
*/
|
|
15662
|
-
'id': string;
|
|
15663
|
-
/**
|
|
15664
|
-
*
|
|
15665
|
-
* @type {string}
|
|
15666
|
-
* @memberof StationSyncResponseDtoStation
|
|
15667
|
-
*/
|
|
15668
|
-
'name': string;
|
|
15669
|
-
/**
|
|
15670
|
-
*
|
|
15671
|
-
* @type {string}
|
|
15672
|
-
* @memberof StationSyncResponseDtoStation
|
|
15673
|
-
*/
|
|
15674
|
-
'hardwareId': string;
|
|
15675
|
-
/**
|
|
15676
|
-
*
|
|
15677
|
-
* @type {StationType}
|
|
15678
|
-
* @memberof StationSyncResponseDtoStation
|
|
15679
|
-
*/
|
|
15680
|
-
'type': StationType;
|
|
15681
|
-
/**
|
|
15682
|
-
*
|
|
15683
|
-
* @type {DeviceType}
|
|
15684
|
-
* @memberof StationSyncResponseDtoStation
|
|
15685
|
-
*/
|
|
15686
|
-
'deviceType'?: DeviceType;
|
|
15687
|
-
/**
|
|
15688
|
-
*
|
|
15689
|
-
* @type {Status}
|
|
15690
|
-
* @memberof StationSyncResponseDtoStation
|
|
15691
|
-
*/
|
|
15692
|
-
'status': Status;
|
|
15693
|
-
/**
|
|
15694
|
-
*
|
|
15695
|
-
* @type {number}
|
|
15696
|
-
* @memberof StationSyncResponseDtoStation
|
|
15697
|
-
*/
|
|
15698
|
-
'orderingBusinessId': number;
|
|
15699
|
-
/**
|
|
15700
|
-
*
|
|
14358
|
+
* A success message indicating the sync was successful
|
|
15701
14359
|
* @type {string}
|
|
15702
|
-
* @memberof
|
|
15703
|
-
*/
|
|
15704
|
-
'prefix': string;
|
|
15705
|
-
/**
|
|
15706
|
-
*
|
|
15707
|
-
* @type {object}
|
|
15708
|
-
* @memberof StationSyncResponseDtoStation
|
|
15709
|
-
*/
|
|
15710
|
-
'settings'?: object;
|
|
15711
|
-
/**
|
|
15712
|
-
*
|
|
15713
|
-
* @type {object}
|
|
15714
|
-
* @memberof StationSyncResponseDtoStation
|
|
15715
|
-
*/
|
|
15716
|
-
'metadata'?: object;
|
|
15717
|
-
/**
|
|
15718
|
-
* Timestamp when the station record was created.
|
|
15719
|
-
* @type {string}
|
|
15720
|
-
* @memberof StationSyncResponseDtoStation
|
|
15721
|
-
*/
|
|
15722
|
-
'createdAt': string;
|
|
15723
|
-
/**
|
|
15724
|
-
* Timestamp when the station record was last updated.
|
|
15725
|
-
* @type {string}
|
|
15726
|
-
* @memberof StationSyncResponseDtoStation
|
|
15727
|
-
*/
|
|
15728
|
-
'updatedAt': string;
|
|
15729
|
-
/**
|
|
15730
|
-
*
|
|
15731
|
-
* @type {StationDetailsDtoPaymentTerminal}
|
|
15732
|
-
* @memberof StationSyncResponseDtoStation
|
|
14360
|
+
* @memberof StationSyncResponseDto
|
|
15733
14361
|
*/
|
|
15734
|
-
'
|
|
14362
|
+
'message': string;
|
|
15735
14363
|
}
|
|
15736
|
-
|
|
15737
|
-
|
|
15738
14364
|
/**
|
|
15739
14365
|
*
|
|
15740
14366
|
* @export
|
|
@@ -15991,14 +14617,46 @@ export interface SyncStationDto {
|
|
|
15991
14617
|
/**
|
|
15992
14618
|
*
|
|
15993
14619
|
* @export
|
|
15994
|
-
* @
|
|
14620
|
+
* @interface SyncTerminalDto
|
|
15995
14621
|
*/
|
|
15996
|
-
|
|
15997
|
-
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
14622
|
+
export interface SyncTerminalDto {
|
|
14623
|
+
/**
|
|
14624
|
+
* Hardware ID of the station to connect the terminal to
|
|
14625
|
+
* @type {string}
|
|
14626
|
+
* @memberof SyncTerminalDto
|
|
14627
|
+
*/
|
|
14628
|
+
'stationHardwareId': string;
|
|
14629
|
+
/**
|
|
14630
|
+
* Hardware ID of the payment terminal
|
|
14631
|
+
* @type {string}
|
|
14632
|
+
* @memberof SyncTerminalDto
|
|
14633
|
+
*/
|
|
14634
|
+
'terminalId': string;
|
|
14635
|
+
/**
|
|
14636
|
+
*
|
|
14637
|
+
* @type {PaymentProvider}
|
|
14638
|
+
* @memberof SyncTerminalDto
|
|
14639
|
+
*/
|
|
14640
|
+
'provider': PaymentProvider;
|
|
14641
|
+
/**
|
|
14642
|
+
* Label/name for the terminal
|
|
14643
|
+
* @type {string}
|
|
14644
|
+
* @memberof SyncTerminalDto
|
|
14645
|
+
*/
|
|
14646
|
+
'label'?: string;
|
|
14647
|
+
/**
|
|
14648
|
+
*
|
|
14649
|
+
* @type {TerminalConnectionType}
|
|
14650
|
+
* @memberof SyncTerminalDto
|
|
14651
|
+
*/
|
|
14652
|
+
'connectionType'?: TerminalConnectionType;
|
|
14653
|
+
/**
|
|
14654
|
+
* Business ID that owns the terminal
|
|
14655
|
+
* @type {number}
|
|
14656
|
+
* @memberof SyncTerminalDto
|
|
14657
|
+
*/
|
|
14658
|
+
'businessId': number;
|
|
14659
|
+
}
|
|
16002
14660
|
|
|
16003
14661
|
|
|
16004
14662
|
/**
|
|
@@ -17637,11 +16295,11 @@ export interface UnifiedProductDto {
|
|
|
17637
16295
|
*/
|
|
17638
16296
|
'comment'?: string | null;
|
|
17639
16297
|
/**
|
|
17640
|
-
*
|
|
17641
|
-
* @type {
|
|
16298
|
+
* Current kitchen preparation status of the product
|
|
16299
|
+
* @type {string}
|
|
17642
16300
|
* @memberof UnifiedProductDto
|
|
17643
16301
|
*/
|
|
17644
|
-
'kitchenStatus'
|
|
16302
|
+
'kitchenStatus'?: string | null;
|
|
17645
16303
|
/**
|
|
17646
16304
|
* List of options selected for this product
|
|
17647
16305
|
* @type {Array<UnifiedOptionDto>}
|
|
@@ -17649,8 +16307,6 @@ export interface UnifiedProductDto {
|
|
|
17649
16307
|
*/
|
|
17650
16308
|
'options': Array<UnifiedOptionDto>;
|
|
17651
16309
|
}
|
|
17652
|
-
|
|
17653
|
-
|
|
17654
16310
|
/**
|
|
17655
16311
|
*
|
|
17656
16312
|
* @export
|
|
@@ -22300,6 +20956,44 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22300
20956
|
|
|
22301
20957
|
|
|
22302
20958
|
|
|
20959
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20960
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20961
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20962
|
+
|
|
20963
|
+
return {
|
|
20964
|
+
url: toPathString(localVarUrlObj),
|
|
20965
|
+
options: localVarRequestOptions,
|
|
20966
|
+
};
|
|
20967
|
+
},
|
|
20968
|
+
/**
|
|
20969
|
+
*
|
|
20970
|
+
* @summary Get unified discounts for all business and venue
|
|
20971
|
+
* @param {string} businessId
|
|
20972
|
+
* @param {*} [options] Override http request option.
|
|
20973
|
+
* @throws {RequiredError}
|
|
20974
|
+
*/
|
|
20975
|
+
getAdvancedDiscounts: async (businessId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20976
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
20977
|
+
assertParamExists('getAdvancedDiscounts', 'businessId', businessId)
|
|
20978
|
+
const localVarPath = `/api/v2/business/{businessId}/discount`
|
|
20979
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
20980
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20981
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20982
|
+
let baseOptions;
|
|
20983
|
+
if (configuration) {
|
|
20984
|
+
baseOptions = configuration.baseOptions;
|
|
20985
|
+
}
|
|
20986
|
+
|
|
20987
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20988
|
+
const localVarHeaderParameter = {} as any;
|
|
20989
|
+
const localVarQueryParameter = {} as any;
|
|
20990
|
+
|
|
20991
|
+
// authentication JWT-auth required
|
|
20992
|
+
// http bearer authentication required
|
|
20993
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20994
|
+
|
|
20995
|
+
|
|
20996
|
+
|
|
22303
20997
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22304
20998
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22305
20999
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -22697,11 +21391,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22697
21391
|
/**
|
|
22698
21392
|
*
|
|
22699
21393
|
* @param {string} businessId
|
|
22700
|
-
* @param {'pos' | 'kiosk'
|
|
21394
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22701
21395
|
* @param {*} [options] Override http request option.
|
|
22702
21396
|
* @throws {RequiredError}
|
|
22703
21397
|
*/
|
|
22704
|
-
getBusinessMenuByType: async (businessId: string, menuType: 'pos' | 'kiosk'
|
|
21398
|
+
getBusinessMenuByType: async (businessId: string, menuType: 'pos' | 'kiosk', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22705
21399
|
// verify required parameter 'businessId' is not null or undefined
|
|
22706
21400
|
assertParamExists('getBusinessMenuByType', 'businessId', businessId)
|
|
22707
21401
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -22739,11 +21433,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22739
21433
|
*
|
|
22740
21434
|
* @summary Get business menu by type V2
|
|
22741
21435
|
* @param {string} businessId
|
|
22742
|
-
* @param {'pos' | 'kiosk'
|
|
21436
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22743
21437
|
* @param {*} [options] Override http request option.
|
|
22744
21438
|
* @throws {RequiredError}
|
|
22745
21439
|
*/
|
|
22746
|
-
getBusinessMenuByTypeV2: async (businessId: string, menuType: 'pos' | 'kiosk'
|
|
21440
|
+
getBusinessMenuByTypeV2: async (businessId: string, menuType: 'pos' | 'kiosk', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22747
21441
|
// verify required parameter 'businessId' is not null or undefined
|
|
22748
21442
|
assertParamExists('getBusinessMenuByTypeV2', 'businessId', businessId)
|
|
22749
21443
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -22781,11 +21475,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22781
21475
|
*
|
|
22782
21476
|
* @summary Get business menu by type V3
|
|
22783
21477
|
* @param {string} businessId
|
|
22784
|
-
* @param {'pos' | 'kiosk'
|
|
21478
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22785
21479
|
* @param {*} [options] Override http request option.
|
|
22786
21480
|
* @throws {RequiredError}
|
|
22787
21481
|
*/
|
|
22788
|
-
getBusinessMenuByTypeV3: async (businessId: string, menuType: 'pos' | 'kiosk'
|
|
21482
|
+
getBusinessMenuByTypeV3: async (businessId: string, menuType: 'pos' | 'kiosk', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22789
21483
|
// verify required parameter 'businessId' is not null or undefined
|
|
22790
21484
|
assertParamExists('getBusinessMenuByTypeV3', 'businessId', businessId)
|
|
22791
21485
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -22823,11 +21517,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22823
21517
|
*
|
|
22824
21518
|
* @summary Get business menu by type V4
|
|
22825
21519
|
* @param {string} businessId
|
|
22826
|
-
* @param {'pos' | 'kiosk'
|
|
21520
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22827
21521
|
* @param {*} [options] Override http request option.
|
|
22828
21522
|
* @throws {RequiredError}
|
|
22829
21523
|
*/
|
|
22830
|
-
getBusinessMenuByTypeV4: async (businessId: string, menuType: 'pos' | 'kiosk'
|
|
21524
|
+
getBusinessMenuByTypeV4: async (businessId: string, menuType: 'pos' | 'kiosk', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22831
21525
|
// verify required parameter 'businessId' is not null or undefined
|
|
22832
21526
|
assertParamExists('getBusinessMenuByTypeV4', 'businessId', businessId)
|
|
22833
21527
|
// verify required parameter 'menuType' is not null or undefined
|
|
@@ -22964,46 +21658,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22964
21658
|
|
|
22965
21659
|
|
|
22966
21660
|
|
|
22967
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22968
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22969
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22970
|
-
|
|
22971
|
-
return {
|
|
22972
|
-
url: toPathString(localVarUrlObj),
|
|
22973
|
-
options: localVarRequestOptions,
|
|
22974
|
-
};
|
|
22975
|
-
},
|
|
22976
|
-
/**
|
|
22977
|
-
*
|
|
22978
|
-
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
22979
|
-
* @param {*} [options] Override http request option.
|
|
22980
|
-
* @throws {RequiredError}
|
|
22981
|
-
*/
|
|
22982
|
-
getProvidersSupportedIntegrations: async (businessIds: Array<number>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22983
|
-
// verify required parameter 'businessIds' is not null or undefined
|
|
22984
|
-
assertParamExists('getProvidersSupportedIntegrations', 'businessIds', businessIds)
|
|
22985
|
-
const localVarPath = `/api/v1/business/providers/supported-integrations`;
|
|
22986
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22987
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22988
|
-
let baseOptions;
|
|
22989
|
-
if (configuration) {
|
|
22990
|
-
baseOptions = configuration.baseOptions;
|
|
22991
|
-
}
|
|
22992
|
-
|
|
22993
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
22994
|
-
const localVarHeaderParameter = {} as any;
|
|
22995
|
-
const localVarQueryParameter = {} as any;
|
|
22996
|
-
|
|
22997
|
-
// authentication JWT-auth required
|
|
22998
|
-
// http bearer authentication required
|
|
22999
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23000
|
-
|
|
23001
|
-
if (businessIds) {
|
|
23002
|
-
localVarQueryParameter['businessIds'] = businessIds;
|
|
23003
|
-
}
|
|
23004
|
-
|
|
23005
|
-
|
|
23006
|
-
|
|
23007
21661
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23008
21662
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23009
21663
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23300,6 +21954,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
23300
21954
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBusinessPermission(permissionId, businessId, options);
|
|
23301
21955
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23302
21956
|
},
|
|
21957
|
+
/**
|
|
21958
|
+
*
|
|
21959
|
+
* @summary Get unified discounts for all business and venue
|
|
21960
|
+
* @param {string} businessId
|
|
21961
|
+
* @param {*} [options] Override http request option.
|
|
21962
|
+
* @throws {RequiredError}
|
|
21963
|
+
*/
|
|
21964
|
+
async getAdvancedDiscounts(businessId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DiscountDto>>> {
|
|
21965
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAdvancedDiscounts(businessId, options);
|
|
21966
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21967
|
+
},
|
|
23303
21968
|
/**
|
|
23304
21969
|
*
|
|
23305
21970
|
* @param {string} businessId
|
|
@@ -23406,11 +22071,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
23406
22071
|
/**
|
|
23407
22072
|
*
|
|
23408
22073
|
* @param {string} businessId
|
|
23409
|
-
* @param {'pos' | 'kiosk'
|
|
22074
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23410
22075
|
* @param {*} [options] Override http request option.
|
|
23411
22076
|
* @throws {RequiredError}
|
|
23412
22077
|
*/
|
|
23413
|
-
async getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22078
|
+
async getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
23414
22079
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByType(businessId, menuType, options);
|
|
23415
22080
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23416
22081
|
},
|
|
@@ -23418,11 +22083,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
23418
22083
|
*
|
|
23419
22084
|
* @summary Get business menu by type V2
|
|
23420
22085
|
* @param {string} businessId
|
|
23421
|
-
* @param {'pos' | 'kiosk'
|
|
22086
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23422
22087
|
* @param {*} [options] Override http request option.
|
|
23423
22088
|
* @throws {RequiredError}
|
|
23424
22089
|
*/
|
|
23425
|
-
async getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22090
|
+
async getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>> {
|
|
23426
22091
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV2(businessId, menuType, options);
|
|
23427
22092
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23428
22093
|
},
|
|
@@ -23430,11 +22095,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
23430
22095
|
*
|
|
23431
22096
|
* @summary Get business menu by type V3
|
|
23432
22097
|
* @param {string} businessId
|
|
23433
|
-
* @param {'pos' | 'kiosk'
|
|
22098
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23434
22099
|
* @param {*} [options] Override http request option.
|
|
23435
22100
|
* @throws {RequiredError}
|
|
23436
22101
|
*/
|
|
23437
|
-
async getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22102
|
+
async getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
23438
22103
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV3(businessId, menuType, options);
|
|
23439
22104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23440
22105
|
},
|
|
@@ -23442,11 +22107,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
23442
22107
|
*
|
|
23443
22108
|
* @summary Get business menu by type V4
|
|
23444
22109
|
* @param {string} businessId
|
|
23445
|
-
* @param {'pos' | 'kiosk'
|
|
22110
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23446
22111
|
* @param {*} [options] Override http request option.
|
|
23447
22112
|
* @throws {RequiredError}
|
|
23448
22113
|
*/
|
|
23449
|
-
async getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22114
|
+
async getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>> {
|
|
23450
22115
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessMenuByTypeV4(businessId, menuType, options);
|
|
23451
22116
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23452
22117
|
},
|
|
@@ -23480,16 +22145,6 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
23480
22145
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessTax(options);
|
|
23481
22146
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23482
22147
|
},
|
|
23483
|
-
/**
|
|
23484
|
-
*
|
|
23485
|
-
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
23486
|
-
* @param {*} [options] Override http request option.
|
|
23487
|
-
* @throws {RequiredError}
|
|
23488
|
-
*/
|
|
23489
|
-
async getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>> {
|
|
23490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProvidersSupportedIntegrations(businessIds, options);
|
|
23491
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23492
|
-
},
|
|
23493
22148
|
/**
|
|
23494
22149
|
*
|
|
23495
22150
|
* @param {string} businessId Id of the business
|
|
@@ -23589,6 +22244,16 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
23589
22244
|
deleteBusinessPermission(permissionId: string, businessId: any, options?: any): AxiosPromise<void> {
|
|
23590
22245
|
return localVarFp.deleteBusinessPermission(permissionId, businessId, options).then((request) => request(axios, basePath));
|
|
23591
22246
|
},
|
|
22247
|
+
/**
|
|
22248
|
+
*
|
|
22249
|
+
* @summary Get unified discounts for all business and venue
|
|
22250
|
+
* @param {string} businessId
|
|
22251
|
+
* @param {*} [options] Override http request option.
|
|
22252
|
+
* @throws {RequiredError}
|
|
22253
|
+
*/
|
|
22254
|
+
getAdvancedDiscounts(businessId: string, options?: any): AxiosPromise<Array<DiscountDto>> {
|
|
22255
|
+
return localVarFp.getAdvancedDiscounts(businessId, options).then((request) => request(axios, basePath));
|
|
22256
|
+
},
|
|
23592
22257
|
/**
|
|
23593
22258
|
*
|
|
23594
22259
|
* @param {string} businessId
|
|
@@ -23686,44 +22351,44 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
23686
22351
|
/**
|
|
23687
22352
|
*
|
|
23688
22353
|
* @param {string} businessId
|
|
23689
|
-
* @param {'pos' | 'kiosk'
|
|
22354
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23690
22355
|
* @param {*} [options] Override http request option.
|
|
23691
22356
|
* @throws {RequiredError}
|
|
23692
22357
|
*/
|
|
23693
|
-
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22358
|
+
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
23694
22359
|
return localVarFp.getBusinessMenuByType(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
23695
22360
|
},
|
|
23696
22361
|
/**
|
|
23697
22362
|
*
|
|
23698
22363
|
* @summary Get business menu by type V2
|
|
23699
22364
|
* @param {string} businessId
|
|
23700
|
-
* @param {'pos' | 'kiosk'
|
|
22365
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23701
22366
|
* @param {*} [options] Override http request option.
|
|
23702
22367
|
* @throws {RequiredError}
|
|
23703
22368
|
*/
|
|
23704
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22369
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: any): AxiosPromise<Array<MenuDto>> {
|
|
23705
22370
|
return localVarFp.getBusinessMenuByTypeV2(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
23706
22371
|
},
|
|
23707
22372
|
/**
|
|
23708
22373
|
*
|
|
23709
22374
|
* @summary Get business menu by type V3
|
|
23710
22375
|
* @param {string} businessId
|
|
23711
|
-
* @param {'pos' | 'kiosk'
|
|
22376
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23712
22377
|
* @param {*} [options] Override http request option.
|
|
23713
22378
|
* @throws {RequiredError}
|
|
23714
22379
|
*/
|
|
23715
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22380
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: any): AxiosPromise<MenuReponseDto> {
|
|
23716
22381
|
return localVarFp.getBusinessMenuByTypeV3(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
23717
22382
|
},
|
|
23718
22383
|
/**
|
|
23719
22384
|
*
|
|
23720
22385
|
* @summary Get business menu by type V4
|
|
23721
22386
|
* @param {string} businessId
|
|
23722
|
-
* @param {'pos' | 'kiosk'
|
|
22387
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23723
22388
|
* @param {*} [options] Override http request option.
|
|
23724
22389
|
* @throws {RequiredError}
|
|
23725
22390
|
*/
|
|
23726
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22391
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: any): AxiosPromise<MenuReponseDto> {
|
|
23727
22392
|
return localVarFp.getBusinessMenuByTypeV4(businessId, menuType, options).then((request) => request(axios, basePath));
|
|
23728
22393
|
},
|
|
23729
22394
|
/**
|
|
@@ -23753,15 +22418,6 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
23753
22418
|
getBusinessTax(options?: any): AxiosPromise<Array<BusinessTaxResponseDto>> {
|
|
23754
22419
|
return localVarFp.getBusinessTax(options).then((request) => request(axios, basePath));
|
|
23755
22420
|
},
|
|
23756
|
-
/**
|
|
23757
|
-
*
|
|
23758
|
-
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
23759
|
-
* @param {*} [options] Override http request option.
|
|
23760
|
-
* @throws {RequiredError}
|
|
23761
|
-
*/
|
|
23762
|
-
getProvidersSupportedIntegrations(businessIds: Array<number>, options?: any): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>> {
|
|
23763
|
-
return localVarFp.getProvidersSupportedIntegrations(businessIds, options).then((request) => request(axios, basePath));
|
|
23764
|
-
},
|
|
23765
22421
|
/**
|
|
23766
22422
|
*
|
|
23767
22423
|
* @param {string} businessId Id of the business
|
|
@@ -23854,6 +22510,16 @@ export interface BusinessApiInterface {
|
|
|
23854
22510
|
*/
|
|
23855
22511
|
deleteBusinessPermission(permissionId: string, businessId: any, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
23856
22512
|
|
|
22513
|
+
/**
|
|
22514
|
+
*
|
|
22515
|
+
* @summary Get unified discounts for all business and venue
|
|
22516
|
+
* @param {string} businessId
|
|
22517
|
+
* @param {*} [options] Override http request option.
|
|
22518
|
+
* @throws {RequiredError}
|
|
22519
|
+
* @memberof BusinessApiInterface
|
|
22520
|
+
*/
|
|
22521
|
+
getAdvancedDiscounts(businessId: string, options?: AxiosRequestConfig): AxiosPromise<Array<DiscountDto>>;
|
|
22522
|
+
|
|
23857
22523
|
/**
|
|
23858
22524
|
*
|
|
23859
22525
|
* @param {string} businessId
|
|
@@ -23951,45 +22617,45 @@ export interface BusinessApiInterface {
|
|
|
23951
22617
|
/**
|
|
23952
22618
|
*
|
|
23953
22619
|
* @param {string} businessId
|
|
23954
|
-
* @param {'pos' | 'kiosk'
|
|
22620
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23955
22621
|
* @param {*} [options] Override http request option.
|
|
23956
22622
|
* @throws {RequiredError}
|
|
23957
22623
|
* @memberof BusinessApiInterface
|
|
23958
22624
|
*/
|
|
23959
|
-
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22625
|
+
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
23960
22626
|
|
|
23961
22627
|
/**
|
|
23962
22628
|
*
|
|
23963
22629
|
* @summary Get business menu by type V2
|
|
23964
22630
|
* @param {string} businessId
|
|
23965
|
-
* @param {'pos' | 'kiosk'
|
|
22631
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23966
22632
|
* @param {*} [options] Override http request option.
|
|
23967
22633
|
* @throws {RequiredError}
|
|
23968
22634
|
* @memberof BusinessApiInterface
|
|
23969
22635
|
*/
|
|
23970
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22636
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
23971
22637
|
|
|
23972
22638
|
/**
|
|
23973
22639
|
*
|
|
23974
22640
|
* @summary Get business menu by type V3
|
|
23975
22641
|
* @param {string} businessId
|
|
23976
|
-
* @param {'pos' | 'kiosk'
|
|
22642
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23977
22643
|
* @param {*} [options] Override http request option.
|
|
23978
22644
|
* @throws {RequiredError}
|
|
23979
22645
|
* @memberof BusinessApiInterface
|
|
23980
22646
|
*/
|
|
23981
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22647
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
23982
22648
|
|
|
23983
22649
|
/**
|
|
23984
22650
|
*
|
|
23985
22651
|
* @summary Get business menu by type V4
|
|
23986
22652
|
* @param {string} businessId
|
|
23987
|
-
* @param {'pos' | 'kiosk'
|
|
22653
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
23988
22654
|
* @param {*} [options] Override http request option.
|
|
23989
22655
|
* @throws {RequiredError}
|
|
23990
22656
|
* @memberof BusinessApiInterface
|
|
23991
22657
|
*/
|
|
23992
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22658
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
23993
22659
|
|
|
23994
22660
|
/**
|
|
23995
22661
|
*
|
|
@@ -24018,15 +22684,6 @@ export interface BusinessApiInterface {
|
|
|
24018
22684
|
*/
|
|
24019
22685
|
getBusinessTax(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessTaxResponseDto>>;
|
|
24020
22686
|
|
|
24021
|
-
/**
|
|
24022
|
-
*
|
|
24023
|
-
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
24024
|
-
* @param {*} [options] Override http request option.
|
|
24025
|
-
* @throws {RequiredError}
|
|
24026
|
-
* @memberof BusinessApiInterface
|
|
24027
|
-
*/
|
|
24028
|
-
getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>;
|
|
24029
|
-
|
|
24030
22687
|
/**
|
|
24031
22688
|
*
|
|
24032
22689
|
* @param {string} businessId Id of the business
|
|
@@ -24123,6 +22780,18 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
24123
22780
|
return BusinessApiFp(this.configuration).deleteBusinessPermission(permissionId, businessId, options).then((request) => request(this.axios, this.basePath));
|
|
24124
22781
|
}
|
|
24125
22782
|
|
|
22783
|
+
/**
|
|
22784
|
+
*
|
|
22785
|
+
* @summary Get unified discounts for all business and venue
|
|
22786
|
+
* @param {string} businessId
|
|
22787
|
+
* @param {*} [options] Override http request option.
|
|
22788
|
+
* @throws {RequiredError}
|
|
22789
|
+
* @memberof BusinessApi
|
|
22790
|
+
*/
|
|
22791
|
+
public getAdvancedDiscounts(businessId: string, options?: AxiosRequestConfig) {
|
|
22792
|
+
return BusinessApiFp(this.configuration).getAdvancedDiscounts(businessId, options).then((request) => request(this.axios, this.basePath));
|
|
22793
|
+
}
|
|
22794
|
+
|
|
24126
22795
|
/**
|
|
24127
22796
|
*
|
|
24128
22797
|
* @param {string} businessId
|
|
@@ -24238,12 +22907,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
24238
22907
|
/**
|
|
24239
22908
|
*
|
|
24240
22909
|
* @param {string} businessId
|
|
24241
|
-
* @param {'pos' | 'kiosk'
|
|
22910
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
24242
22911
|
* @param {*} [options] Override http request option.
|
|
24243
22912
|
* @throws {RequiredError}
|
|
24244
22913
|
* @memberof BusinessApi
|
|
24245
22914
|
*/
|
|
24246
|
-
public getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22915
|
+
public getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig) {
|
|
24247
22916
|
return BusinessApiFp(this.configuration).getBusinessMenuByType(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
24248
22917
|
}
|
|
24249
22918
|
|
|
@@ -24251,12 +22920,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
24251
22920
|
*
|
|
24252
22921
|
* @summary Get business menu by type V2
|
|
24253
22922
|
* @param {string} businessId
|
|
24254
|
-
* @param {'pos' | 'kiosk'
|
|
22923
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
24255
22924
|
* @param {*} [options] Override http request option.
|
|
24256
22925
|
* @throws {RequiredError}
|
|
24257
22926
|
* @memberof BusinessApi
|
|
24258
22927
|
*/
|
|
24259
|
-
public getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22928
|
+
public getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig) {
|
|
24260
22929
|
return BusinessApiFp(this.configuration).getBusinessMenuByTypeV2(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
24261
22930
|
}
|
|
24262
22931
|
|
|
@@ -24264,12 +22933,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
24264
22933
|
*
|
|
24265
22934
|
* @summary Get business menu by type V3
|
|
24266
22935
|
* @param {string} businessId
|
|
24267
|
-
* @param {'pos' | 'kiosk'
|
|
22936
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
24268
22937
|
* @param {*} [options] Override http request option.
|
|
24269
22938
|
* @throws {RequiredError}
|
|
24270
22939
|
* @memberof BusinessApi
|
|
24271
22940
|
*/
|
|
24272
|
-
public getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22941
|
+
public getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig) {
|
|
24273
22942
|
return BusinessApiFp(this.configuration).getBusinessMenuByTypeV3(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
24274
22943
|
}
|
|
24275
22944
|
|
|
@@ -24277,12 +22946,12 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
24277
22946
|
*
|
|
24278
22947
|
* @summary Get business menu by type V4
|
|
24279
22948
|
* @param {string} businessId
|
|
24280
|
-
* @param {'pos' | 'kiosk'
|
|
22949
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
24281
22950
|
* @param {*} [options] Override http request option.
|
|
24282
22951
|
* @throws {RequiredError}
|
|
24283
22952
|
* @memberof BusinessApi
|
|
24284
22953
|
*/
|
|
24285
|
-
public getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk'
|
|
22954
|
+
public getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig) {
|
|
24286
22955
|
return BusinessApiFp(this.configuration).getBusinessMenuByTypeV4(businessId, menuType, options).then((request) => request(this.axios, this.basePath));
|
|
24287
22956
|
}
|
|
24288
22957
|
|
|
@@ -24319,17 +22988,6 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
|
|
|
24319
22988
|
return BusinessApiFp(this.configuration).getBusinessTax(options).then((request) => request(this.axios, this.basePath));
|
|
24320
22989
|
}
|
|
24321
22990
|
|
|
24322
|
-
/**
|
|
24323
|
-
*
|
|
24324
|
-
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
24325
|
-
* @param {*} [options] Override http request option.
|
|
24326
|
-
* @throws {RequiredError}
|
|
24327
|
-
* @memberof BusinessApi
|
|
24328
|
-
*/
|
|
24329
|
-
public getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig) {
|
|
24330
|
-
return BusinessApiFp(this.configuration).getProvidersSupportedIntegrations(businessIds, options).then((request) => request(this.axios, this.basePath));
|
|
24331
|
-
}
|
|
24332
|
-
|
|
24333
22991
|
/**
|
|
24334
22992
|
*
|
|
24335
22993
|
* @param {string} businessId Id of the business
|
|
@@ -27774,473 +26432,6 @@ export class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompaniesApiI
|
|
|
27774
26432
|
}
|
|
27775
26433
|
|
|
27776
26434
|
|
|
27777
|
-
/**
|
|
27778
|
-
* KDSApi - axios parameter creator
|
|
27779
|
-
* @export
|
|
27780
|
-
*/
|
|
27781
|
-
export const KDSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27782
|
-
return {
|
|
27783
|
-
/**
|
|
27784
|
-
*
|
|
27785
|
-
* @summary Get KDS orders by status
|
|
27786
|
-
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
27787
|
-
* @param {string} businessIds Comma-separated list of business IDs
|
|
27788
|
-
* @param {string} profileId KDS Profile ID
|
|
27789
|
-
* @param {number} [page] Page number
|
|
27790
|
-
* @param {number} [rowPerPage] Number of rows per page
|
|
27791
|
-
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
27792
|
-
* @param {string} [start] Start date for custom or direct date filtering
|
|
27793
|
-
* @param {string} [end] End date for custom or direct date filtering
|
|
27794
|
-
* @param {string} [timezone] IANA timezone used to build the date range
|
|
27795
|
-
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
27796
|
-
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
27797
|
-
* @param {*} [options] Override http request option.
|
|
27798
|
-
* @throws {RequiredError}
|
|
27799
|
-
*/
|
|
27800
|
-
kdsGetOrders: async (status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27801
|
-
// verify required parameter 'status' is not null or undefined
|
|
27802
|
-
assertParamExists('kdsGetOrders', 'status', status)
|
|
27803
|
-
// verify required parameter 'businessIds' is not null or undefined
|
|
27804
|
-
assertParamExists('kdsGetOrders', 'businessIds', businessIds)
|
|
27805
|
-
// verify required parameter 'profileId' is not null or undefined
|
|
27806
|
-
assertParamExists('kdsGetOrders', 'profileId', profileId)
|
|
27807
|
-
const localVarPath = `/api/v1/kds/orders/{status}`
|
|
27808
|
-
.replace(`{${"status"}}`, encodeURIComponent(String(status)));
|
|
27809
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27810
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27811
|
-
let baseOptions;
|
|
27812
|
-
if (configuration) {
|
|
27813
|
-
baseOptions = configuration.baseOptions;
|
|
27814
|
-
}
|
|
27815
|
-
|
|
27816
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27817
|
-
const localVarHeaderParameter = {} as any;
|
|
27818
|
-
const localVarQueryParameter = {} as any;
|
|
27819
|
-
|
|
27820
|
-
// authentication JWT-auth required
|
|
27821
|
-
// http bearer authentication required
|
|
27822
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27823
|
-
|
|
27824
|
-
if (businessIds !== undefined) {
|
|
27825
|
-
localVarQueryParameter['businessIds'] = businessIds;
|
|
27826
|
-
}
|
|
27827
|
-
|
|
27828
|
-
if (profileId !== undefined) {
|
|
27829
|
-
localVarQueryParameter['profileId'] = profileId;
|
|
27830
|
-
}
|
|
27831
|
-
|
|
27832
|
-
if (page !== undefined) {
|
|
27833
|
-
localVarQueryParameter['page'] = page;
|
|
27834
|
-
}
|
|
27835
|
-
|
|
27836
|
-
if (rowPerPage !== undefined) {
|
|
27837
|
-
localVarQueryParameter['rowPerPage'] = rowPerPage;
|
|
27838
|
-
}
|
|
27839
|
-
|
|
27840
|
-
if (timeSpan !== undefined) {
|
|
27841
|
-
localVarQueryParameter['timeSpan'] = timeSpan;
|
|
27842
|
-
}
|
|
27843
|
-
|
|
27844
|
-
if (start !== undefined) {
|
|
27845
|
-
localVarQueryParameter['start'] = start;
|
|
27846
|
-
}
|
|
27847
|
-
|
|
27848
|
-
if (end !== undefined) {
|
|
27849
|
-
localVarQueryParameter['end'] = end;
|
|
27850
|
-
}
|
|
27851
|
-
|
|
27852
|
-
if (timezone !== undefined) {
|
|
27853
|
-
localVarQueryParameter['timezone'] = timezone;
|
|
27854
|
-
}
|
|
27855
|
-
|
|
27856
|
-
if (provider) {
|
|
27857
|
-
localVarQueryParameter['provider'] = provider;
|
|
27858
|
-
}
|
|
27859
|
-
|
|
27860
|
-
if (consumptionType) {
|
|
27861
|
-
localVarQueryParameter['consumptionType'] = consumptionType;
|
|
27862
|
-
}
|
|
27863
|
-
|
|
27864
|
-
|
|
27865
|
-
|
|
27866
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27867
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27868
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27869
|
-
|
|
27870
|
-
return {
|
|
27871
|
-
url: toPathString(localVarUrlObj),
|
|
27872
|
-
options: localVarRequestOptions,
|
|
27873
|
-
};
|
|
27874
|
-
},
|
|
27875
|
-
/**
|
|
27876
|
-
*
|
|
27877
|
-
* @summary Get KDS profiles for a business
|
|
27878
|
-
* @param {number} businessId Business ID
|
|
27879
|
-
* @param {*} [options] Override http request option.
|
|
27880
|
-
* @throws {RequiredError}
|
|
27881
|
-
*/
|
|
27882
|
-
kdsGetProfiles: async (businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27883
|
-
// verify required parameter 'businessId' is not null or undefined
|
|
27884
|
-
assertParamExists('kdsGetProfiles', 'businessId', businessId)
|
|
27885
|
-
const localVarPath = `/api/v1/kds/profiles`;
|
|
27886
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27887
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27888
|
-
let baseOptions;
|
|
27889
|
-
if (configuration) {
|
|
27890
|
-
baseOptions = configuration.baseOptions;
|
|
27891
|
-
}
|
|
27892
|
-
|
|
27893
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27894
|
-
const localVarHeaderParameter = {} as any;
|
|
27895
|
-
const localVarQueryParameter = {} as any;
|
|
27896
|
-
|
|
27897
|
-
// authentication JWT-auth required
|
|
27898
|
-
// http bearer authentication required
|
|
27899
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27900
|
-
|
|
27901
|
-
if (businessId !== undefined) {
|
|
27902
|
-
localVarQueryParameter['businessId'] = businessId;
|
|
27903
|
-
}
|
|
27904
|
-
|
|
27905
|
-
|
|
27906
|
-
|
|
27907
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27908
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27909
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27910
|
-
|
|
27911
|
-
return {
|
|
27912
|
-
url: toPathString(localVarUrlObj),
|
|
27913
|
-
options: localVarRequestOptions,
|
|
27914
|
-
};
|
|
27915
|
-
},
|
|
27916
|
-
/**
|
|
27917
|
-
*
|
|
27918
|
-
* @summary Mark a KDS order as ready
|
|
27919
|
-
* @param {string} id KDS order ID
|
|
27920
|
-
* @param {*} [options] Override http request option.
|
|
27921
|
-
* @throws {RequiredError}
|
|
27922
|
-
*/
|
|
27923
|
-
kdsMarkOrderReady: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27924
|
-
// verify required parameter 'id' is not null or undefined
|
|
27925
|
-
assertParamExists('kdsMarkOrderReady', 'id', id)
|
|
27926
|
-
const localVarPath = `/api/v1/kds/orders/{id}/ready`
|
|
27927
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
27928
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27929
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27930
|
-
let baseOptions;
|
|
27931
|
-
if (configuration) {
|
|
27932
|
-
baseOptions = configuration.baseOptions;
|
|
27933
|
-
}
|
|
27934
|
-
|
|
27935
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
27936
|
-
const localVarHeaderParameter = {} as any;
|
|
27937
|
-
const localVarQueryParameter = {} as any;
|
|
27938
|
-
|
|
27939
|
-
// authentication JWT-auth required
|
|
27940
|
-
// http bearer authentication required
|
|
27941
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27942
|
-
|
|
27943
|
-
|
|
27944
|
-
|
|
27945
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27946
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27947
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27948
|
-
|
|
27949
|
-
return {
|
|
27950
|
-
url: toPathString(localVarUrlObj),
|
|
27951
|
-
options: localVarRequestOptions,
|
|
27952
|
-
};
|
|
27953
|
-
},
|
|
27954
|
-
/**
|
|
27955
|
-
*
|
|
27956
|
-
* @summary Revert a KDS order back to in progress
|
|
27957
|
-
* @param {string} id KDS order ID
|
|
27958
|
-
* @param {*} [options] Override http request option.
|
|
27959
|
-
* @throws {RequiredError}
|
|
27960
|
-
*/
|
|
27961
|
-
kdsRevertOrder: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27962
|
-
// verify required parameter 'id' is not null or undefined
|
|
27963
|
-
assertParamExists('kdsRevertOrder', 'id', id)
|
|
27964
|
-
const localVarPath = `/api/v1/kds/orders/{id}/revert`
|
|
27965
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
27966
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27967
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27968
|
-
let baseOptions;
|
|
27969
|
-
if (configuration) {
|
|
27970
|
-
baseOptions = configuration.baseOptions;
|
|
27971
|
-
}
|
|
27972
|
-
|
|
27973
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
27974
|
-
const localVarHeaderParameter = {} as any;
|
|
27975
|
-
const localVarQueryParameter = {} as any;
|
|
27976
|
-
|
|
27977
|
-
// authentication JWT-auth required
|
|
27978
|
-
// http bearer authentication required
|
|
27979
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
27980
|
-
|
|
27981
|
-
|
|
27982
|
-
|
|
27983
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27984
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27985
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27986
|
-
|
|
27987
|
-
return {
|
|
27988
|
-
url: toPathString(localVarUrlObj),
|
|
27989
|
-
options: localVarRequestOptions,
|
|
27990
|
-
};
|
|
27991
|
-
},
|
|
27992
|
-
}
|
|
27993
|
-
};
|
|
27994
|
-
|
|
27995
|
-
/**
|
|
27996
|
-
* KDSApi - functional programming interface
|
|
27997
|
-
* @export
|
|
27998
|
-
*/
|
|
27999
|
-
export const KDSApiFp = function(configuration?: Configuration) {
|
|
28000
|
-
const localVarAxiosParamCreator = KDSApiAxiosParamCreator(configuration)
|
|
28001
|
-
return {
|
|
28002
|
-
/**
|
|
28003
|
-
*
|
|
28004
|
-
* @summary Get KDS orders by status
|
|
28005
|
-
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
28006
|
-
* @param {string} businessIds Comma-separated list of business IDs
|
|
28007
|
-
* @param {string} profileId KDS Profile ID
|
|
28008
|
-
* @param {number} [page] Page number
|
|
28009
|
-
* @param {number} [rowPerPage] Number of rows per page
|
|
28010
|
-
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
28011
|
-
* @param {string} [start] Start date for custom or direct date filtering
|
|
28012
|
-
* @param {string} [end] End date for custom or direct date filtering
|
|
28013
|
-
* @param {string} [timezone] IANA timezone used to build the date range
|
|
28014
|
-
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
28015
|
-
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
28016
|
-
* @param {*} [options] Override http request option.
|
|
28017
|
-
* @throws {RequiredError}
|
|
28018
|
-
*/
|
|
28019
|
-
async kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsOrderListResponseDto>> {
|
|
28020
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.kdsGetOrders(status, businessIds, profileId, page, rowPerPage, timeSpan, start, end, timezone, provider, consumptionType, options);
|
|
28021
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28022
|
-
},
|
|
28023
|
-
/**
|
|
28024
|
-
*
|
|
28025
|
-
* @summary Get KDS profiles for a business
|
|
28026
|
-
* @param {number} businessId Business ID
|
|
28027
|
-
* @param {*} [options] Override http request option.
|
|
28028
|
-
* @throws {RequiredError}
|
|
28029
|
-
*/
|
|
28030
|
-
async kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsProfileDto>>> {
|
|
28031
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.kdsGetProfiles(businessId, options);
|
|
28032
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28033
|
-
},
|
|
28034
|
-
/**
|
|
28035
|
-
*
|
|
28036
|
-
* @summary Mark a KDS order as ready
|
|
28037
|
-
* @param {string} id KDS order ID
|
|
28038
|
-
* @param {*} [options] Override http request option.
|
|
28039
|
-
* @throws {RequiredError}
|
|
28040
|
-
*/
|
|
28041
|
-
async kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsReadyOrderResponseDto>> {
|
|
28042
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.kdsMarkOrderReady(id, options);
|
|
28043
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28044
|
-
},
|
|
28045
|
-
/**
|
|
28046
|
-
*
|
|
28047
|
-
* @summary Revert a KDS order back to in progress
|
|
28048
|
-
* @param {string} id KDS order ID
|
|
28049
|
-
* @param {*} [options] Override http request option.
|
|
28050
|
-
* @throws {RequiredError}
|
|
28051
|
-
*/
|
|
28052
|
-
async kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsRevertOrderResponseDto>> {
|
|
28053
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.kdsRevertOrder(id, options);
|
|
28054
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28055
|
-
},
|
|
28056
|
-
}
|
|
28057
|
-
};
|
|
28058
|
-
|
|
28059
|
-
/**
|
|
28060
|
-
* KDSApi - factory interface
|
|
28061
|
-
* @export
|
|
28062
|
-
*/
|
|
28063
|
-
export const KDSApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
28064
|
-
const localVarFp = KDSApiFp(configuration)
|
|
28065
|
-
return {
|
|
28066
|
-
/**
|
|
28067
|
-
*
|
|
28068
|
-
* @summary Get KDS orders by status
|
|
28069
|
-
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
28070
|
-
* @param {string} businessIds Comma-separated list of business IDs
|
|
28071
|
-
* @param {string} profileId KDS Profile ID
|
|
28072
|
-
* @param {number} [page] Page number
|
|
28073
|
-
* @param {number} [rowPerPage] Number of rows per page
|
|
28074
|
-
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
28075
|
-
* @param {string} [start] Start date for custom or direct date filtering
|
|
28076
|
-
* @param {string} [end] End date for custom or direct date filtering
|
|
28077
|
-
* @param {string} [timezone] IANA timezone used to build the date range
|
|
28078
|
-
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
28079
|
-
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
28080
|
-
* @param {*} [options] Override http request option.
|
|
28081
|
-
* @throws {RequiredError}
|
|
28082
|
-
*/
|
|
28083
|
-
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: any): AxiosPromise<KdsOrderListResponseDto> {
|
|
28084
|
-
return localVarFp.kdsGetOrders(status, businessIds, profileId, page, rowPerPage, timeSpan, start, end, timezone, provider, consumptionType, options).then((request) => request(axios, basePath));
|
|
28085
|
-
},
|
|
28086
|
-
/**
|
|
28087
|
-
*
|
|
28088
|
-
* @summary Get KDS profiles for a business
|
|
28089
|
-
* @param {number} businessId Business ID
|
|
28090
|
-
* @param {*} [options] Override http request option.
|
|
28091
|
-
* @throws {RequiredError}
|
|
28092
|
-
*/
|
|
28093
|
-
kdsGetProfiles(businessId: number, options?: any): AxiosPromise<Array<KdsProfileDto>> {
|
|
28094
|
-
return localVarFp.kdsGetProfiles(businessId, options).then((request) => request(axios, basePath));
|
|
28095
|
-
},
|
|
28096
|
-
/**
|
|
28097
|
-
*
|
|
28098
|
-
* @summary Mark a KDS order as ready
|
|
28099
|
-
* @param {string} id KDS order ID
|
|
28100
|
-
* @param {*} [options] Override http request option.
|
|
28101
|
-
* @throws {RequiredError}
|
|
28102
|
-
*/
|
|
28103
|
-
kdsMarkOrderReady(id: string, options?: any): AxiosPromise<KdsReadyOrderResponseDto> {
|
|
28104
|
-
return localVarFp.kdsMarkOrderReady(id, options).then((request) => request(axios, basePath));
|
|
28105
|
-
},
|
|
28106
|
-
/**
|
|
28107
|
-
*
|
|
28108
|
-
* @summary Revert a KDS order back to in progress
|
|
28109
|
-
* @param {string} id KDS order ID
|
|
28110
|
-
* @param {*} [options] Override http request option.
|
|
28111
|
-
* @throws {RequiredError}
|
|
28112
|
-
*/
|
|
28113
|
-
kdsRevertOrder(id: string, options?: any): AxiosPromise<KdsRevertOrderResponseDto> {
|
|
28114
|
-
return localVarFp.kdsRevertOrder(id, options).then((request) => request(axios, basePath));
|
|
28115
|
-
},
|
|
28116
|
-
};
|
|
28117
|
-
};
|
|
28118
|
-
|
|
28119
|
-
/**
|
|
28120
|
-
* KDSApi - interface
|
|
28121
|
-
* @export
|
|
28122
|
-
* @interface KDSApi
|
|
28123
|
-
*/
|
|
28124
|
-
export interface KDSApiInterface {
|
|
28125
|
-
/**
|
|
28126
|
-
*
|
|
28127
|
-
* @summary Get KDS orders by status
|
|
28128
|
-
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
28129
|
-
* @param {string} businessIds Comma-separated list of business IDs
|
|
28130
|
-
* @param {string} profileId KDS Profile ID
|
|
28131
|
-
* @param {number} [page] Page number
|
|
28132
|
-
* @param {number} [rowPerPage] Number of rows per page
|
|
28133
|
-
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
28134
|
-
* @param {string} [start] Start date for custom or direct date filtering
|
|
28135
|
-
* @param {string} [end] End date for custom or direct date filtering
|
|
28136
|
-
* @param {string} [timezone] IANA timezone used to build the date range
|
|
28137
|
-
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
28138
|
-
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
28139
|
-
* @param {*} [options] Override http request option.
|
|
28140
|
-
* @throws {RequiredError}
|
|
28141
|
-
* @memberof KDSApiInterface
|
|
28142
|
-
*/
|
|
28143
|
-
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig): AxiosPromise<KdsOrderListResponseDto>;
|
|
28144
|
-
|
|
28145
|
-
/**
|
|
28146
|
-
*
|
|
28147
|
-
* @summary Get KDS profiles for a business
|
|
28148
|
-
* @param {number} businessId Business ID
|
|
28149
|
-
* @param {*} [options] Override http request option.
|
|
28150
|
-
* @throws {RequiredError}
|
|
28151
|
-
* @memberof KDSApiInterface
|
|
28152
|
-
*/
|
|
28153
|
-
kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<KdsProfileDto>>;
|
|
28154
|
-
|
|
28155
|
-
/**
|
|
28156
|
-
*
|
|
28157
|
-
* @summary Mark a KDS order as ready
|
|
28158
|
-
* @param {string} id KDS order ID
|
|
28159
|
-
* @param {*} [options] Override http request option.
|
|
28160
|
-
* @throws {RequiredError}
|
|
28161
|
-
* @memberof KDSApiInterface
|
|
28162
|
-
*/
|
|
28163
|
-
kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsReadyOrderResponseDto>;
|
|
28164
|
-
|
|
28165
|
-
/**
|
|
28166
|
-
*
|
|
28167
|
-
* @summary Revert a KDS order back to in progress
|
|
28168
|
-
* @param {string} id KDS order ID
|
|
28169
|
-
* @param {*} [options] Override http request option.
|
|
28170
|
-
* @throws {RequiredError}
|
|
28171
|
-
* @memberof KDSApiInterface
|
|
28172
|
-
*/
|
|
28173
|
-
kdsRevertOrder(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsRevertOrderResponseDto>;
|
|
28174
|
-
|
|
28175
|
-
}
|
|
28176
|
-
|
|
28177
|
-
/**
|
|
28178
|
-
* KDSApi - object-oriented interface
|
|
28179
|
-
* @export
|
|
28180
|
-
* @class KDSApi
|
|
28181
|
-
* @extends {BaseAPI}
|
|
28182
|
-
*/
|
|
28183
|
-
export class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
28184
|
-
/**
|
|
28185
|
-
*
|
|
28186
|
-
* @summary Get KDS orders by status
|
|
28187
|
-
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
28188
|
-
* @param {string} businessIds Comma-separated list of business IDs
|
|
28189
|
-
* @param {string} profileId KDS Profile ID
|
|
28190
|
-
* @param {number} [page] Page number
|
|
28191
|
-
* @param {number} [rowPerPage] Number of rows per page
|
|
28192
|
-
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
28193
|
-
* @param {string} [start] Start date for custom or direct date filtering
|
|
28194
|
-
* @param {string} [end] End date for custom or direct date filtering
|
|
28195
|
-
* @param {string} [timezone] IANA timezone used to build the date range
|
|
28196
|
-
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
28197
|
-
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
28198
|
-
* @param {*} [options] Override http request option.
|
|
28199
|
-
* @throws {RequiredError}
|
|
28200
|
-
* @memberof KDSApi
|
|
28201
|
-
*/
|
|
28202
|
-
public kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', businessIds: string, profileId: string, page?: number, rowPerPage?: number, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, provider?: Array<ProviderEnum>, consumptionType?: Array<ConsumptionType>, options?: AxiosRequestConfig) {
|
|
28203
|
-
return KDSApiFp(this.configuration).kdsGetOrders(status, businessIds, profileId, page, rowPerPage, timeSpan, start, end, timezone, provider, consumptionType, options).then((request) => request(this.axios, this.basePath));
|
|
28204
|
-
}
|
|
28205
|
-
|
|
28206
|
-
/**
|
|
28207
|
-
*
|
|
28208
|
-
* @summary Get KDS profiles for a business
|
|
28209
|
-
* @param {number} businessId Business ID
|
|
28210
|
-
* @param {*} [options] Override http request option.
|
|
28211
|
-
* @throws {RequiredError}
|
|
28212
|
-
* @memberof KDSApi
|
|
28213
|
-
*/
|
|
28214
|
-
public kdsGetProfiles(businessId: number, options?: AxiosRequestConfig) {
|
|
28215
|
-
return KDSApiFp(this.configuration).kdsGetProfiles(businessId, options).then((request) => request(this.axios, this.basePath));
|
|
28216
|
-
}
|
|
28217
|
-
|
|
28218
|
-
/**
|
|
28219
|
-
*
|
|
28220
|
-
* @summary Mark a KDS order as ready
|
|
28221
|
-
* @param {string} id KDS order ID
|
|
28222
|
-
* @param {*} [options] Override http request option.
|
|
28223
|
-
* @throws {RequiredError}
|
|
28224
|
-
* @memberof KDSApi
|
|
28225
|
-
*/
|
|
28226
|
-
public kdsMarkOrderReady(id: string, options?: AxiosRequestConfig) {
|
|
28227
|
-
return KDSApiFp(this.configuration).kdsMarkOrderReady(id, options).then((request) => request(this.axios, this.basePath));
|
|
28228
|
-
}
|
|
28229
|
-
|
|
28230
|
-
/**
|
|
28231
|
-
*
|
|
28232
|
-
* @summary Revert a KDS order back to in progress
|
|
28233
|
-
* @param {string} id KDS order ID
|
|
28234
|
-
* @param {*} [options] Override http request option.
|
|
28235
|
-
* @throws {RequiredError}
|
|
28236
|
-
* @memberof KDSApi
|
|
28237
|
-
*/
|
|
28238
|
-
public kdsRevertOrder(id: string, options?: AxiosRequestConfig) {
|
|
28239
|
-
return KDSApiFp(this.configuration).kdsRevertOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
28240
|
-
}
|
|
28241
|
-
}
|
|
28242
|
-
|
|
28243
|
-
|
|
28244
26435
|
/**
|
|
28245
26436
|
* KiosksApi - axios parameter creator
|
|
28246
26437
|
* @export
|
|
@@ -28459,53 +26650,6 @@ export class KiosksApi extends BaseAPI implements KiosksApiInterface {
|
|
|
28459
26650
|
*/
|
|
28460
26651
|
export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28461
26652
|
return {
|
|
28462
|
-
/**
|
|
28463
|
-
*
|
|
28464
|
-
* @summary Create loyalty user
|
|
28465
|
-
* @param {number} businessId
|
|
28466
|
-
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
28467
|
-
* @param {*} [options] Override http request option.
|
|
28468
|
-
* @throws {RequiredError}
|
|
28469
|
-
*/
|
|
28470
|
-
createLoyaltyUser: async (businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28471
|
-
// verify required parameter 'businessId' is not null or undefined
|
|
28472
|
-
assertParamExists('createLoyaltyUser', 'businessId', businessId)
|
|
28473
|
-
// verify required parameter 'createLoyaltyProgramUserDto' is not null or undefined
|
|
28474
|
-
assertParamExists('createLoyaltyUser', 'createLoyaltyProgramUserDto', createLoyaltyProgramUserDto)
|
|
28475
|
-
const localVarPath = `/api/v1/loyalty/users/create`;
|
|
28476
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28477
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28478
|
-
let baseOptions;
|
|
28479
|
-
if (configuration) {
|
|
28480
|
-
baseOptions = configuration.baseOptions;
|
|
28481
|
-
}
|
|
28482
|
-
|
|
28483
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28484
|
-
const localVarHeaderParameter = {} as any;
|
|
28485
|
-
const localVarQueryParameter = {} as any;
|
|
28486
|
-
|
|
28487
|
-
// authentication JWT-auth required
|
|
28488
|
-
// http bearer authentication required
|
|
28489
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28490
|
-
|
|
28491
|
-
if (businessId !== undefined) {
|
|
28492
|
-
localVarQueryParameter['businessId'] = businessId;
|
|
28493
|
-
}
|
|
28494
|
-
|
|
28495
|
-
|
|
28496
|
-
|
|
28497
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28498
|
-
|
|
28499
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28500
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28501
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28502
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createLoyaltyProgramUserDto, localVarRequestOptions, configuration)
|
|
28503
|
-
|
|
28504
|
-
return {
|
|
28505
|
-
url: toPathString(localVarUrlObj),
|
|
28506
|
-
options: localVarRequestOptions,
|
|
28507
|
-
};
|
|
28508
|
-
},
|
|
28509
26653
|
/**
|
|
28510
26654
|
*
|
|
28511
26655
|
* @summary Get admin transaction history
|
|
@@ -28759,18 +26903,6 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
|
|
|
28759
26903
|
export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration) {
|
|
28760
26904
|
const localVarAxiosParamCreator = LoyaltyIntegerationsApiAxiosParamCreator(configuration)
|
|
28761
26905
|
return {
|
|
28762
|
-
/**
|
|
28763
|
-
*
|
|
28764
|
-
* @summary Create loyalty user
|
|
28765
|
-
* @param {number} businessId
|
|
28766
|
-
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
28767
|
-
* @param {*} [options] Override http request option.
|
|
28768
|
-
* @throws {RequiredError}
|
|
28769
|
-
*/
|
|
28770
|
-
async createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLoyaltyProgramUserResponseDto>> {
|
|
28771
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createLoyaltyUser(businessId, createLoyaltyProgramUserDto, options);
|
|
28772
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28773
|
-
},
|
|
28774
26906
|
/**
|
|
28775
26907
|
*
|
|
28776
26908
|
* @summary Get admin transaction history
|
|
@@ -28843,17 +26975,6 @@ export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration)
|
|
|
28843
26975
|
export const LoyaltyIntegerationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
28844
26976
|
const localVarFp = LoyaltyIntegerationsApiFp(configuration)
|
|
28845
26977
|
return {
|
|
28846
|
-
/**
|
|
28847
|
-
*
|
|
28848
|
-
* @summary Create loyalty user
|
|
28849
|
-
* @param {number} businessId
|
|
28850
|
-
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
28851
|
-
* @param {*} [options] Override http request option.
|
|
28852
|
-
* @throws {RequiredError}
|
|
28853
|
-
*/
|
|
28854
|
-
createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: any): AxiosPromise<CreateLoyaltyProgramUserResponseDto> {
|
|
28855
|
-
return localVarFp.createLoyaltyUser(businessId, createLoyaltyProgramUserDto, options).then((request) => request(axios, basePath));
|
|
28856
|
-
},
|
|
28857
26978
|
/**
|
|
28858
26979
|
*
|
|
28859
26980
|
* @summary Get admin transaction history
|
|
@@ -28920,17 +27041,6 @@ export const LoyaltyIntegerationsApiFactory = function (configuration?: Configur
|
|
|
28920
27041
|
* @interface LoyaltyIntegerationsApi
|
|
28921
27042
|
*/
|
|
28922
27043
|
export interface LoyaltyIntegerationsApiInterface {
|
|
28923
|
-
/**
|
|
28924
|
-
*
|
|
28925
|
-
* @summary Create loyalty user
|
|
28926
|
-
* @param {number} businessId
|
|
28927
|
-
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
28928
|
-
* @param {*} [options] Override http request option.
|
|
28929
|
-
* @throws {RequiredError}
|
|
28930
|
-
* @memberof LoyaltyIntegerationsApiInterface
|
|
28931
|
-
*/
|
|
28932
|
-
createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): AxiosPromise<CreateLoyaltyProgramUserResponseDto>;
|
|
28933
|
-
|
|
28934
27044
|
/**
|
|
28935
27045
|
*
|
|
28936
27046
|
* @summary Get admin transaction history
|
|
@@ -28997,19 +27107,6 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
28997
27107
|
* @extends {BaseAPI}
|
|
28998
27108
|
*/
|
|
28999
27109
|
export class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerationsApiInterface {
|
|
29000
|
-
/**
|
|
29001
|
-
*
|
|
29002
|
-
* @summary Create loyalty user
|
|
29003
|
-
* @param {number} businessId
|
|
29004
|
-
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
29005
|
-
* @param {*} [options] Override http request option.
|
|
29006
|
-
* @throws {RequiredError}
|
|
29007
|
-
* @memberof LoyaltyIntegerationsApi
|
|
29008
|
-
*/
|
|
29009
|
-
public createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig) {
|
|
29010
|
-
return LoyaltyIntegerationsApiFp(this.configuration).createLoyaltyUser(businessId, createLoyaltyProgramUserDto, options).then((request) => request(this.axios, this.basePath));
|
|
29011
|
-
}
|
|
29012
|
-
|
|
29013
27110
|
/**
|
|
29014
27111
|
*
|
|
29015
27112
|
* @summary Get admin transaction history
|
|
@@ -30049,129 +28146,6 @@ export class NotificationApi extends BaseAPI implements NotificationApiInterface
|
|
|
30049
28146
|
}
|
|
30050
28147
|
|
|
30051
28148
|
|
|
30052
|
-
/**
|
|
30053
|
-
* OrderInternalApi - axios parameter creator
|
|
30054
|
-
* @export
|
|
30055
|
-
*/
|
|
30056
|
-
export const OrderInternalApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30057
|
-
return {
|
|
30058
|
-
/**
|
|
30059
|
-
*
|
|
30060
|
-
* @summary Get order data by external ID for internal microservice communication
|
|
30061
|
-
* @param {string} externalId
|
|
30062
|
-
* @param {*} [options] Override http request option.
|
|
30063
|
-
* @throws {RequiredError}
|
|
30064
|
-
*/
|
|
30065
|
-
findOneByExternalId: async (externalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30066
|
-
// verify required parameter 'externalId' is not null or undefined
|
|
30067
|
-
assertParamExists('findOneByExternalId', 'externalId', externalId)
|
|
30068
|
-
const localVarPath = `/api/v1/orders/internal/{externalId}`
|
|
30069
|
-
.replace(`{${"externalId"}}`, encodeURIComponent(String(externalId)));
|
|
30070
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30071
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30072
|
-
let baseOptions;
|
|
30073
|
-
if (configuration) {
|
|
30074
|
-
baseOptions = configuration.baseOptions;
|
|
30075
|
-
}
|
|
30076
|
-
|
|
30077
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30078
|
-
const localVarHeaderParameter = {} as any;
|
|
30079
|
-
const localVarQueryParameter = {} as any;
|
|
30080
|
-
|
|
30081
|
-
|
|
30082
|
-
|
|
30083
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30084
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30085
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30086
|
-
|
|
30087
|
-
return {
|
|
30088
|
-
url: toPathString(localVarUrlObj),
|
|
30089
|
-
options: localVarRequestOptions,
|
|
30090
|
-
};
|
|
30091
|
-
},
|
|
30092
|
-
}
|
|
30093
|
-
};
|
|
30094
|
-
|
|
30095
|
-
/**
|
|
30096
|
-
* OrderInternalApi - functional programming interface
|
|
30097
|
-
* @export
|
|
30098
|
-
*/
|
|
30099
|
-
export const OrderInternalApiFp = function(configuration?: Configuration) {
|
|
30100
|
-
const localVarAxiosParamCreator = OrderInternalApiAxiosParamCreator(configuration)
|
|
30101
|
-
return {
|
|
30102
|
-
/**
|
|
30103
|
-
*
|
|
30104
|
-
* @summary Get order data by external ID for internal microservice communication
|
|
30105
|
-
* @param {string} externalId
|
|
30106
|
-
* @param {*} [options] Override http request option.
|
|
30107
|
-
* @throws {RequiredError}
|
|
30108
|
-
*/
|
|
30109
|
-
async findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
30110
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.findOneByExternalId(externalId, options);
|
|
30111
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30112
|
-
},
|
|
30113
|
-
}
|
|
30114
|
-
};
|
|
30115
|
-
|
|
30116
|
-
/**
|
|
30117
|
-
* OrderInternalApi - factory interface
|
|
30118
|
-
* @export
|
|
30119
|
-
*/
|
|
30120
|
-
export const OrderInternalApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30121
|
-
const localVarFp = OrderInternalApiFp(configuration)
|
|
30122
|
-
return {
|
|
30123
|
-
/**
|
|
30124
|
-
*
|
|
30125
|
-
* @summary Get order data by external ID for internal microservice communication
|
|
30126
|
-
* @param {string} externalId
|
|
30127
|
-
* @param {*} [options] Override http request option.
|
|
30128
|
-
* @throws {RequiredError}
|
|
30129
|
-
*/
|
|
30130
|
-
findOneByExternalId(externalId: string, options?: any): AxiosPromise<void> {
|
|
30131
|
-
return localVarFp.findOneByExternalId(externalId, options).then((request) => request(axios, basePath));
|
|
30132
|
-
},
|
|
30133
|
-
};
|
|
30134
|
-
};
|
|
30135
|
-
|
|
30136
|
-
/**
|
|
30137
|
-
* OrderInternalApi - interface
|
|
30138
|
-
* @export
|
|
30139
|
-
* @interface OrderInternalApi
|
|
30140
|
-
*/
|
|
30141
|
-
export interface OrderInternalApiInterface {
|
|
30142
|
-
/**
|
|
30143
|
-
*
|
|
30144
|
-
* @summary Get order data by external ID for internal microservice communication
|
|
30145
|
-
* @param {string} externalId
|
|
30146
|
-
* @param {*} [options] Override http request option.
|
|
30147
|
-
* @throws {RequiredError}
|
|
30148
|
-
* @memberof OrderInternalApiInterface
|
|
30149
|
-
*/
|
|
30150
|
-
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
30151
|
-
|
|
30152
|
-
}
|
|
30153
|
-
|
|
30154
|
-
/**
|
|
30155
|
-
* OrderInternalApi - object-oriented interface
|
|
30156
|
-
* @export
|
|
30157
|
-
* @class OrderInternalApi
|
|
30158
|
-
* @extends {BaseAPI}
|
|
30159
|
-
*/
|
|
30160
|
-
export class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
|
|
30161
|
-
/**
|
|
30162
|
-
*
|
|
30163
|
-
* @summary Get order data by external ID for internal microservice communication
|
|
30164
|
-
* @param {string} externalId
|
|
30165
|
-
* @param {*} [options] Override http request option.
|
|
30166
|
-
* @throws {RequiredError}
|
|
30167
|
-
* @memberof OrderInternalApi
|
|
30168
|
-
*/
|
|
30169
|
-
public findOneByExternalId(externalId: string, options?: AxiosRequestConfig) {
|
|
30170
|
-
return OrderInternalApiFp(this.configuration).findOneByExternalId(externalId, options).then((request) => request(this.axios, this.basePath));
|
|
30171
|
-
}
|
|
30172
|
-
}
|
|
30173
|
-
|
|
30174
|
-
|
|
30175
28149
|
/**
|
|
30176
28150
|
* OrderingCoApi - axios parameter creator
|
|
30177
28151
|
* @export
|
|
@@ -30512,10 +28486,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
30512
28486
|
const localVarHeaderParameter = {} as any;
|
|
30513
28487
|
const localVarQueryParameter = {} as any;
|
|
30514
28488
|
|
|
30515
|
-
if (businessIds !== undefined) {
|
|
30516
|
-
localVarQueryParameter['businessIds'] = businessIds;
|
|
30517
|
-
}
|
|
30518
|
-
|
|
30519
28489
|
if (posBusinessId !== undefined) {
|
|
30520
28490
|
localVarQueryParameter['posBusinessId'] = posBusinessId;
|
|
30521
28491
|
}
|
|
@@ -30524,6 +28494,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
30524
28494
|
localVarQueryParameter['extraProvider'] = extraProvider;
|
|
30525
28495
|
}
|
|
30526
28496
|
|
|
28497
|
+
if (businessIds !== undefined) {
|
|
28498
|
+
localVarQueryParameter['businessIds'] = businessIds;
|
|
28499
|
+
}
|
|
28500
|
+
|
|
30527
28501
|
|
|
30528
28502
|
|
|
30529
28503
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -34972,6 +32946,41 @@ export const StationsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34972
32946
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34973
32947
|
localVarRequestOptions.data = serializeDataIfNeeded(syncStationDto, localVarRequestOptions, configuration)
|
|
34974
32948
|
|
|
32949
|
+
return {
|
|
32950
|
+
url: toPathString(localVarUrlObj),
|
|
32951
|
+
options: localVarRequestOptions,
|
|
32952
|
+
};
|
|
32953
|
+
},
|
|
32954
|
+
/**
|
|
32955
|
+
*
|
|
32956
|
+
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
32957
|
+
* @param {*} [options] Override http request option.
|
|
32958
|
+
* @throws {RequiredError}
|
|
32959
|
+
*/
|
|
32960
|
+
syncTerminal: async (syncTerminalDto: SyncTerminalDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32961
|
+
// verify required parameter 'syncTerminalDto' is not null or undefined
|
|
32962
|
+
assertParamExists('syncTerminal', 'syncTerminalDto', syncTerminalDto)
|
|
32963
|
+
const localVarPath = `/api/v1/station/terminal/sync`;
|
|
32964
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32965
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32966
|
+
let baseOptions;
|
|
32967
|
+
if (configuration) {
|
|
32968
|
+
baseOptions = configuration.baseOptions;
|
|
32969
|
+
}
|
|
32970
|
+
|
|
32971
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
32972
|
+
const localVarHeaderParameter = {} as any;
|
|
32973
|
+
const localVarQueryParameter = {} as any;
|
|
32974
|
+
|
|
32975
|
+
|
|
32976
|
+
|
|
32977
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32978
|
+
|
|
32979
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32980
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32981
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32982
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncTerminalDto, localVarRequestOptions, configuration)
|
|
32983
|
+
|
|
34975
32984
|
return {
|
|
34976
32985
|
url: toPathString(localVarUrlObj),
|
|
34977
32986
|
options: localVarRequestOptions,
|
|
@@ -35015,6 +33024,16 @@ export const StationsApiFp = function(configuration?: Configuration) {
|
|
|
35015
33024
|
const localVarAxiosArgs = await localVarAxiosParamCreator.syncStation(syncStationDto, options);
|
|
35016
33025
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35017
33026
|
},
|
|
33027
|
+
/**
|
|
33028
|
+
*
|
|
33029
|
+
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
33030
|
+
* @param {*} [options] Override http request option.
|
|
33031
|
+
* @throws {RequiredError}
|
|
33032
|
+
*/
|
|
33033
|
+
async syncTerminal(syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StationSyncResponseDto>> {
|
|
33034
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncTerminal(syncTerminalDto, options);
|
|
33035
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33036
|
+
},
|
|
35018
33037
|
}
|
|
35019
33038
|
};
|
|
35020
33039
|
|
|
@@ -35050,6 +33069,15 @@ export const StationsApiFactory = function (configuration?: Configuration, baseP
|
|
|
35050
33069
|
syncStation(syncStationDto: SyncStationDto, options?: any): AxiosPromise<StationSyncResponseDto> {
|
|
35051
33070
|
return localVarFp.syncStation(syncStationDto, options).then((request) => request(axios, basePath));
|
|
35052
33071
|
},
|
|
33072
|
+
/**
|
|
33073
|
+
*
|
|
33074
|
+
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
33075
|
+
* @param {*} [options] Override http request option.
|
|
33076
|
+
* @throws {RequiredError}
|
|
33077
|
+
*/
|
|
33078
|
+
syncTerminal(syncTerminalDto: SyncTerminalDto, options?: any): AxiosPromise<StationSyncResponseDto> {
|
|
33079
|
+
return localVarFp.syncTerminal(syncTerminalDto, options).then((request) => request(axios, basePath));
|
|
33080
|
+
},
|
|
35053
33081
|
};
|
|
35054
33082
|
};
|
|
35055
33083
|
|
|
@@ -35084,6 +33112,15 @@ export interface StationsApiInterface {
|
|
|
35084
33112
|
*/
|
|
35085
33113
|
syncStation(syncStationDto: SyncStationDto, options?: AxiosRequestConfig): AxiosPromise<StationSyncResponseDto>;
|
|
35086
33114
|
|
|
33115
|
+
/**
|
|
33116
|
+
*
|
|
33117
|
+
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
33118
|
+
* @param {*} [options] Override http request option.
|
|
33119
|
+
* @throws {RequiredError}
|
|
33120
|
+
* @memberof StationsApiInterface
|
|
33121
|
+
*/
|
|
33122
|
+
syncTerminal(syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig): AxiosPromise<StationSyncResponseDto>;
|
|
33123
|
+
|
|
35087
33124
|
}
|
|
35088
33125
|
|
|
35089
33126
|
/**
|
|
@@ -35123,6 +33160,17 @@ export class StationsApi extends BaseAPI implements StationsApiInterface {
|
|
|
35123
33160
|
public syncStation(syncStationDto: SyncStationDto, options?: AxiosRequestConfig) {
|
|
35124
33161
|
return StationsApiFp(this.configuration).syncStation(syncStationDto, options).then((request) => request(this.axios, this.basePath));
|
|
35125
33162
|
}
|
|
33163
|
+
|
|
33164
|
+
/**
|
|
33165
|
+
*
|
|
33166
|
+
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
33167
|
+
* @param {*} [options] Override http request option.
|
|
33168
|
+
* @throws {RequiredError}
|
|
33169
|
+
* @memberof StationsApi
|
|
33170
|
+
*/
|
|
33171
|
+
public syncTerminal(syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig) {
|
|
33172
|
+
return StationsApiFp(this.configuration).syncTerminal(syncTerminalDto, options).then((request) => request(this.axios, this.basePath));
|
|
33173
|
+
}
|
|
35126
33174
|
}
|
|
35127
33175
|
|
|
35128
33176
|
|
|
@@ -35505,7 +33553,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
35505
33553
|
* @param {*} [options] Override http request option.
|
|
35506
33554
|
* @throws {RequiredError}
|
|
35507
33555
|
*/
|
|
35508
|
-
|
|
33556
|
+
getUserBusiness: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35509
33557
|
const localVarPath = `/api/v1/user/business`;
|
|
35510
33558
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35511
33559
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35524,40 +33572,6 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
35524
33572
|
|
|
35525
33573
|
|
|
35526
33574
|
|
|
35527
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35528
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35529
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35530
|
-
|
|
35531
|
-
return {
|
|
35532
|
-
url: toPathString(localVarUrlObj),
|
|
35533
|
-
options: localVarRequestOptions,
|
|
35534
|
-
};
|
|
35535
|
-
},
|
|
35536
|
-
/**
|
|
35537
|
-
*
|
|
35538
|
-
* @summary Retrieve user Business information with KDS profiles
|
|
35539
|
-
* @param {*} [options] Override http request option.
|
|
35540
|
-
* @throws {RequiredError}
|
|
35541
|
-
*/
|
|
35542
|
-
getUserBusinessV2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35543
|
-
const localVarPath = `/api/v2/user/business`;
|
|
35544
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35545
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35546
|
-
let baseOptions;
|
|
35547
|
-
if (configuration) {
|
|
35548
|
-
baseOptions = configuration.baseOptions;
|
|
35549
|
-
}
|
|
35550
|
-
|
|
35551
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35552
|
-
const localVarHeaderParameter = {} as any;
|
|
35553
|
-
const localVarQueryParameter = {} as any;
|
|
35554
|
-
|
|
35555
|
-
// authentication JWT-auth required
|
|
35556
|
-
// http bearer authentication required
|
|
35557
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35558
|
-
|
|
35559
|
-
|
|
35560
|
-
|
|
35561
33575
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35562
33576
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35563
33577
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -35573,7 +33587,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
35573
33587
|
* @param {*} [options] Override http request option.
|
|
35574
33588
|
* @throws {RequiredError}
|
|
35575
33589
|
*/
|
|
35576
|
-
|
|
33590
|
+
getUserInfo: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35577
33591
|
const localVarPath = `/api/v1/user`;
|
|
35578
33592
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35579
33593
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35617,18 +33631,8 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
35617
33631
|
* @param {*} [options] Override http request option.
|
|
35618
33632
|
* @throws {RequiredError}
|
|
35619
33633
|
*/
|
|
35620
|
-
async
|
|
35621
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35622
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35623
|
-
},
|
|
35624
|
-
/**
|
|
35625
|
-
*
|
|
35626
|
-
* @summary Retrieve user Business information with KDS profiles
|
|
35627
|
-
* @param {*} [options] Override http request option.
|
|
35628
|
-
* @throws {RequiredError}
|
|
35629
|
-
*/
|
|
35630
|
-
async getUserBusinessV2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoV2ResponseDto>>> {
|
|
35631
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBusinessV2(options);
|
|
33634
|
+
async getUserBusiness(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>> {
|
|
33635
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBusiness(options);
|
|
35632
33636
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35633
33637
|
},
|
|
35634
33638
|
/**
|
|
@@ -35637,8 +33641,8 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
35637
33641
|
* @param {*} [options] Override http request option.
|
|
35638
33642
|
* @throws {RequiredError}
|
|
35639
33643
|
*/
|
|
35640
|
-
async
|
|
35641
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33644
|
+
async getUserInfo(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>> {
|
|
33645
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserInfo(options);
|
|
35642
33646
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35643
33647
|
},
|
|
35644
33648
|
}
|
|
@@ -35657,17 +33661,8 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
35657
33661
|
* @param {*} [options] Override http request option.
|
|
35658
33662
|
* @throws {RequiredError}
|
|
35659
33663
|
*/
|
|
35660
|
-
|
|
35661
|
-
return localVarFp.
|
|
35662
|
-
},
|
|
35663
|
-
/**
|
|
35664
|
-
*
|
|
35665
|
-
* @summary Retrieve user Business information with KDS profiles
|
|
35666
|
-
* @param {*} [options] Override http request option.
|
|
35667
|
-
* @throws {RequiredError}
|
|
35668
|
-
*/
|
|
35669
|
-
getUserBusinessV2(options?: any): AxiosPromise<Array<BusinessInfoV2ResponseDto>> {
|
|
35670
|
-
return localVarFp.getUserBusinessV2(options).then((request) => request(axios, basePath));
|
|
33664
|
+
getUserBusiness(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>> {
|
|
33665
|
+
return localVarFp.getUserBusiness(options).then((request) => request(axios, basePath));
|
|
35671
33666
|
},
|
|
35672
33667
|
/**
|
|
35673
33668
|
*
|
|
@@ -35675,8 +33670,8 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
35675
33670
|
* @param {*} [options] Override http request option.
|
|
35676
33671
|
* @throws {RequiredError}
|
|
35677
33672
|
*/
|
|
35678
|
-
|
|
35679
|
-
return localVarFp.
|
|
33673
|
+
getUserInfo(options?: any): AxiosPromise<GetUserInfoResponseDto> {
|
|
33674
|
+
return localVarFp.getUserInfo(options).then((request) => request(axios, basePath));
|
|
35680
33675
|
},
|
|
35681
33676
|
};
|
|
35682
33677
|
};
|
|
@@ -35694,16 +33689,7 @@ export interface UserApiInterface {
|
|
|
35694
33689
|
* @throws {RequiredError}
|
|
35695
33690
|
* @memberof UserApiInterface
|
|
35696
33691
|
*/
|
|
35697
|
-
|
|
35698
|
-
|
|
35699
|
-
/**
|
|
35700
|
-
*
|
|
35701
|
-
* @summary Retrieve user Business information with KDS profiles
|
|
35702
|
-
* @param {*} [options] Override http request option.
|
|
35703
|
-
* @throws {RequiredError}
|
|
35704
|
-
* @memberof UserApiInterface
|
|
35705
|
-
*/
|
|
35706
|
-
getUserBusinessV2(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
|
|
33692
|
+
getUserBusiness(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
|
|
35707
33693
|
|
|
35708
33694
|
/**
|
|
35709
33695
|
*
|
|
@@ -35712,7 +33698,7 @@ export interface UserApiInterface {
|
|
|
35712
33698
|
* @throws {RequiredError}
|
|
35713
33699
|
* @memberof UserApiInterface
|
|
35714
33700
|
*/
|
|
35715
|
-
|
|
33701
|
+
getUserInfo(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
|
|
35716
33702
|
|
|
35717
33703
|
}
|
|
35718
33704
|
|
|
@@ -35730,19 +33716,8 @@ export class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
35730
33716
|
* @throws {RequiredError}
|
|
35731
33717
|
* @memberof UserApi
|
|
35732
33718
|
*/
|
|
35733
|
-
public
|
|
35734
|
-
return UserApiFp(this.configuration).
|
|
35735
|
-
}
|
|
35736
|
-
|
|
35737
|
-
/**
|
|
35738
|
-
*
|
|
35739
|
-
* @summary Retrieve user Business information with KDS profiles
|
|
35740
|
-
* @param {*} [options] Override http request option.
|
|
35741
|
-
* @throws {RequiredError}
|
|
35742
|
-
* @memberof UserApi
|
|
35743
|
-
*/
|
|
35744
|
-
public getUserBusinessV2(options?: AxiosRequestConfig) {
|
|
35745
|
-
return UserApiFp(this.configuration).getUserBusinessV2(options).then((request) => request(this.axios, this.basePath));
|
|
33719
|
+
public getUserBusiness(options?: AxiosRequestConfig) {
|
|
33720
|
+
return UserApiFp(this.configuration).getUserBusiness(options).then((request) => request(this.axios, this.basePath));
|
|
35746
33721
|
}
|
|
35747
33722
|
|
|
35748
33723
|
/**
|
|
@@ -35752,8 +33727,8 @@ export class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
35752
33727
|
* @throws {RequiredError}
|
|
35753
33728
|
* @memberof UserApi
|
|
35754
33729
|
*/
|
|
35755
|
-
public
|
|
35756
|
-
return UserApiFp(this.configuration).
|
|
33730
|
+
public getUserInfo(options?: AxiosRequestConfig) {
|
|
33731
|
+
return UserApiFp(this.configuration).getUserInfo(options).then((request) => request(this.axios, this.basePath));
|
|
35757
33732
|
}
|
|
35758
33733
|
}
|
|
35759
33734
|
|