@munchi_oy/core 1.9.2 → 1.9.4
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 +2361 -334
- 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 +3033 -528
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -13,6 +13,16 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
export declare const ABLYEVENT: {
|
|
22
|
+
readonly Sync: "sync";
|
|
23
|
+
readonly KdsItemStatusSync: "kds_item_status_sync";
|
|
24
|
+
};
|
|
25
|
+
export type ABLYEVENT = typeof ABLYEVENT[keyof typeof ABLYEVENT];
|
|
16
26
|
/**
|
|
17
27
|
*
|
|
18
28
|
* @export
|
|
@@ -409,7 +419,19 @@ export interface BusinessCategoryBodyDto {
|
|
|
409
419
|
* @memberof BusinessCategoryBodyDto
|
|
410
420
|
*/
|
|
411
421
|
'cid': Array<number>;
|
|
422
|
+
/**
|
|
423
|
+
* Optional menu type used to apply menu-specific product filters
|
|
424
|
+
* @type {string}
|
|
425
|
+
* @memberof BusinessCategoryBodyDto
|
|
426
|
+
*/
|
|
427
|
+
'menuType'?: MenuTypeEnum;
|
|
412
428
|
}
|
|
429
|
+
export declare const MenuTypeEnum: {
|
|
430
|
+
readonly Pos: "pos";
|
|
431
|
+
readonly Kiosk: "kiosk";
|
|
432
|
+
readonly Ayce: "ayce";
|
|
433
|
+
};
|
|
434
|
+
export type MenuTypeEnum = typeof MenuTypeEnum[keyof typeof MenuTypeEnum];
|
|
413
435
|
/**
|
|
414
436
|
*
|
|
415
437
|
* @export
|
|
@@ -494,6 +516,12 @@ export interface BusinessConfigResponseDto {
|
|
|
494
516
|
* @memberof BusinessConfigResponseDto
|
|
495
517
|
*/
|
|
496
518
|
'hasInvoiceCompany': boolean;
|
|
519
|
+
/**
|
|
520
|
+
* Whether POS orders should be hidden from OM for this business.
|
|
521
|
+
* @type {boolean}
|
|
522
|
+
* @memberof BusinessConfigResponseDto
|
|
523
|
+
*/
|
|
524
|
+
'hidePosOrdersInOm': boolean;
|
|
497
525
|
}
|
|
498
526
|
/**
|
|
499
527
|
* Business data attached
|
|
@@ -921,6 +949,61 @@ export interface BusinessInfoResponseDtoLoyaltyPlan {
|
|
|
921
949
|
*/
|
|
922
950
|
'expire_after_minutes': number | null;
|
|
923
951
|
}
|
|
952
|
+
/**
|
|
953
|
+
*
|
|
954
|
+
* @export
|
|
955
|
+
* @interface BusinessInfoV2ResponseDto
|
|
956
|
+
*/
|
|
957
|
+
export interface BusinessInfoV2ResponseDto {
|
|
958
|
+
/**
|
|
959
|
+
* The ID of the business
|
|
960
|
+
* @type {number}
|
|
961
|
+
* @memberof BusinessInfoV2ResponseDto
|
|
962
|
+
*/
|
|
963
|
+
'businessId': number;
|
|
964
|
+
/**
|
|
965
|
+
* The name of the business
|
|
966
|
+
* @type {string}
|
|
967
|
+
* @memberof BusinessInfoV2ResponseDto
|
|
968
|
+
*/
|
|
969
|
+
'businessName': string;
|
|
970
|
+
/**
|
|
971
|
+
* The URL of the business logo
|
|
972
|
+
* @type {string}
|
|
973
|
+
* @memberof BusinessInfoV2ResponseDto
|
|
974
|
+
*/
|
|
975
|
+
'logoUrl': string | null;
|
|
976
|
+
/**
|
|
977
|
+
* The phone of the business
|
|
978
|
+
* @type {string}
|
|
979
|
+
* @memberof BusinessInfoV2ResponseDto
|
|
980
|
+
*/
|
|
981
|
+
'phone'?: string | null;
|
|
982
|
+
/**
|
|
983
|
+
*
|
|
984
|
+
* @type {BusinessInfoResponseDtoLoyaltyPlan}
|
|
985
|
+
* @memberof BusinessInfoV2ResponseDto
|
|
986
|
+
*/
|
|
987
|
+
'loyaltyPlan': BusinessInfoResponseDtoLoyaltyPlan | null;
|
|
988
|
+
/**
|
|
989
|
+
*
|
|
990
|
+
* @type {BusinessInfoResponseDtoDetail}
|
|
991
|
+
* @memberof BusinessInfoV2ResponseDto
|
|
992
|
+
*/
|
|
993
|
+
'detail': BusinessInfoResponseDtoDetail;
|
|
994
|
+
/**
|
|
995
|
+
* Email address of the business
|
|
996
|
+
* @type {string}
|
|
997
|
+
* @memberof BusinessInfoV2ResponseDto
|
|
998
|
+
*/
|
|
999
|
+
'businessEmail': string | null;
|
|
1000
|
+
/**
|
|
1001
|
+
* KDS profiles linked to the business
|
|
1002
|
+
* @type {Array<KdsProfileResponseDto>}
|
|
1003
|
+
* @memberof BusinessInfoV2ResponseDto
|
|
1004
|
+
*/
|
|
1005
|
+
'kdsProfiles': Array<KdsProfileResponseDto>;
|
|
1006
|
+
}
|
|
924
1007
|
/**
|
|
925
1008
|
*
|
|
926
1009
|
* @export
|
|
@@ -1046,6 +1129,25 @@ export interface BusinessPermissionResponseDto {
|
|
|
1046
1129
|
*/
|
|
1047
1130
|
'updatedAt': string;
|
|
1048
1131
|
}
|
|
1132
|
+
/**
|
|
1133
|
+
*
|
|
1134
|
+
* @export
|
|
1135
|
+
* @interface BusinessProvidersSupportedIntegrationsResponseDto
|
|
1136
|
+
*/
|
|
1137
|
+
export interface BusinessProvidersSupportedIntegrationsResponseDto {
|
|
1138
|
+
/**
|
|
1139
|
+
* Business ID
|
|
1140
|
+
* @type {number}
|
|
1141
|
+
* @memberof BusinessProvidersSupportedIntegrationsResponseDto
|
|
1142
|
+
*/
|
|
1143
|
+
'businessId': number;
|
|
1144
|
+
/**
|
|
1145
|
+
* Providers and their supported integrations for this business
|
|
1146
|
+
* @type {Array<ProviderSupportedIntegrationsDto>}
|
|
1147
|
+
* @memberof BusinessProvidersSupportedIntegrationsResponseDto
|
|
1148
|
+
*/
|
|
1149
|
+
'providers': Array<ProviderSupportedIntegrationsDto>;
|
|
1150
|
+
}
|
|
1049
1151
|
/**
|
|
1050
1152
|
*
|
|
1051
1153
|
* @export
|
|
@@ -2546,52 +2648,52 @@ export interface CompletedStepDto {
|
|
|
2546
2648
|
export interface ConditionPayloadDto {
|
|
2547
2649
|
/**
|
|
2548
2650
|
*
|
|
2549
|
-
* @type {
|
|
2651
|
+
* @type {string}
|
|
2550
2652
|
* @memberof ConditionPayloadDto
|
|
2551
2653
|
*/
|
|
2552
|
-
'startUtc'?:
|
|
2654
|
+
'startUtc'?: string | null;
|
|
2553
2655
|
/**
|
|
2554
2656
|
*
|
|
2555
|
-
* @type {
|
|
2657
|
+
* @type {string}
|
|
2556
2658
|
* @memberof ConditionPayloadDto
|
|
2557
2659
|
*/
|
|
2558
|
-
'endUtc'?:
|
|
2660
|
+
'endUtc'?: string | null;
|
|
2559
2661
|
/**
|
|
2560
2662
|
*
|
|
2561
|
-
* @type {
|
|
2663
|
+
* @type {Array<number>}
|
|
2562
2664
|
* @memberof ConditionPayloadDto
|
|
2563
2665
|
*/
|
|
2564
|
-
'days'?:
|
|
2666
|
+
'days'?: Array<number> | null;
|
|
2565
2667
|
/**
|
|
2566
2668
|
*
|
|
2567
|
-
* @type {
|
|
2669
|
+
* @type {string}
|
|
2568
2670
|
* @memberof ConditionPayloadDto
|
|
2569
2671
|
*/
|
|
2570
|
-
'from'?:
|
|
2672
|
+
'from'?: string | null;
|
|
2571
2673
|
/**
|
|
2572
2674
|
*
|
|
2573
|
-
* @type {
|
|
2675
|
+
* @type {string}
|
|
2574
2676
|
* @memberof ConditionPayloadDto
|
|
2575
2677
|
*/
|
|
2576
|
-
'to'?:
|
|
2678
|
+
'to'?: string | null;
|
|
2577
2679
|
/**
|
|
2578
2680
|
*
|
|
2579
|
-
* @type {
|
|
2681
|
+
* @type {number}
|
|
2580
2682
|
* @memberof ConditionPayloadDto
|
|
2581
2683
|
*/
|
|
2582
|
-
'minValue'?:
|
|
2684
|
+
'minValue'?: number | null;
|
|
2583
2685
|
/**
|
|
2584
2686
|
*
|
|
2585
|
-
* @type {
|
|
2687
|
+
* @type {number}
|
|
2586
2688
|
* @memberof ConditionPayloadDto
|
|
2587
2689
|
*/
|
|
2588
|
-
'maxValue'?:
|
|
2690
|
+
'maxValue'?: number | null;
|
|
2589
2691
|
/**
|
|
2590
2692
|
*
|
|
2591
|
-
* @type {
|
|
2693
|
+
* @type {Array<number>}
|
|
2592
2694
|
* @memberof ConditionPayloadDto
|
|
2593
2695
|
*/
|
|
2594
|
-
'productIds'?:
|
|
2696
|
+
'productIds'?: Array<number> | null;
|
|
2595
2697
|
}
|
|
2596
2698
|
/**
|
|
2597
2699
|
*
|
|
@@ -2790,6 +2892,17 @@ export interface ConnectTerminalDto {
|
|
|
2790
2892
|
*/
|
|
2791
2893
|
'terminalHardwareId': string;
|
|
2792
2894
|
}
|
|
2895
|
+
/**
|
|
2896
|
+
*
|
|
2897
|
+
* @export
|
|
2898
|
+
* @enum {string}
|
|
2899
|
+
*/
|
|
2900
|
+
export declare const ConsumptionType: {
|
|
2901
|
+
readonly Delivery: "DELIVERY";
|
|
2902
|
+
readonly Pickup: "PICKUP";
|
|
2903
|
+
readonly DineIn: "DINE_IN";
|
|
2904
|
+
};
|
|
2905
|
+
export type ConsumptionType = typeof ConsumptionType[keyof typeof ConsumptionType];
|
|
2793
2906
|
/**
|
|
2794
2907
|
*
|
|
2795
2908
|
* @export
|
|
@@ -2920,6 +3033,68 @@ export interface CreateInvoiceCompanyDto {
|
|
|
2920
3033
|
*/
|
|
2921
3034
|
'address'?: string;
|
|
2922
3035
|
}
|
|
3036
|
+
/**
|
|
3037
|
+
*
|
|
3038
|
+
* @export
|
|
3039
|
+
* @interface CreateLoyaltyProgramUserDto
|
|
3040
|
+
*/
|
|
3041
|
+
export interface CreateLoyaltyProgramUserDto {
|
|
3042
|
+
/**
|
|
3043
|
+
*
|
|
3044
|
+
* @type {string}
|
|
3045
|
+
* @memberof CreateLoyaltyProgramUserDto
|
|
3046
|
+
*/
|
|
3047
|
+
'first_name': string;
|
|
3048
|
+
/**
|
|
3049
|
+
*
|
|
3050
|
+
* @type {string}
|
|
3051
|
+
* @memberof CreateLoyaltyProgramUserDto
|
|
3052
|
+
*/
|
|
3053
|
+
'last_name': string;
|
|
3054
|
+
/**
|
|
3055
|
+
*
|
|
3056
|
+
* @type {string}
|
|
3057
|
+
* @memberof CreateLoyaltyProgramUserDto
|
|
3058
|
+
*/
|
|
3059
|
+
'email': string;
|
|
3060
|
+
/**
|
|
3061
|
+
*
|
|
3062
|
+
* @type {string}
|
|
3063
|
+
* @memberof CreateLoyaltyProgramUserDto
|
|
3064
|
+
*/
|
|
3065
|
+
'country_code': string;
|
|
3066
|
+
/**
|
|
3067
|
+
*
|
|
3068
|
+
* @type {string}
|
|
3069
|
+
* @memberof CreateLoyaltyProgramUserDto
|
|
3070
|
+
*/
|
|
3071
|
+
'phone': string;
|
|
3072
|
+
/**
|
|
3073
|
+
*
|
|
3074
|
+
* @type {string}
|
|
3075
|
+
* @memberof CreateLoyaltyProgramUserDto
|
|
3076
|
+
*/
|
|
3077
|
+
'date_of_birth'?: string;
|
|
3078
|
+
}
|
|
3079
|
+
/**
|
|
3080
|
+
*
|
|
3081
|
+
* @export
|
|
3082
|
+
* @interface CreateLoyaltyProgramUserResponseDto
|
|
3083
|
+
*/
|
|
3084
|
+
export interface CreateLoyaltyProgramUserResponseDto {
|
|
3085
|
+
/**
|
|
3086
|
+
*
|
|
3087
|
+
* @type {ProgramUserDto}
|
|
3088
|
+
* @memberof CreateLoyaltyProgramUserResponseDto
|
|
3089
|
+
*/
|
|
3090
|
+
'user': ProgramUserDto;
|
|
3091
|
+
/**
|
|
3092
|
+
*
|
|
3093
|
+
* @type {LoyaltyAccountDto}
|
|
3094
|
+
* @memberof CreateLoyaltyProgramUserResponseDto
|
|
3095
|
+
*/
|
|
3096
|
+
'loyaltyAccount': LoyaltyAccountDto;
|
|
3097
|
+
}
|
|
2923
3098
|
/**
|
|
2924
3099
|
*
|
|
2925
3100
|
* @export
|
|
@@ -3564,10 +3739,10 @@ export interface DiscountDto {
|
|
|
3564
3739
|
'available'?: boolean;
|
|
3565
3740
|
/**
|
|
3566
3741
|
*
|
|
3567
|
-
* @type {
|
|
3742
|
+
* @type {ProviderEnum}
|
|
3568
3743
|
* @memberof DiscountDto
|
|
3569
3744
|
*/
|
|
3570
|
-
'channel'?:
|
|
3745
|
+
'channel'?: ProviderEnum | null;
|
|
3571
3746
|
/**
|
|
3572
3747
|
*
|
|
3573
3748
|
* @type {boolean}
|
|
@@ -3576,22 +3751,16 @@ export interface DiscountDto {
|
|
|
3576
3751
|
'isAutomatic': boolean;
|
|
3577
3752
|
/**
|
|
3578
3753
|
*
|
|
3579
|
-
* @type {
|
|
3754
|
+
* @type {number}
|
|
3580
3755
|
* @memberof DiscountDto
|
|
3581
3756
|
*/
|
|
3582
|
-
'maxUsesPerOrder'?:
|
|
3757
|
+
'maxUsesPerOrder'?: number | null;
|
|
3583
3758
|
/**
|
|
3584
3759
|
*
|
|
3585
3760
|
* @type {number}
|
|
3586
3761
|
* @memberof DiscountDto
|
|
3587
3762
|
*/
|
|
3588
3763
|
'priority': number;
|
|
3589
|
-
/**
|
|
3590
|
-
*
|
|
3591
|
-
* @type {boolean}
|
|
3592
|
-
* @memberof DiscountDto
|
|
3593
|
-
*/
|
|
3594
|
-
'enabled': boolean;
|
|
3595
3764
|
/**
|
|
3596
3765
|
*
|
|
3597
3766
|
* @type {Array<DiscountRuleDto>}
|
|
@@ -4499,6 +4668,12 @@ export interface ExternalBusinessConfigDto {
|
|
|
4499
4668
|
* @memberof ExternalBusinessConfigDto
|
|
4500
4669
|
*/
|
|
4501
4670
|
'hasInvoiceCompany': boolean;
|
|
4671
|
+
/**
|
|
4672
|
+
* Whether POS orders should be hidden from OM for this business.
|
|
4673
|
+
* @type {boolean}
|
|
4674
|
+
* @memberof ExternalBusinessConfigDto
|
|
4675
|
+
*/
|
|
4676
|
+
'hidePosOrdersInOm': boolean;
|
|
4502
4677
|
}
|
|
4503
4678
|
/**
|
|
4504
4679
|
*
|
|
@@ -4813,6 +4988,12 @@ export interface GetStationResponseDtoStation {
|
|
|
4813
4988
|
* @memberof GetStationResponseDtoStation
|
|
4814
4989
|
*/
|
|
4815
4990
|
'prefix': string;
|
|
4991
|
+
/**
|
|
4992
|
+
*
|
|
4993
|
+
* @type {object}
|
|
4994
|
+
* @memberof GetStationResponseDtoStation
|
|
4995
|
+
*/
|
|
4996
|
+
'settings'?: object;
|
|
4816
4997
|
/**
|
|
4817
4998
|
*
|
|
4818
4999
|
* @type {object}
|
|
@@ -5251,121 +5432,1306 @@ export interface ItemPriceDto {
|
|
|
5251
5432
|
* @export
|
|
5252
5433
|
* @enum {string}
|
|
5253
5434
|
*/
|
|
5254
|
-
export declare const
|
|
5255
|
-
readonly
|
|
5256
|
-
readonly
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
*
|
|
5261
|
-
* @export
|
|
5262
|
-
* @enum {string}
|
|
5263
|
-
*/
|
|
5264
|
-
export declare const KioskLayout: {
|
|
5265
|
-
readonly Vertical: "VERTICAL";
|
|
5266
|
-
readonly Horizontal: "HORIZONTAL";
|
|
5435
|
+
export declare const KDSEVENTNAME: {
|
|
5436
|
+
readonly OrderCreated: "order.created";
|
|
5437
|
+
readonly OrderReady: "order.ready";
|
|
5438
|
+
readonly OrderReverted: "order.reverted";
|
|
5439
|
+
readonly OrderDeleted: "order.deleted";
|
|
5440
|
+
readonly PrintingOrder: "printing.order";
|
|
5267
5441
|
};
|
|
5268
|
-
export type
|
|
5442
|
+
export type KDSEVENTNAME = typeof KDSEVENTNAME[keyof typeof KDSEVENTNAME];
|
|
5269
5443
|
/**
|
|
5270
5444
|
*
|
|
5271
5445
|
* @export
|
|
5272
|
-
* @interface
|
|
5446
|
+
* @interface KdsCoordinateDto
|
|
5273
5447
|
*/
|
|
5274
|
-
export interface
|
|
5275
|
-
/**
|
|
5276
|
-
* The open status of the kiosk.
|
|
5277
|
-
* @type {boolean}
|
|
5278
|
-
* @memberof KioskStatusDto
|
|
5279
|
-
*/
|
|
5280
|
-
'open': boolean;
|
|
5448
|
+
export interface KdsCoordinateDto {
|
|
5281
5449
|
/**
|
|
5282
5450
|
*
|
|
5283
|
-
* @type {
|
|
5284
|
-
* @memberof
|
|
5451
|
+
* @type {string}
|
|
5452
|
+
* @memberof KdsCoordinateDto
|
|
5285
5453
|
*/
|
|
5286
|
-
'
|
|
5454
|
+
'id': string;
|
|
5287
5455
|
/**
|
|
5288
5456
|
*
|
|
5289
|
-
* @type {
|
|
5290
|
-
* @memberof
|
|
5457
|
+
* @type {number}
|
|
5458
|
+
* @memberof KdsCoordinateDto
|
|
5291
5459
|
*/
|
|
5292
|
-
'
|
|
5460
|
+
'lat': number | null;
|
|
5293
5461
|
/**
|
|
5294
5462
|
*
|
|
5295
|
-
* @type {
|
|
5296
|
-
* @memberof
|
|
5463
|
+
* @type {number}
|
|
5464
|
+
* @memberof KdsCoordinateDto
|
|
5297
5465
|
*/
|
|
5298
|
-
'
|
|
5466
|
+
'lon': number | null;
|
|
5299
5467
|
}
|
|
5300
5468
|
/**
|
|
5301
5469
|
*
|
|
5302
5470
|
* @export
|
|
5303
|
-
* @
|
|
5304
|
-
*/
|
|
5305
|
-
export declare const KitchenStatus: {
|
|
5306
|
-
readonly NotApplicable: "not_applicable";
|
|
5307
|
-
readonly Pending: "pending";
|
|
5308
|
-
readonly OnHold: "on_hold";
|
|
5309
|
-
readonly SentToOm: "sent_to_om";
|
|
5310
|
-
readonly DispatchedToKitchen: "dispatched_to_kitchen";
|
|
5311
|
-
readonly Completed: "completed";
|
|
5312
|
-
readonly Cancelled: "cancelled";
|
|
5313
|
-
};
|
|
5314
|
-
export type KitchenStatus = typeof KitchenStatus[keyof typeof KitchenStatus];
|
|
5315
|
-
/**
|
|
5316
|
-
*
|
|
5317
|
-
* @export
|
|
5318
|
-
* @interface LapseDto
|
|
5471
|
+
* @interface KdsCustomerDto
|
|
5319
5472
|
*/
|
|
5320
|
-
export interface
|
|
5473
|
+
export interface KdsCustomerDto {
|
|
5321
5474
|
/**
|
|
5322
5475
|
*
|
|
5323
|
-
* @type {
|
|
5324
|
-
* @memberof
|
|
5476
|
+
* @type {string}
|
|
5477
|
+
* @memberof KdsCustomerDto
|
|
5325
5478
|
*/
|
|
5326
|
-
'
|
|
5479
|
+
'id': string;
|
|
5327
5480
|
/**
|
|
5328
5481
|
*
|
|
5329
|
-
* @type {
|
|
5330
|
-
* @memberof
|
|
5482
|
+
* @type {string}
|
|
5483
|
+
* @memberof KdsCustomerDto
|
|
5331
5484
|
*/
|
|
5332
|
-
'
|
|
5333
|
-
}
|
|
5334
|
-
/**
|
|
5335
|
-
* Closing time for the lapse
|
|
5336
|
-
* @export
|
|
5337
|
-
* @interface LapseDtoClose
|
|
5338
|
-
*/
|
|
5339
|
-
export interface LapseDtoClose {
|
|
5485
|
+
'name': string;
|
|
5340
5486
|
/**
|
|
5341
|
-
*
|
|
5342
|
-
* @type {
|
|
5343
|
-
* @memberof
|
|
5487
|
+
*
|
|
5488
|
+
* @type {string}
|
|
5489
|
+
* @memberof KdsCustomerDto
|
|
5344
5490
|
*/
|
|
5345
|
-
'
|
|
5491
|
+
'phone': string | null;
|
|
5346
5492
|
/**
|
|
5347
|
-
*
|
|
5348
|
-
* @type {
|
|
5349
|
-
* @memberof
|
|
5493
|
+
*
|
|
5494
|
+
* @type {string}
|
|
5495
|
+
* @memberof KdsCustomerDto
|
|
5350
5496
|
*/
|
|
5351
|
-
'
|
|
5497
|
+
'email': string | null;
|
|
5352
5498
|
}
|
|
5353
5499
|
/**
|
|
5354
|
-
*
|
|
5500
|
+
*
|
|
5355
5501
|
* @export
|
|
5356
|
-
* @interface
|
|
5502
|
+
* @interface KdsDeliveryDto
|
|
5357
5503
|
*/
|
|
5358
|
-
export interface
|
|
5504
|
+
export interface KdsDeliveryDto {
|
|
5359
5505
|
/**
|
|
5360
|
-
*
|
|
5361
|
-
* @type {
|
|
5362
|
-
* @memberof
|
|
5506
|
+
*
|
|
5507
|
+
* @type {string}
|
|
5508
|
+
* @memberof KdsDeliveryDto
|
|
5363
5509
|
*/
|
|
5364
|
-
'
|
|
5510
|
+
'id': string;
|
|
5365
5511
|
/**
|
|
5366
|
-
*
|
|
5367
|
-
* @type {
|
|
5368
|
-
* @memberof
|
|
5512
|
+
*
|
|
5513
|
+
* @type {boolean}
|
|
5514
|
+
* @memberof KdsDeliveryDto
|
|
5515
|
+
*/
|
|
5516
|
+
'selfDelivery': boolean;
|
|
5517
|
+
/**
|
|
5518
|
+
*
|
|
5519
|
+
* @type {string}
|
|
5520
|
+
* @memberof KdsDeliveryDto
|
|
5521
|
+
*/
|
|
5522
|
+
'note': string | null;
|
|
5523
|
+
/**
|
|
5524
|
+
*
|
|
5525
|
+
* @type {DeliveryStatus}
|
|
5526
|
+
* @memberof KdsDeliveryDto
|
|
5527
|
+
*/
|
|
5528
|
+
'status': DeliveryStatus;
|
|
5529
|
+
/**
|
|
5530
|
+
*
|
|
5531
|
+
* @type {DeliveryType}
|
|
5532
|
+
* @memberof KdsDeliveryDto
|
|
5533
|
+
*/
|
|
5534
|
+
'type': DeliveryType;
|
|
5535
|
+
/**
|
|
5536
|
+
*
|
|
5537
|
+
* @type {number}
|
|
5538
|
+
* @memberof KdsDeliveryDto
|
|
5539
|
+
*/
|
|
5540
|
+
'deliveryFee': number;
|
|
5541
|
+
/**
|
|
5542
|
+
*
|
|
5543
|
+
* @type {KdsLocationDto}
|
|
5544
|
+
* @memberof KdsDeliveryDto
|
|
5545
|
+
*/
|
|
5546
|
+
'location': KdsLocationDto | null;
|
|
5547
|
+
}
|
|
5548
|
+
/**
|
|
5549
|
+
*
|
|
5550
|
+
* @export
|
|
5551
|
+
* @interface KdsLocationDto
|
|
5552
|
+
*/
|
|
5553
|
+
export interface KdsLocationDto {
|
|
5554
|
+
/**
|
|
5555
|
+
*
|
|
5556
|
+
* @type {string}
|
|
5557
|
+
* @memberof KdsLocationDto
|
|
5558
|
+
*/
|
|
5559
|
+
'id': string;
|
|
5560
|
+
/**
|
|
5561
|
+
*
|
|
5562
|
+
* @type {string}
|
|
5563
|
+
* @memberof KdsLocationDto
|
|
5564
|
+
*/
|
|
5565
|
+
'formatted_address': string | null;
|
|
5566
|
+
/**
|
|
5567
|
+
*
|
|
5568
|
+
* @type {string}
|
|
5569
|
+
* @memberof KdsLocationDto
|
|
5570
|
+
*/
|
|
5571
|
+
'city': string | null;
|
|
5572
|
+
/**
|
|
5573
|
+
*
|
|
5574
|
+
* @type {string}
|
|
5575
|
+
* @memberof KdsLocationDto
|
|
5576
|
+
*/
|
|
5577
|
+
'country': string | null;
|
|
5578
|
+
/**
|
|
5579
|
+
*
|
|
5580
|
+
* @type {KdsCoordinateDto}
|
|
5581
|
+
* @memberof KdsLocationDto
|
|
5582
|
+
*/
|
|
5583
|
+
'coordinates': KdsCoordinateDto | null;
|
|
5584
|
+
}
|
|
5585
|
+
/**
|
|
5586
|
+
*
|
|
5587
|
+
* @export
|
|
5588
|
+
* @interface KdsOrderDto
|
|
5589
|
+
*/
|
|
5590
|
+
export interface KdsOrderDto {
|
|
5591
|
+
/**
|
|
5592
|
+
*
|
|
5593
|
+
* @type {string}
|
|
5594
|
+
* @memberof KdsOrderDto
|
|
5595
|
+
*/
|
|
5596
|
+
'id': string;
|
|
5597
|
+
/**
|
|
5598
|
+
*
|
|
5599
|
+
* @type {string}
|
|
5600
|
+
* @memberof KdsOrderDto
|
|
5601
|
+
*/
|
|
5602
|
+
'parentOrderId': string;
|
|
5603
|
+
/**
|
|
5604
|
+
*
|
|
5605
|
+
* @type {number}
|
|
5606
|
+
* @memberof KdsOrderDto
|
|
5607
|
+
*/
|
|
5608
|
+
'businessId': number;
|
|
5609
|
+
/**
|
|
5610
|
+
*
|
|
5611
|
+
* @type {string}
|
|
5612
|
+
* @memberof KdsOrderDto
|
|
5613
|
+
*/
|
|
5614
|
+
'profileId': string;
|
|
5615
|
+
/**
|
|
5616
|
+
*
|
|
5617
|
+
* @type {string}
|
|
5618
|
+
* @memberof KdsOrderDto
|
|
5619
|
+
*/
|
|
5620
|
+
'profileName': string;
|
|
5621
|
+
/**
|
|
5622
|
+
*
|
|
5623
|
+
* @type {ProviderEnum}
|
|
5624
|
+
* @memberof KdsOrderDto
|
|
5625
|
+
*/
|
|
5626
|
+
'provider': ProviderEnum;
|
|
5627
|
+
/**
|
|
5628
|
+
*
|
|
5629
|
+
* @type {string}
|
|
5630
|
+
* @memberof KdsOrderDto
|
|
5631
|
+
*/
|
|
5632
|
+
'orderNumber': string;
|
|
5633
|
+
/**
|
|
5634
|
+
*
|
|
5635
|
+
* @type {string}
|
|
5636
|
+
* @memberof KdsOrderDto
|
|
5637
|
+
*/
|
|
5638
|
+
'comment': string | null;
|
|
5639
|
+
/**
|
|
5640
|
+
*
|
|
5641
|
+
* @type {number}
|
|
5642
|
+
* @memberof KdsOrderDto
|
|
5643
|
+
*/
|
|
5644
|
+
'preparedIn': number | null;
|
|
5645
|
+
/**
|
|
5646
|
+
*
|
|
5647
|
+
* @type {string}
|
|
5648
|
+
* @memberof KdsOrderDto
|
|
5649
|
+
*/
|
|
5650
|
+
'spotNumber': string | null;
|
|
5651
|
+
/**
|
|
5652
|
+
*
|
|
5653
|
+
* @type {string}
|
|
5654
|
+
* @memberof KdsOrderDto
|
|
5655
|
+
*/
|
|
5656
|
+
'acceptedAt': string | null;
|
|
5657
|
+
/**
|
|
5658
|
+
*
|
|
5659
|
+
* @type {string}
|
|
5660
|
+
* @memberof KdsOrderDto
|
|
5661
|
+
*/
|
|
5662
|
+
'pickupEta': string | null;
|
|
5663
|
+
/**
|
|
5664
|
+
*
|
|
5665
|
+
* @type {string}
|
|
5666
|
+
* @memberof KdsOrderDto
|
|
5667
|
+
*/
|
|
5668
|
+
'deliveryEta': string | null;
|
|
5669
|
+
/**
|
|
5670
|
+
*
|
|
5671
|
+
* @type {ConsumptionType}
|
|
5672
|
+
* @memberof KdsOrderDto
|
|
5673
|
+
*/
|
|
5674
|
+
'consumptionType': ConsumptionType;
|
|
5675
|
+
/**
|
|
5676
|
+
*
|
|
5677
|
+
* @type {string}
|
|
5678
|
+
* @memberof KdsOrderDto
|
|
5679
|
+
*/
|
|
5680
|
+
'orderCreatedAt': string;
|
|
5681
|
+
/**
|
|
5682
|
+
*
|
|
5683
|
+
* @type {string}
|
|
5684
|
+
* @memberof KdsOrderDto
|
|
5685
|
+
*/
|
|
5686
|
+
'orderUpdatedAt': string;
|
|
5687
|
+
/**
|
|
5688
|
+
*
|
|
5689
|
+
* @type {OrderType}
|
|
5690
|
+
* @memberof KdsOrderDto
|
|
5691
|
+
*/
|
|
5692
|
+
'type': OrderType;
|
|
5693
|
+
/**
|
|
5694
|
+
*
|
|
5695
|
+
* @type {OrderMode}
|
|
5696
|
+
* @memberof KdsOrderDto
|
|
5697
|
+
*/
|
|
5698
|
+
'orderMode': OrderMode;
|
|
5699
|
+
/**
|
|
5700
|
+
*
|
|
5701
|
+
* @type {SourceType}
|
|
5702
|
+
* @memberof KdsOrderDto
|
|
5703
|
+
*/
|
|
5704
|
+
'sourceType': SourceType;
|
|
5705
|
+
/**
|
|
5706
|
+
*
|
|
5707
|
+
* @type {OrderStatus}
|
|
5708
|
+
* @memberof KdsOrderDto
|
|
5709
|
+
*/
|
|
5710
|
+
'status': OrderStatus;
|
|
5711
|
+
/**
|
|
5712
|
+
*
|
|
5713
|
+
* @type {string}
|
|
5714
|
+
* @memberof KdsOrderDto
|
|
5715
|
+
*/
|
|
5716
|
+
'createdAt': string;
|
|
5717
|
+
/**
|
|
5718
|
+
*
|
|
5719
|
+
* @type {string}
|
|
5720
|
+
* @memberof KdsOrderDto
|
|
5721
|
+
*/
|
|
5722
|
+
'updatedAt': string;
|
|
5723
|
+
/**
|
|
5724
|
+
*
|
|
5725
|
+
* @type {KdsCustomerDto}
|
|
5726
|
+
* @memberof KdsOrderDto
|
|
5727
|
+
*/
|
|
5728
|
+
'customer': KdsCustomerDto | null;
|
|
5729
|
+
/**
|
|
5730
|
+
*
|
|
5731
|
+
* @type {KdsDeliveryDto}
|
|
5732
|
+
* @memberof KdsOrderDto
|
|
5733
|
+
*/
|
|
5734
|
+
'delivery': KdsDeliveryDto | null;
|
|
5735
|
+
/**
|
|
5736
|
+
*
|
|
5737
|
+
* @type {KdsPreorderDto}
|
|
5738
|
+
* @memberof KdsOrderDto
|
|
5739
|
+
*/
|
|
5740
|
+
'preorder': KdsPreorderDto | null;
|
|
5741
|
+
/**
|
|
5742
|
+
*
|
|
5743
|
+
* @type {KdsPriceSummaryDto}
|
|
5744
|
+
* @memberof KdsOrderDto
|
|
5745
|
+
*/
|
|
5746
|
+
'priceSummary': KdsPriceSummaryDto | null;
|
|
5747
|
+
/**
|
|
5748
|
+
*
|
|
5749
|
+
* @type {Array<KdsOrderItemDto>}
|
|
5750
|
+
* @memberof KdsOrderDto
|
|
5751
|
+
*/
|
|
5752
|
+
'items': Array<KdsOrderItemDto>;
|
|
5753
|
+
}
|
|
5754
|
+
/**
|
|
5755
|
+
*
|
|
5756
|
+
* @export
|
|
5757
|
+
* @interface KdsOrderItemDto
|
|
5758
|
+
*/
|
|
5759
|
+
export interface KdsOrderItemDto {
|
|
5760
|
+
/**
|
|
5761
|
+
*
|
|
5762
|
+
* @type {string}
|
|
5763
|
+
* @memberof KdsOrderItemDto
|
|
5764
|
+
*/
|
|
5765
|
+
'id': string;
|
|
5766
|
+
/**
|
|
5767
|
+
*
|
|
5768
|
+
* @type {string}
|
|
5769
|
+
* @memberof KdsOrderItemDto
|
|
5770
|
+
*/
|
|
5771
|
+
'orderId': string;
|
|
5772
|
+
/**
|
|
5773
|
+
*
|
|
5774
|
+
* @type {string}
|
|
5775
|
+
* @memberof KdsOrderItemDto
|
|
5776
|
+
*/
|
|
5777
|
+
'externalProductId': string;
|
|
5778
|
+
/**
|
|
5779
|
+
*
|
|
5780
|
+
* @type {string}
|
|
5781
|
+
* @memberof KdsOrderItemDto
|
|
5782
|
+
*/
|
|
5783
|
+
'name': string;
|
|
5784
|
+
/**
|
|
5785
|
+
*
|
|
5786
|
+
* @type {number}
|
|
5787
|
+
* @memberof KdsOrderItemDto
|
|
5788
|
+
*/
|
|
5789
|
+
'quantity': number;
|
|
5790
|
+
/**
|
|
5791
|
+
*
|
|
5792
|
+
* @type {number}
|
|
5793
|
+
* @memberof KdsOrderItemDto
|
|
5794
|
+
*/
|
|
5795
|
+
'unitPrice': number;
|
|
5796
|
+
/**
|
|
5797
|
+
*
|
|
5798
|
+
* @type {number}
|
|
5799
|
+
* @memberof KdsOrderItemDto
|
|
5800
|
+
*/
|
|
5801
|
+
'paidPrice': number;
|
|
5802
|
+
/**
|
|
5803
|
+
*
|
|
5804
|
+
* @type {string}
|
|
5805
|
+
* @memberof KdsOrderItemDto
|
|
5806
|
+
*/
|
|
5807
|
+
'comment': string | null;
|
|
5808
|
+
/**
|
|
5809
|
+
*
|
|
5810
|
+
* @type {KitchenItemStatus}
|
|
5811
|
+
* @memberof KdsOrderItemDto
|
|
5812
|
+
*/
|
|
5813
|
+
'kitchenStatus': KitchenItemStatus;
|
|
5814
|
+
/**
|
|
5815
|
+
*
|
|
5816
|
+
* @type {string}
|
|
5817
|
+
* @memberof KdsOrderItemDto
|
|
5818
|
+
*/
|
|
5819
|
+
'createdAt': string;
|
|
5820
|
+
/**
|
|
5821
|
+
*
|
|
5822
|
+
* @type {string}
|
|
5823
|
+
* @memberof KdsOrderItemDto
|
|
5824
|
+
*/
|
|
5825
|
+
'updatedAt': string;
|
|
5826
|
+
/**
|
|
5827
|
+
*
|
|
5828
|
+
* @type {Array<KdsOrderOptionDto>}
|
|
5829
|
+
* @memberof KdsOrderItemDto
|
|
5830
|
+
*/
|
|
5831
|
+
'options': Array<KdsOrderOptionDto>;
|
|
5832
|
+
}
|
|
5833
|
+
/**
|
|
5834
|
+
*
|
|
5835
|
+
* @export
|
|
5836
|
+
* @interface KdsOrderListResponseDto
|
|
5837
|
+
*/
|
|
5838
|
+
export interface KdsOrderListResponseDto {
|
|
5839
|
+
/**
|
|
5840
|
+
* KDS orders
|
|
5841
|
+
* @type {Array<KdsOrderDto>}
|
|
5842
|
+
* @memberof KdsOrderListResponseDto
|
|
5843
|
+
*/
|
|
5844
|
+
'orders': Array<KdsOrderDto>;
|
|
5845
|
+
/**
|
|
5846
|
+
*
|
|
5847
|
+
* @type {KdsOrderListResponseDtoPagination}
|
|
5848
|
+
* @memberof KdsOrderListResponseDto
|
|
5849
|
+
*/
|
|
5850
|
+
'pagination': KdsOrderListResponseDtoPagination;
|
|
5851
|
+
}
|
|
5852
|
+
/**
|
|
5853
|
+
* Pagination details
|
|
5854
|
+
* @export
|
|
5855
|
+
* @interface KdsOrderListResponseDtoPagination
|
|
5856
|
+
*/
|
|
5857
|
+
export interface KdsOrderListResponseDtoPagination {
|
|
5858
|
+
/**
|
|
5859
|
+
*
|
|
5860
|
+
* @type {number}
|
|
5861
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5862
|
+
*/
|
|
5863
|
+
'page': number;
|
|
5864
|
+
/**
|
|
5865
|
+
*
|
|
5866
|
+
* @type {number}
|
|
5867
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5868
|
+
*/
|
|
5869
|
+
'rowPerPage': number;
|
|
5870
|
+
/**
|
|
5871
|
+
*
|
|
5872
|
+
* @type {number}
|
|
5873
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5874
|
+
*/
|
|
5875
|
+
'totalPages': number;
|
|
5876
|
+
/**
|
|
5877
|
+
*
|
|
5878
|
+
* @type {number}
|
|
5879
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5880
|
+
*/
|
|
5881
|
+
'totalItems': number;
|
|
5882
|
+
/**
|
|
5883
|
+
*
|
|
5884
|
+
* @type {boolean}
|
|
5885
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5886
|
+
*/
|
|
5887
|
+
'hasNextPage': boolean;
|
|
5888
|
+
/**
|
|
5889
|
+
*
|
|
5890
|
+
* @type {boolean}
|
|
5891
|
+
* @memberof KdsOrderListResponseDtoPagination
|
|
5892
|
+
*/
|
|
5893
|
+
'hasPreviousPage': boolean;
|
|
5894
|
+
}
|
|
5895
|
+
/**
|
|
5896
|
+
*
|
|
5897
|
+
* @export
|
|
5898
|
+
* @interface KdsOrderOptionDto
|
|
5899
|
+
*/
|
|
5900
|
+
export interface KdsOrderOptionDto {
|
|
5901
|
+
/**
|
|
5902
|
+
*
|
|
5903
|
+
* @type {string}
|
|
5904
|
+
* @memberof KdsOrderOptionDto
|
|
5905
|
+
*/
|
|
5906
|
+
'id': string;
|
|
5907
|
+
/**
|
|
5908
|
+
*
|
|
5909
|
+
* @type {string}
|
|
5910
|
+
* @memberof KdsOrderOptionDto
|
|
5911
|
+
*/
|
|
5912
|
+
'orderItemId': string;
|
|
5913
|
+
/**
|
|
5914
|
+
*
|
|
5915
|
+
* @type {string}
|
|
5916
|
+
* @memberof KdsOrderOptionDto
|
|
5917
|
+
*/
|
|
5918
|
+
'externalId': string;
|
|
5919
|
+
/**
|
|
5920
|
+
*
|
|
5921
|
+
* @type {string}
|
|
5922
|
+
* @memberof KdsOrderOptionDto
|
|
5923
|
+
*/
|
|
5924
|
+
'name': string;
|
|
5925
|
+
/**
|
|
5926
|
+
*
|
|
5927
|
+
* @type {string}
|
|
5928
|
+
* @memberof KdsOrderOptionDto
|
|
5929
|
+
*/
|
|
5930
|
+
'image': string | null;
|
|
5931
|
+
/**
|
|
5932
|
+
*
|
|
5933
|
+
* @type {string}
|
|
5934
|
+
* @memberof KdsOrderOptionDto
|
|
5935
|
+
*/
|
|
5936
|
+
'createdAt': string;
|
|
5937
|
+
/**
|
|
5938
|
+
*
|
|
5939
|
+
* @type {string}
|
|
5940
|
+
* @memberof KdsOrderOptionDto
|
|
5941
|
+
*/
|
|
5942
|
+
'updatedAt': string;
|
|
5943
|
+
/**
|
|
5944
|
+
*
|
|
5945
|
+
* @type {Array<KdsOrderSubOptionDto>}
|
|
5946
|
+
* @memberof KdsOrderOptionDto
|
|
5947
|
+
*/
|
|
5948
|
+
'subOptions': Array<KdsOrderSubOptionDto>;
|
|
5949
|
+
}
|
|
5950
|
+
/**
|
|
5951
|
+
*
|
|
5952
|
+
* @export
|
|
5953
|
+
* @interface KdsOrderSubOptionDto
|
|
5954
|
+
*/
|
|
5955
|
+
export interface KdsOrderSubOptionDto {
|
|
5956
|
+
/**
|
|
5957
|
+
*
|
|
5958
|
+
* @type {string}
|
|
5959
|
+
* @memberof KdsOrderSubOptionDto
|
|
5960
|
+
*/
|
|
5961
|
+
'id': string;
|
|
5962
|
+
/**
|
|
5963
|
+
*
|
|
5964
|
+
* @type {string}
|
|
5965
|
+
* @memberof KdsOrderSubOptionDto
|
|
5966
|
+
*/
|
|
5967
|
+
'orderOptionId': string;
|
|
5968
|
+
/**
|
|
5969
|
+
*
|
|
5970
|
+
* @type {string}
|
|
5971
|
+
* @memberof KdsOrderSubOptionDto
|
|
5972
|
+
*/
|
|
5973
|
+
'externalId': string;
|
|
5974
|
+
/**
|
|
5975
|
+
*
|
|
5976
|
+
* @type {string}
|
|
5977
|
+
* @memberof KdsOrderSubOptionDto
|
|
5978
|
+
*/
|
|
5979
|
+
'name': string;
|
|
5980
|
+
/**
|
|
5981
|
+
*
|
|
5982
|
+
* @type {number}
|
|
5983
|
+
* @memberof KdsOrderSubOptionDto
|
|
5984
|
+
*/
|
|
5985
|
+
'quantity': number;
|
|
5986
|
+
/**
|
|
5987
|
+
*
|
|
5988
|
+
* @type {number}
|
|
5989
|
+
* @memberof KdsOrderSubOptionDto
|
|
5990
|
+
*/
|
|
5991
|
+
'unitPrice': number;
|
|
5992
|
+
/**
|
|
5993
|
+
*
|
|
5994
|
+
* @type {number}
|
|
5995
|
+
* @memberof KdsOrderSubOptionDto
|
|
5996
|
+
*/
|
|
5997
|
+
'paidPrice': number;
|
|
5998
|
+
/**
|
|
5999
|
+
*
|
|
6000
|
+
* @type {string}
|
|
6001
|
+
* @memberof KdsOrderSubOptionDto
|
|
6002
|
+
*/
|
|
6003
|
+
'createdAt': string;
|
|
6004
|
+
/**
|
|
6005
|
+
*
|
|
6006
|
+
* @type {string}
|
|
6007
|
+
* @memberof KdsOrderSubOptionDto
|
|
6008
|
+
*/
|
|
6009
|
+
'updatedAt': string;
|
|
6010
|
+
}
|
|
6011
|
+
/**
|
|
6012
|
+
*
|
|
6013
|
+
* @export
|
|
6014
|
+
* @interface KdsPaginationDto
|
|
6015
|
+
*/
|
|
6016
|
+
export interface KdsPaginationDto {
|
|
6017
|
+
/**
|
|
6018
|
+
*
|
|
6019
|
+
* @type {number}
|
|
6020
|
+
* @memberof KdsPaginationDto
|
|
6021
|
+
*/
|
|
6022
|
+
'page': number;
|
|
6023
|
+
/**
|
|
6024
|
+
*
|
|
6025
|
+
* @type {number}
|
|
6026
|
+
* @memberof KdsPaginationDto
|
|
6027
|
+
*/
|
|
6028
|
+
'rowPerPage': number;
|
|
6029
|
+
/**
|
|
6030
|
+
*
|
|
6031
|
+
* @type {number}
|
|
6032
|
+
* @memberof KdsPaginationDto
|
|
6033
|
+
*/
|
|
6034
|
+
'totalPages': number;
|
|
6035
|
+
/**
|
|
6036
|
+
*
|
|
6037
|
+
* @type {number}
|
|
6038
|
+
* @memberof KdsPaginationDto
|
|
6039
|
+
*/
|
|
6040
|
+
'totalItems': number;
|
|
6041
|
+
/**
|
|
6042
|
+
*
|
|
6043
|
+
* @type {boolean}
|
|
6044
|
+
* @memberof KdsPaginationDto
|
|
6045
|
+
*/
|
|
6046
|
+
'hasNextPage': boolean;
|
|
6047
|
+
/**
|
|
6048
|
+
*
|
|
6049
|
+
* @type {boolean}
|
|
6050
|
+
* @memberof KdsPaginationDto
|
|
6051
|
+
*/
|
|
6052
|
+
'hasPreviousPage': boolean;
|
|
6053
|
+
}
|
|
6054
|
+
/**
|
|
6055
|
+
*
|
|
6056
|
+
* @export
|
|
6057
|
+
* @interface KdsPreorderDto
|
|
6058
|
+
*/
|
|
6059
|
+
export interface KdsPreorderDto {
|
|
6060
|
+
/**
|
|
6061
|
+
*
|
|
6062
|
+
* @type {string}
|
|
6063
|
+
* @memberof KdsPreorderDto
|
|
6064
|
+
*/
|
|
6065
|
+
'id': string;
|
|
6066
|
+
/**
|
|
6067
|
+
*
|
|
6068
|
+
* @type {PreorderStatus}
|
|
6069
|
+
* @memberof KdsPreorderDto
|
|
6070
|
+
*/
|
|
6071
|
+
'status': PreorderStatus;
|
|
6072
|
+
/**
|
|
6073
|
+
*
|
|
6074
|
+
* @type {string}
|
|
6075
|
+
* @memberof KdsPreorderDto
|
|
6076
|
+
*/
|
|
6077
|
+
'preorderTime': string;
|
|
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
|
+
* @export
|
|
6120
|
+
* @interface KdsProfileDto
|
|
6121
|
+
*/
|
|
6122
|
+
export interface KdsProfileDto {
|
|
6123
|
+
/**
|
|
6124
|
+
*
|
|
6125
|
+
* @type {string}
|
|
6126
|
+
* @memberof KdsProfileDto
|
|
6127
|
+
*/
|
|
6128
|
+
'id': string;
|
|
6129
|
+
/**
|
|
6130
|
+
*
|
|
6131
|
+
* @type {string}
|
|
6132
|
+
* @memberof KdsProfileDto
|
|
6133
|
+
*/
|
|
6134
|
+
'name': string;
|
|
6135
|
+
/**
|
|
6136
|
+
*
|
|
6137
|
+
* @type {SystemProfileType}
|
|
6138
|
+
* @memberof KdsProfileDto
|
|
6139
|
+
*/
|
|
6140
|
+
'systemType': SystemProfileType | null;
|
|
6141
|
+
}
|
|
6142
|
+
/**
|
|
6143
|
+
*
|
|
6144
|
+
* @export
|
|
6145
|
+
* @interface KdsProfileResponseDto
|
|
6146
|
+
*/
|
|
6147
|
+
export interface KdsProfileResponseDto {
|
|
6148
|
+
/**
|
|
6149
|
+
* The KDS profile identifier
|
|
6150
|
+
* @type {string}
|
|
6151
|
+
* @memberof KdsProfileResponseDto
|
|
6152
|
+
*/
|
|
6153
|
+
'id': string;
|
|
6154
|
+
/**
|
|
6155
|
+
* The KDS profile name
|
|
6156
|
+
* @type {string}
|
|
6157
|
+
* @memberof KdsProfileResponseDto
|
|
6158
|
+
*/
|
|
6159
|
+
'name': string;
|
|
6160
|
+
/**
|
|
6161
|
+
*
|
|
6162
|
+
* @type {SystemProfileType}
|
|
6163
|
+
* @memberof KdsProfileResponseDto
|
|
6164
|
+
*/
|
|
6165
|
+
'systemType': SystemProfileType | null;
|
|
6166
|
+
}
|
|
6167
|
+
/**
|
|
6168
|
+
*
|
|
6169
|
+
* @export
|
|
6170
|
+
* @interface KdsPubSubPayloadDto
|
|
6171
|
+
*/
|
|
6172
|
+
export interface KdsPubSubPayloadDto {
|
|
6173
|
+
/**
|
|
6174
|
+
*
|
|
6175
|
+
* @type {PubSubTarget}
|
|
6176
|
+
* @memberof KdsPubSubPayloadDto
|
|
6177
|
+
*/
|
|
6178
|
+
'target': PubSubTarget;
|
|
6179
|
+
/**
|
|
6180
|
+
*
|
|
6181
|
+
* @type {ProviderEnum}
|
|
6182
|
+
* @memberof KdsPubSubPayloadDto
|
|
6183
|
+
*/
|
|
6184
|
+
'provider': ProviderEnum;
|
|
6185
|
+
/**
|
|
6186
|
+
*
|
|
6187
|
+
* @type {number}
|
|
6188
|
+
* @memberof KdsPubSubPayloadDto
|
|
6189
|
+
*/
|
|
6190
|
+
'businessId': number;
|
|
6191
|
+
/**
|
|
6192
|
+
*
|
|
6193
|
+
* @type {PubSubAction}
|
|
6194
|
+
* @memberof KdsPubSubPayloadDto
|
|
6195
|
+
*/
|
|
6196
|
+
'action': PubSubAction;
|
|
6197
|
+
/**
|
|
6198
|
+
*
|
|
6199
|
+
* @type {string}
|
|
6200
|
+
* @memberof KdsPubSubPayloadDto
|
|
6201
|
+
*/
|
|
6202
|
+
'orderId': string;
|
|
6203
|
+
/**
|
|
6204
|
+
*
|
|
6205
|
+
* @type {SourceType}
|
|
6206
|
+
* @memberof KdsPubSubPayloadDto
|
|
6207
|
+
*/
|
|
6208
|
+
'type': SourceType;
|
|
6209
|
+
}
|
|
6210
|
+
/**
|
|
6211
|
+
*
|
|
6212
|
+
* @export
|
|
6213
|
+
* @interface KdsReadyOrderResponseDto
|
|
6214
|
+
*/
|
|
6215
|
+
export interface KdsReadyOrderResponseDto {
|
|
6216
|
+
/**
|
|
6217
|
+
* Indicates whether the KDS order ready update succeeded
|
|
6218
|
+
* @type {boolean}
|
|
6219
|
+
* @memberof KdsReadyOrderResponseDto
|
|
6220
|
+
*/
|
|
6221
|
+
'status': boolean;
|
|
6222
|
+
/**
|
|
6223
|
+
* Human-readable status message
|
|
6224
|
+
* @type {string}
|
|
6225
|
+
* @memberof KdsReadyOrderResponseDto
|
|
6226
|
+
*/
|
|
6227
|
+
'message': string;
|
|
6228
|
+
/**
|
|
6229
|
+
*
|
|
6230
|
+
* @type {KdsReadyOrderResponseDtoOrder}
|
|
6231
|
+
* @memberof KdsReadyOrderResponseDto
|
|
6232
|
+
*/
|
|
6233
|
+
'order': KdsReadyOrderResponseDtoOrder | null;
|
|
6234
|
+
}
|
|
6235
|
+
/**
|
|
6236
|
+
* Updated KDS order after the ready flow completes
|
|
6237
|
+
* @export
|
|
6238
|
+
* @interface KdsReadyOrderResponseDtoOrder
|
|
6239
|
+
*/
|
|
6240
|
+
export interface KdsReadyOrderResponseDtoOrder {
|
|
6241
|
+
/**
|
|
6242
|
+
*
|
|
6243
|
+
* @type {string}
|
|
6244
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6245
|
+
*/
|
|
6246
|
+
'id': string;
|
|
6247
|
+
/**
|
|
6248
|
+
*
|
|
6249
|
+
* @type {string}
|
|
6250
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6251
|
+
*/
|
|
6252
|
+
'parentOrderId': string;
|
|
6253
|
+
/**
|
|
6254
|
+
*
|
|
6255
|
+
* @type {number}
|
|
6256
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6257
|
+
*/
|
|
6258
|
+
'businessId': number;
|
|
6259
|
+
/**
|
|
6260
|
+
*
|
|
6261
|
+
* @type {string}
|
|
6262
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6263
|
+
*/
|
|
6264
|
+
'profileId': string;
|
|
6265
|
+
/**
|
|
6266
|
+
*
|
|
6267
|
+
* @type {string}
|
|
6268
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6269
|
+
*/
|
|
6270
|
+
'profileName': string;
|
|
6271
|
+
/**
|
|
6272
|
+
*
|
|
6273
|
+
* @type {ProviderEnum}
|
|
6274
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6275
|
+
*/
|
|
6276
|
+
'provider': ProviderEnum;
|
|
6277
|
+
/**
|
|
6278
|
+
*
|
|
6279
|
+
* @type {string}
|
|
6280
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6281
|
+
*/
|
|
6282
|
+
'orderNumber': string;
|
|
6283
|
+
/**
|
|
6284
|
+
*
|
|
6285
|
+
* @type {string}
|
|
6286
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6287
|
+
*/
|
|
6288
|
+
'comment': string | null;
|
|
6289
|
+
/**
|
|
6290
|
+
*
|
|
6291
|
+
* @type {number}
|
|
6292
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6293
|
+
*/
|
|
6294
|
+
'preparedIn': number | null;
|
|
6295
|
+
/**
|
|
6296
|
+
*
|
|
6297
|
+
* @type {string}
|
|
6298
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6299
|
+
*/
|
|
6300
|
+
'spotNumber': string | null;
|
|
6301
|
+
/**
|
|
6302
|
+
*
|
|
6303
|
+
* @type {string}
|
|
6304
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6305
|
+
*/
|
|
6306
|
+
'acceptedAt': string | null;
|
|
6307
|
+
/**
|
|
6308
|
+
*
|
|
6309
|
+
* @type {string}
|
|
6310
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6311
|
+
*/
|
|
6312
|
+
'pickupEta': string | null;
|
|
6313
|
+
/**
|
|
6314
|
+
*
|
|
6315
|
+
* @type {string}
|
|
6316
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6317
|
+
*/
|
|
6318
|
+
'deliveryEta': string | null;
|
|
6319
|
+
/**
|
|
6320
|
+
*
|
|
6321
|
+
* @type {ConsumptionType}
|
|
6322
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6323
|
+
*/
|
|
6324
|
+
'consumptionType': ConsumptionType;
|
|
6325
|
+
/**
|
|
6326
|
+
*
|
|
6327
|
+
* @type {string}
|
|
6328
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6329
|
+
*/
|
|
6330
|
+
'orderCreatedAt': string;
|
|
6331
|
+
/**
|
|
6332
|
+
*
|
|
6333
|
+
* @type {string}
|
|
6334
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6335
|
+
*/
|
|
6336
|
+
'orderUpdatedAt': string;
|
|
6337
|
+
/**
|
|
6338
|
+
*
|
|
6339
|
+
* @type {OrderType}
|
|
6340
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6341
|
+
*/
|
|
6342
|
+
'type': OrderType;
|
|
6343
|
+
/**
|
|
6344
|
+
*
|
|
6345
|
+
* @type {OrderMode}
|
|
6346
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6347
|
+
*/
|
|
6348
|
+
'orderMode': OrderMode;
|
|
6349
|
+
/**
|
|
6350
|
+
*
|
|
6351
|
+
* @type {SourceType}
|
|
6352
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6353
|
+
*/
|
|
6354
|
+
'sourceType': SourceType;
|
|
6355
|
+
/**
|
|
6356
|
+
*
|
|
6357
|
+
* @type {OrderStatus}
|
|
6358
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6359
|
+
*/
|
|
6360
|
+
'status': OrderStatus;
|
|
6361
|
+
/**
|
|
6362
|
+
*
|
|
6363
|
+
* @type {string}
|
|
6364
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6365
|
+
*/
|
|
6366
|
+
'createdAt': string;
|
|
6367
|
+
/**
|
|
6368
|
+
*
|
|
6369
|
+
* @type {string}
|
|
6370
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6371
|
+
*/
|
|
6372
|
+
'updatedAt': string;
|
|
6373
|
+
/**
|
|
6374
|
+
*
|
|
6375
|
+
* @type {KdsCustomerDto}
|
|
6376
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6377
|
+
*/
|
|
6378
|
+
'customer': KdsCustomerDto | null;
|
|
6379
|
+
/**
|
|
6380
|
+
*
|
|
6381
|
+
* @type {KdsDeliveryDto}
|
|
6382
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6383
|
+
*/
|
|
6384
|
+
'delivery': KdsDeliveryDto | null;
|
|
6385
|
+
/**
|
|
6386
|
+
*
|
|
6387
|
+
* @type {KdsPreorderDto}
|
|
6388
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6389
|
+
*/
|
|
6390
|
+
'preorder': KdsPreorderDto | null;
|
|
6391
|
+
/**
|
|
6392
|
+
*
|
|
6393
|
+
* @type {KdsPriceSummaryDto}
|
|
6394
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6395
|
+
*/
|
|
6396
|
+
'priceSummary': KdsPriceSummaryDto | null;
|
|
6397
|
+
/**
|
|
6398
|
+
*
|
|
6399
|
+
* @type {Array<KdsOrderItemDto>}
|
|
6400
|
+
* @memberof KdsReadyOrderResponseDtoOrder
|
|
6401
|
+
*/
|
|
6402
|
+
'items': Array<KdsOrderItemDto>;
|
|
6403
|
+
}
|
|
6404
|
+
/**
|
|
6405
|
+
*
|
|
6406
|
+
* @export
|
|
6407
|
+
* @interface KdsRevertOrderResponseDto
|
|
6408
|
+
*/
|
|
6409
|
+
export interface KdsRevertOrderResponseDto {
|
|
6410
|
+
/**
|
|
6411
|
+
* Indicates whether the KDS order revert succeeded
|
|
6412
|
+
* @type {boolean}
|
|
6413
|
+
* @memberof KdsRevertOrderResponseDto
|
|
6414
|
+
*/
|
|
6415
|
+
'status': boolean;
|
|
6416
|
+
/**
|
|
6417
|
+
* Human-readable status message
|
|
6418
|
+
* @type {string}
|
|
6419
|
+
* @memberof KdsRevertOrderResponseDto
|
|
6420
|
+
*/
|
|
6421
|
+
'message': string;
|
|
6422
|
+
/**
|
|
6423
|
+
*
|
|
6424
|
+
* @type {KdsRevertOrderResponseDtoOrder}
|
|
6425
|
+
* @memberof KdsRevertOrderResponseDto
|
|
6426
|
+
*/
|
|
6427
|
+
'order': KdsRevertOrderResponseDtoOrder | null;
|
|
6428
|
+
}
|
|
6429
|
+
/**
|
|
6430
|
+
* Updated KDS order after the revert flow completes
|
|
6431
|
+
* @export
|
|
6432
|
+
* @interface KdsRevertOrderResponseDtoOrder
|
|
6433
|
+
*/
|
|
6434
|
+
export interface KdsRevertOrderResponseDtoOrder {
|
|
6435
|
+
/**
|
|
6436
|
+
*
|
|
6437
|
+
* @type {string}
|
|
6438
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6439
|
+
*/
|
|
6440
|
+
'id': string;
|
|
6441
|
+
/**
|
|
6442
|
+
*
|
|
6443
|
+
* @type {string}
|
|
6444
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6445
|
+
*/
|
|
6446
|
+
'parentOrderId': string;
|
|
6447
|
+
/**
|
|
6448
|
+
*
|
|
6449
|
+
* @type {number}
|
|
6450
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6451
|
+
*/
|
|
6452
|
+
'businessId': number;
|
|
6453
|
+
/**
|
|
6454
|
+
*
|
|
6455
|
+
* @type {string}
|
|
6456
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6457
|
+
*/
|
|
6458
|
+
'profileId': string;
|
|
6459
|
+
/**
|
|
6460
|
+
*
|
|
6461
|
+
* @type {string}
|
|
6462
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6463
|
+
*/
|
|
6464
|
+
'profileName': string;
|
|
6465
|
+
/**
|
|
6466
|
+
*
|
|
6467
|
+
* @type {ProviderEnum}
|
|
6468
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6469
|
+
*/
|
|
6470
|
+
'provider': ProviderEnum;
|
|
6471
|
+
/**
|
|
6472
|
+
*
|
|
6473
|
+
* @type {string}
|
|
6474
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6475
|
+
*/
|
|
6476
|
+
'orderNumber': string;
|
|
6477
|
+
/**
|
|
6478
|
+
*
|
|
6479
|
+
* @type {string}
|
|
6480
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6481
|
+
*/
|
|
6482
|
+
'comment': string | null;
|
|
6483
|
+
/**
|
|
6484
|
+
*
|
|
6485
|
+
* @type {number}
|
|
6486
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6487
|
+
*/
|
|
6488
|
+
'preparedIn': number | null;
|
|
6489
|
+
/**
|
|
6490
|
+
*
|
|
6491
|
+
* @type {string}
|
|
6492
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6493
|
+
*/
|
|
6494
|
+
'spotNumber': string | null;
|
|
6495
|
+
/**
|
|
6496
|
+
*
|
|
6497
|
+
* @type {string}
|
|
6498
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6499
|
+
*/
|
|
6500
|
+
'acceptedAt': string | null;
|
|
6501
|
+
/**
|
|
6502
|
+
*
|
|
6503
|
+
* @type {string}
|
|
6504
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6505
|
+
*/
|
|
6506
|
+
'pickupEta': string | null;
|
|
6507
|
+
/**
|
|
6508
|
+
*
|
|
6509
|
+
* @type {string}
|
|
6510
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6511
|
+
*/
|
|
6512
|
+
'deliveryEta': string | null;
|
|
6513
|
+
/**
|
|
6514
|
+
*
|
|
6515
|
+
* @type {ConsumptionType}
|
|
6516
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6517
|
+
*/
|
|
6518
|
+
'consumptionType': ConsumptionType;
|
|
6519
|
+
/**
|
|
6520
|
+
*
|
|
6521
|
+
* @type {string}
|
|
6522
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6523
|
+
*/
|
|
6524
|
+
'orderCreatedAt': string;
|
|
6525
|
+
/**
|
|
6526
|
+
*
|
|
6527
|
+
* @type {string}
|
|
6528
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6529
|
+
*/
|
|
6530
|
+
'orderUpdatedAt': string;
|
|
6531
|
+
/**
|
|
6532
|
+
*
|
|
6533
|
+
* @type {OrderType}
|
|
6534
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6535
|
+
*/
|
|
6536
|
+
'type': OrderType;
|
|
6537
|
+
/**
|
|
6538
|
+
*
|
|
6539
|
+
* @type {OrderMode}
|
|
6540
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6541
|
+
*/
|
|
6542
|
+
'orderMode': OrderMode;
|
|
6543
|
+
/**
|
|
6544
|
+
*
|
|
6545
|
+
* @type {SourceType}
|
|
6546
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6547
|
+
*/
|
|
6548
|
+
'sourceType': SourceType;
|
|
6549
|
+
/**
|
|
6550
|
+
*
|
|
6551
|
+
* @type {OrderStatus}
|
|
6552
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6553
|
+
*/
|
|
6554
|
+
'status': OrderStatus;
|
|
6555
|
+
/**
|
|
6556
|
+
*
|
|
6557
|
+
* @type {string}
|
|
6558
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6559
|
+
*/
|
|
6560
|
+
'createdAt': string;
|
|
6561
|
+
/**
|
|
6562
|
+
*
|
|
6563
|
+
* @type {string}
|
|
6564
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6565
|
+
*/
|
|
6566
|
+
'updatedAt': string;
|
|
6567
|
+
/**
|
|
6568
|
+
*
|
|
6569
|
+
* @type {KdsCustomerDto}
|
|
6570
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6571
|
+
*/
|
|
6572
|
+
'customer': KdsCustomerDto | null;
|
|
6573
|
+
/**
|
|
6574
|
+
*
|
|
6575
|
+
* @type {KdsDeliveryDto}
|
|
6576
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6577
|
+
*/
|
|
6578
|
+
'delivery': KdsDeliveryDto | null;
|
|
6579
|
+
/**
|
|
6580
|
+
*
|
|
6581
|
+
* @type {KdsPreorderDto}
|
|
6582
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6583
|
+
*/
|
|
6584
|
+
'preorder': KdsPreorderDto | null;
|
|
6585
|
+
/**
|
|
6586
|
+
*
|
|
6587
|
+
* @type {KdsPriceSummaryDto}
|
|
6588
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6589
|
+
*/
|
|
6590
|
+
'priceSummary': KdsPriceSummaryDto | null;
|
|
6591
|
+
/**
|
|
6592
|
+
*
|
|
6593
|
+
* @type {Array<KdsOrderItemDto>}
|
|
6594
|
+
* @memberof KdsRevertOrderResponseDtoOrder
|
|
6595
|
+
*/
|
|
6596
|
+
'items': Array<KdsOrderItemDto>;
|
|
6597
|
+
}
|
|
6598
|
+
/**
|
|
6599
|
+
*
|
|
6600
|
+
* @export
|
|
6601
|
+
* @enum {string}
|
|
6602
|
+
*/
|
|
6603
|
+
export declare const KioskEventType: {
|
|
6604
|
+
readonly StatusUpdated: "kiosk.status.updated";
|
|
6605
|
+
readonly ConfigUpdated: "kiosk.config.updated";
|
|
6606
|
+
};
|
|
6607
|
+
export type KioskEventType = typeof KioskEventType[keyof typeof KioskEventType];
|
|
6608
|
+
/**
|
|
6609
|
+
*
|
|
6610
|
+
* @export
|
|
6611
|
+
* @enum {string}
|
|
6612
|
+
*/
|
|
6613
|
+
export declare const KioskLayout: {
|
|
6614
|
+
readonly Vertical: "VERTICAL";
|
|
6615
|
+
readonly Horizontal: "HORIZONTAL";
|
|
6616
|
+
};
|
|
6617
|
+
export type KioskLayout = typeof KioskLayout[keyof typeof KioskLayout];
|
|
6618
|
+
/**
|
|
6619
|
+
*
|
|
6620
|
+
* @export
|
|
6621
|
+
* @interface KioskStatusDto
|
|
6622
|
+
*/
|
|
6623
|
+
export interface KioskStatusDto {
|
|
6624
|
+
/**
|
|
6625
|
+
* The open status of the kiosk.
|
|
6626
|
+
* @type {boolean}
|
|
6627
|
+
* @memberof KioskStatusDto
|
|
6628
|
+
*/
|
|
6629
|
+
'open': boolean;
|
|
6630
|
+
/**
|
|
6631
|
+
*
|
|
6632
|
+
* @type {BusinessEventType}
|
|
6633
|
+
* @memberof KioskStatusDto
|
|
6634
|
+
*/
|
|
6635
|
+
'event': BusinessEventType;
|
|
6636
|
+
/**
|
|
6637
|
+
*
|
|
6638
|
+
* @type {KioskEventType}
|
|
6639
|
+
* @memberof KioskStatusDto
|
|
6640
|
+
*/
|
|
6641
|
+
'kiosk_event': KioskEventType;
|
|
6642
|
+
/**
|
|
6643
|
+
*
|
|
6644
|
+
* @type {PaymentEventType}
|
|
6645
|
+
* @memberof KioskStatusDto
|
|
6646
|
+
*/
|
|
6647
|
+
'payment_event': PaymentEventType;
|
|
6648
|
+
}
|
|
6649
|
+
/**
|
|
6650
|
+
*
|
|
6651
|
+
* @export
|
|
6652
|
+
* @enum {string}
|
|
6653
|
+
*/
|
|
6654
|
+
export declare const KitchenItemStatus: {
|
|
6655
|
+
readonly NotApplicable: "NOT_APPLICABLE";
|
|
6656
|
+
readonly Pending: "PENDING";
|
|
6657
|
+
readonly OnHold: "ON_HOLD";
|
|
6658
|
+
readonly SentToOm: "SENT_TO_OM";
|
|
6659
|
+
readonly DispatchedToKitchen: "DISPATCHED_TO_KITCHEN";
|
|
6660
|
+
readonly Completed: "COMPLETED";
|
|
6661
|
+
readonly Cancelled: "CANCELLED";
|
|
6662
|
+
readonly Ready: "READY";
|
|
6663
|
+
};
|
|
6664
|
+
export type KitchenItemStatus = typeof KitchenItemStatus[keyof typeof KitchenItemStatus];
|
|
6665
|
+
/**
|
|
6666
|
+
*
|
|
6667
|
+
* @export
|
|
6668
|
+
* @enum {string}
|
|
6669
|
+
*/
|
|
6670
|
+
export declare const KitchenStatus: {
|
|
6671
|
+
readonly NotApplicable: "not_applicable";
|
|
6672
|
+
readonly Pending: "pending";
|
|
6673
|
+
readonly OnHold: "on_hold";
|
|
6674
|
+
readonly Ready: "ready";
|
|
6675
|
+
readonly SentToOm: "sent_to_om";
|
|
6676
|
+
readonly DispatchedToKitchen: "dispatched_to_kitchen";
|
|
6677
|
+
readonly Completed: "completed";
|
|
6678
|
+
readonly Cancelled: "cancelled";
|
|
6679
|
+
};
|
|
6680
|
+
export type KitchenStatus = typeof KitchenStatus[keyof typeof KitchenStatus];
|
|
6681
|
+
/**
|
|
6682
|
+
*
|
|
6683
|
+
* @export
|
|
6684
|
+
* @interface LapseDto
|
|
6685
|
+
*/
|
|
6686
|
+
export interface LapseDto {
|
|
6687
|
+
/**
|
|
6688
|
+
*
|
|
6689
|
+
* @type {LapseDtoOpen}
|
|
6690
|
+
* @memberof LapseDto
|
|
6691
|
+
*/
|
|
6692
|
+
'open': LapseDtoOpen;
|
|
6693
|
+
/**
|
|
6694
|
+
*
|
|
6695
|
+
* @type {LapseDtoClose}
|
|
6696
|
+
* @memberof LapseDto
|
|
6697
|
+
*/
|
|
6698
|
+
'close': LapseDtoClose;
|
|
6699
|
+
}
|
|
6700
|
+
/**
|
|
6701
|
+
* Closing time for the lapse
|
|
6702
|
+
* @export
|
|
6703
|
+
* @interface LapseDtoClose
|
|
6704
|
+
*/
|
|
6705
|
+
export interface LapseDtoClose {
|
|
6706
|
+
/**
|
|
6707
|
+
* Hour component of the time (0-23)
|
|
6708
|
+
* @type {number}
|
|
6709
|
+
* @memberof LapseDtoClose
|
|
6710
|
+
*/
|
|
6711
|
+
'hour': number;
|
|
6712
|
+
/**
|
|
6713
|
+
* Minute component of the time (0-59)
|
|
6714
|
+
* @type {number}
|
|
6715
|
+
* @memberof LapseDtoClose
|
|
6716
|
+
*/
|
|
6717
|
+
'minute': number;
|
|
6718
|
+
}
|
|
6719
|
+
/**
|
|
6720
|
+
* Opening time for the lapse
|
|
6721
|
+
* @export
|
|
6722
|
+
* @interface LapseDtoOpen
|
|
6723
|
+
*/
|
|
6724
|
+
export interface LapseDtoOpen {
|
|
6725
|
+
/**
|
|
6726
|
+
* Hour component of the time (0-23)
|
|
6727
|
+
* @type {number}
|
|
6728
|
+
* @memberof LapseDtoOpen
|
|
6729
|
+
*/
|
|
6730
|
+
'hour': number;
|
|
6731
|
+
/**
|
|
6732
|
+
* Minute component of the time (0-59)
|
|
6733
|
+
* @type {number}
|
|
6734
|
+
* @memberof LapseDtoOpen
|
|
5369
6735
|
*/
|
|
5370
6736
|
'minute': number;
|
|
5371
6737
|
}
|
|
@@ -7581,6 +8947,16 @@ export interface OrderHistoryResponseDtoSummary {
|
|
|
7581
8947
|
*/
|
|
7582
8948
|
'totalTipAmount'?: number;
|
|
7583
8949
|
}
|
|
8950
|
+
/**
|
|
8951
|
+
*
|
|
8952
|
+
* @export
|
|
8953
|
+
* @enum {string}
|
|
8954
|
+
*/
|
|
8955
|
+
export declare const OrderMode: {
|
|
8956
|
+
readonly Instant: "INSTANT";
|
|
8957
|
+
readonly PreOrder: "PRE_ORDER";
|
|
8958
|
+
};
|
|
8959
|
+
export type OrderMode = typeof OrderMode[keyof typeof OrderMode];
|
|
7584
8960
|
/**
|
|
7585
8961
|
*
|
|
7586
8962
|
* @export
|
|
@@ -7992,6 +9368,18 @@ export declare const OrderSource: {
|
|
|
7992
9368
|
readonly Pos: "POS";
|
|
7993
9369
|
};
|
|
7994
9370
|
export type OrderSource = typeof OrderSource[keyof typeof OrderSource];
|
|
9371
|
+
/**
|
|
9372
|
+
*
|
|
9373
|
+
* @export
|
|
9374
|
+
* @enum {string}
|
|
9375
|
+
*/
|
|
9376
|
+
export declare const OrderStatus: {
|
|
9377
|
+
readonly InProgress: "IN_PROGRESS";
|
|
9378
|
+
readonly Ready: "READY";
|
|
9379
|
+
readonly Delivered: "DELIVERED";
|
|
9380
|
+
readonly Rejected: "REJECTED";
|
|
9381
|
+
};
|
|
9382
|
+
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
|
7995
9383
|
/**
|
|
7996
9384
|
*
|
|
7997
9385
|
* @export
|
|
@@ -10207,6 +11595,37 @@ export interface PosEmployeeDto {
|
|
|
10207
11595
|
*/
|
|
10208
11596
|
'pinHash': string;
|
|
10209
11597
|
}
|
|
11598
|
+
/**
|
|
11599
|
+
*
|
|
11600
|
+
* @export
|
|
11601
|
+
* @interface PosGlobalSettingsResponseDto
|
|
11602
|
+
*/
|
|
11603
|
+
export interface PosGlobalSettingsResponseDto {
|
|
11604
|
+
/**
|
|
11605
|
+
*
|
|
11606
|
+
* @type {number}
|
|
11607
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11608
|
+
*/
|
|
11609
|
+
'businessId': number;
|
|
11610
|
+
/**
|
|
11611
|
+
*
|
|
11612
|
+
* @type {ProviderEnum}
|
|
11613
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11614
|
+
*/
|
|
11615
|
+
'provider': ProviderEnum;
|
|
11616
|
+
/**
|
|
11617
|
+
*
|
|
11618
|
+
* @type {boolean}
|
|
11619
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11620
|
+
*/
|
|
11621
|
+
'hidePosOrdersInOm': boolean;
|
|
11622
|
+
/**
|
|
11623
|
+
*
|
|
11624
|
+
* @type {boolean}
|
|
11625
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11626
|
+
*/
|
|
11627
|
+
'emitPrintJob': boolean;
|
|
11628
|
+
}
|
|
10210
11629
|
/**
|
|
10211
11630
|
*
|
|
10212
11631
|
* @export
|
|
@@ -12605,6 +14024,44 @@ export interface ProviderStatusResponseDto {
|
|
|
12605
14024
|
*/
|
|
12606
14025
|
'open': boolean;
|
|
12607
14026
|
}
|
|
14027
|
+
/**
|
|
14028
|
+
*
|
|
14029
|
+
* @export
|
|
14030
|
+
* @interface ProviderSupportedIntegrationsDto
|
|
14031
|
+
*/
|
|
14032
|
+
export interface ProviderSupportedIntegrationsDto {
|
|
14033
|
+
/**
|
|
14034
|
+
*
|
|
14035
|
+
* @type {ProviderEnum}
|
|
14036
|
+
* @memberof ProviderSupportedIntegrationsDto
|
|
14037
|
+
*/
|
|
14038
|
+
'provider': ProviderEnum;
|
|
14039
|
+
/**
|
|
14040
|
+
* Integrations this provider supports
|
|
14041
|
+
* @type {Array<IntegrationType>}
|
|
14042
|
+
* @memberof ProviderSupportedIntegrationsDto
|
|
14043
|
+
*/
|
|
14044
|
+
'supportedIntegrations': Array<IntegrationType>;
|
|
14045
|
+
}
|
|
14046
|
+
/**
|
|
14047
|
+
*
|
|
14048
|
+
* @export
|
|
14049
|
+
* @enum {string}
|
|
14050
|
+
*/
|
|
14051
|
+
export declare const PubSubAction: {
|
|
14052
|
+
readonly Activity: "ORDER_ACTIVITY";
|
|
14053
|
+
readonly Deleted: "ORDER_DELETED";
|
|
14054
|
+
};
|
|
14055
|
+
export type PubSubAction = typeof PubSubAction[keyof typeof PubSubAction];
|
|
14056
|
+
/**
|
|
14057
|
+
*
|
|
14058
|
+
* @export
|
|
14059
|
+
* @enum {string}
|
|
14060
|
+
*/
|
|
14061
|
+
export declare const PubSubTarget: {
|
|
14062
|
+
readonly Kds: "KDS";
|
|
14063
|
+
};
|
|
14064
|
+
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
12608
14065
|
/**
|
|
12609
14066
|
*
|
|
12610
14067
|
* @export
|
|
@@ -13671,6 +15128,16 @@ export interface SingleProviderStatusResponseDtoActiveChannel {
|
|
|
13671
15128
|
*/
|
|
13672
15129
|
'open': boolean;
|
|
13673
15130
|
}
|
|
15131
|
+
/**
|
|
15132
|
+
*
|
|
15133
|
+
* @export
|
|
15134
|
+
* @enum {string}
|
|
15135
|
+
*/
|
|
15136
|
+
export declare const SourceType: {
|
|
15137
|
+
readonly Order: "ORDER";
|
|
15138
|
+
readonly Ticket: "TICKET";
|
|
15139
|
+
};
|
|
15140
|
+
export type SourceType = typeof SourceType[keyof typeof SourceType];
|
|
13674
15141
|
/**
|
|
13675
15142
|
*
|
|
13676
15143
|
* @export
|
|
@@ -13854,6 +15321,12 @@ export interface StationDetailsDto {
|
|
|
13854
15321
|
* @memberof StationDetailsDto
|
|
13855
15322
|
*/
|
|
13856
15323
|
'prefix': string;
|
|
15324
|
+
/**
|
|
15325
|
+
*
|
|
15326
|
+
* @type {object}
|
|
15327
|
+
* @memberof StationDetailsDto
|
|
15328
|
+
*/
|
|
15329
|
+
'settings'?: object;
|
|
13857
15330
|
/**
|
|
13858
15331
|
*
|
|
13859
15332
|
* @type {object}
|
|
@@ -13941,11 +15414,96 @@ export interface StationDetailsDtoPaymentTerminal {
|
|
|
13941
15414
|
*/
|
|
13942
15415
|
export interface StationSyncResponseDto {
|
|
13943
15416
|
/**
|
|
13944
|
-
*
|
|
13945
|
-
* @type {
|
|
15417
|
+
*
|
|
15418
|
+
* @type {StationSyncResponseDtoStation}
|
|
13946
15419
|
* @memberof StationSyncResponseDto
|
|
13947
15420
|
*/
|
|
13948
|
-
'
|
|
15421
|
+
'station': StationSyncResponseDtoStation;
|
|
15422
|
+
}
|
|
15423
|
+
/**
|
|
15424
|
+
* The synced station data
|
|
15425
|
+
* @export
|
|
15426
|
+
* @interface StationSyncResponseDtoStation
|
|
15427
|
+
*/
|
|
15428
|
+
export interface StationSyncResponseDtoStation {
|
|
15429
|
+
/**
|
|
15430
|
+
*
|
|
15431
|
+
* @type {string}
|
|
15432
|
+
* @memberof StationSyncResponseDtoStation
|
|
15433
|
+
*/
|
|
15434
|
+
'id': string;
|
|
15435
|
+
/**
|
|
15436
|
+
*
|
|
15437
|
+
* @type {string}
|
|
15438
|
+
* @memberof StationSyncResponseDtoStation
|
|
15439
|
+
*/
|
|
15440
|
+
'name': string;
|
|
15441
|
+
/**
|
|
15442
|
+
*
|
|
15443
|
+
* @type {string}
|
|
15444
|
+
* @memberof StationSyncResponseDtoStation
|
|
15445
|
+
*/
|
|
15446
|
+
'hardwareId': string;
|
|
15447
|
+
/**
|
|
15448
|
+
*
|
|
15449
|
+
* @type {StationType}
|
|
15450
|
+
* @memberof StationSyncResponseDtoStation
|
|
15451
|
+
*/
|
|
15452
|
+
'type': StationType;
|
|
15453
|
+
/**
|
|
15454
|
+
*
|
|
15455
|
+
* @type {DeviceType}
|
|
15456
|
+
* @memberof StationSyncResponseDtoStation
|
|
15457
|
+
*/
|
|
15458
|
+
'deviceType'?: DeviceType;
|
|
15459
|
+
/**
|
|
15460
|
+
*
|
|
15461
|
+
* @type {Status}
|
|
15462
|
+
* @memberof StationSyncResponseDtoStation
|
|
15463
|
+
*/
|
|
15464
|
+
'status': Status;
|
|
15465
|
+
/**
|
|
15466
|
+
*
|
|
15467
|
+
* @type {number}
|
|
15468
|
+
* @memberof StationSyncResponseDtoStation
|
|
15469
|
+
*/
|
|
15470
|
+
'orderingBusinessId': number;
|
|
15471
|
+
/**
|
|
15472
|
+
*
|
|
15473
|
+
* @type {string}
|
|
15474
|
+
* @memberof StationSyncResponseDtoStation
|
|
15475
|
+
*/
|
|
15476
|
+
'prefix': string;
|
|
15477
|
+
/**
|
|
15478
|
+
*
|
|
15479
|
+
* @type {object}
|
|
15480
|
+
* @memberof StationSyncResponseDtoStation
|
|
15481
|
+
*/
|
|
15482
|
+
'settings'?: object;
|
|
15483
|
+
/**
|
|
15484
|
+
*
|
|
15485
|
+
* @type {object}
|
|
15486
|
+
* @memberof StationSyncResponseDtoStation
|
|
15487
|
+
*/
|
|
15488
|
+
'metadata'?: object;
|
|
15489
|
+
/**
|
|
15490
|
+
* Timestamp when the station record was created.
|
|
15491
|
+
* @type {string}
|
|
15492
|
+
* @memberof StationSyncResponseDtoStation
|
|
15493
|
+
*/
|
|
15494
|
+
'createdAt': string;
|
|
15495
|
+
/**
|
|
15496
|
+
* Timestamp when the station record was last updated.
|
|
15497
|
+
* @type {string}
|
|
15498
|
+
* @memberof StationSyncResponseDtoStation
|
|
15499
|
+
*/
|
|
15500
|
+
'updatedAt': string;
|
|
15501
|
+
/**
|
|
15502
|
+
*
|
|
15503
|
+
* @type {StationDetailsDtoPaymentTerminal}
|
|
15504
|
+
* @memberof StationSyncResponseDtoStation
|
|
15505
|
+
*/
|
|
15506
|
+
'paymentTerminal'?: StationDetailsDtoPaymentTerminal | null;
|
|
13949
15507
|
}
|
|
13950
15508
|
/**
|
|
13951
15509
|
*
|
|
@@ -14156,7 +15714,7 @@ export interface SyncStationDto {
|
|
|
14156
15714
|
* @type {string}
|
|
14157
15715
|
* @memberof SyncStationDto
|
|
14158
15716
|
*/
|
|
14159
|
-
'prefix'
|
|
15717
|
+
'prefix'?: string;
|
|
14160
15718
|
/**
|
|
14161
15719
|
*
|
|
14162
15720
|
* @type {StationType}
|
|
@@ -14191,46 +15749,12 @@ export interface SyncStationDto {
|
|
|
14191
15749
|
/**
|
|
14192
15750
|
*
|
|
14193
15751
|
* @export
|
|
14194
|
-
* @
|
|
15752
|
+
* @enum {string}
|
|
14195
15753
|
*/
|
|
14196
|
-
export
|
|
14197
|
-
|
|
14198
|
-
|
|
14199
|
-
|
|
14200
|
-
* @memberof SyncTerminalDto
|
|
14201
|
-
*/
|
|
14202
|
-
'stationHardwareId': string;
|
|
14203
|
-
/**
|
|
14204
|
-
* Hardware ID of the payment terminal
|
|
14205
|
-
* @type {string}
|
|
14206
|
-
* @memberof SyncTerminalDto
|
|
14207
|
-
*/
|
|
14208
|
-
'terminalId': string;
|
|
14209
|
-
/**
|
|
14210
|
-
*
|
|
14211
|
-
* @type {PaymentProvider}
|
|
14212
|
-
* @memberof SyncTerminalDto
|
|
14213
|
-
*/
|
|
14214
|
-
'provider': PaymentProvider;
|
|
14215
|
-
/**
|
|
14216
|
-
* Label/name for the terminal
|
|
14217
|
-
* @type {string}
|
|
14218
|
-
* @memberof SyncTerminalDto
|
|
14219
|
-
*/
|
|
14220
|
-
'label'?: string;
|
|
14221
|
-
/**
|
|
14222
|
-
*
|
|
14223
|
-
* @type {TerminalConnectionType}
|
|
14224
|
-
* @memberof SyncTerminalDto
|
|
14225
|
-
*/
|
|
14226
|
-
'connectionType'?: TerminalConnectionType;
|
|
14227
|
-
/**
|
|
14228
|
-
* Business ID that owns the terminal
|
|
14229
|
-
* @type {number}
|
|
14230
|
-
* @memberof SyncTerminalDto
|
|
14231
|
-
*/
|
|
14232
|
-
'businessId': number;
|
|
14233
|
-
}
|
|
15754
|
+
export declare const SystemProfileType: {
|
|
15755
|
+
readonly NoStation: "NO_STATION";
|
|
15756
|
+
};
|
|
15757
|
+
export type SystemProfileType = typeof SystemProfileType[keyof typeof SystemProfileType];
|
|
14234
15758
|
/**
|
|
14235
15759
|
*
|
|
14236
15760
|
* @export
|
|
@@ -15831,11 +17355,11 @@ export interface UnifiedProductDto {
|
|
|
15831
17355
|
*/
|
|
15832
17356
|
'comment'?: string | null;
|
|
15833
17357
|
/**
|
|
15834
|
-
*
|
|
15835
|
-
* @type {
|
|
17358
|
+
*
|
|
17359
|
+
* @type {KitchenItemStatus}
|
|
15836
17360
|
* @memberof UnifiedProductDto
|
|
15837
17361
|
*/
|
|
15838
|
-
'kitchenStatus'
|
|
17362
|
+
'kitchenStatus': KitchenItemStatus;
|
|
15839
17363
|
/**
|
|
15840
17364
|
* List of options selected for this product
|
|
15841
17365
|
* @type {Array<UnifiedOptionDto>}
|
|
@@ -16128,6 +17652,19 @@ export interface UpdatePermissionDto {
|
|
|
16128
17652
|
*/
|
|
16129
17653
|
'enabled': boolean;
|
|
16130
17654
|
}
|
|
17655
|
+
/**
|
|
17656
|
+
*
|
|
17657
|
+
* @export
|
|
17658
|
+
* @interface UpdatePosGlobalSettingsDto
|
|
17659
|
+
*/
|
|
17660
|
+
export interface UpdatePosGlobalSettingsDto {
|
|
17661
|
+
/**
|
|
17662
|
+
* Whether POS orders should be hidden from OM for this business.
|
|
17663
|
+
* @type {boolean}
|
|
17664
|
+
* @memberof UpdatePosGlobalSettingsDto
|
|
17665
|
+
*/
|
|
17666
|
+
'hidePosOrdersInOm': boolean;
|
|
17667
|
+
}
|
|
16131
17668
|
/**
|
|
16132
17669
|
*
|
|
16133
17670
|
* @export
|
|
@@ -20059,38 +21596,38 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20059
21596
|
/**
|
|
20060
21597
|
*
|
|
20061
21598
|
* @param {string} businessId
|
|
20062
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
21599
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20063
21600
|
* @param {*} [options] Override http request option.
|
|
20064
21601
|
* @throws {RequiredError}
|
|
20065
21602
|
*/
|
|
20066
|
-
getBusinessMenuByType: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21603
|
+
getBusinessMenuByType: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20067
21604
|
/**
|
|
20068
21605
|
*
|
|
20069
21606
|
* @summary Get business menu by type V2
|
|
20070
21607
|
* @param {string} businessId
|
|
20071
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
21608
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20072
21609
|
* @param {*} [options] Override http request option.
|
|
20073
21610
|
* @throws {RequiredError}
|
|
20074
21611
|
*/
|
|
20075
|
-
getBusinessMenuByTypeV2: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21612
|
+
getBusinessMenuByTypeV2: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20076
21613
|
/**
|
|
20077
21614
|
*
|
|
20078
21615
|
* @summary Get business menu by type V3
|
|
20079
21616
|
* @param {string} businessId
|
|
20080
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
21617
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20081
21618
|
* @param {*} [options] Override http request option.
|
|
20082
21619
|
* @throws {RequiredError}
|
|
20083
21620
|
*/
|
|
20084
|
-
getBusinessMenuByTypeV3: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21621
|
+
getBusinessMenuByTypeV3: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20085
21622
|
/**
|
|
20086
21623
|
*
|
|
20087
21624
|
* @summary Get business menu by type V4
|
|
20088
21625
|
* @param {string} businessId
|
|
20089
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
21626
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20090
21627
|
* @param {*} [options] Override http request option.
|
|
20091
21628
|
* @throws {RequiredError}
|
|
20092
21629
|
*/
|
|
20093
|
-
getBusinessMenuByTypeV4: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21630
|
+
getBusinessMenuByTypeV4: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20094
21631
|
/**
|
|
20095
21632
|
*
|
|
20096
21633
|
* @param {string} businessId Id of the business
|
|
@@ -20112,6 +21649,13 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20112
21649
|
* @throws {RequiredError}
|
|
20113
21650
|
*/
|
|
20114
21651
|
getBusinessTax: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21652
|
+
/**
|
|
21653
|
+
*
|
|
21654
|
+
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
21655
|
+
* @param {*} [options] Override http request option.
|
|
21656
|
+
* @throws {RequiredError}
|
|
21657
|
+
*/
|
|
21658
|
+
getProvidersSupportedIntegrations: (businessIds: Array<number>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20115
21659
|
/**
|
|
20116
21660
|
*
|
|
20117
21661
|
* @param {string} businessId Id of the business
|
|
@@ -20272,38 +21816,38 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
|
|
|
20272
21816
|
/**
|
|
20273
21817
|
*
|
|
20274
21818
|
* @param {string} businessId
|
|
20275
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
21819
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20276
21820
|
* @param {*} [options] Override http request option.
|
|
20277
21821
|
* @throws {RequiredError}
|
|
20278
21822
|
*/
|
|
20279
|
-
getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
|
|
21823
|
+
getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
|
|
20280
21824
|
/**
|
|
20281
21825
|
*
|
|
20282
21826
|
* @summary Get business menu by type V2
|
|
20283
21827
|
* @param {string} businessId
|
|
20284
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
21828
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20285
21829
|
* @param {*} [options] Override http request option.
|
|
20286
21830
|
* @throws {RequiredError}
|
|
20287
21831
|
*/
|
|
20288
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
|
|
21832
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
|
|
20289
21833
|
/**
|
|
20290
21834
|
*
|
|
20291
21835
|
* @summary Get business menu by type V3
|
|
20292
21836
|
* @param {string} businessId
|
|
20293
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
21837
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20294
21838
|
* @param {*} [options] Override http request option.
|
|
20295
21839
|
* @throws {RequiredError}
|
|
20296
21840
|
*/
|
|
20297
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
|
|
21841
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
|
|
20298
21842
|
/**
|
|
20299
21843
|
*
|
|
20300
21844
|
* @summary Get business menu by type V4
|
|
20301
21845
|
* @param {string} businessId
|
|
20302
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
21846
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20303
21847
|
* @param {*} [options] Override http request option.
|
|
20304
21848
|
* @throws {RequiredError}
|
|
20305
21849
|
*/
|
|
20306
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
|
|
21850
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
|
|
20307
21851
|
/**
|
|
20308
21852
|
*
|
|
20309
21853
|
* @param {string} businessId Id of the business
|
|
@@ -20325,6 +21869,13 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
|
|
|
20325
21869
|
* @throws {RequiredError}
|
|
20326
21870
|
*/
|
|
20327
21871
|
getBusinessTax(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessTaxResponseDto>>>;
|
|
21872
|
+
/**
|
|
21873
|
+
*
|
|
21874
|
+
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
21875
|
+
* @param {*} [options] Override http request option.
|
|
21876
|
+
* @throws {RequiredError}
|
|
21877
|
+
*/
|
|
21878
|
+
getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>>;
|
|
20328
21879
|
/**
|
|
20329
21880
|
*
|
|
20330
21881
|
* @param {string} businessId Id of the business
|
|
@@ -20485,38 +22036,38 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
|
|
|
20485
22036
|
/**
|
|
20486
22037
|
*
|
|
20487
22038
|
* @param {string} businessId
|
|
20488
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22039
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20489
22040
|
* @param {*} [options] Override http request option.
|
|
20490
22041
|
* @throws {RequiredError}
|
|
20491
22042
|
*/
|
|
20492
|
-
getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<Array<MenuDto>>;
|
|
22043
|
+
getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<Array<MenuDto>>;
|
|
20493
22044
|
/**
|
|
20494
22045
|
*
|
|
20495
22046
|
* @summary Get business menu by type V2
|
|
20496
22047
|
* @param {string} businessId
|
|
20497
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22048
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20498
22049
|
* @param {*} [options] Override http request option.
|
|
20499
22050
|
* @throws {RequiredError}
|
|
20500
22051
|
*/
|
|
20501
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<Array<MenuDto>>;
|
|
22052
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<Array<MenuDto>>;
|
|
20502
22053
|
/**
|
|
20503
22054
|
*
|
|
20504
22055
|
* @summary Get business menu by type V3
|
|
20505
22056
|
* @param {string} businessId
|
|
20506
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22057
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20507
22058
|
* @param {*} [options] Override http request option.
|
|
20508
22059
|
* @throws {RequiredError}
|
|
20509
22060
|
*/
|
|
20510
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<MenuReponseDto>;
|
|
22061
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<MenuReponseDto>;
|
|
20511
22062
|
/**
|
|
20512
22063
|
*
|
|
20513
22064
|
* @summary Get business menu by type V4
|
|
20514
22065
|
* @param {string} businessId
|
|
20515
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22066
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20516
22067
|
* @param {*} [options] Override http request option.
|
|
20517
22068
|
* @throws {RequiredError}
|
|
20518
22069
|
*/
|
|
20519
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<MenuReponseDto>;
|
|
22070
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<MenuReponseDto>;
|
|
20520
22071
|
/**
|
|
20521
22072
|
*
|
|
20522
22073
|
* @param {string} businessId Id of the business
|
|
@@ -20538,6 +22089,13 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
|
|
|
20538
22089
|
* @throws {RequiredError}
|
|
20539
22090
|
*/
|
|
20540
22091
|
getBusinessTax(options?: any): AxiosPromise<Array<BusinessTaxResponseDto>>;
|
|
22092
|
+
/**
|
|
22093
|
+
*
|
|
22094
|
+
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
22095
|
+
* @param {*} [options] Override http request option.
|
|
22096
|
+
* @throws {RequiredError}
|
|
22097
|
+
*/
|
|
22098
|
+
getProvidersSupportedIntegrations(businessIds: Array<number>, options?: any): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>;
|
|
20541
22099
|
/**
|
|
20542
22100
|
*
|
|
20543
22101
|
* @param {string} businessId Id of the business
|
|
@@ -20711,42 +22269,42 @@ export interface BusinessApiInterface {
|
|
|
20711
22269
|
/**
|
|
20712
22270
|
*
|
|
20713
22271
|
* @param {string} businessId
|
|
20714
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22272
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20715
22273
|
* @param {*} [options] Override http request option.
|
|
20716
22274
|
* @throws {RequiredError}
|
|
20717
22275
|
* @memberof BusinessApiInterface
|
|
20718
22276
|
*/
|
|
20719
|
-
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
22277
|
+
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
20720
22278
|
/**
|
|
20721
22279
|
*
|
|
20722
22280
|
* @summary Get business menu by type V2
|
|
20723
22281
|
* @param {string} businessId
|
|
20724
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22282
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20725
22283
|
* @param {*} [options] Override http request option.
|
|
20726
22284
|
* @throws {RequiredError}
|
|
20727
22285
|
* @memberof BusinessApiInterface
|
|
20728
22286
|
*/
|
|
20729
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
22287
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
|
|
20730
22288
|
/**
|
|
20731
22289
|
*
|
|
20732
22290
|
* @summary Get business menu by type V3
|
|
20733
22291
|
* @param {string} businessId
|
|
20734
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22292
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20735
22293
|
* @param {*} [options] Override http request option.
|
|
20736
22294
|
* @throws {RequiredError}
|
|
20737
22295
|
* @memberof BusinessApiInterface
|
|
20738
22296
|
*/
|
|
20739
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
22297
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
20740
22298
|
/**
|
|
20741
22299
|
*
|
|
20742
22300
|
* @summary Get business menu by type V4
|
|
20743
22301
|
* @param {string} businessId
|
|
20744
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22302
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20745
22303
|
* @param {*} [options] Override http request option.
|
|
20746
22304
|
* @throws {RequiredError}
|
|
20747
22305
|
* @memberof BusinessApiInterface
|
|
20748
22306
|
*/
|
|
20749
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
22307
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
20750
22308
|
/**
|
|
20751
22309
|
*
|
|
20752
22310
|
* @param {string} businessId Id of the business
|
|
@@ -20770,7 +22328,15 @@ export interface BusinessApiInterface {
|
|
|
20770
22328
|
* @throws {RequiredError}
|
|
20771
22329
|
* @memberof BusinessApiInterface
|
|
20772
22330
|
*/
|
|
20773
|
-
getBusinessTax(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessTaxResponseDto>>;
|
|
22331
|
+
getBusinessTax(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessTaxResponseDto>>;
|
|
22332
|
+
/**
|
|
22333
|
+
*
|
|
22334
|
+
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
22335
|
+
* @param {*} [options] Override http request option.
|
|
22336
|
+
* @throws {RequiredError}
|
|
22337
|
+
* @memberof BusinessApiInterface
|
|
22338
|
+
*/
|
|
22339
|
+
getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>;
|
|
20774
22340
|
/**
|
|
20775
22341
|
*
|
|
20776
22342
|
* @param {string} businessId Id of the business
|
|
@@ -20951,42 +22517,42 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
|
|
|
20951
22517
|
/**
|
|
20952
22518
|
*
|
|
20953
22519
|
* @param {string} businessId
|
|
20954
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22520
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20955
22521
|
* @param {*} [options] Override http request option.
|
|
20956
22522
|
* @throws {RequiredError}
|
|
20957
22523
|
* @memberof BusinessApi
|
|
20958
22524
|
*/
|
|
20959
|
-
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
|
|
22525
|
+
getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
|
|
20960
22526
|
/**
|
|
20961
22527
|
*
|
|
20962
22528
|
* @summary Get business menu by type V2
|
|
20963
22529
|
* @param {string} businessId
|
|
20964
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22530
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20965
22531
|
* @param {*} [options] Override http request option.
|
|
20966
22532
|
* @throws {RequiredError}
|
|
20967
22533
|
* @memberof BusinessApi
|
|
20968
22534
|
*/
|
|
20969
|
-
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
|
|
22535
|
+
getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
|
|
20970
22536
|
/**
|
|
20971
22537
|
*
|
|
20972
22538
|
* @summary Get business menu by type V3
|
|
20973
22539
|
* @param {string} businessId
|
|
20974
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22540
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20975
22541
|
* @param {*} [options] Override http request option.
|
|
20976
22542
|
* @throws {RequiredError}
|
|
20977
22543
|
* @memberof BusinessApi
|
|
20978
22544
|
*/
|
|
20979
|
-
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
|
|
22545
|
+
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
|
|
20980
22546
|
/**
|
|
20981
22547
|
*
|
|
20982
22548
|
* @summary Get business menu by type V4
|
|
20983
22549
|
* @param {string} businessId
|
|
20984
|
-
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
22550
|
+
* @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
|
|
20985
22551
|
* @param {*} [options] Override http request option.
|
|
20986
22552
|
* @throws {RequiredError}
|
|
20987
22553
|
* @memberof BusinessApi
|
|
20988
22554
|
*/
|
|
20989
|
-
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
|
|
22555
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
|
|
20990
22556
|
/**
|
|
20991
22557
|
*
|
|
20992
22558
|
* @param {string} businessId Id of the business
|
|
@@ -21011,6 +22577,14 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
|
|
|
21011
22577
|
* @memberof BusinessApi
|
|
21012
22578
|
*/
|
|
21013
22579
|
getBusinessTax(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessTaxResponseDto[], any, {}>>;
|
|
22580
|
+
/**
|
|
22581
|
+
*
|
|
22582
|
+
* @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
|
|
22583
|
+
* @param {*} [options] Override http request option.
|
|
22584
|
+
* @throws {RequiredError}
|
|
22585
|
+
* @memberof BusinessApi
|
|
22586
|
+
*/
|
|
22587
|
+
getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessProvidersSupportedIntegrationsResponseDto[], any, {}>>;
|
|
21014
22588
|
/**
|
|
21015
22589
|
*
|
|
21016
22590
|
* @param {string} businessId Id of the business
|
|
@@ -21067,6 +22641,86 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
|
|
|
21067
22641
|
*/
|
|
21068
22642
|
validateBusiness(businessId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessValidationResponseDto, any, {}>>;
|
|
21069
22643
|
}
|
|
22644
|
+
/**
|
|
22645
|
+
* BusinessProviderPolicyApi - axios parameter creator
|
|
22646
|
+
* @export
|
|
22647
|
+
*/
|
|
22648
|
+
export declare const BusinessProviderPolicyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22649
|
+
/**
|
|
22650
|
+
*
|
|
22651
|
+
* @summary Update global POS visibility settings for a business
|
|
22652
|
+
* @param {number} businessId Business ID to update
|
|
22653
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22654
|
+
* @param {*} [options] Override http request option.
|
|
22655
|
+
* @throws {RequiredError}
|
|
22656
|
+
*/
|
|
22657
|
+
updatePosGlobalSettings: (businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22658
|
+
};
|
|
22659
|
+
/**
|
|
22660
|
+
* BusinessProviderPolicyApi - functional programming interface
|
|
22661
|
+
* @export
|
|
22662
|
+
*/
|
|
22663
|
+
export declare const BusinessProviderPolicyApiFp: (configuration?: Configuration) => {
|
|
22664
|
+
/**
|
|
22665
|
+
*
|
|
22666
|
+
* @summary Update global POS visibility settings for a business
|
|
22667
|
+
* @param {number} businessId Business ID to update
|
|
22668
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22669
|
+
* @param {*} [options] Override http request option.
|
|
22670
|
+
* @throws {RequiredError}
|
|
22671
|
+
*/
|
|
22672
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PosGlobalSettingsResponseDto>>;
|
|
22673
|
+
};
|
|
22674
|
+
/**
|
|
22675
|
+
* BusinessProviderPolicyApi - factory interface
|
|
22676
|
+
* @export
|
|
22677
|
+
*/
|
|
22678
|
+
export declare const BusinessProviderPolicyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22679
|
+
/**
|
|
22680
|
+
*
|
|
22681
|
+
* @summary Update global POS visibility settings for a business
|
|
22682
|
+
* @param {number} businessId Business ID to update
|
|
22683
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22684
|
+
* @param {*} [options] Override http request option.
|
|
22685
|
+
* @throws {RequiredError}
|
|
22686
|
+
*/
|
|
22687
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: any): AxiosPromise<PosGlobalSettingsResponseDto>;
|
|
22688
|
+
};
|
|
22689
|
+
/**
|
|
22690
|
+
* BusinessProviderPolicyApi - interface
|
|
22691
|
+
* @export
|
|
22692
|
+
* @interface BusinessProviderPolicyApi
|
|
22693
|
+
*/
|
|
22694
|
+
export interface BusinessProviderPolicyApiInterface {
|
|
22695
|
+
/**
|
|
22696
|
+
*
|
|
22697
|
+
* @summary Update global POS visibility settings for a business
|
|
22698
|
+
* @param {number} businessId Business ID to update
|
|
22699
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22700
|
+
* @param {*} [options] Override http request option.
|
|
22701
|
+
* @throws {RequiredError}
|
|
22702
|
+
* @memberof BusinessProviderPolicyApiInterface
|
|
22703
|
+
*/
|
|
22704
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): AxiosPromise<PosGlobalSettingsResponseDto>;
|
|
22705
|
+
}
|
|
22706
|
+
/**
|
|
22707
|
+
* BusinessProviderPolicyApi - object-oriented interface
|
|
22708
|
+
* @export
|
|
22709
|
+
* @class BusinessProviderPolicyApi
|
|
22710
|
+
* @extends {BaseAPI}
|
|
22711
|
+
*/
|
|
22712
|
+
export declare class BusinessProviderPolicyApi extends BaseAPI implements BusinessProviderPolicyApiInterface {
|
|
22713
|
+
/**
|
|
22714
|
+
*
|
|
22715
|
+
* @summary Update global POS visibility settings for a business
|
|
22716
|
+
* @param {number} businessId Business ID to update
|
|
22717
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22718
|
+
* @param {*} [options] Override http request option.
|
|
22719
|
+
* @throws {RequiredError}
|
|
22720
|
+
* @memberof BusinessProviderPolicyApi
|
|
22721
|
+
*/
|
|
22722
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosGlobalSettingsResponseDto, any, {}>>;
|
|
22723
|
+
}
|
|
21070
22724
|
/**
|
|
21071
22725
|
* CashManagementApi - axios parameter creator
|
|
21072
22726
|
* @export
|
|
@@ -22700,193 +24354,444 @@ export declare const InvoiceCompaniesApiFp: (configuration?: Configuration) => {
|
|
|
22700
24354
|
export declare const InvoiceCompaniesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22701
24355
|
/**
|
|
22702
24356
|
*
|
|
22703
|
-
* @summary Create a new invoice company
|
|
22704
|
-
* @param {number} businessId
|
|
22705
|
-
* @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
|
|
24357
|
+
* @summary Create a new invoice company
|
|
24358
|
+
* @param {number} businessId
|
|
24359
|
+
* @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
|
|
24360
|
+
* @param {*} [options] Override http request option.
|
|
24361
|
+
* @throws {RequiredError}
|
|
24362
|
+
*/
|
|
24363
|
+
createInvoiceCompany(businessId: number, createInvoiceCompanyDto: CreateInvoiceCompanyDto, options?: any): AxiosPromise<InvoiceCompanyResponseDto>;
|
|
24364
|
+
/**
|
|
24365
|
+
*
|
|
24366
|
+
* @summary Delete an invoice company
|
|
24367
|
+
* @param {string} id
|
|
24368
|
+
* @param {number} businessId
|
|
24369
|
+
* @param {*} [options] Override http request option.
|
|
24370
|
+
* @throws {RequiredError}
|
|
24371
|
+
*/
|
|
24372
|
+
deleteInvoiceCompany(id: string, businessId: number, options?: any): AxiosPromise<void>;
|
|
24373
|
+
/**
|
|
24374
|
+
*
|
|
24375
|
+
* @summary List all invoice companies for a business
|
|
24376
|
+
* @param {number} businessId
|
|
24377
|
+
* @param {*} [options] Override http request option.
|
|
24378
|
+
* @throws {RequiredError}
|
|
24379
|
+
*/
|
|
24380
|
+
getInvoiceCompanies(businessId: number, options?: any): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
|
|
24381
|
+
/**
|
|
24382
|
+
*
|
|
24383
|
+
* @summary Get a single invoice company by ID
|
|
24384
|
+
* @param {string} id
|
|
24385
|
+
* @param {number} businessId
|
|
24386
|
+
* @param {*} [options] Override http request option.
|
|
24387
|
+
* @throws {RequiredError}
|
|
24388
|
+
*/
|
|
24389
|
+
getInvoiceCompanyById(id: string, businessId: number, options?: any): AxiosPromise<InvoiceCompanyResponseDto>;
|
|
24390
|
+
/**
|
|
24391
|
+
*
|
|
24392
|
+
* @summary Search invoice companies by name, email, or ytunnus
|
|
24393
|
+
* @param {number} businessId
|
|
24394
|
+
* @param {string} [search]
|
|
24395
|
+
* @param {*} [options] Override http request option.
|
|
24396
|
+
* @throws {RequiredError}
|
|
24397
|
+
*/
|
|
24398
|
+
searchInvoiceCompanies(businessId: number, search?: string, options?: any): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
|
|
24399
|
+
/**
|
|
24400
|
+
*
|
|
24401
|
+
* @summary Update an invoice company
|
|
24402
|
+
* @param {string} id
|
|
24403
|
+
* @param {number} businessId
|
|
24404
|
+
* @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
|
|
24405
|
+
* @param {*} [options] Override http request option.
|
|
24406
|
+
* @throws {RequiredError}
|
|
24407
|
+
*/
|
|
24408
|
+
updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: any): AxiosPromise<InvoiceCompanyResponseDto>;
|
|
24409
|
+
};
|
|
24410
|
+
/**
|
|
24411
|
+
* InvoiceCompaniesApi - interface
|
|
24412
|
+
* @export
|
|
24413
|
+
* @interface InvoiceCompaniesApi
|
|
24414
|
+
*/
|
|
24415
|
+
export interface InvoiceCompaniesApiInterface {
|
|
24416
|
+
/**
|
|
24417
|
+
*
|
|
24418
|
+
* @summary Create a new invoice company
|
|
24419
|
+
* @param {number} businessId
|
|
24420
|
+
* @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
|
|
24421
|
+
* @param {*} [options] Override http request option.
|
|
24422
|
+
* @throws {RequiredError}
|
|
24423
|
+
* @memberof InvoiceCompaniesApiInterface
|
|
24424
|
+
*/
|
|
24425
|
+
createInvoiceCompany(businessId: number, createInvoiceCompanyDto: CreateInvoiceCompanyDto, options?: AxiosRequestConfig): AxiosPromise<InvoiceCompanyResponseDto>;
|
|
24426
|
+
/**
|
|
24427
|
+
*
|
|
24428
|
+
* @summary Delete an invoice company
|
|
24429
|
+
* @param {string} id
|
|
24430
|
+
* @param {number} businessId
|
|
24431
|
+
* @param {*} [options] Override http request option.
|
|
24432
|
+
* @throws {RequiredError}
|
|
24433
|
+
* @memberof InvoiceCompaniesApiInterface
|
|
24434
|
+
*/
|
|
24435
|
+
deleteInvoiceCompany(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
24436
|
+
/**
|
|
24437
|
+
*
|
|
24438
|
+
* @summary List all invoice companies for a business
|
|
24439
|
+
* @param {number} businessId
|
|
24440
|
+
* @param {*} [options] Override http request option.
|
|
24441
|
+
* @throws {RequiredError}
|
|
24442
|
+
* @memberof InvoiceCompaniesApiInterface
|
|
24443
|
+
*/
|
|
24444
|
+
getInvoiceCompanies(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
|
|
24445
|
+
/**
|
|
24446
|
+
*
|
|
24447
|
+
* @summary Get a single invoice company by ID
|
|
24448
|
+
* @param {string} id
|
|
24449
|
+
* @param {number} businessId
|
|
24450
|
+
* @param {*} [options] Override http request option.
|
|
24451
|
+
* @throws {RequiredError}
|
|
24452
|
+
* @memberof InvoiceCompaniesApiInterface
|
|
24453
|
+
*/
|
|
24454
|
+
getInvoiceCompanyById(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<InvoiceCompanyResponseDto>;
|
|
24455
|
+
/**
|
|
24456
|
+
*
|
|
24457
|
+
* @summary Search invoice companies by name, email, or ytunnus
|
|
24458
|
+
* @param {number} businessId
|
|
24459
|
+
* @param {string} [search]
|
|
24460
|
+
* @param {*} [options] Override http request option.
|
|
24461
|
+
* @throws {RequiredError}
|
|
24462
|
+
* @memberof InvoiceCompaniesApiInterface
|
|
24463
|
+
*/
|
|
24464
|
+
searchInvoiceCompanies(businessId: number, search?: string, options?: AxiosRequestConfig): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
|
|
24465
|
+
/**
|
|
24466
|
+
*
|
|
24467
|
+
* @summary Update an invoice company
|
|
24468
|
+
* @param {string} id
|
|
24469
|
+
* @param {number} businessId
|
|
24470
|
+
* @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
|
|
24471
|
+
* @param {*} [options] Override http request option.
|
|
24472
|
+
* @throws {RequiredError}
|
|
24473
|
+
* @memberof InvoiceCompaniesApiInterface
|
|
24474
|
+
*/
|
|
24475
|
+
updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: AxiosRequestConfig): AxiosPromise<InvoiceCompanyResponseDto>;
|
|
24476
|
+
}
|
|
24477
|
+
/**
|
|
24478
|
+
* InvoiceCompaniesApi - object-oriented interface
|
|
24479
|
+
* @export
|
|
24480
|
+
* @class InvoiceCompaniesApi
|
|
24481
|
+
* @extends {BaseAPI}
|
|
24482
|
+
*/
|
|
24483
|
+
export declare class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompaniesApiInterface {
|
|
24484
|
+
/**
|
|
24485
|
+
*
|
|
24486
|
+
* @summary Create a new invoice company
|
|
24487
|
+
* @param {number} businessId
|
|
24488
|
+
* @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
|
|
24489
|
+
* @param {*} [options] Override http request option.
|
|
24490
|
+
* @throws {RequiredError}
|
|
24491
|
+
* @memberof InvoiceCompaniesApi
|
|
24492
|
+
*/
|
|
24493
|
+
createInvoiceCompany(businessId: number, createInvoiceCompanyDto: CreateInvoiceCompanyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
|
|
24494
|
+
/**
|
|
24495
|
+
*
|
|
24496
|
+
* @summary Delete an invoice company
|
|
24497
|
+
* @param {string} id
|
|
24498
|
+
* @param {number} businessId
|
|
24499
|
+
* @param {*} [options] Override http request option.
|
|
24500
|
+
* @throws {RequiredError}
|
|
24501
|
+
* @memberof InvoiceCompaniesApi
|
|
24502
|
+
*/
|
|
24503
|
+
deleteInvoiceCompany(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
24504
|
+
/**
|
|
24505
|
+
*
|
|
24506
|
+
* @summary List all invoice companies for a business
|
|
24507
|
+
* @param {number} businessId
|
|
24508
|
+
* @param {*} [options] Override http request option.
|
|
24509
|
+
* @throws {RequiredError}
|
|
24510
|
+
* @memberof InvoiceCompaniesApi
|
|
24511
|
+
*/
|
|
24512
|
+
getInvoiceCompanies(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto[], any, {}>>;
|
|
24513
|
+
/**
|
|
24514
|
+
*
|
|
24515
|
+
* @summary Get a single invoice company by ID
|
|
24516
|
+
* @param {string} id
|
|
24517
|
+
* @param {number} businessId
|
|
24518
|
+
* @param {*} [options] Override http request option.
|
|
24519
|
+
* @throws {RequiredError}
|
|
24520
|
+
* @memberof InvoiceCompaniesApi
|
|
24521
|
+
*/
|
|
24522
|
+
getInvoiceCompanyById(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
|
|
24523
|
+
/**
|
|
24524
|
+
*
|
|
24525
|
+
* @summary Search invoice companies by name, email, or ytunnus
|
|
24526
|
+
* @param {number} businessId
|
|
24527
|
+
* @param {string} [search]
|
|
24528
|
+
* @param {*} [options] Override http request option.
|
|
24529
|
+
* @throws {RequiredError}
|
|
24530
|
+
* @memberof InvoiceCompaniesApi
|
|
24531
|
+
*/
|
|
24532
|
+
searchInvoiceCompanies(businessId: number, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto[], any, {}>>;
|
|
24533
|
+
/**
|
|
24534
|
+
*
|
|
24535
|
+
* @summary Update an invoice company
|
|
24536
|
+
* @param {string} id
|
|
24537
|
+
* @param {number} businessId
|
|
24538
|
+
* @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
|
|
24539
|
+
* @param {*} [options] Override http request option.
|
|
24540
|
+
* @throws {RequiredError}
|
|
24541
|
+
* @memberof InvoiceCompaniesApi
|
|
24542
|
+
*/
|
|
24543
|
+
updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
|
|
24544
|
+
}
|
|
24545
|
+
/**
|
|
24546
|
+
* KDSApi - axios parameter creator
|
|
24547
|
+
* @export
|
|
24548
|
+
*/
|
|
24549
|
+
export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24550
|
+
/**
|
|
24551
|
+
*
|
|
24552
|
+
* @summary Get KDS orders by status
|
|
24553
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
24554
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
24555
|
+
* @param {string} profileId KDS Profile ID
|
|
24556
|
+
* @param {number} [page] Page number
|
|
24557
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
24558
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
24559
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
24560
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
24561
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
24562
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
24563
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
24564
|
+
* @param {*} [options] Override http request option.
|
|
24565
|
+
* @throws {RequiredError}
|
|
24566
|
+
*/
|
|
24567
|
+
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<RequestArgs>;
|
|
24568
|
+
/**
|
|
24569
|
+
*
|
|
24570
|
+
* @summary Get KDS profiles for a business
|
|
24571
|
+
* @param {number} businessId Business ID
|
|
24572
|
+
* @param {*} [options] Override http request option.
|
|
24573
|
+
* @throws {RequiredError}
|
|
24574
|
+
*/
|
|
24575
|
+
kdsGetProfiles: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24576
|
+
/**
|
|
24577
|
+
*
|
|
24578
|
+
* @summary Mark a KDS order as ready
|
|
24579
|
+
* @param {string} id KDS order ID
|
|
22706
24580
|
* @param {*} [options] Override http request option.
|
|
22707
24581
|
* @throws {RequiredError}
|
|
22708
24582
|
*/
|
|
22709
|
-
|
|
24583
|
+
kdsMarkOrderReady: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22710
24584
|
/**
|
|
22711
24585
|
*
|
|
22712
|
-
* @summary
|
|
22713
|
-
* @param {string} id
|
|
22714
|
-
* @param {number} businessId
|
|
24586
|
+
* @summary Revert a KDS order back to in progress
|
|
24587
|
+
* @param {string} id KDS order ID
|
|
22715
24588
|
* @param {*} [options] Override http request option.
|
|
22716
24589
|
* @throws {RequiredError}
|
|
22717
24590
|
*/
|
|
22718
|
-
|
|
24591
|
+
kdsRevertOrder: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24592
|
+
};
|
|
24593
|
+
/**
|
|
24594
|
+
* KDSApi - functional programming interface
|
|
24595
|
+
* @export
|
|
24596
|
+
*/
|
|
24597
|
+
export declare const KDSApiFp: (configuration?: Configuration) => {
|
|
22719
24598
|
/**
|
|
22720
24599
|
*
|
|
22721
|
-
* @summary
|
|
22722
|
-
* @param {
|
|
24600
|
+
* @summary Get KDS orders by status
|
|
24601
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
24602
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
24603
|
+
* @param {string} profileId KDS Profile ID
|
|
24604
|
+
* @param {number} [page] Page number
|
|
24605
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
24606
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
24607
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
24608
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
24609
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
24610
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
24611
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
22723
24612
|
* @param {*} [options] Override http request option.
|
|
22724
24613
|
* @throws {RequiredError}
|
|
22725
24614
|
*/
|
|
22726
|
-
|
|
24615
|
+
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>>;
|
|
22727
24616
|
/**
|
|
22728
24617
|
*
|
|
22729
|
-
* @summary Get
|
|
22730
|
-
* @param {
|
|
22731
|
-
* @param {number} businessId
|
|
24618
|
+
* @summary Get KDS profiles for a business
|
|
24619
|
+
* @param {number} businessId Business ID
|
|
22732
24620
|
* @param {*} [options] Override http request option.
|
|
22733
24621
|
* @throws {RequiredError}
|
|
22734
24622
|
*/
|
|
22735
|
-
|
|
24623
|
+
kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsProfileDto>>>;
|
|
22736
24624
|
/**
|
|
22737
24625
|
*
|
|
22738
|
-
* @summary
|
|
22739
|
-
* @param {
|
|
22740
|
-
* @param {string} [search]
|
|
24626
|
+
* @summary Mark a KDS order as ready
|
|
24627
|
+
* @param {string} id KDS order ID
|
|
22741
24628
|
* @param {*} [options] Override http request option.
|
|
22742
24629
|
* @throws {RequiredError}
|
|
22743
24630
|
*/
|
|
22744
|
-
|
|
24631
|
+
kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsReadyOrderResponseDto>>;
|
|
22745
24632
|
/**
|
|
22746
24633
|
*
|
|
22747
|
-
* @summary
|
|
22748
|
-
* @param {string} id
|
|
22749
|
-
* @param {number} businessId
|
|
22750
|
-
* @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
|
|
24634
|
+
* @summary Revert a KDS order back to in progress
|
|
24635
|
+
* @param {string} id KDS order ID
|
|
22751
24636
|
* @param {*} [options] Override http request option.
|
|
22752
24637
|
* @throws {RequiredError}
|
|
22753
24638
|
*/
|
|
22754
|
-
|
|
24639
|
+
kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsRevertOrderResponseDto>>;
|
|
22755
24640
|
};
|
|
22756
24641
|
/**
|
|
22757
|
-
*
|
|
24642
|
+
* KDSApi - factory interface
|
|
22758
24643
|
* @export
|
|
22759
|
-
* @interface InvoiceCompaniesApi
|
|
22760
24644
|
*/
|
|
22761
|
-
export
|
|
24645
|
+
export declare const KDSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22762
24646
|
/**
|
|
22763
24647
|
*
|
|
22764
|
-
* @summary
|
|
22765
|
-
* @param {
|
|
22766
|
-
* @param {
|
|
24648
|
+
* @summary Get KDS orders by status
|
|
24649
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
24650
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
24651
|
+
* @param {string} profileId KDS Profile ID
|
|
24652
|
+
* @param {number} [page] Page number
|
|
24653
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
24654
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
24655
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
24656
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
24657
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
24658
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
24659
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
22767
24660
|
* @param {*} [options] Override http request option.
|
|
22768
24661
|
* @throws {RequiredError}
|
|
22769
|
-
* @memberof InvoiceCompaniesApiInterface
|
|
22770
24662
|
*/
|
|
22771
|
-
|
|
24663
|
+
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>;
|
|
22772
24664
|
/**
|
|
22773
24665
|
*
|
|
22774
|
-
* @summary
|
|
22775
|
-
* @param {
|
|
22776
|
-
* @param {number} businessId
|
|
24666
|
+
* @summary Get KDS profiles for a business
|
|
24667
|
+
* @param {number} businessId Business ID
|
|
22777
24668
|
* @param {*} [options] Override http request option.
|
|
22778
24669
|
* @throws {RequiredError}
|
|
22779
|
-
* @memberof InvoiceCompaniesApiInterface
|
|
22780
24670
|
*/
|
|
22781
|
-
|
|
24671
|
+
kdsGetProfiles(businessId: number, options?: any): AxiosPromise<Array<KdsProfileDto>>;
|
|
22782
24672
|
/**
|
|
22783
24673
|
*
|
|
22784
|
-
* @summary
|
|
22785
|
-
* @param {
|
|
24674
|
+
* @summary Mark a KDS order as ready
|
|
24675
|
+
* @param {string} id KDS order ID
|
|
22786
24676
|
* @param {*} [options] Override http request option.
|
|
22787
24677
|
* @throws {RequiredError}
|
|
22788
|
-
* @memberof InvoiceCompaniesApiInterface
|
|
22789
24678
|
*/
|
|
22790
|
-
|
|
24679
|
+
kdsMarkOrderReady(id: string, options?: any): AxiosPromise<KdsReadyOrderResponseDto>;
|
|
22791
24680
|
/**
|
|
22792
24681
|
*
|
|
22793
|
-
* @summary
|
|
22794
|
-
* @param {string} id
|
|
22795
|
-
* @param {number} businessId
|
|
24682
|
+
* @summary Revert a KDS order back to in progress
|
|
24683
|
+
* @param {string} id KDS order ID
|
|
22796
24684
|
* @param {*} [options] Override http request option.
|
|
22797
24685
|
* @throws {RequiredError}
|
|
22798
|
-
* @memberof InvoiceCompaniesApiInterface
|
|
22799
24686
|
*/
|
|
22800
|
-
|
|
24687
|
+
kdsRevertOrder(id: string, options?: any): AxiosPromise<KdsRevertOrderResponseDto>;
|
|
24688
|
+
};
|
|
24689
|
+
/**
|
|
24690
|
+
* KDSApi - interface
|
|
24691
|
+
* @export
|
|
24692
|
+
* @interface KDSApi
|
|
24693
|
+
*/
|
|
24694
|
+
export interface KDSApiInterface {
|
|
22801
24695
|
/**
|
|
22802
24696
|
*
|
|
22803
|
-
* @summary
|
|
22804
|
-
* @param {
|
|
22805
|
-
* @param {string}
|
|
24697
|
+
* @summary Get KDS orders by status
|
|
24698
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
24699
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
24700
|
+
* @param {string} profileId KDS Profile ID
|
|
24701
|
+
* @param {number} [page] Page number
|
|
24702
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
24703
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
24704
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
24705
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
24706
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
24707
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
24708
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
22806
24709
|
* @param {*} [options] Override http request option.
|
|
22807
24710
|
* @throws {RequiredError}
|
|
22808
|
-
* @memberof
|
|
24711
|
+
* @memberof KDSApiInterface
|
|
22809
24712
|
*/
|
|
22810
|
-
|
|
24713
|
+
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>;
|
|
22811
24714
|
/**
|
|
22812
24715
|
*
|
|
22813
|
-
* @summary
|
|
22814
|
-
* @param {
|
|
22815
|
-
* @param {number} businessId
|
|
22816
|
-
* @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
|
|
24716
|
+
* @summary Get KDS profiles for a business
|
|
24717
|
+
* @param {number} businessId Business ID
|
|
22817
24718
|
* @param {*} [options] Override http request option.
|
|
22818
24719
|
* @throws {RequiredError}
|
|
22819
|
-
* @memberof
|
|
24720
|
+
* @memberof KDSApiInterface
|
|
22820
24721
|
*/
|
|
22821
|
-
|
|
22822
|
-
}
|
|
22823
|
-
/**
|
|
22824
|
-
* InvoiceCompaniesApi - object-oriented interface
|
|
22825
|
-
* @export
|
|
22826
|
-
* @class InvoiceCompaniesApi
|
|
22827
|
-
* @extends {BaseAPI}
|
|
22828
|
-
*/
|
|
22829
|
-
export declare class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompaniesApiInterface {
|
|
24722
|
+
kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<KdsProfileDto>>;
|
|
22830
24723
|
/**
|
|
22831
24724
|
*
|
|
22832
|
-
* @summary
|
|
22833
|
-
* @param {
|
|
22834
|
-
* @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
|
|
24725
|
+
* @summary Mark a KDS order as ready
|
|
24726
|
+
* @param {string} id KDS order ID
|
|
22835
24727
|
* @param {*} [options] Override http request option.
|
|
22836
24728
|
* @throws {RequiredError}
|
|
22837
|
-
* @memberof
|
|
24729
|
+
* @memberof KDSApiInterface
|
|
22838
24730
|
*/
|
|
22839
|
-
|
|
24731
|
+
kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsReadyOrderResponseDto>;
|
|
22840
24732
|
/**
|
|
22841
24733
|
*
|
|
22842
|
-
* @summary
|
|
22843
|
-
* @param {string} id
|
|
22844
|
-
* @param {number} businessId
|
|
24734
|
+
* @summary Revert a KDS order back to in progress
|
|
24735
|
+
* @param {string} id KDS order ID
|
|
22845
24736
|
* @param {*} [options] Override http request option.
|
|
22846
24737
|
* @throws {RequiredError}
|
|
22847
|
-
* @memberof
|
|
24738
|
+
* @memberof KDSApiInterface
|
|
22848
24739
|
*/
|
|
22849
|
-
|
|
24740
|
+
kdsRevertOrder(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsRevertOrderResponseDto>;
|
|
24741
|
+
}
|
|
24742
|
+
/**
|
|
24743
|
+
* KDSApi - object-oriented interface
|
|
24744
|
+
* @export
|
|
24745
|
+
* @class KDSApi
|
|
24746
|
+
* @extends {BaseAPI}
|
|
24747
|
+
*/
|
|
24748
|
+
export declare class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
22850
24749
|
/**
|
|
22851
24750
|
*
|
|
22852
|
-
* @summary
|
|
22853
|
-
* @param {
|
|
24751
|
+
* @summary Get KDS orders by status
|
|
24752
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
24753
|
+
* @param {string} businessIds Comma-separated list of business IDs
|
|
24754
|
+
* @param {string} profileId KDS Profile ID
|
|
24755
|
+
* @param {number} [page] Page number
|
|
24756
|
+
* @param {number} [rowPerPage] Number of rows per page
|
|
24757
|
+
* @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
|
|
24758
|
+
* @param {string} [start] Start date for custom or direct date filtering
|
|
24759
|
+
* @param {string} [end] End date for custom or direct date filtering
|
|
24760
|
+
* @param {string} [timezone] IANA timezone used to build the date range
|
|
24761
|
+
* @param {Array<ProviderEnum>} [provider] Provider filter
|
|
24762
|
+
* @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
|
|
22854
24763
|
* @param {*} [options] Override http request option.
|
|
22855
24764
|
* @throws {RequiredError}
|
|
22856
|
-
* @memberof
|
|
24765
|
+
* @memberof KDSApi
|
|
22857
24766
|
*/
|
|
22858
|
-
|
|
24767
|
+
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<import("axios").AxiosResponse<KdsOrderListResponseDto, any, {}>>;
|
|
22859
24768
|
/**
|
|
22860
24769
|
*
|
|
22861
|
-
* @summary Get
|
|
22862
|
-
* @param {
|
|
22863
|
-
* @param {number} businessId
|
|
24770
|
+
* @summary Get KDS profiles for a business
|
|
24771
|
+
* @param {number} businessId Business ID
|
|
22864
24772
|
* @param {*} [options] Override http request option.
|
|
22865
24773
|
* @throws {RequiredError}
|
|
22866
|
-
* @memberof
|
|
24774
|
+
* @memberof KDSApi
|
|
22867
24775
|
*/
|
|
22868
|
-
|
|
24776
|
+
kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsProfileDto[], any, {}>>;
|
|
22869
24777
|
/**
|
|
22870
24778
|
*
|
|
22871
|
-
* @summary
|
|
22872
|
-
* @param {
|
|
22873
|
-
* @param {string} [search]
|
|
24779
|
+
* @summary Mark a KDS order as ready
|
|
24780
|
+
* @param {string} id KDS order ID
|
|
22874
24781
|
* @param {*} [options] Override http request option.
|
|
22875
24782
|
* @throws {RequiredError}
|
|
22876
|
-
* @memberof
|
|
24783
|
+
* @memberof KDSApi
|
|
22877
24784
|
*/
|
|
22878
|
-
|
|
24785
|
+
kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsReadyOrderResponseDto, any, {}>>;
|
|
22879
24786
|
/**
|
|
22880
24787
|
*
|
|
22881
|
-
* @summary
|
|
22882
|
-
* @param {string} id
|
|
22883
|
-
* @param {number} businessId
|
|
22884
|
-
* @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
|
|
24788
|
+
* @summary Revert a KDS order back to in progress
|
|
24789
|
+
* @param {string} id KDS order ID
|
|
22885
24790
|
* @param {*} [options] Override http request option.
|
|
22886
24791
|
* @throws {RequiredError}
|
|
22887
|
-
* @memberof
|
|
24792
|
+
* @memberof KDSApi
|
|
22888
24793
|
*/
|
|
22889
|
-
|
|
24794
|
+
kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsRevertOrderResponseDto, any, {}>>;
|
|
22890
24795
|
}
|
|
22891
24796
|
/**
|
|
22892
24797
|
* KiosksApi - axios parameter creator
|
|
@@ -23010,6 +24915,15 @@ export declare class KiosksApi extends BaseAPI implements KiosksApiInterface {
|
|
|
23010
24915
|
* @export
|
|
23011
24916
|
*/
|
|
23012
24917
|
export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24918
|
+
/**
|
|
24919
|
+
*
|
|
24920
|
+
* @summary Create loyalty user
|
|
24921
|
+
* @param {number} businessId
|
|
24922
|
+
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
24923
|
+
* @param {*} [options] Override http request option.
|
|
24924
|
+
* @throws {RequiredError}
|
|
24925
|
+
*/
|
|
24926
|
+
createLoyaltyUser: (businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23013
24927
|
/**
|
|
23014
24928
|
*
|
|
23015
24929
|
* @summary Get admin transaction history
|
|
@@ -23063,6 +24977,15 @@ export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?:
|
|
|
23063
24977
|
* @export
|
|
23064
24978
|
*/
|
|
23065
24979
|
export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration) => {
|
|
24980
|
+
/**
|
|
24981
|
+
*
|
|
24982
|
+
* @summary Create loyalty user
|
|
24983
|
+
* @param {number} businessId
|
|
24984
|
+
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
24985
|
+
* @param {*} [options] Override http request option.
|
|
24986
|
+
* @throws {RequiredError}
|
|
24987
|
+
*/
|
|
24988
|
+
createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLoyaltyProgramUserResponseDto>>;
|
|
23066
24989
|
/**
|
|
23067
24990
|
*
|
|
23068
24991
|
* @summary Get admin transaction history
|
|
@@ -23116,6 +25039,15 @@ export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration)
|
|
|
23116
25039
|
* @export
|
|
23117
25040
|
*/
|
|
23118
25041
|
export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25042
|
+
/**
|
|
25043
|
+
*
|
|
25044
|
+
* @summary Create loyalty user
|
|
25045
|
+
* @param {number} businessId
|
|
25046
|
+
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
25047
|
+
* @param {*} [options] Override http request option.
|
|
25048
|
+
* @throws {RequiredError}
|
|
25049
|
+
*/
|
|
25050
|
+
createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: any): AxiosPromise<CreateLoyaltyProgramUserResponseDto>;
|
|
23119
25051
|
/**
|
|
23120
25052
|
*
|
|
23121
25053
|
* @summary Get admin transaction history
|
|
@@ -23170,6 +25102,16 @@ export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configurat
|
|
|
23170
25102
|
* @interface LoyaltyIntegerationsApi
|
|
23171
25103
|
*/
|
|
23172
25104
|
export interface LoyaltyIntegerationsApiInterface {
|
|
25105
|
+
/**
|
|
25106
|
+
*
|
|
25107
|
+
* @summary Create loyalty user
|
|
25108
|
+
* @param {number} businessId
|
|
25109
|
+
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
25110
|
+
* @param {*} [options] Override http request option.
|
|
25111
|
+
* @throws {RequiredError}
|
|
25112
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
25113
|
+
*/
|
|
25114
|
+
createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): AxiosPromise<CreateLoyaltyProgramUserResponseDto>;
|
|
23173
25115
|
/**
|
|
23174
25116
|
*
|
|
23175
25117
|
* @summary Get admin transaction history
|
|
@@ -23230,6 +25172,16 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
23230
25172
|
* @extends {BaseAPI}
|
|
23231
25173
|
*/
|
|
23232
25174
|
export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerationsApiInterface {
|
|
25175
|
+
/**
|
|
25176
|
+
*
|
|
25177
|
+
* @summary Create loyalty user
|
|
25178
|
+
* @param {number} businessId
|
|
25179
|
+
* @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
|
|
25180
|
+
* @param {*} [options] Override http request option.
|
|
25181
|
+
* @throws {RequiredError}
|
|
25182
|
+
* @memberof LoyaltyIntegerationsApi
|
|
25183
|
+
*/
|
|
25184
|
+
createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLoyaltyProgramUserResponseDto, any, {}>>;
|
|
23233
25185
|
/**
|
|
23234
25186
|
*
|
|
23235
25187
|
* @summary Get admin transaction history
|
|
@@ -23822,6 +25774,81 @@ export declare class NotificationApi extends BaseAPI implements NotificationApiI
|
|
|
23822
25774
|
*/
|
|
23823
25775
|
removeVenueSubscriptionsV2(deviceSubscriptionDto: DeviceSubscriptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
23824
25776
|
}
|
|
25777
|
+
/**
|
|
25778
|
+
* OrderInternalApi - axios parameter creator
|
|
25779
|
+
* @export
|
|
25780
|
+
*/
|
|
25781
|
+
export declare const OrderInternalApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25782
|
+
/**
|
|
25783
|
+
*
|
|
25784
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
25785
|
+
* @param {string} externalId
|
|
25786
|
+
* @param {*} [options] Override http request option.
|
|
25787
|
+
* @throws {RequiredError}
|
|
25788
|
+
*/
|
|
25789
|
+
findOneByExternalId: (externalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25790
|
+
};
|
|
25791
|
+
/**
|
|
25792
|
+
* OrderInternalApi - functional programming interface
|
|
25793
|
+
* @export
|
|
25794
|
+
*/
|
|
25795
|
+
export declare const OrderInternalApiFp: (configuration?: Configuration) => {
|
|
25796
|
+
/**
|
|
25797
|
+
*
|
|
25798
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
25799
|
+
* @param {string} externalId
|
|
25800
|
+
* @param {*} [options] Override http request option.
|
|
25801
|
+
* @throws {RequiredError}
|
|
25802
|
+
*/
|
|
25803
|
+
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25804
|
+
};
|
|
25805
|
+
/**
|
|
25806
|
+
* OrderInternalApi - factory interface
|
|
25807
|
+
* @export
|
|
25808
|
+
*/
|
|
25809
|
+
export declare const OrderInternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25810
|
+
/**
|
|
25811
|
+
*
|
|
25812
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
25813
|
+
* @param {string} externalId
|
|
25814
|
+
* @param {*} [options] Override http request option.
|
|
25815
|
+
* @throws {RequiredError}
|
|
25816
|
+
*/
|
|
25817
|
+
findOneByExternalId(externalId: string, options?: any): AxiosPromise<void>;
|
|
25818
|
+
};
|
|
25819
|
+
/**
|
|
25820
|
+
* OrderInternalApi - interface
|
|
25821
|
+
* @export
|
|
25822
|
+
* @interface OrderInternalApi
|
|
25823
|
+
*/
|
|
25824
|
+
export interface OrderInternalApiInterface {
|
|
25825
|
+
/**
|
|
25826
|
+
*
|
|
25827
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
25828
|
+
* @param {string} externalId
|
|
25829
|
+
* @param {*} [options] Override http request option.
|
|
25830
|
+
* @throws {RequiredError}
|
|
25831
|
+
* @memberof OrderInternalApiInterface
|
|
25832
|
+
*/
|
|
25833
|
+
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25834
|
+
}
|
|
25835
|
+
/**
|
|
25836
|
+
* OrderInternalApi - object-oriented interface
|
|
25837
|
+
* @export
|
|
25838
|
+
* @class OrderInternalApi
|
|
25839
|
+
* @extends {BaseAPI}
|
|
25840
|
+
*/
|
|
25841
|
+
export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
|
|
25842
|
+
/**
|
|
25843
|
+
*
|
|
25844
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
25845
|
+
* @param {string} externalId
|
|
25846
|
+
* @param {*} [options] Override http request option.
|
|
25847
|
+
* @throws {RequiredError}
|
|
25848
|
+
* @memberof OrderInternalApi
|
|
25849
|
+
*/
|
|
25850
|
+
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25851
|
+
}
|
|
23825
25852
|
/**
|
|
23826
25853
|
* OrderingCoApi - axios parameter creator
|
|
23827
25854
|
* @export
|
|
@@ -26416,13 +28443,6 @@ export declare const StationsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26416
28443
|
* @throws {RequiredError}
|
|
26417
28444
|
*/
|
|
26418
28445
|
syncStation: (syncStationDto: SyncStationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26419
|
-
/**
|
|
26420
|
-
*
|
|
26421
|
-
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
26422
|
-
* @param {*} [options] Override http request option.
|
|
26423
|
-
* @throws {RequiredError}
|
|
26424
|
-
*/
|
|
26425
|
-
syncTerminal: (syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26426
28446
|
};
|
|
26427
28447
|
/**
|
|
26428
28448
|
* StationsApi - functional programming interface
|
|
@@ -26448,13 +28468,6 @@ export declare const StationsApiFp: (configuration?: Configuration) => {
|
|
|
26448
28468
|
* @throws {RequiredError}
|
|
26449
28469
|
*/
|
|
26450
28470
|
syncStation(syncStationDto: SyncStationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StationSyncResponseDto>>;
|
|
26451
|
-
/**
|
|
26452
|
-
*
|
|
26453
|
-
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
26454
|
-
* @param {*} [options] Override http request option.
|
|
26455
|
-
* @throws {RequiredError}
|
|
26456
|
-
*/
|
|
26457
|
-
syncTerminal(syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StationSyncResponseDto>>;
|
|
26458
28471
|
};
|
|
26459
28472
|
/**
|
|
26460
28473
|
* StationsApi - factory interface
|
|
@@ -26480,13 +28493,6 @@ export declare const StationsApiFactory: (configuration?: Configuration, basePat
|
|
|
26480
28493
|
* @throws {RequiredError}
|
|
26481
28494
|
*/
|
|
26482
28495
|
syncStation(syncStationDto: SyncStationDto, options?: any): AxiosPromise<StationSyncResponseDto>;
|
|
26483
|
-
/**
|
|
26484
|
-
*
|
|
26485
|
-
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
26486
|
-
* @param {*} [options] Override http request option.
|
|
26487
|
-
* @throws {RequiredError}
|
|
26488
|
-
*/
|
|
26489
|
-
syncTerminal(syncTerminalDto: SyncTerminalDto, options?: any): AxiosPromise<StationSyncResponseDto>;
|
|
26490
28496
|
};
|
|
26491
28497
|
/**
|
|
26492
28498
|
* StationsApi - interface
|
|
@@ -26516,14 +28522,6 @@ export interface StationsApiInterface {
|
|
|
26516
28522
|
* @memberof StationsApiInterface
|
|
26517
28523
|
*/
|
|
26518
28524
|
syncStation(syncStationDto: SyncStationDto, options?: AxiosRequestConfig): AxiosPromise<StationSyncResponseDto>;
|
|
26519
|
-
/**
|
|
26520
|
-
*
|
|
26521
|
-
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
26522
|
-
* @param {*} [options] Override http request option.
|
|
26523
|
-
* @throws {RequiredError}
|
|
26524
|
-
* @memberof StationsApiInterface
|
|
26525
|
-
*/
|
|
26526
|
-
syncTerminal(syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig): AxiosPromise<StationSyncResponseDto>;
|
|
26527
28525
|
}
|
|
26528
28526
|
/**
|
|
26529
28527
|
* StationsApi - object-oriented interface
|
|
@@ -26554,14 +28552,6 @@ export declare class StationsApi extends BaseAPI implements StationsApiInterface
|
|
|
26554
28552
|
* @memberof StationsApi
|
|
26555
28553
|
*/
|
|
26556
28554
|
syncStation(syncStationDto: SyncStationDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StationSyncResponseDto, any, {}>>;
|
|
26557
|
-
/**
|
|
26558
|
-
*
|
|
26559
|
-
* @param {SyncTerminalDto} syncTerminalDto Connect payment terminal to station
|
|
26560
|
-
* @param {*} [options] Override http request option.
|
|
26561
|
-
* @throws {RequiredError}
|
|
26562
|
-
* @memberof StationsApi
|
|
26563
|
-
*/
|
|
26564
|
-
syncTerminal(syncTerminalDto: SyncTerminalDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StationSyncResponseDto, any, {}>>;
|
|
26565
28555
|
}
|
|
26566
28556
|
/**
|
|
26567
28557
|
* TerminalApi - axios parameter creator
|
|
@@ -26775,14 +28765,21 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
26775
28765
|
* @param {*} [options] Override http request option.
|
|
26776
28766
|
* @throws {RequiredError}
|
|
26777
28767
|
*/
|
|
26778
|
-
|
|
28768
|
+
getUserBusinessV1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28769
|
+
/**
|
|
28770
|
+
*
|
|
28771
|
+
* @summary Retrieve user Business information with KDS profiles
|
|
28772
|
+
* @param {*} [options] Override http request option.
|
|
28773
|
+
* @throws {RequiredError}
|
|
28774
|
+
*/
|
|
28775
|
+
getUserBusinessV2: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26779
28776
|
/**
|
|
26780
28777
|
*
|
|
26781
28778
|
* @summary Retrieve user information
|
|
26782
28779
|
* @param {*} [options] Override http request option.
|
|
26783
28780
|
* @throws {RequiredError}
|
|
26784
28781
|
*/
|
|
26785
|
-
|
|
28782
|
+
getUserInfoV1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26786
28783
|
};
|
|
26787
28784
|
/**
|
|
26788
28785
|
* UserApi - functional programming interface
|
|
@@ -26795,14 +28792,21 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
26795
28792
|
* @param {*} [options] Override http request option.
|
|
26796
28793
|
* @throws {RequiredError}
|
|
26797
28794
|
*/
|
|
26798
|
-
|
|
28795
|
+
getUserBusinessV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>>;
|
|
28796
|
+
/**
|
|
28797
|
+
*
|
|
28798
|
+
* @summary Retrieve user Business information with KDS profiles
|
|
28799
|
+
* @param {*} [options] Override http request option.
|
|
28800
|
+
* @throws {RequiredError}
|
|
28801
|
+
*/
|
|
28802
|
+
getUserBusinessV2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoV2ResponseDto>>>;
|
|
26799
28803
|
/**
|
|
26800
28804
|
*
|
|
26801
28805
|
* @summary Retrieve user information
|
|
26802
28806
|
* @param {*} [options] Override http request option.
|
|
26803
28807
|
* @throws {RequiredError}
|
|
26804
28808
|
*/
|
|
26805
|
-
|
|
28809
|
+
getUserInfoV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>>;
|
|
26806
28810
|
};
|
|
26807
28811
|
/**
|
|
26808
28812
|
* UserApi - factory interface
|
|
@@ -26815,14 +28819,21 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
26815
28819
|
* @param {*} [options] Override http request option.
|
|
26816
28820
|
* @throws {RequiredError}
|
|
26817
28821
|
*/
|
|
26818
|
-
|
|
28822
|
+
getUserBusinessV1(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>>;
|
|
28823
|
+
/**
|
|
28824
|
+
*
|
|
28825
|
+
* @summary Retrieve user Business information with KDS profiles
|
|
28826
|
+
* @param {*} [options] Override http request option.
|
|
28827
|
+
* @throws {RequiredError}
|
|
28828
|
+
*/
|
|
28829
|
+
getUserBusinessV2(options?: any): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
|
|
26819
28830
|
/**
|
|
26820
28831
|
*
|
|
26821
28832
|
* @summary Retrieve user information
|
|
26822
28833
|
* @param {*} [options] Override http request option.
|
|
26823
28834
|
* @throws {RequiredError}
|
|
26824
28835
|
*/
|
|
26825
|
-
|
|
28836
|
+
getUserInfoV1(options?: any): AxiosPromise<GetUserInfoResponseDto>;
|
|
26826
28837
|
};
|
|
26827
28838
|
/**
|
|
26828
28839
|
* UserApi - interface
|
|
@@ -26837,7 +28848,15 @@ export interface UserApiInterface {
|
|
|
26837
28848
|
* @throws {RequiredError}
|
|
26838
28849
|
* @memberof UserApiInterface
|
|
26839
28850
|
*/
|
|
26840
|
-
|
|
28851
|
+
getUserBusinessV1(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
|
|
28852
|
+
/**
|
|
28853
|
+
*
|
|
28854
|
+
* @summary Retrieve user Business information with KDS profiles
|
|
28855
|
+
* @param {*} [options] Override http request option.
|
|
28856
|
+
* @throws {RequiredError}
|
|
28857
|
+
* @memberof UserApiInterface
|
|
28858
|
+
*/
|
|
28859
|
+
getUserBusinessV2(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
|
|
26841
28860
|
/**
|
|
26842
28861
|
*
|
|
26843
28862
|
* @summary Retrieve user information
|
|
@@ -26845,7 +28864,7 @@ export interface UserApiInterface {
|
|
|
26845
28864
|
* @throws {RequiredError}
|
|
26846
28865
|
* @memberof UserApiInterface
|
|
26847
28866
|
*/
|
|
26848
|
-
|
|
28867
|
+
getUserInfoV1(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
|
|
26849
28868
|
}
|
|
26850
28869
|
/**
|
|
26851
28870
|
* UserApi - object-oriented interface
|
|
@@ -26861,7 +28880,15 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
26861
28880
|
* @throws {RequiredError}
|
|
26862
28881
|
* @memberof UserApi
|
|
26863
28882
|
*/
|
|
26864
|
-
|
|
28883
|
+
getUserBusinessV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoResponseDto[], any, {}>>;
|
|
28884
|
+
/**
|
|
28885
|
+
*
|
|
28886
|
+
* @summary Retrieve user Business information with KDS profiles
|
|
28887
|
+
* @param {*} [options] Override http request option.
|
|
28888
|
+
* @throws {RequiredError}
|
|
28889
|
+
* @memberof UserApi
|
|
28890
|
+
*/
|
|
28891
|
+
getUserBusinessV2(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoV2ResponseDto[], any, {}>>;
|
|
26865
28892
|
/**
|
|
26866
28893
|
*
|
|
26867
28894
|
* @summary Retrieve user information
|
|
@@ -26869,7 +28896,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
26869
28896
|
* @throws {RequiredError}
|
|
26870
28897
|
* @memberof UserApi
|
|
26871
28898
|
*/
|
|
26872
|
-
|
|
28899
|
+
getUserInfoV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
|
|
26873
28900
|
}
|
|
26874
28901
|
/**
|
|
26875
28902
|
* UsersApi - axios parameter creator
|