@munchi_oy/core 1.9.0 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,16 +13,6 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @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];
26
16
  /**
27
17
  *
28
18
  * @export
@@ -931,61 +921,6 @@ export interface BusinessInfoResponseDtoLoyaltyPlan {
931
921
  */
932
922
  'expire_after_minutes': number | null;
933
923
  }
934
- /**
935
- *
936
- * @export
937
- * @interface BusinessInfoV2ResponseDto
938
- */
939
- export interface BusinessInfoV2ResponseDto {
940
- /**
941
- * The ID of the business
942
- * @type {number}
943
- * @memberof BusinessInfoV2ResponseDto
944
- */
945
- 'businessId': number;
946
- /**
947
- * The name of the business
948
- * @type {string}
949
- * @memberof BusinessInfoV2ResponseDto
950
- */
951
- 'businessName': string;
952
- /**
953
- * The URL of the business logo
954
- * @type {string}
955
- * @memberof BusinessInfoV2ResponseDto
956
- */
957
- 'logoUrl': string | null;
958
- /**
959
- * The phone of the business
960
- * @type {string}
961
- * @memberof BusinessInfoV2ResponseDto
962
- */
963
- 'phone'?: string | null;
964
- /**
965
- *
966
- * @type {BusinessInfoResponseDtoLoyaltyPlan}
967
- * @memberof BusinessInfoV2ResponseDto
968
- */
969
- 'loyaltyPlan': BusinessInfoResponseDtoLoyaltyPlan | null;
970
- /**
971
- *
972
- * @type {BusinessInfoResponseDtoDetail}
973
- * @memberof BusinessInfoV2ResponseDto
974
- */
975
- 'detail': BusinessInfoResponseDtoDetail;
976
- /**
977
- * Email address of the business
978
- * @type {string}
979
- * @memberof BusinessInfoV2ResponseDto
980
- */
981
- 'businessEmail': string | null;
982
- /**
983
- * KDS profiles linked to the business
984
- * @type {Array<KdsProfileResponseDto>}
985
- * @memberof BusinessInfoV2ResponseDto
986
- */
987
- 'kdsProfiles': Array<KdsProfileResponseDto>;
988
- }
989
924
  /**
990
925
  *
991
926
  * @export
@@ -1111,25 +1046,6 @@ export interface BusinessPermissionResponseDto {
1111
1046
  */
1112
1047
  'updatedAt': string;
1113
1048
  }
1114
- /**
1115
- *
1116
- * @export
1117
- * @interface BusinessProvidersSupportedIntegrationsResponseDto
1118
- */
1119
- export interface BusinessProvidersSupportedIntegrationsResponseDto {
1120
- /**
1121
- * Business ID
1122
- * @type {number}
1123
- * @memberof BusinessProvidersSupportedIntegrationsResponseDto
1124
- */
1125
- 'businessId': number;
1126
- /**
1127
- * Providers and their supported integrations for this business
1128
- * @type {Array<ProviderSupportedIntegrationsDto>}
1129
- * @memberof BusinessProvidersSupportedIntegrationsResponseDto
1130
- */
1131
- 'providers': Array<ProviderSupportedIntegrationsDto>;
1132
- }
1133
1049
  /**
1134
1050
  *
1135
1051
  * @export
@@ -2622,6 +2538,74 @@ export interface CompletedStepDto {
2622
2538
  [key: string]: any;
2623
2539
  } | null;
2624
2540
  }
2541
+ /**
2542
+ *
2543
+ * @export
2544
+ * @interface ConditionPayloadDto
2545
+ */
2546
+ export interface ConditionPayloadDto {
2547
+ /**
2548
+ *
2549
+ * @type {object}
2550
+ * @memberof ConditionPayloadDto
2551
+ */
2552
+ 'startUtc'?: object | null;
2553
+ /**
2554
+ *
2555
+ * @type {object}
2556
+ * @memberof ConditionPayloadDto
2557
+ */
2558
+ 'endUtc'?: object | null;
2559
+ /**
2560
+ *
2561
+ * @type {object}
2562
+ * @memberof ConditionPayloadDto
2563
+ */
2564
+ 'days'?: object | null;
2565
+ /**
2566
+ *
2567
+ * @type {object}
2568
+ * @memberof ConditionPayloadDto
2569
+ */
2570
+ 'from'?: object | null;
2571
+ /**
2572
+ *
2573
+ * @type {object}
2574
+ * @memberof ConditionPayloadDto
2575
+ */
2576
+ 'to'?: object | null;
2577
+ /**
2578
+ *
2579
+ * @type {object}
2580
+ * @memberof ConditionPayloadDto
2581
+ */
2582
+ 'minValue'?: object | null;
2583
+ /**
2584
+ *
2585
+ * @type {object}
2586
+ * @memberof ConditionPayloadDto
2587
+ */
2588
+ 'maxValue'?: object | null;
2589
+ /**
2590
+ *
2591
+ * @type {object}
2592
+ * @memberof ConditionPayloadDto
2593
+ */
2594
+ 'productIds'?: object | null;
2595
+ }
2596
+ /**
2597
+ *
2598
+ * @export
2599
+ * @enum {string}
2600
+ */
2601
+ export declare const ConditionType: {
2602
+ readonly TimeWindow: "TIME_WINDOW";
2603
+ readonly DateRange: "DATE_RANGE";
2604
+ readonly CartMinValue: "CART_MIN_VALUE";
2605
+ readonly CartMaxValue: "CART_MAX_VALUE";
2606
+ readonly ProductInCart: "PRODUCT_IN_CART";
2607
+ };
2608
+ export type ConditionType = typeof ConditionType[keyof typeof ConditionType];
2625
2609
  /**
2626
2610
  *
2627
2611
  * @export
@@ -2806,17 +2790,6 @@ export interface ConnectTerminalDto {
2806
2790
  */
2807
2791
  'terminalHardwareId': string;
2808
2792
  }
2809
- /**
2810
- *
2811
- * @export
2812
- * @enum {string}
2813
- */
2814
- export declare const ConsumptionType: {
2815
- readonly Delivery: "DELIVERY";
2816
- readonly Pickup: "PICKUP";
2817
- readonly DineIn: "DINE_IN";
2818
- };
2819
- export type ConsumptionType = typeof ConsumptionType[keyof typeof ConsumptionType];
2820
2793
  /**
2821
2794
  *
2822
2795
  * @export
@@ -2947,68 +2920,6 @@ export interface CreateInvoiceCompanyDto {
2947
2920
  */
2948
2921
  'address'?: string;
2949
2922
  }
2950
- /**
2951
- *
2952
- * @export
2953
- * @interface CreateLoyaltyProgramUserDto
2954
- */
2955
- export interface CreateLoyaltyProgramUserDto {
2956
- /**
2957
- *
2958
- * @type {string}
2959
- * @memberof CreateLoyaltyProgramUserDto
2960
- */
2961
- 'first_name': string;
2962
- /**
2963
- *
2964
- * @type {string}
2965
- * @memberof CreateLoyaltyProgramUserDto
2966
- */
2967
- 'last_name': string;
2968
- /**
2969
- *
2970
- * @type {string}
2971
- * @memberof CreateLoyaltyProgramUserDto
2972
- */
2973
- 'email': string;
2974
- /**
2975
- *
2976
- * @type {string}
2977
- * @memberof CreateLoyaltyProgramUserDto
2978
- */
2979
- 'country_code': string;
2980
- /**
2981
- *
2982
- * @type {string}
2983
- * @memberof CreateLoyaltyProgramUserDto
2984
- */
2985
- 'phone': string;
2986
- /**
2987
- *
2988
- * @type {string}
2989
- * @memberof CreateLoyaltyProgramUserDto
2990
- */
2991
- 'date_of_birth'?: string;
2992
- }
2993
- /**
2994
- *
2995
- * @export
2996
- * @interface CreateLoyaltyProgramUserResponseDto
2997
- */
2998
- export interface CreateLoyaltyProgramUserResponseDto {
2999
- /**
3000
- *
3001
- * @type {ProgramUserDto}
3002
- * @memberof CreateLoyaltyProgramUserResponseDto
3003
- */
3004
- 'user': ProgramUserDto;
3005
- /**
3006
- *
3007
- * @type {LoyaltyAccountDto}
3008
- * @memberof CreateLoyaltyProgramUserResponseDto
3009
- */
3010
- 'loyaltyAccount': LoyaltyAccountDto;
3011
- }
3012
2923
  /**
3013
2924
  *
3014
2925
  * @export
@@ -3598,29 +3509,95 @@ export type DeviceType = typeof DeviceType[keyof typeof DeviceType];
3598
3509
  */
3599
3510
  export interface DiscountDto {
3600
3511
  /**
3601
- * Discount ID
3512
+ *
3602
3513
  * @type {string}
3603
3514
  * @memberof DiscountDto
3604
3515
  */
3605
- 'id': string;
3516
+ 'createdAt': string;
3606
3517
  /**
3607
- * Name of the discount
3518
+ *
3608
3519
  * @type {string}
3609
3520
  * @memberof DiscountDto
3610
3521
  */
3611
- 'discountName': string;
3522
+ 'updatedAt': string;
3612
3523
  /**
3613
- * Amount of discount
3524
+ *
3614
3525
  * @type {number}
3615
3526
  * @memberof DiscountDto
3616
3527
  */
3617
- 'discountAmount': number;
3528
+ 'id': number;
3618
3529
  /**
3619
- * Creation date of the discount
3530
+ *
3620
3531
  * @type {string}
3621
3532
  * @memberof DiscountDto
3622
3533
  */
3623
- 'createdAt': string;
3534
+ 'name': string;
3535
+ /**
3536
+ *
3537
+ * @type {number}
3538
+ * @memberof DiscountDto
3539
+ */
3540
+ 'value': number;
3541
+ /**
3542
+ *
3543
+ * @type {DiscountScopeType}
3544
+ * @memberof DiscountDto
3545
+ */
3546
+ 'scopeType': DiscountScopeType;
3547
+ /**
3548
+ *
3549
+ * @type {PromotionDiscountType}
3550
+ * @memberof DiscountDto
3551
+ */
3552
+ 'type'?: PromotionDiscountType;
3553
+ /**
3554
+ *
3555
+ * @type {string}
3556
+ * @memberof DiscountDto
3557
+ */
3558
+ 'description'?: string;
3559
+ /**
3560
+ *
3561
+ * @type {boolean}
3562
+ * @memberof DiscountDto
3563
+ */
3564
+ 'available'?: boolean;
3565
+ /**
3566
+ *
3567
+ * @type {object}
3568
+ * @memberof DiscountDto
3569
+ */
3570
+ 'channel'?: object | null;
3571
+ /**
3572
+ *
3573
+ * @type {boolean}
3574
+ * @memberof DiscountDto
3575
+ */
3576
+ 'isAutomatic': boolean;
3577
+ /**
3578
+ *
3579
+ * @type {object}
3580
+ * @memberof DiscountDto
3581
+ */
3582
+ 'maxUsesPerOrder'?: object | null;
3583
+ /**
3584
+ *
3585
+ * @type {number}
3586
+ * @memberof DiscountDto
3587
+ */
3588
+ 'priority': number;
3589
+ /**
3590
+ *
3591
+ * @type {boolean}
3592
+ * @memberof DiscountDto
3593
+ */
3594
+ 'enabled': boolean;
3595
+ /**
3596
+ *
3597
+ * @type {Array<DiscountRuleDto>}
3598
+ * @memberof DiscountDto
3599
+ */
3600
+ 'rules': Array<DiscountRuleDto>;
3624
3601
  }
3625
3602
  /**
3626
3603
  *
@@ -3641,6 +3618,31 @@ export interface DiscountOptionsDto {
3641
3618
  */
3642
3619
  'value': number;
3643
3620
  }
3621
+ /**
3622
+ *
3623
+ * @export
3624
+ * @interface DiscountRuleDto
3625
+ */
3626
+ export interface DiscountRuleDto {
3627
+ /**
3628
+ *
3629
+ * @type {number}
3630
+ * @memberof DiscountRuleDto
3631
+ */
3632
+ 'id': number;
3633
+ /**
3634
+ *
3635
+ * @type {ConditionType}
3636
+ * @memberof DiscountRuleDto
3637
+ */
3638
+ 'type': ConditionType;
3639
+ /**
3640
+ *
3641
+ * @type {ConditionPayloadDto}
3642
+ * @memberof DiscountRuleDto
3643
+ */
3644
+ 'payload': ConditionPayloadDto;
3645
+ }
3644
3646
  /**
3645
3647
  *
3646
3648
  * @export
@@ -3651,6 +3653,16 @@ export declare const DiscountScope: {
3651
3653
  readonly Cart: "CART";
3652
3654
  };
3653
3655
  export type DiscountScope = typeof DiscountScope[keyof typeof DiscountScope];
3656
+ /**
3657
+ *
3658
+ * @export
3659
+ * @enum {string}
3660
+ */
3661
+ export declare const DiscountScopeType: {
3662
+ readonly Business: "BUSINESS";
3663
+ readonly Owner: "OWNER";
3664
+ };
3665
+ export type DiscountScopeType = typeof DiscountScopeType[keyof typeof DiscountScopeType];
3654
3666
  /**
3655
3667
  *
3656
3668
  * @export
@@ -4801,12 +4813,6 @@ export interface GetStationResponseDtoStation {
4801
4813
  * @memberof GetStationResponseDtoStation
4802
4814
  */
4803
4815
  'prefix': string;
4804
- /**
4805
- *
4806
- * @type {object}
4807
- * @memberof GetStationResponseDtoStation
4808
- */
4809
- 'settings'?: object;
4810
4816
  /**
4811
4817
  *
4812
4818
  * @type {object}
@@ -5240,1174 +5246,6 @@ export interface ItemPriceDto {
5240
5246
  */
5241
5247
  'priceBreakdown': ItemPriceBreakdownDto;
5242
5248
  }
5243
- /**
5244
- *
5245
- * @export
5246
- * @enum {string}
5247
- */
5248
- export declare const KDSEVENTNAME: {
5249
- readonly OrderCreated: "order.created";
5250
- readonly OrderReady: "order.ready";
5251
- readonly OrderReverted: "order.reverted";
5252
- readonly OrderDeleted: "order.deleted";
5253
- readonly PrintingOrder: "printing.order";
5254
- };
5255
- export type KDSEVENTNAME = typeof KDSEVENTNAME[keyof typeof KDSEVENTNAME];
5256
- /**
5257
- *
5258
- * @export
5259
- * @interface KdsCoordinateDto
5260
- */
5261
- export interface KdsCoordinateDto {
5262
- /**
5263
- *
5264
- * @type {string}
5265
- * @memberof KdsCoordinateDto
5266
- */
5267
- 'id': string;
5268
- /**
5269
- *
5270
- * @type {number}
5271
- * @memberof KdsCoordinateDto
5272
- */
5273
- 'lat': number | null;
5274
- /**
5275
- *
5276
- * @type {number}
5277
- * @memberof KdsCoordinateDto
5278
- */
5279
- 'lon': number | null;
5280
- }
5281
- /**
5282
- *
5283
- * @export
5284
- * @interface KdsCustomerDto
5285
- */
5286
- export interface KdsCustomerDto {
5287
- /**
5288
- *
5289
- * @type {string}
5290
- * @memberof KdsCustomerDto
5291
- */
5292
- 'id': string;
5293
- /**
5294
- *
5295
- * @type {string}
5296
- * @memberof KdsCustomerDto
5297
- */
5298
- 'name': string;
5299
- /**
5300
- *
5301
- * @type {string}
5302
- * @memberof KdsCustomerDto
5303
- */
5304
- 'phone': string | null;
5305
- /**
5306
- *
5307
- * @type {string}
5308
- * @memberof KdsCustomerDto
5309
- */
5310
- 'email': string | null;
5311
- }
5312
- /**
5313
- *
5314
- * @export
5315
- * @interface KdsDeliveryDto
5316
- */
5317
- export interface KdsDeliveryDto {
5318
- /**
5319
- *
5320
- * @type {string}
5321
- * @memberof KdsDeliveryDto
5322
- */
5323
- 'id': string;
5324
- /**
5325
- *
5326
- * @type {boolean}
5327
- * @memberof KdsDeliveryDto
5328
- */
5329
- 'selfDelivery': boolean;
5330
- /**
5331
- *
5332
- * @type {string}
5333
- * @memberof KdsDeliveryDto
5334
- */
5335
- 'note': string | null;
5336
- /**
5337
- *
5338
- * @type {DeliveryStatus}
5339
- * @memberof KdsDeliveryDto
5340
- */
5341
- 'status': DeliveryStatus;
5342
- /**
5343
- *
5344
- * @type {DeliveryType}
5345
- * @memberof KdsDeliveryDto
5346
- */
5347
- 'type': DeliveryType;
5348
- /**
5349
- *
5350
- * @type {number}
5351
- * @memberof KdsDeliveryDto
5352
- */
5353
- 'deliveryFee': number;
5354
- /**
5355
- *
5356
- * @type {KdsLocationDto}
5357
- * @memberof KdsDeliveryDto
5358
- */
5359
- 'location': KdsLocationDto | null;
5360
- }
5361
- /**
5362
- *
5363
- * @export
5364
- * @interface KdsLocationDto
5365
- */
5366
- export interface KdsLocationDto {
5367
- /**
5368
- *
5369
- * @type {string}
5370
- * @memberof KdsLocationDto
5371
- */
5372
- 'id': string;
5373
- /**
5374
- *
5375
- * @type {string}
5376
- * @memberof KdsLocationDto
5377
- */
5378
- 'formatted_address': string | null;
5379
- /**
5380
- *
5381
- * @type {string}
5382
- * @memberof KdsLocationDto
5383
- */
5384
- 'city': string | null;
5385
- /**
5386
- *
5387
- * @type {string}
5388
- * @memberof KdsLocationDto
5389
- */
5390
- 'country': string | null;
5391
- /**
5392
- *
5393
- * @type {KdsCoordinateDto}
5394
- * @memberof KdsLocationDto
5395
- */
5396
- 'coordinates': KdsCoordinateDto | null;
5397
- }
5398
- /**
5399
- *
5400
- * @export
5401
- * @interface KdsOrderDto
5402
- */
5403
- export interface KdsOrderDto {
5404
- /**
5405
- *
5406
- * @type {string}
5407
- * @memberof KdsOrderDto
5408
- */
5409
- 'id': string;
5410
- /**
5411
- *
5412
- * @type {string}
5413
- * @memberof KdsOrderDto
5414
- */
5415
- 'parentOrderId': string;
5416
- /**
5417
- *
5418
- * @type {number}
5419
- * @memberof KdsOrderDto
5420
- */
5421
- 'businessId': number;
5422
- /**
5423
- *
5424
- * @type {string}
5425
- * @memberof KdsOrderDto
5426
- */
5427
- 'profileId': string;
5428
- /**
5429
- *
5430
- * @type {string}
5431
- * @memberof KdsOrderDto
5432
- */
5433
- 'profileName': string;
5434
- /**
5435
- *
5436
- * @type {ProviderEnum}
5437
- * @memberof KdsOrderDto
5438
- */
5439
- 'provider': ProviderEnum;
5440
- /**
5441
- *
5442
- * @type {string}
5443
- * @memberof KdsOrderDto
5444
- */
5445
- 'orderNumber': string;
5446
- /**
5447
- *
5448
- * @type {string}
5449
- * @memberof KdsOrderDto
5450
- */
5451
- 'comment': string | null;
5452
- /**
5453
- *
5454
- * @type {number}
5455
- * @memberof KdsOrderDto
5456
- */
5457
- 'preparedIn': number | null;
5458
- /**
5459
- *
5460
- * @type {string}
5461
- * @memberof KdsOrderDto
5462
- */
5463
- 'spotNumber': string | null;
5464
- /**
5465
- *
5466
- * @type {string}
5467
- * @memberof KdsOrderDto
5468
- */
5469
- 'acceptedAt': string | null;
5470
- /**
5471
- *
5472
- * @type {string}
5473
- * @memberof KdsOrderDto
5474
- */
5475
- 'pickupEta': string | null;
5476
- /**
5477
- *
5478
- * @type {string}
5479
- * @memberof KdsOrderDto
5480
- */
5481
- 'deliveryEta': string | null;
5482
- /**
5483
- *
5484
- * @type {ConsumptionType}
5485
- * @memberof KdsOrderDto
5486
- */
5487
- 'consumptionType': ConsumptionType;
5488
- /**
5489
- *
5490
- * @type {string}
5491
- * @memberof KdsOrderDto
5492
- */
5493
- 'orderCreatedAt': string;
5494
- /**
5495
- *
5496
- * @type {string}
5497
- * @memberof KdsOrderDto
5498
- */
5499
- 'orderUpdatedAt': string;
5500
- /**
5501
- *
5502
- * @type {OrderType}
5503
- * @memberof KdsOrderDto
5504
- */
5505
- 'type': OrderType;
5506
- /**
5507
- *
5508
- * @type {OrderMode}
5509
- * @memberof KdsOrderDto
5510
- */
5511
- 'orderMode': OrderMode;
5512
- /**
5513
- *
5514
- * @type {SourceType}
5515
- * @memberof KdsOrderDto
5516
- */
5517
- 'sourceType': SourceType;
5518
- /**
5519
- *
5520
- * @type {OrderStatus}
5521
- * @memberof KdsOrderDto
5522
- */
5523
- 'status': OrderStatus;
5524
- /**
5525
- *
5526
- * @type {string}
5527
- * @memberof KdsOrderDto
5528
- */
5529
- 'createdAt': string;
5530
- /**
5531
- *
5532
- * @type {string}
5533
- * @memberof KdsOrderDto
5534
- */
5535
- 'updatedAt': string;
5536
- /**
5537
- *
5538
- * @type {KdsCustomerDto}
5539
- * @memberof KdsOrderDto
5540
- */
5541
- 'customer': KdsCustomerDto | null;
5542
- /**
5543
- *
5544
- * @type {KdsDeliveryDto}
5545
- * @memberof KdsOrderDto
5546
- */
5547
- 'delivery': KdsDeliveryDto | null;
5548
- /**
5549
- *
5550
- * @type {KdsPreorderDto}
5551
- * @memberof KdsOrderDto
5552
- */
5553
- 'preorder': KdsPreorderDto | null;
5554
- /**
5555
- *
5556
- * @type {KdsPriceSummaryDto}
5557
- * @memberof KdsOrderDto
5558
- */
5559
- 'priceSummary': KdsPriceSummaryDto | null;
5560
- /**
5561
- *
5562
- * @type {Array<KdsOrderItemDto>}
5563
- * @memberof KdsOrderDto
5564
- */
5565
- 'items': Array<KdsOrderItemDto>;
5566
- }
5567
- /**
5568
- *
5569
- * @export
5570
- * @interface KdsOrderItemDto
5571
- */
5572
- export interface KdsOrderItemDto {
5573
- /**
5574
- *
5575
- * @type {string}
5576
- * @memberof KdsOrderItemDto
5577
- */
5578
- 'id': string;
5579
- /**
5580
- *
5581
- * @type {string}
5582
- * @memberof KdsOrderItemDto
5583
- */
5584
- 'orderId': string;
5585
- /**
5586
- *
5587
- * @type {string}
5588
- * @memberof KdsOrderItemDto
5589
- */
5590
- 'externalProductId': string;
5591
- /**
5592
- *
5593
- * @type {string}
5594
- * @memberof KdsOrderItemDto
5595
- */
5596
- 'name': string;
5597
- /**
5598
- *
5599
- * @type {number}
5600
- * @memberof KdsOrderItemDto
5601
- */
5602
- 'quantity': number;
5603
- /**
5604
- *
5605
- * @type {number}
5606
- * @memberof KdsOrderItemDto
5607
- */
5608
- 'unitPrice': number;
5609
- /**
5610
- *
5611
- * @type {number}
5612
- * @memberof KdsOrderItemDto
5613
- */
5614
- 'paidPrice': number;
5615
- /**
5616
- *
5617
- * @type {string}
5618
- * @memberof KdsOrderItemDto
5619
- */
5620
- 'comment': string | null;
5621
- /**
5622
- *
5623
- * @type {KitchenItemStatus}
5624
- * @memberof KdsOrderItemDto
5625
- */
5626
- 'kitchenStatus': KitchenItemStatus;
5627
- /**
5628
- *
5629
- * @type {string}
5630
- * @memberof KdsOrderItemDto
5631
- */
5632
- 'createdAt': string;
5633
- /**
5634
- *
5635
- * @type {string}
5636
- * @memberof KdsOrderItemDto
5637
- */
5638
- 'updatedAt': string;
5639
- /**
5640
- *
5641
- * @type {Array<KdsOrderOptionDto>}
5642
- * @memberof KdsOrderItemDto
5643
- */
5644
- 'options': Array<KdsOrderOptionDto>;
5645
- }
5646
- /**
5647
- *
5648
- * @export
5649
- * @interface KdsOrderListResponseDto
5650
- */
5651
- export interface KdsOrderListResponseDto {
5652
- /**
5653
- * KDS orders
5654
- * @type {Array<KdsOrderDto>}
5655
- * @memberof KdsOrderListResponseDto
5656
- */
5657
- 'orders': Array<KdsOrderDto>;
5658
- /**
5659
- *
5660
- * @type {KdsOrderListResponseDtoPagination}
5661
- * @memberof KdsOrderListResponseDto
5662
- */
5663
- 'pagination': KdsOrderListResponseDtoPagination;
5664
- }
5665
- /**
5666
- * Pagination details
5667
- * @export
5668
- * @interface KdsOrderListResponseDtoPagination
5669
- */
5670
- export interface KdsOrderListResponseDtoPagination {
5671
- /**
5672
- *
5673
- * @type {number}
5674
- * @memberof KdsOrderListResponseDtoPagination
5675
- */
5676
- 'page': number;
5677
- /**
5678
- *
5679
- * @type {number}
5680
- * @memberof KdsOrderListResponseDtoPagination
5681
- */
5682
- 'rowPerPage': number;
5683
- /**
5684
- *
5685
- * @type {number}
5686
- * @memberof KdsOrderListResponseDtoPagination
5687
- */
5688
- 'totalPages': number;
5689
- /**
5690
- *
5691
- * @type {number}
5692
- * @memberof KdsOrderListResponseDtoPagination
5693
- */
5694
- 'totalItems': number;
5695
- /**
5696
- *
5697
- * @type {boolean}
5698
- * @memberof KdsOrderListResponseDtoPagination
5699
- */
5700
- 'hasNextPage': boolean;
5701
- /**
5702
- *
5703
- * @type {boolean}
5704
- * @memberof KdsOrderListResponseDtoPagination
5705
- */
5706
- 'hasPreviousPage': boolean;
5707
- }
5708
- /**
5709
- *
5710
- * @export
5711
- * @interface KdsOrderOptionDto
5712
- */
5713
- export interface KdsOrderOptionDto {
5714
- /**
5715
- *
5716
- * @type {string}
5717
- * @memberof KdsOrderOptionDto
5718
- */
5719
- 'id': string;
5720
- /**
5721
- *
5722
- * @type {string}
5723
- * @memberof KdsOrderOptionDto
5724
- */
5725
- 'orderItemId': string;
5726
- /**
5727
- *
5728
- * @type {string}
5729
- * @memberof KdsOrderOptionDto
5730
- */
5731
- 'externalId': string;
5732
- /**
5733
- *
5734
- * @type {string}
5735
- * @memberof KdsOrderOptionDto
5736
- */
5737
- 'name': string;
5738
- /**
5739
- *
5740
- * @type {string}
5741
- * @memberof KdsOrderOptionDto
5742
- */
5743
- 'image': string | null;
5744
- /**
5745
- *
5746
- * @type {string}
5747
- * @memberof KdsOrderOptionDto
5748
- */
5749
- 'createdAt': string;
5750
- /**
5751
- *
5752
- * @type {string}
5753
- * @memberof KdsOrderOptionDto
5754
- */
5755
- 'updatedAt': string;
5756
- /**
5757
- *
5758
- * @type {Array<KdsOrderSubOptionDto>}
5759
- * @memberof KdsOrderOptionDto
5760
- */
5761
- 'subOptions': Array<KdsOrderSubOptionDto>;
5762
- }
5763
- /**
5764
- *
5765
- * @export
5766
- * @interface KdsOrderSubOptionDto
5767
- */
5768
- export interface KdsOrderSubOptionDto {
5769
- /**
5770
- *
5771
- * @type {string}
5772
- * @memberof KdsOrderSubOptionDto
5773
- */
5774
- 'id': string;
5775
- /**
5776
- *
5777
- * @type {string}
5778
- * @memberof KdsOrderSubOptionDto
5779
- */
5780
- 'orderOptionId': string;
5781
- /**
5782
- *
5783
- * @type {string}
5784
- * @memberof KdsOrderSubOptionDto
5785
- */
5786
- 'externalId': string;
5787
- /**
5788
- *
5789
- * @type {string}
5790
- * @memberof KdsOrderSubOptionDto
5791
- */
5792
- 'name': string;
5793
- /**
5794
- *
5795
- * @type {number}
5796
- * @memberof KdsOrderSubOptionDto
5797
- */
5798
- 'quantity': number;
5799
- /**
5800
- *
5801
- * @type {number}
5802
- * @memberof KdsOrderSubOptionDto
5803
- */
5804
- 'unitPrice': number;
5805
- /**
5806
- *
5807
- * @type {number}
5808
- * @memberof KdsOrderSubOptionDto
5809
- */
5810
- 'paidPrice': number;
5811
- /**
5812
- *
5813
- * @type {string}
5814
- * @memberof KdsOrderSubOptionDto
5815
- */
5816
- 'createdAt': string;
5817
- /**
5818
- *
5819
- * @type {string}
5820
- * @memberof KdsOrderSubOptionDto
5821
- */
5822
- 'updatedAt': string;
5823
- }
5824
- /**
5825
- *
5826
- * @export
5827
- * @interface KdsPaginationDto
5828
- */
5829
- export interface KdsPaginationDto {
5830
- /**
5831
- *
5832
- * @type {number}
5833
- * @memberof KdsPaginationDto
5834
- */
5835
- 'page': number;
5836
- /**
5837
- *
5838
- * @type {number}
5839
- * @memberof KdsPaginationDto
5840
- */
5841
- 'rowPerPage': number;
5842
- /**
5843
- *
5844
- * @type {number}
5845
- * @memberof KdsPaginationDto
5846
- */
5847
- 'totalPages': number;
5848
- /**
5849
- *
5850
- * @type {number}
5851
- * @memberof KdsPaginationDto
5852
- */
5853
- 'totalItems': number;
5854
- /**
5855
- *
5856
- * @type {boolean}
5857
- * @memberof KdsPaginationDto
5858
- */
5859
- 'hasNextPage': boolean;
5860
- /**
5861
- *
5862
- * @type {boolean}
5863
- * @memberof KdsPaginationDto
5864
- */
5865
- 'hasPreviousPage': boolean;
5866
- }
5867
- /**
5868
- *
5869
- * @export
5870
- * @interface KdsPreorderDto
5871
- */
5872
- export interface KdsPreorderDto {
5873
- /**
5874
- *
5875
- * @type {string}
5876
- * @memberof KdsPreorderDto
5877
- */
5878
- 'id': string;
5879
- /**
5880
- *
5881
- * @type {PreorderStatus}
5882
- * @memberof KdsPreorderDto
5883
- */
5884
- 'status': PreorderStatus;
5885
- /**
5886
- *
5887
- * @type {string}
5888
- * @memberof KdsPreorderDto
5889
- */
5890
- 'preorderTime': string;
5891
- }
5892
- /**
5893
- *
5894
- * @export
5895
- * @interface KdsPriceSummaryDto
5896
- */
5897
- export interface KdsPriceSummaryDto {
5898
- /**
5899
- *
5900
- * @type {string}
5901
- * @memberof KdsPriceSummaryDto
5902
- */
5903
- 'id': string;
5904
- /**
5905
- *
5906
- * @type {number}
5907
- * @memberof KdsPriceSummaryDto
5908
- */
5909
- 'totalNet': number;
5910
- }
5911
- /**
5912
- *
5913
- * @export
5914
- * @interface KdsPrintingEventDto
5915
- */
5916
- export interface KdsPrintingEventDto {
5917
- /**
5918
- *
5919
- * @type {KDSEVENTNAME}
5920
- * @memberof KdsPrintingEventDto
5921
- */
5922
- 'event': KDSEVENTNAME;
5923
- /**
5924
- *
5925
- * @type {KdsOrderDto}
5926
- * @memberof KdsPrintingEventDto
5927
- */
5928
- 'order': KdsOrderDto;
5929
- }
5930
- /**
5931
- *
5932
- * @export
5933
- * @interface KdsProfileDto
5934
- */
5935
- export interface KdsProfileDto {
5936
- /**
5937
- *
5938
- * @type {string}
5939
- * @memberof KdsProfileDto
5940
- */
5941
- 'id': string;
5942
- /**
5943
- *
5944
- * @type {string}
5945
- * @memberof KdsProfileDto
5946
- */
5947
- 'name': string;
5948
- /**
5949
- *
5950
- * @type {SystemProfileType}
5951
- * @memberof KdsProfileDto
5952
- */
5953
- 'systemType': SystemProfileType | null;
5954
- }
5955
- /**
5956
- *
5957
- * @export
5958
- * @interface KdsProfileResponseDto
5959
- */
5960
- export interface KdsProfileResponseDto {
5961
- /**
5962
- * The KDS profile identifier
5963
- * @type {string}
5964
- * @memberof KdsProfileResponseDto
5965
- */
5966
- 'id': string;
5967
- /**
5968
- * The KDS profile name
5969
- * @type {string}
5970
- * @memberof KdsProfileResponseDto
5971
- */
5972
- 'name': string;
5973
- /**
5974
- *
5975
- * @type {SystemProfileType}
5976
- * @memberof KdsProfileResponseDto
5977
- */
5978
- 'systemType': SystemProfileType | null;
5979
- }
5980
- /**
5981
- *
5982
- * @export
5983
- * @interface KdsPubSubPayloadDto
5984
- */
5985
- export interface KdsPubSubPayloadDto {
5986
- /**
5987
- *
5988
- * @type {PubSubTarget}
5989
- * @memberof KdsPubSubPayloadDto
5990
- */
5991
- 'target': PubSubTarget;
5992
- /**
5993
- *
5994
- * @type {ProviderEnum}
5995
- * @memberof KdsPubSubPayloadDto
5996
- */
5997
- 'provider': ProviderEnum;
5998
- /**
5999
- *
6000
- * @type {number}
6001
- * @memberof KdsPubSubPayloadDto
6002
- */
6003
- 'businessId': number;
6004
- /**
6005
- *
6006
- * @type {PubSubAction}
6007
- * @memberof KdsPubSubPayloadDto
6008
- */
6009
- 'action': PubSubAction;
6010
- /**
6011
- *
6012
- * @type {string}
6013
- * @memberof KdsPubSubPayloadDto
6014
- */
6015
- 'orderId': string;
6016
- /**
6017
- *
6018
- * @type {SourceType}
6019
- * @memberof KdsPubSubPayloadDto
6020
- */
6021
- 'type': SourceType;
6022
- }
6023
- /**
6024
- *
6025
- * @export
6026
- * @interface KdsReadyOrderResponseDto
6027
- */
6028
- export interface KdsReadyOrderResponseDto {
6029
- /**
6030
- * Indicates whether the KDS order ready update succeeded
6031
- * @type {boolean}
6032
- * @memberof KdsReadyOrderResponseDto
6033
- */
6034
- 'status': boolean;
6035
- /**
6036
- * Human-readable status message
6037
- * @type {string}
6038
- * @memberof KdsReadyOrderResponseDto
6039
- */
6040
- 'message': string;
6041
- /**
6042
- *
6043
- * @type {KdsReadyOrderResponseDtoOrder}
6044
- * @memberof KdsReadyOrderResponseDto
6045
- */
6046
- 'order': KdsReadyOrderResponseDtoOrder | null;
6047
- }
6048
- /**
6049
- * Updated KDS order after the ready flow completes
6050
- * @export
6051
- * @interface KdsReadyOrderResponseDtoOrder
6052
- */
6053
- export interface KdsReadyOrderResponseDtoOrder {
6054
- /**
6055
- *
6056
- * @type {string}
6057
- * @memberof KdsReadyOrderResponseDtoOrder
6058
- */
6059
- 'id': string;
6060
- /**
6061
- *
6062
- * @type {string}
6063
- * @memberof KdsReadyOrderResponseDtoOrder
6064
- */
6065
- 'parentOrderId': string;
6066
- /**
6067
- *
6068
- * @type {number}
6069
- * @memberof KdsReadyOrderResponseDtoOrder
6070
- */
6071
- 'businessId': number;
6072
- /**
6073
- *
6074
- * @type {string}
6075
- * @memberof KdsReadyOrderResponseDtoOrder
6076
- */
6077
- 'profileId': string;
6078
- /**
6079
- *
6080
- * @type {string}
6081
- * @memberof KdsReadyOrderResponseDtoOrder
6082
- */
6083
- 'profileName': string;
6084
- /**
6085
- *
6086
- * @type {ProviderEnum}
6087
- * @memberof KdsReadyOrderResponseDtoOrder
6088
- */
6089
- 'provider': ProviderEnum;
6090
- /**
6091
- *
6092
- * @type {string}
6093
- * @memberof KdsReadyOrderResponseDtoOrder
6094
- */
6095
- 'orderNumber': string;
6096
- /**
6097
- *
6098
- * @type {string}
6099
- * @memberof KdsReadyOrderResponseDtoOrder
6100
- */
6101
- 'comment': string | null;
6102
- /**
6103
- *
6104
- * @type {number}
6105
- * @memberof KdsReadyOrderResponseDtoOrder
6106
- */
6107
- 'preparedIn': number | null;
6108
- /**
6109
- *
6110
- * @type {string}
6111
- * @memberof KdsReadyOrderResponseDtoOrder
6112
- */
6113
- 'spotNumber': string | null;
6114
- /**
6115
- *
6116
- * @type {string}
6117
- * @memberof KdsReadyOrderResponseDtoOrder
6118
- */
6119
- 'acceptedAt': string | null;
6120
- /**
6121
- *
6122
- * @type {string}
6123
- * @memberof KdsReadyOrderResponseDtoOrder
6124
- */
6125
- 'pickupEta': string | null;
6126
- /**
6127
- *
6128
- * @type {string}
6129
- * @memberof KdsReadyOrderResponseDtoOrder
6130
- */
6131
- 'deliveryEta': string | null;
6132
- /**
6133
- *
6134
- * @type {ConsumptionType}
6135
- * @memberof KdsReadyOrderResponseDtoOrder
6136
- */
6137
- 'consumptionType': ConsumptionType;
6138
- /**
6139
- *
6140
- * @type {string}
6141
- * @memberof KdsReadyOrderResponseDtoOrder
6142
- */
6143
- 'orderCreatedAt': string;
6144
- /**
6145
- *
6146
- * @type {string}
6147
- * @memberof KdsReadyOrderResponseDtoOrder
6148
- */
6149
- 'orderUpdatedAt': string;
6150
- /**
6151
- *
6152
- * @type {OrderType}
6153
- * @memberof KdsReadyOrderResponseDtoOrder
6154
- */
6155
- 'type': OrderType;
6156
- /**
6157
- *
6158
- * @type {OrderMode}
6159
- * @memberof KdsReadyOrderResponseDtoOrder
6160
- */
6161
- 'orderMode': OrderMode;
6162
- /**
6163
- *
6164
- * @type {SourceType}
6165
- * @memberof KdsReadyOrderResponseDtoOrder
6166
- */
6167
- 'sourceType': SourceType;
6168
- /**
6169
- *
6170
- * @type {OrderStatus}
6171
- * @memberof KdsReadyOrderResponseDtoOrder
6172
- */
6173
- 'status': OrderStatus;
6174
- /**
6175
- *
6176
- * @type {string}
6177
- * @memberof KdsReadyOrderResponseDtoOrder
6178
- */
6179
- 'createdAt': string;
6180
- /**
6181
- *
6182
- * @type {string}
6183
- * @memberof KdsReadyOrderResponseDtoOrder
6184
- */
6185
- 'updatedAt': string;
6186
- /**
6187
- *
6188
- * @type {KdsCustomerDto}
6189
- * @memberof KdsReadyOrderResponseDtoOrder
6190
- */
6191
- 'customer': KdsCustomerDto | null;
6192
- /**
6193
- *
6194
- * @type {KdsDeliveryDto}
6195
- * @memberof KdsReadyOrderResponseDtoOrder
6196
- */
6197
- 'delivery': KdsDeliveryDto | null;
6198
- /**
6199
- *
6200
- * @type {KdsPreorderDto}
6201
- * @memberof KdsReadyOrderResponseDtoOrder
6202
- */
6203
- 'preorder': KdsPreorderDto | null;
6204
- /**
6205
- *
6206
- * @type {KdsPriceSummaryDto}
6207
- * @memberof KdsReadyOrderResponseDtoOrder
6208
- */
6209
- 'priceSummary': KdsPriceSummaryDto | null;
6210
- /**
6211
- *
6212
- * @type {Array<KdsOrderItemDto>}
6213
- * @memberof KdsReadyOrderResponseDtoOrder
6214
- */
6215
- 'items': Array<KdsOrderItemDto>;
6216
- }
6217
- /**
6218
- *
6219
- * @export
6220
- * @interface KdsRevertOrderResponseDto
6221
- */
6222
- export interface KdsRevertOrderResponseDto {
6223
- /**
6224
- * Indicates whether the KDS order revert succeeded
6225
- * @type {boolean}
6226
- * @memberof KdsRevertOrderResponseDto
6227
- */
6228
- 'status': boolean;
6229
- /**
6230
- * Human-readable status message
6231
- * @type {string}
6232
- * @memberof KdsRevertOrderResponseDto
6233
- */
6234
- 'message': string;
6235
- /**
6236
- *
6237
- * @type {KdsRevertOrderResponseDtoOrder}
6238
- * @memberof KdsRevertOrderResponseDto
6239
- */
6240
- 'order': KdsRevertOrderResponseDtoOrder | null;
6241
- }
6242
- /**
6243
- * Updated KDS order after the revert flow completes
6244
- * @export
6245
- * @interface KdsRevertOrderResponseDtoOrder
6246
- */
6247
- export interface KdsRevertOrderResponseDtoOrder {
6248
- /**
6249
- *
6250
- * @type {string}
6251
- * @memberof KdsRevertOrderResponseDtoOrder
6252
- */
6253
- 'id': string;
6254
- /**
6255
- *
6256
- * @type {string}
6257
- * @memberof KdsRevertOrderResponseDtoOrder
6258
- */
6259
- 'parentOrderId': string;
6260
- /**
6261
- *
6262
- * @type {number}
6263
- * @memberof KdsRevertOrderResponseDtoOrder
6264
- */
6265
- 'businessId': number;
6266
- /**
6267
- *
6268
- * @type {string}
6269
- * @memberof KdsRevertOrderResponseDtoOrder
6270
- */
6271
- 'profileId': string;
6272
- /**
6273
- *
6274
- * @type {string}
6275
- * @memberof KdsRevertOrderResponseDtoOrder
6276
- */
6277
- 'profileName': string;
6278
- /**
6279
- *
6280
- * @type {ProviderEnum}
6281
- * @memberof KdsRevertOrderResponseDtoOrder
6282
- */
6283
- 'provider': ProviderEnum;
6284
- /**
6285
- *
6286
- * @type {string}
6287
- * @memberof KdsRevertOrderResponseDtoOrder
6288
- */
6289
- 'orderNumber': string;
6290
- /**
6291
- *
6292
- * @type {string}
6293
- * @memberof KdsRevertOrderResponseDtoOrder
6294
- */
6295
- 'comment': string | null;
6296
- /**
6297
- *
6298
- * @type {number}
6299
- * @memberof KdsRevertOrderResponseDtoOrder
6300
- */
6301
- 'preparedIn': number | null;
6302
- /**
6303
- *
6304
- * @type {string}
6305
- * @memberof KdsRevertOrderResponseDtoOrder
6306
- */
6307
- 'spotNumber': string | null;
6308
- /**
6309
- *
6310
- * @type {string}
6311
- * @memberof KdsRevertOrderResponseDtoOrder
6312
- */
6313
- 'acceptedAt': string | null;
6314
- /**
6315
- *
6316
- * @type {string}
6317
- * @memberof KdsRevertOrderResponseDtoOrder
6318
- */
6319
- 'pickupEta': string | null;
6320
- /**
6321
- *
6322
- * @type {string}
6323
- * @memberof KdsRevertOrderResponseDtoOrder
6324
- */
6325
- 'deliveryEta': string | null;
6326
- /**
6327
- *
6328
- * @type {ConsumptionType}
6329
- * @memberof KdsRevertOrderResponseDtoOrder
6330
- */
6331
- 'consumptionType': ConsumptionType;
6332
- /**
6333
- *
6334
- * @type {string}
6335
- * @memberof KdsRevertOrderResponseDtoOrder
6336
- */
6337
- 'orderCreatedAt': string;
6338
- /**
6339
- *
6340
- * @type {string}
6341
- * @memberof KdsRevertOrderResponseDtoOrder
6342
- */
6343
- 'orderUpdatedAt': string;
6344
- /**
6345
- *
6346
- * @type {OrderType}
6347
- * @memberof KdsRevertOrderResponseDtoOrder
6348
- */
6349
- 'type': OrderType;
6350
- /**
6351
- *
6352
- * @type {OrderMode}
6353
- * @memberof KdsRevertOrderResponseDtoOrder
6354
- */
6355
- 'orderMode': OrderMode;
6356
- /**
6357
- *
6358
- * @type {SourceType}
6359
- * @memberof KdsRevertOrderResponseDtoOrder
6360
- */
6361
- 'sourceType': SourceType;
6362
- /**
6363
- *
6364
- * @type {OrderStatus}
6365
- * @memberof KdsRevertOrderResponseDtoOrder
6366
- */
6367
- 'status': OrderStatus;
6368
- /**
6369
- *
6370
- * @type {string}
6371
- * @memberof KdsRevertOrderResponseDtoOrder
6372
- */
6373
- 'createdAt': string;
6374
- /**
6375
- *
6376
- * @type {string}
6377
- * @memberof KdsRevertOrderResponseDtoOrder
6378
- */
6379
- 'updatedAt': string;
6380
- /**
6381
- *
6382
- * @type {KdsCustomerDto}
6383
- * @memberof KdsRevertOrderResponseDtoOrder
6384
- */
6385
- 'customer': KdsCustomerDto | null;
6386
- /**
6387
- *
6388
- * @type {KdsDeliveryDto}
6389
- * @memberof KdsRevertOrderResponseDtoOrder
6390
- */
6391
- 'delivery': KdsDeliveryDto | null;
6392
- /**
6393
- *
6394
- * @type {KdsPreorderDto}
6395
- * @memberof KdsRevertOrderResponseDtoOrder
6396
- */
6397
- 'preorder': KdsPreorderDto | null;
6398
- /**
6399
- *
6400
- * @type {KdsPriceSummaryDto}
6401
- * @memberof KdsRevertOrderResponseDtoOrder
6402
- */
6403
- 'priceSummary': KdsPriceSummaryDto | null;
6404
- /**
6405
- *
6406
- * @type {Array<KdsOrderItemDto>}
6407
- * @memberof KdsRevertOrderResponseDtoOrder
6408
- */
6409
- 'items': Array<KdsOrderItemDto>;
6410
- }
6411
5249
  /**
6412
5250
  *
6413
5251
  * @export
@@ -6459,22 +5297,6 @@ export interface KioskStatusDto {
6459
5297
  */
6460
5298
  'payment_event': PaymentEventType;
6461
5299
  }
6462
- /**
6463
- *
6464
- * @export
6465
- * @enum {string}
6466
- */
6467
- export declare const KitchenItemStatus: {
6468
- readonly NotApplicable: "NOT_APPLICABLE";
6469
- readonly Pending: "PENDING";
6470
- readonly OnHold: "ON_HOLD";
6471
- readonly SentToOm: "SENT_TO_OM";
6472
- readonly DispatchedToKitchen: "DISPATCHED_TO_KITCHEN";
6473
- readonly Completed: "COMPLETED";
6474
- readonly Cancelled: "CANCELLED";
6475
- readonly Ready: "READY";
6476
- };
6477
- export type KitchenItemStatus = typeof KitchenItemStatus[keyof typeof KitchenItemStatus];
6478
5300
  /**
6479
5301
  *
6480
5302
  * @export
@@ -6484,7 +5306,6 @@ export declare const KitchenStatus: {
6484
5306
  readonly NotApplicable: "not_applicable";
6485
5307
  readonly Pending: "pending";
6486
5308
  readonly OnHold: "on_hold";
6487
- readonly Ready: "ready";
6488
5309
  readonly SentToOm: "sent_to_om";
6489
5310
  readonly DispatchedToKitchen: "dispatched_to_kitchen";
6490
5311
  readonly Completed: "completed";
@@ -8760,16 +7581,6 @@ export interface OrderHistoryResponseDtoSummary {
8760
7581
  */
8761
7582
  'totalTipAmount'?: number;
8762
7583
  }
8763
- /**
8764
- *
8765
- * @export
8766
- * @enum {string}
8767
- */
8768
- export declare const OrderMode: {
8769
- readonly Instant: "INSTANT";
8770
- readonly PreOrder: "PRE_ORDER";
8771
- };
8772
- export type OrderMode = typeof OrderMode[keyof typeof OrderMode];
8773
7584
  /**
8774
7585
  *
8775
7586
  * @export
@@ -9181,18 +7992,6 @@ export declare const OrderSource: {
9181
7992
  readonly Pos: "POS";
9182
7993
  };
9183
7994
  export type OrderSource = typeof OrderSource[keyof typeof OrderSource];
9184
- /**
9185
- *
9186
- * @export
9187
- * @enum {string}
9188
- */
9189
- export declare const OrderStatus: {
9190
- readonly InProgress: "IN_PROGRESS";
9191
- readonly Ready: "READY";
9192
- readonly Delivered: "DELIVERED";
9193
- readonly Rejected: "REJECTED";
9194
- };
9195
- export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
9196
7995
  /**
9197
7996
  *
9198
7997
  * @export
@@ -13682,6 +12481,16 @@ export interface ProgramUserDto {
13682
12481
  */
13683
12482
  'address'?: string;
13684
12483
  }
12484
+ /**
12485
+ *
12486
+ * @export
12487
+ * @enum {string}
12488
+ */
12489
+ export declare const PromotionDiscountType: {
12490
+ readonly Percentage: "PERCENTAGE";
12491
+ readonly Fixed: "FIXED";
12492
+ };
12493
+ export type PromotionDiscountType = typeof PromotionDiscountType[keyof typeof PromotionDiscountType];
13685
12494
  /**
13686
12495
  *
13687
12496
  * @export
@@ -13796,44 +12605,6 @@ export interface ProviderStatusResponseDto {
13796
12605
  */
13797
12606
  'open': boolean;
13798
12607
  }
13799
- /**
13800
- *
13801
- * @export
13802
- * @interface ProviderSupportedIntegrationsDto
13803
- */
13804
- export interface ProviderSupportedIntegrationsDto {
13805
- /**
13806
- *
13807
- * @type {ProviderEnum}
13808
- * @memberof ProviderSupportedIntegrationsDto
13809
- */
13810
- 'provider': ProviderEnum;
13811
- /**
13812
- * Integrations this provider supports
13813
- * @type {Array<IntegrationType>}
13814
- * @memberof ProviderSupportedIntegrationsDto
13815
- */
13816
- 'supportedIntegrations': Array<IntegrationType>;
13817
- }
13818
- /**
13819
- *
13820
- * @export
13821
- * @enum {string}
13822
- */
13823
- export declare const PubSubAction: {
13824
- readonly Activity: "ORDER_ACTIVITY";
13825
- readonly Deleted: "ORDER_DELETED";
13826
- };
13827
- export type PubSubAction = typeof PubSubAction[keyof typeof PubSubAction];
13828
- /**
13829
- *
13830
- * @export
13831
- * @enum {string}
13832
- */
13833
- export declare const PubSubTarget: {
13834
- readonly Kds: "KDS";
13835
- };
13836
- export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
13837
12608
  /**
13838
12609
  *
13839
12610
  * @export
@@ -14900,16 +13671,6 @@ export interface SingleProviderStatusResponseDtoActiveChannel {
14900
13671
  */
14901
13672
  'open': boolean;
14902
13673
  }
14903
- /**
14904
- *
14905
- * @export
14906
- * @enum {string}
14907
- */
14908
- export declare const SourceType: {
14909
- readonly Order: "ORDER";
14910
- readonly Ticket: "TICKET";
14911
- };
14912
- export type SourceType = typeof SourceType[keyof typeof SourceType];
14913
13674
  /**
14914
13675
  *
14915
13676
  * @export
@@ -15093,12 +13854,6 @@ export interface StationDetailsDto {
15093
13854
  * @memberof StationDetailsDto
15094
13855
  */
15095
13856
  'prefix': string;
15096
- /**
15097
- *
15098
- * @type {object}
15099
- * @memberof StationDetailsDto
15100
- */
15101
- 'settings'?: object;
15102
13857
  /**
15103
13858
  *
15104
13859
  * @type {object}
@@ -15186,96 +13941,11 @@ export interface StationDetailsDtoPaymentTerminal {
15186
13941
  */
15187
13942
  export interface StationSyncResponseDto {
15188
13943
  /**
15189
- *
15190
- * @type {StationSyncResponseDtoStation}
15191
- * @memberof StationSyncResponseDto
15192
- */
15193
- 'station': StationSyncResponseDtoStation;
15194
- }
15195
- /**
15196
- * The synced station data
15197
- * @export
15198
- * @interface StationSyncResponseDtoStation
15199
- */
15200
- export interface StationSyncResponseDtoStation {
15201
- /**
15202
- *
15203
- * @type {string}
15204
- * @memberof StationSyncResponseDtoStation
15205
- */
15206
- 'id': string;
15207
- /**
15208
- *
15209
- * @type {string}
15210
- * @memberof StationSyncResponseDtoStation
15211
- */
15212
- 'name': string;
15213
- /**
15214
- *
15215
- * @type {string}
15216
- * @memberof StationSyncResponseDtoStation
15217
- */
15218
- 'hardwareId': string;
15219
- /**
15220
- *
15221
- * @type {StationType}
15222
- * @memberof StationSyncResponseDtoStation
15223
- */
15224
- 'type': StationType;
15225
- /**
15226
- *
15227
- * @type {DeviceType}
15228
- * @memberof StationSyncResponseDtoStation
15229
- */
15230
- 'deviceType'?: DeviceType;
15231
- /**
15232
- *
15233
- * @type {Status}
15234
- * @memberof StationSyncResponseDtoStation
15235
- */
15236
- 'status': Status;
15237
- /**
15238
- *
15239
- * @type {number}
15240
- * @memberof StationSyncResponseDtoStation
15241
- */
15242
- 'orderingBusinessId': number;
15243
- /**
15244
- *
15245
- * @type {string}
15246
- * @memberof StationSyncResponseDtoStation
15247
- */
15248
- 'prefix': string;
15249
- /**
15250
- *
15251
- * @type {object}
15252
- * @memberof StationSyncResponseDtoStation
15253
- */
15254
- 'settings'?: object;
15255
- /**
15256
- *
15257
- * @type {object}
15258
- * @memberof StationSyncResponseDtoStation
15259
- */
15260
- 'metadata'?: object;
15261
- /**
15262
- * Timestamp when the station record was created.
15263
- * @type {string}
15264
- * @memberof StationSyncResponseDtoStation
15265
- */
15266
- 'createdAt': string;
15267
- /**
15268
- * Timestamp when the station record was last updated.
13944
+ * A success message indicating the sync was successful
15269
13945
  * @type {string}
15270
- * @memberof StationSyncResponseDtoStation
15271
- */
15272
- 'updatedAt': string;
15273
- /**
15274
- *
15275
- * @type {StationDetailsDtoPaymentTerminal}
15276
- * @memberof StationSyncResponseDtoStation
13946
+ * @memberof StationSyncResponseDto
15277
13947
  */
15278
- 'paymentTerminal'?: StationDetailsDtoPaymentTerminal | null;
13948
+ 'message': string;
15279
13949
  }
15280
13950
  /**
15281
13951
  *
@@ -15521,12 +14191,46 @@ export interface SyncStationDto {
15521
14191
  /**
15522
14192
  *
15523
14193
  * @export
15524
- * @enum {string}
14194
+ * @interface SyncTerminalDto
15525
14195
  */
15526
- export declare const SystemProfileType: {
15527
- readonly NoStation: "NO_STATION";
15528
- };
15529
- export type SystemProfileType = typeof SystemProfileType[keyof typeof SystemProfileType];
14196
+ export interface SyncTerminalDto {
14197
+ /**
14198
+ * Hardware ID of the station to connect the terminal to
14199
+ * @type {string}
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
+ }
15530
14234
  /**
15531
14235
  *
15532
14236
  * @export
@@ -17127,11 +15831,11 @@ export interface UnifiedProductDto {
17127
15831
  */
17128
15832
  'comment'?: string | null;
17129
15833
  /**
17130
- *
17131
- * @type {KitchenItemStatus}
15834
+ * Current kitchen preparation status of the product
15835
+ * @type {string}
17132
15836
  * @memberof UnifiedProductDto
17133
15837
  */
17134
- 'kitchenStatus': KitchenItemStatus;
15838
+ 'kitchenStatus'?: string | null;
17135
15839
  /**
17136
15840
  * List of options selected for this product
17137
15841
  * @type {Array<UnifiedOptionDto>}
@@ -21268,6 +19972,14 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
21268
19972
  * @throws {RequiredError}
21269
19973
  */
21270
19974
  deleteBusinessPermission: (permissionId: string, businessId: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
19975
+ /**
19976
+ *
19977
+ * @summary Get unified discounts for all business and venue
19978
+ * @param {string} businessId
19979
+ * @param {*} [options] Override http request option.
19980
+ * @throws {RequiredError}
19981
+ */
19982
+ getAdvancedDiscounts: (businessId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21271
19983
  /**
21272
19984
  *
21273
19985
  * @param {string} businessId
@@ -21347,38 +20059,38 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
21347
20059
  /**
21348
20060
  *
21349
20061
  * @param {string} businessId
21350
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20062
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21351
20063
  * @param {*} [options] Override http request option.
21352
20064
  * @throws {RequiredError}
21353
20065
  */
21354
- getBusinessMenuByType: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
20066
+ getBusinessMenuByType: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21355
20067
  /**
21356
20068
  *
21357
20069
  * @summary Get business menu by type V2
21358
20070
  * @param {string} businessId
21359
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20071
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21360
20072
  * @param {*} [options] Override http request option.
21361
20073
  * @throws {RequiredError}
21362
20074
  */
21363
- getBusinessMenuByTypeV2: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
20075
+ getBusinessMenuByTypeV2: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21364
20076
  /**
21365
20077
  *
21366
20078
  * @summary Get business menu by type V3
21367
20079
  * @param {string} businessId
21368
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20080
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21369
20081
  * @param {*} [options] Override http request option.
21370
20082
  * @throws {RequiredError}
21371
20083
  */
21372
- getBusinessMenuByTypeV3: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
20084
+ getBusinessMenuByTypeV3: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21373
20085
  /**
21374
20086
  *
21375
20087
  * @summary Get business menu by type V4
21376
20088
  * @param {string} businessId
21377
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20089
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21378
20090
  * @param {*} [options] Override http request option.
21379
20091
  * @throws {RequiredError}
21380
20092
  */
21381
- getBusinessMenuByTypeV4: (businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig) => Promise<RequestArgs>;
20093
+ getBusinessMenuByTypeV4: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
21382
20094
  /**
21383
20095
  *
21384
20096
  * @param {string} businessId Id of the business
@@ -21400,13 +20112,6 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
21400
20112
  * @throws {RequiredError}
21401
20113
  */
21402
20114
  getBusinessTax: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
21403
- /**
21404
- *
21405
- * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
21406
- * @param {*} [options] Override http request option.
21407
- * @throws {RequiredError}
21408
- */
21409
- getProvidersSupportedIntegrations: (businessIds: Array<number>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21410
20115
  /**
21411
20116
  *
21412
20117
  * @param {string} businessId Id of the business
@@ -21479,7 +20184,15 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
21479
20184
  * @param {*} [options] Override http request option.
21480
20185
  * @throws {RequiredError}
21481
20186
  */
21482
- deleteBusinessPermission(permissionId: string, businessId: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
20187
+ deleteBusinessPermission(permissionId: string, businessId: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
20188
+ /**
20189
+ *
20190
+ * @summary Get unified discounts for all business and venue
20191
+ * @param {string} businessId
20192
+ * @param {*} [options] Override http request option.
20193
+ * @throws {RequiredError}
20194
+ */
20195
+ getAdvancedDiscounts(businessId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DiscountDto>>>;
21483
20196
  /**
21484
20197
  *
21485
20198
  * @param {string} businessId
@@ -21559,38 +20272,38 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
21559
20272
  /**
21560
20273
  *
21561
20274
  * @param {string} businessId
21562
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20275
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21563
20276
  * @param {*} [options] Override http request option.
21564
20277
  * @throws {RequiredError}
21565
20278
  */
21566
- getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
20279
+ getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
21567
20280
  /**
21568
20281
  *
21569
20282
  * @summary Get business menu by type V2
21570
20283
  * @param {string} businessId
21571
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20284
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21572
20285
  * @param {*} [options] Override http request option.
21573
20286
  * @throws {RequiredError}
21574
20287
  */
21575
- getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
20288
+ getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MenuDto>>>;
21576
20289
  /**
21577
20290
  *
21578
20291
  * @summary Get business menu by type V3
21579
20292
  * @param {string} businessId
21580
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20293
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21581
20294
  * @param {*} [options] Override http request option.
21582
20295
  * @throws {RequiredError}
21583
20296
  */
21584
- getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
20297
+ getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
21585
20298
  /**
21586
20299
  *
21587
20300
  * @summary Get business menu by type V4
21588
20301
  * @param {string} businessId
21589
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20302
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21590
20303
  * @param {*} [options] Override http request option.
21591
20304
  * @throws {RequiredError}
21592
20305
  */
21593
- getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
20306
+ getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
21594
20307
  /**
21595
20308
  *
21596
20309
  * @param {string} businessId Id of the business
@@ -21612,13 +20325,6 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
21612
20325
  * @throws {RequiredError}
21613
20326
  */
21614
20327
  getBusinessTax(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessTaxResponseDto>>>;
21615
- /**
21616
- *
21617
- * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
21618
- * @param {*} [options] Override http request option.
21619
- * @throws {RequiredError}
21620
- */
21621
- getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>>;
21622
20328
  /**
21623
20329
  *
21624
20330
  * @param {string} businessId Id of the business
@@ -21692,6 +20398,14 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
21692
20398
  * @throws {RequiredError}
21693
20399
  */
21694
20400
  deleteBusinessPermission(permissionId: string, businessId: any, options?: any): AxiosPromise<void>;
20401
+ /**
20402
+ *
20403
+ * @summary Get unified discounts for all business and venue
20404
+ * @param {string} businessId
20405
+ * @param {*} [options] Override http request option.
20406
+ * @throws {RequiredError}
20407
+ */
20408
+ getAdvancedDiscounts(businessId: string, options?: any): AxiosPromise<Array<DiscountDto>>;
21695
20409
  /**
21696
20410
  *
21697
20411
  * @param {string} businessId
@@ -21771,38 +20485,38 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
21771
20485
  /**
21772
20486
  *
21773
20487
  * @param {string} businessId
21774
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20488
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21775
20489
  * @param {*} [options] Override http request option.
21776
20490
  * @throws {RequiredError}
21777
20491
  */
21778
- getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<Array<MenuDto>>;
20492
+ getBusinessMenuByType(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<Array<MenuDto>>;
21779
20493
  /**
21780
20494
  *
21781
20495
  * @summary Get business menu by type V2
21782
20496
  * @param {string} businessId
21783
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20497
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21784
20498
  * @param {*} [options] Override http request option.
21785
20499
  * @throws {RequiredError}
21786
20500
  */
21787
- getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<Array<MenuDto>>;
20501
+ getBusinessMenuByTypeV2(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<Array<MenuDto>>;
21788
20502
  /**
21789
20503
  *
21790
20504
  * @summary Get business menu by type V3
21791
20505
  * @param {string} businessId
21792
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20506
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21793
20507
  * @param {*} [options] Override http request option.
21794
20508
  * @throws {RequiredError}
21795
20509
  */
21796
- getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<MenuReponseDto>;
20510
+ getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<MenuReponseDto>;
21797
20511
  /**
21798
20512
  *
21799
20513
  * @summary Get business menu by type V4
21800
20514
  * @param {string} businessId
21801
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20515
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21802
20516
  * @param {*} [options] Override http request option.
21803
20517
  * @throws {RequiredError}
21804
20518
  */
21805
- getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk" | "ayce", options?: any): AxiosPromise<MenuReponseDto>;
20519
+ getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<MenuReponseDto>;
21806
20520
  /**
21807
20521
  *
21808
20522
  * @param {string} businessId Id of the business
@@ -21824,13 +20538,6 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
21824
20538
  * @throws {RequiredError}
21825
20539
  */
21826
20540
  getBusinessTax(options?: any): AxiosPromise<Array<BusinessTaxResponseDto>>;
21827
- /**
21828
- *
21829
- * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
21830
- * @param {*} [options] Override http request option.
21831
- * @throws {RequiredError}
21832
- */
21833
- getProvidersSupportedIntegrations(businessIds: Array<number>, options?: any): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>;
21834
20541
  /**
21835
20542
  *
21836
20543
  * @param {string} businessId Id of the business
@@ -21907,6 +20614,15 @@ export interface BusinessApiInterface {
21907
20614
  * @memberof BusinessApiInterface
21908
20615
  */
21909
20616
  deleteBusinessPermission(permissionId: string, businessId: any, options?: AxiosRequestConfig): AxiosPromise<void>;
20617
+ /**
20618
+ *
20619
+ * @summary Get unified discounts for all business and venue
20620
+ * @param {string} businessId
20621
+ * @param {*} [options] Override http request option.
20622
+ * @throws {RequiredError}
20623
+ * @memberof BusinessApiInterface
20624
+ */
20625
+ getAdvancedDiscounts(businessId: string, options?: AxiosRequestConfig): AxiosPromise<Array<DiscountDto>>;
21910
20626
  /**
21911
20627
  *
21912
20628
  * @param {string} businessId
@@ -21995,42 +20711,42 @@ export interface BusinessApiInterface {
21995
20711
  /**
21996
20712
  *
21997
20713
  * @param {string} businessId
21998
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20714
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
21999
20715
  * @param {*} [options] Override http request option.
22000
20716
  * @throws {RequiredError}
22001
20717
  * @memberof BusinessApiInterface
22002
20718
  */
22003
- getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
20719
+ getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
22004
20720
  /**
22005
20721
  *
22006
20722
  * @summary Get business menu by type V2
22007
20723
  * @param {string} businessId
22008
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20724
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22009
20725
  * @param {*} [options] Override http request option.
22010
20726
  * @throws {RequiredError}
22011
20727
  * @memberof BusinessApiInterface
22012
20728
  */
22013
- getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
20729
+ getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<Array<MenuDto>>;
22014
20730
  /**
22015
20731
  *
22016
20732
  * @summary Get business menu by type V3
22017
20733
  * @param {string} businessId
22018
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20734
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22019
20735
  * @param {*} [options] Override http request option.
22020
20736
  * @throws {RequiredError}
22021
20737
  * @memberof BusinessApiInterface
22022
20738
  */
22023
- getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
20739
+ getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
22024
20740
  /**
22025
20741
  *
22026
20742
  * @summary Get business menu by type V4
22027
20743
  * @param {string} businessId
22028
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20744
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22029
20745
  * @param {*} [options] Override http request option.
22030
20746
  * @throws {RequiredError}
22031
20747
  * @memberof BusinessApiInterface
22032
20748
  */
22033
- getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
20749
+ getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
22034
20750
  /**
22035
20751
  *
22036
20752
  * @param {string} businessId Id of the business
@@ -22055,14 +20771,6 @@ export interface BusinessApiInterface {
22055
20771
  * @memberof BusinessApiInterface
22056
20772
  */
22057
20773
  getBusinessTax(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessTaxResponseDto>>;
22058
- /**
22059
- *
22060
- * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
22061
- * @param {*} [options] Override http request option.
22062
- * @throws {RequiredError}
22063
- * @memberof BusinessApiInterface
22064
- */
22065
- getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>;
22066
20774
  /**
22067
20775
  *
22068
20776
  * @param {string} businessId Id of the business
@@ -22146,6 +20854,15 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
22146
20854
  * @memberof BusinessApi
22147
20855
  */
22148
20856
  deleteBusinessPermission(permissionId: string, businessId: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
20857
+ /**
20858
+ *
20859
+ * @summary Get unified discounts for all business and venue
20860
+ * @param {string} businessId
20861
+ * @param {*} [options] Override http request option.
20862
+ * @throws {RequiredError}
20863
+ * @memberof BusinessApi
20864
+ */
20865
+ getAdvancedDiscounts(businessId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscountDto[], any, {}>>;
22149
20866
  /**
22150
20867
  *
22151
20868
  * @param {string} businessId
@@ -22234,42 +20951,42 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
22234
20951
  /**
22235
20952
  *
22236
20953
  * @param {string} businessId
22237
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20954
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22238
20955
  * @param {*} [options] Override http request option.
22239
20956
  * @throws {RequiredError}
22240
20957
  * @memberof BusinessApi
22241
20958
  */
22242
- getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
20959
+ getBusinessMenuByType(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
22243
20960
  /**
22244
20961
  *
22245
20962
  * @summary Get business menu by type V2
22246
20963
  * @param {string} businessId
22247
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20964
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22248
20965
  * @param {*} [options] Override http request option.
22249
20966
  * @throws {RequiredError}
22250
20967
  * @memberof BusinessApi
22251
20968
  */
22252
- getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
20969
+ getBusinessMenuByTypeV2(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuDto[], any, {}>>;
22253
20970
  /**
22254
20971
  *
22255
20972
  * @summary Get business menu by type V3
22256
20973
  * @param {string} businessId
22257
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20974
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22258
20975
  * @param {*} [options] Override http request option.
22259
20976
  * @throws {RequiredError}
22260
20977
  * @memberof BusinessApi
22261
20978
  */
22262
- getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
20979
+ getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
22263
20980
  /**
22264
20981
  *
22265
20982
  * @summary Get business menu by type V4
22266
20983
  * @param {string} businessId
22267
- * @param {'pos' | 'kiosk' | 'ayce'} menuType Type of menu (e.g., pos)
20984
+ * @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
22268
20985
  * @param {*} [options] Override http request option.
22269
20986
  * @throws {RequiredError}
22270
20987
  * @memberof BusinessApi
22271
20988
  */
22272
- getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk' | 'ayce', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
20989
+ getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
22273
20990
  /**
22274
20991
  *
22275
20992
  * @param {string} businessId Id of the business
@@ -22294,14 +21011,6 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
22294
21011
  * @memberof BusinessApi
22295
21012
  */
22296
21013
  getBusinessTax(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessTaxResponseDto[], any, {}>>;
22297
- /**
22298
- *
22299
- * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
22300
- * @param {*} [options] Override http request option.
22301
- * @throws {RequiredError}
22302
- * @memberof BusinessApi
22303
- */
22304
- getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessProvidersSupportedIntegrationsResponseDto[], any, {}>>;
22305
21014
  /**
22306
21015
  *
22307
21016
  * @param {string} businessId Id of the business
@@ -23985,450 +22694,199 @@ export declare const InvoiceCompaniesApiFp: (configuration?: Configuration) => {
23985
22694
  updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceCompanyResponseDto>>;
23986
22695
  };
23987
22696
  /**
23988
- * InvoiceCompaniesApi - factory interface
23989
- * @export
23990
- */
23991
- export declare const InvoiceCompaniesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
23992
- /**
23993
- *
23994
- * @summary Create a new invoice company
23995
- * @param {number} businessId
23996
- * @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
23997
- * @param {*} [options] Override http request option.
23998
- * @throws {RequiredError}
23999
- */
24000
- createInvoiceCompany(businessId: number, createInvoiceCompanyDto: CreateInvoiceCompanyDto, options?: any): AxiosPromise<InvoiceCompanyResponseDto>;
24001
- /**
24002
- *
24003
- * @summary Delete an invoice company
24004
- * @param {string} id
24005
- * @param {number} businessId
24006
- * @param {*} [options] Override http request option.
24007
- * @throws {RequiredError}
24008
- */
24009
- deleteInvoiceCompany(id: string, businessId: number, options?: any): AxiosPromise<void>;
24010
- /**
24011
- *
24012
- * @summary List all invoice companies for a business
24013
- * @param {number} businessId
24014
- * @param {*} [options] Override http request option.
24015
- * @throws {RequiredError}
24016
- */
24017
- getInvoiceCompanies(businessId: number, options?: any): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
24018
- /**
24019
- *
24020
- * @summary Get a single invoice company by ID
24021
- * @param {string} id
24022
- * @param {number} businessId
24023
- * @param {*} [options] Override http request option.
24024
- * @throws {RequiredError}
24025
- */
24026
- getInvoiceCompanyById(id: string, businessId: number, options?: any): AxiosPromise<InvoiceCompanyResponseDto>;
24027
- /**
24028
- *
24029
- * @summary Search invoice companies by name, email, or ytunnus
24030
- * @param {number} businessId
24031
- * @param {string} [search]
24032
- * @param {*} [options] Override http request option.
24033
- * @throws {RequiredError}
24034
- */
24035
- searchInvoiceCompanies(businessId: number, search?: string, options?: any): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
24036
- /**
24037
- *
24038
- * @summary Update an invoice company
24039
- * @param {string} id
24040
- * @param {number} businessId
24041
- * @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
24042
- * @param {*} [options] Override http request option.
24043
- * @throws {RequiredError}
24044
- */
24045
- updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: any): AxiosPromise<InvoiceCompanyResponseDto>;
24046
- };
24047
- /**
24048
- * InvoiceCompaniesApi - interface
24049
- * @export
24050
- * @interface InvoiceCompaniesApi
24051
- */
24052
- export interface InvoiceCompaniesApiInterface {
24053
- /**
24054
- *
24055
- * @summary Create a new invoice company
24056
- * @param {number} businessId
24057
- * @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
24058
- * @param {*} [options] Override http request option.
24059
- * @throws {RequiredError}
24060
- * @memberof InvoiceCompaniesApiInterface
24061
- */
24062
- createInvoiceCompany(businessId: number, createInvoiceCompanyDto: CreateInvoiceCompanyDto, options?: AxiosRequestConfig): AxiosPromise<InvoiceCompanyResponseDto>;
24063
- /**
24064
- *
24065
- * @summary Delete an invoice company
24066
- * @param {string} id
24067
- * @param {number} businessId
24068
- * @param {*} [options] Override http request option.
24069
- * @throws {RequiredError}
24070
- * @memberof InvoiceCompaniesApiInterface
24071
- */
24072
- deleteInvoiceCompany(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
24073
- /**
24074
- *
24075
- * @summary List all invoice companies for a business
24076
- * @param {number} businessId
24077
- * @param {*} [options] Override http request option.
24078
- * @throws {RequiredError}
24079
- * @memberof InvoiceCompaniesApiInterface
24080
- */
24081
- getInvoiceCompanies(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
24082
- /**
24083
- *
24084
- * @summary Get a single invoice company by ID
24085
- * @param {string} id
24086
- * @param {number} businessId
24087
- * @param {*} [options] Override http request option.
24088
- * @throws {RequiredError}
24089
- * @memberof InvoiceCompaniesApiInterface
24090
- */
24091
- getInvoiceCompanyById(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<InvoiceCompanyResponseDto>;
24092
- /**
24093
- *
24094
- * @summary Search invoice companies by name, email, or ytunnus
24095
- * @param {number} businessId
24096
- * @param {string} [search]
24097
- * @param {*} [options] Override http request option.
24098
- * @throws {RequiredError}
24099
- * @memberof InvoiceCompaniesApiInterface
24100
- */
24101
- searchInvoiceCompanies(businessId: number, search?: string, options?: AxiosRequestConfig): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
24102
- /**
24103
- *
24104
- * @summary Update an invoice company
24105
- * @param {string} id
24106
- * @param {number} businessId
24107
- * @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
24108
- * @param {*} [options] Override http request option.
24109
- * @throws {RequiredError}
24110
- * @memberof InvoiceCompaniesApiInterface
24111
- */
24112
- updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: AxiosRequestConfig): AxiosPromise<InvoiceCompanyResponseDto>;
24113
- }
24114
- /**
24115
- * InvoiceCompaniesApi - object-oriented interface
24116
- * @export
24117
- * @class InvoiceCompaniesApi
24118
- * @extends {BaseAPI}
24119
- */
24120
- export declare class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompaniesApiInterface {
24121
- /**
24122
- *
24123
- * @summary Create a new invoice company
24124
- * @param {number} businessId
24125
- * @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
24126
- * @param {*} [options] Override http request option.
24127
- * @throws {RequiredError}
24128
- * @memberof InvoiceCompaniesApi
24129
- */
24130
- createInvoiceCompany(businessId: number, createInvoiceCompanyDto: CreateInvoiceCompanyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
24131
- /**
24132
- *
24133
- * @summary Delete an invoice company
24134
- * @param {string} id
24135
- * @param {number} businessId
24136
- * @param {*} [options] Override http request option.
24137
- * @throws {RequiredError}
24138
- * @memberof InvoiceCompaniesApi
24139
- */
24140
- deleteInvoiceCompany(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24141
- /**
24142
- *
24143
- * @summary List all invoice companies for a business
24144
- * @param {number} businessId
24145
- * @param {*} [options] Override http request option.
24146
- * @throws {RequiredError}
24147
- * @memberof InvoiceCompaniesApi
24148
- */
24149
- getInvoiceCompanies(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto[], any, {}>>;
24150
- /**
24151
- *
24152
- * @summary Get a single invoice company by ID
24153
- * @param {string} id
24154
- * @param {number} businessId
24155
- * @param {*} [options] Override http request option.
24156
- * @throws {RequiredError}
24157
- * @memberof InvoiceCompaniesApi
24158
- */
24159
- getInvoiceCompanyById(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
24160
- /**
24161
- *
24162
- * @summary Search invoice companies by name, email, or ytunnus
24163
- * @param {number} businessId
24164
- * @param {string} [search]
24165
- * @param {*} [options] Override http request option.
24166
- * @throws {RequiredError}
24167
- * @memberof InvoiceCompaniesApi
24168
- */
24169
- searchInvoiceCompanies(businessId: number, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto[], any, {}>>;
24170
- /**
24171
- *
24172
- * @summary Update an invoice company
24173
- * @param {string} id
24174
- * @param {number} businessId
24175
- * @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
24176
- * @param {*} [options] Override http request option.
24177
- * @throws {RequiredError}
24178
- * @memberof InvoiceCompaniesApi
24179
- */
24180
- updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
24181
- }
24182
- /**
24183
- * KDSApi - axios parameter creator
24184
- * @export
24185
- */
24186
- export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) => {
24187
- /**
24188
- *
24189
- * @summary Get KDS orders by status
24190
- * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
24191
- * @param {string} businessIds Comma-separated list of business IDs
24192
- * @param {string} profileId KDS Profile ID
24193
- * @param {number} [page] Page number
24194
- * @param {number} [rowPerPage] Number of rows per page
24195
- * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
24196
- * @param {string} [start] Start date for custom or direct date filtering
24197
- * @param {string} [end] End date for custom or direct date filtering
24198
- * @param {string} [timezone] IANA timezone used to build the date range
24199
- * @param {Array<ProviderEnum>} [provider] Provider filter
24200
- * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
24201
- * @param {*} [options] Override http request option.
24202
- * @throws {RequiredError}
24203
- */
24204
- 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>;
24205
- /**
24206
- *
24207
- * @summary Get KDS profiles for a business
24208
- * @param {number} businessId Business ID
24209
- * @param {*} [options] Override http request option.
24210
- * @throws {RequiredError}
24211
- */
24212
- kdsGetProfiles: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22697
+ * InvoiceCompaniesApi - factory interface
22698
+ * @export
22699
+ */
22700
+ export declare const InvoiceCompaniesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24213
22701
  /**
24214
22702
  *
24215
- * @summary Mark a KDS order as ready
24216
- * @param {string} id KDS order ID
22703
+ * @summary Create a new invoice company
22704
+ * @param {number} businessId
22705
+ * @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
24217
22706
  * @param {*} [options] Override http request option.
24218
22707
  * @throws {RequiredError}
24219
22708
  */
24220
- kdsMarkOrderReady: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22709
+ createInvoiceCompany(businessId: number, createInvoiceCompanyDto: CreateInvoiceCompanyDto, options?: any): AxiosPromise<InvoiceCompanyResponseDto>;
24221
22710
  /**
24222
22711
  *
24223
- * @summary Revert a KDS order back to in progress
24224
- * @param {string} id KDS order ID
22712
+ * @summary Delete an invoice company
22713
+ * @param {string} id
22714
+ * @param {number} businessId
24225
22715
  * @param {*} [options] Override http request option.
24226
22716
  * @throws {RequiredError}
24227
22717
  */
24228
- kdsRevertOrder: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24229
- };
24230
- /**
24231
- * KDSApi - functional programming interface
24232
- * @export
24233
- */
24234
- export declare const KDSApiFp: (configuration?: Configuration) => {
22718
+ deleteInvoiceCompany(id: string, businessId: number, options?: any): AxiosPromise<void>;
24235
22719
  /**
24236
22720
  *
24237
- * @summary Get KDS orders by status
24238
- * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
24239
- * @param {string} businessIds Comma-separated list of business IDs
24240
- * @param {string} profileId KDS Profile ID
24241
- * @param {number} [page] Page number
24242
- * @param {number} [rowPerPage] Number of rows per page
24243
- * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
24244
- * @param {string} [start] Start date for custom or direct date filtering
24245
- * @param {string} [end] End date for custom or direct date filtering
24246
- * @param {string} [timezone] IANA timezone used to build the date range
24247
- * @param {Array<ProviderEnum>} [provider] Provider filter
24248
- * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
22721
+ * @summary List all invoice companies for a business
22722
+ * @param {number} businessId
24249
22723
  * @param {*} [options] Override http request option.
24250
22724
  * @throws {RequiredError}
24251
22725
  */
24252
- 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>>;
22726
+ getInvoiceCompanies(businessId: number, options?: any): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
24253
22727
  /**
24254
22728
  *
24255
- * @summary Get KDS profiles for a business
24256
- * @param {number} businessId Business ID
22729
+ * @summary Get a single invoice company by ID
22730
+ * @param {string} id
22731
+ * @param {number} businessId
24257
22732
  * @param {*} [options] Override http request option.
24258
22733
  * @throws {RequiredError}
24259
22734
  */
24260
- kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsProfileDto>>>;
22735
+ getInvoiceCompanyById(id: string, businessId: number, options?: any): AxiosPromise<InvoiceCompanyResponseDto>;
24261
22736
  /**
24262
22737
  *
24263
- * @summary Mark a KDS order as ready
24264
- * @param {string} id KDS order ID
22738
+ * @summary Search invoice companies by name, email, or ytunnus
22739
+ * @param {number} businessId
22740
+ * @param {string} [search]
24265
22741
  * @param {*} [options] Override http request option.
24266
22742
  * @throws {RequiredError}
24267
22743
  */
24268
- kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsReadyOrderResponseDto>>;
22744
+ searchInvoiceCompanies(businessId: number, search?: string, options?: any): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
24269
22745
  /**
24270
22746
  *
24271
- * @summary Revert a KDS order back to in progress
24272
- * @param {string} id KDS order ID
22747
+ * @summary Update an invoice company
22748
+ * @param {string} id
22749
+ * @param {number} businessId
22750
+ * @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
24273
22751
  * @param {*} [options] Override http request option.
24274
22752
  * @throws {RequiredError}
24275
22753
  */
24276
- kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KdsRevertOrderResponseDto>>;
22754
+ updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: any): AxiosPromise<InvoiceCompanyResponseDto>;
24277
22755
  };
24278
22756
  /**
24279
- * KDSApi - factory interface
22757
+ * InvoiceCompaniesApi - interface
24280
22758
  * @export
22759
+ * @interface InvoiceCompaniesApi
24281
22760
  */
24282
- export declare const KDSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
22761
+ export interface InvoiceCompaniesApiInterface {
24283
22762
  /**
24284
22763
  *
24285
- * @summary Get KDS orders by status
24286
- * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
24287
- * @param {string} businessIds Comma-separated list of business IDs
24288
- * @param {string} profileId KDS Profile ID
24289
- * @param {number} [page] Page number
24290
- * @param {number} [rowPerPage] Number of rows per page
24291
- * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
24292
- * @param {string} [start] Start date for custom or direct date filtering
24293
- * @param {string} [end] End date for custom or direct date filtering
24294
- * @param {string} [timezone] IANA timezone used to build the date range
24295
- * @param {Array<ProviderEnum>} [provider] Provider filter
24296
- * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
22764
+ * @summary Create a new invoice company
22765
+ * @param {number} businessId
22766
+ * @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
24297
22767
  * @param {*} [options] Override http request option.
24298
22768
  * @throws {RequiredError}
22769
+ * @memberof InvoiceCompaniesApiInterface
24299
22770
  */
24300
- 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>;
22771
+ createInvoiceCompany(businessId: number, createInvoiceCompanyDto: CreateInvoiceCompanyDto, options?: AxiosRequestConfig): AxiosPromise<InvoiceCompanyResponseDto>;
24301
22772
  /**
24302
22773
  *
24303
- * @summary Get KDS profiles for a business
24304
- * @param {number} businessId Business ID
22774
+ * @summary Delete an invoice company
22775
+ * @param {string} id
22776
+ * @param {number} businessId
24305
22777
  * @param {*} [options] Override http request option.
24306
22778
  * @throws {RequiredError}
22779
+ * @memberof InvoiceCompaniesApiInterface
24307
22780
  */
24308
- kdsGetProfiles(businessId: number, options?: any): AxiosPromise<Array<KdsProfileDto>>;
22781
+ deleteInvoiceCompany(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
24309
22782
  /**
24310
22783
  *
24311
- * @summary Mark a KDS order as ready
24312
- * @param {string} id KDS order ID
22784
+ * @summary List all invoice companies for a business
22785
+ * @param {number} businessId
24313
22786
  * @param {*} [options] Override http request option.
24314
22787
  * @throws {RequiredError}
22788
+ * @memberof InvoiceCompaniesApiInterface
24315
22789
  */
24316
- kdsMarkOrderReady(id: string, options?: any): AxiosPromise<KdsReadyOrderResponseDto>;
22790
+ getInvoiceCompanies(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
24317
22791
  /**
24318
22792
  *
24319
- * @summary Revert a KDS order back to in progress
24320
- * @param {string} id KDS order ID
22793
+ * @summary Get a single invoice company by ID
22794
+ * @param {string} id
22795
+ * @param {number} businessId
24321
22796
  * @param {*} [options] Override http request option.
24322
22797
  * @throws {RequiredError}
22798
+ * @memberof InvoiceCompaniesApiInterface
24323
22799
  */
24324
- kdsRevertOrder(id: string, options?: any): AxiosPromise<KdsRevertOrderResponseDto>;
24325
- };
24326
- /**
24327
- * KDSApi - interface
24328
- * @export
24329
- * @interface KDSApi
24330
- */
24331
- export interface KDSApiInterface {
22800
+ getInvoiceCompanyById(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<InvoiceCompanyResponseDto>;
24332
22801
  /**
24333
22802
  *
24334
- * @summary Get KDS orders by status
24335
- * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
24336
- * @param {string} businessIds Comma-separated list of business IDs
24337
- * @param {string} profileId KDS Profile ID
24338
- * @param {number} [page] Page number
24339
- * @param {number} [rowPerPage] Number of rows per page
24340
- * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
24341
- * @param {string} [start] Start date for custom or direct date filtering
24342
- * @param {string} [end] End date for custom or direct date filtering
24343
- * @param {string} [timezone] IANA timezone used to build the date range
24344
- * @param {Array<ProviderEnum>} [provider] Provider filter
24345
- * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
22803
+ * @summary Search invoice companies by name, email, or ytunnus
22804
+ * @param {number} businessId
22805
+ * @param {string} [search]
24346
22806
  * @param {*} [options] Override http request option.
24347
22807
  * @throws {RequiredError}
24348
- * @memberof KDSApiInterface
22808
+ * @memberof InvoiceCompaniesApiInterface
24349
22809
  */
24350
- 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>;
22810
+ searchInvoiceCompanies(businessId: number, search?: string, options?: AxiosRequestConfig): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
24351
22811
  /**
24352
22812
  *
24353
- * @summary Get KDS profiles for a business
24354
- * @param {number} businessId Business ID
22813
+ * @summary Update an invoice company
22814
+ * @param {string} id
22815
+ * @param {number} businessId
22816
+ * @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
24355
22817
  * @param {*} [options] Override http request option.
24356
22818
  * @throws {RequiredError}
24357
- * @memberof KDSApiInterface
22819
+ * @memberof InvoiceCompaniesApiInterface
24358
22820
  */
24359
- kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<KdsProfileDto>>;
22821
+ updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: AxiosRequestConfig): AxiosPromise<InvoiceCompanyResponseDto>;
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 {
24360
22830
  /**
24361
22831
  *
24362
- * @summary Mark a KDS order as ready
24363
- * @param {string} id KDS order ID
22832
+ * @summary Create a new invoice company
22833
+ * @param {number} businessId
22834
+ * @param {CreateInvoiceCompanyDto} createInvoiceCompanyDto
24364
22835
  * @param {*} [options] Override http request option.
24365
22836
  * @throws {RequiredError}
24366
- * @memberof KDSApiInterface
22837
+ * @memberof InvoiceCompaniesApi
24367
22838
  */
24368
- kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsReadyOrderResponseDto>;
22839
+ createInvoiceCompany(businessId: number, createInvoiceCompanyDto: CreateInvoiceCompanyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
24369
22840
  /**
24370
22841
  *
24371
- * @summary Revert a KDS order back to in progress
24372
- * @param {string} id KDS order ID
22842
+ * @summary Delete an invoice company
22843
+ * @param {string} id
22844
+ * @param {number} businessId
24373
22845
  * @param {*} [options] Override http request option.
24374
22846
  * @throws {RequiredError}
24375
- * @memberof KDSApiInterface
22847
+ * @memberof InvoiceCompaniesApi
24376
22848
  */
24377
- kdsRevertOrder(id: string, options?: AxiosRequestConfig): AxiosPromise<KdsRevertOrderResponseDto>;
24378
- }
24379
- /**
24380
- * KDSApi - object-oriented interface
24381
- * @export
24382
- * @class KDSApi
24383
- * @extends {BaseAPI}
24384
- */
24385
- export declare class KDSApi extends BaseAPI implements KDSApiInterface {
22849
+ deleteInvoiceCompany(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24386
22850
  /**
24387
22851
  *
24388
- * @summary Get KDS orders by status
24389
- * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
24390
- * @param {string} businessIds Comma-separated list of business IDs
24391
- * @param {string} profileId KDS Profile ID
24392
- * @param {number} [page] Page number
24393
- * @param {number} [rowPerPage] Number of rows per page
24394
- * @param {TimeSpan} [timeSpan] Time span shortcut for order creation time filtering
24395
- * @param {string} [start] Start date for custom or direct date filtering
24396
- * @param {string} [end] End date for custom or direct date filtering
24397
- * @param {string} [timezone] IANA timezone used to build the date range
24398
- * @param {Array<ProviderEnum>} [provider] Provider filter
24399
- * @param {Array<ConsumptionType>} [consumptionType] Consumption type filter
22852
+ * @summary List all invoice companies for a business
22853
+ * @param {number} businessId
24400
22854
  * @param {*} [options] Override http request option.
24401
22855
  * @throws {RequiredError}
24402
- * @memberof KDSApi
22856
+ * @memberof InvoiceCompaniesApi
24403
22857
  */
24404
- 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, {}>>;
22858
+ getInvoiceCompanies(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto[], any, {}>>;
24405
22859
  /**
24406
22860
  *
24407
- * @summary Get KDS profiles for a business
24408
- * @param {number} businessId Business ID
22861
+ * @summary Get a single invoice company by ID
22862
+ * @param {string} id
22863
+ * @param {number} businessId
24409
22864
  * @param {*} [options] Override http request option.
24410
22865
  * @throws {RequiredError}
24411
- * @memberof KDSApi
22866
+ * @memberof InvoiceCompaniesApi
24412
22867
  */
24413
- kdsGetProfiles(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsProfileDto[], any, {}>>;
22868
+ getInvoiceCompanyById(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
24414
22869
  /**
24415
22870
  *
24416
- * @summary Mark a KDS order as ready
24417
- * @param {string} id KDS order ID
22871
+ * @summary Search invoice companies by name, email, or ytunnus
22872
+ * @param {number} businessId
22873
+ * @param {string} [search]
24418
22874
  * @param {*} [options] Override http request option.
24419
22875
  * @throws {RequiredError}
24420
- * @memberof KDSApi
22876
+ * @memberof InvoiceCompaniesApi
24421
22877
  */
24422
- kdsMarkOrderReady(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsReadyOrderResponseDto, any, {}>>;
22878
+ searchInvoiceCompanies(businessId: number, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto[], any, {}>>;
24423
22879
  /**
24424
22880
  *
24425
- * @summary Revert a KDS order back to in progress
24426
- * @param {string} id KDS order ID
22881
+ * @summary Update an invoice company
22882
+ * @param {string} id
22883
+ * @param {number} businessId
22884
+ * @param {UpdateInvoiceCompanyDto} updateInvoiceCompanyDto
24427
22885
  * @param {*} [options] Override http request option.
24428
22886
  * @throws {RequiredError}
24429
- * @memberof KDSApi
22887
+ * @memberof InvoiceCompaniesApi
24430
22888
  */
24431
- kdsRevertOrder(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsRevertOrderResponseDto, any, {}>>;
22889
+ updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
24432
22890
  }
24433
22891
  /**
24434
22892
  * KiosksApi - axios parameter creator
@@ -24552,15 +23010,6 @@ export declare class KiosksApi extends BaseAPI implements KiosksApiInterface {
24552
23010
  * @export
24553
23011
  */
24554
23012
  export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?: Configuration) => {
24555
- /**
24556
- *
24557
- * @summary Create loyalty user
24558
- * @param {number} businessId
24559
- * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24560
- * @param {*} [options] Override http request option.
24561
- * @throws {RequiredError}
24562
- */
24563
- createLoyaltyUser: (businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24564
23013
  /**
24565
23014
  *
24566
23015
  * @summary Get admin transaction history
@@ -24614,15 +23063,6 @@ export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?:
24614
23063
  * @export
24615
23064
  */
24616
23065
  export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration) => {
24617
- /**
24618
- *
24619
- * @summary Create loyalty user
24620
- * @param {number} businessId
24621
- * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24622
- * @param {*} [options] Override http request option.
24623
- * @throws {RequiredError}
24624
- */
24625
- createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLoyaltyProgramUserResponseDto>>;
24626
23066
  /**
24627
23067
  *
24628
23068
  * @summary Get admin transaction history
@@ -24676,15 +23116,6 @@ export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration)
24676
23116
  * @export
24677
23117
  */
24678
23118
  export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24679
- /**
24680
- *
24681
- * @summary Create loyalty user
24682
- * @param {number} businessId
24683
- * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24684
- * @param {*} [options] Override http request option.
24685
- * @throws {RequiredError}
24686
- */
24687
- createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: any): AxiosPromise<CreateLoyaltyProgramUserResponseDto>;
24688
23119
  /**
24689
23120
  *
24690
23121
  * @summary Get admin transaction history
@@ -24739,16 +23170,6 @@ export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configurat
24739
23170
  * @interface LoyaltyIntegerationsApi
24740
23171
  */
24741
23172
  export interface LoyaltyIntegerationsApiInterface {
24742
- /**
24743
- *
24744
- * @summary Create loyalty user
24745
- * @param {number} businessId
24746
- * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24747
- * @param {*} [options] Override http request option.
24748
- * @throws {RequiredError}
24749
- * @memberof LoyaltyIntegerationsApiInterface
24750
- */
24751
- createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): AxiosPromise<CreateLoyaltyProgramUserResponseDto>;
24752
23173
  /**
24753
23174
  *
24754
23175
  * @summary Get admin transaction history
@@ -24809,16 +23230,6 @@ export interface LoyaltyIntegerationsApiInterface {
24809
23230
  * @extends {BaseAPI}
24810
23231
  */
24811
23232
  export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerationsApiInterface {
24812
- /**
24813
- *
24814
- * @summary Create loyalty user
24815
- * @param {number} businessId
24816
- * @param {CreateLoyaltyProgramUserDto} createLoyaltyProgramUserDto
24817
- * @param {*} [options] Override http request option.
24818
- * @throws {RequiredError}
24819
- * @memberof LoyaltyIntegerationsApi
24820
- */
24821
- createLoyaltyUser(businessId: number, createLoyaltyProgramUserDto: CreateLoyaltyProgramUserDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLoyaltyProgramUserResponseDto, any, {}>>;
24822
23233
  /**
24823
23234
  *
24824
23235
  * @summary Get admin transaction history
@@ -25411,81 +23822,6 @@ export declare class NotificationApi extends BaseAPI implements NotificationApiI
25411
23822
  */
25412
23823
  removeVenueSubscriptionsV2(deviceSubscriptionDto: DeviceSubscriptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25413
23824
  }
25414
- /**
25415
- * OrderInternalApi - axios parameter creator
25416
- * @export
25417
- */
25418
- export declare const OrderInternalApiAxiosParamCreator: (configuration?: Configuration) => {
25419
- /**
25420
- *
25421
- * @summary Get order data by external ID for internal microservice communication
25422
- * @param {string} externalId
25423
- * @param {*} [options] Override http request option.
25424
- * @throws {RequiredError}
25425
- */
25426
- findOneByExternalId: (externalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25427
- };
25428
- /**
25429
- * OrderInternalApi - functional programming interface
25430
- * @export
25431
- */
25432
- export declare const OrderInternalApiFp: (configuration?: Configuration) => {
25433
- /**
25434
- *
25435
- * @summary Get order data by external ID for internal microservice communication
25436
- * @param {string} externalId
25437
- * @param {*} [options] Override http request option.
25438
- * @throws {RequiredError}
25439
- */
25440
- findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
25441
- };
25442
- /**
25443
- * OrderInternalApi - factory interface
25444
- * @export
25445
- */
25446
- export declare const OrderInternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
25447
- /**
25448
- *
25449
- * @summary Get order data by external ID for internal microservice communication
25450
- * @param {string} externalId
25451
- * @param {*} [options] Override http request option.
25452
- * @throws {RequiredError}
25453
- */
25454
- findOneByExternalId(externalId: string, options?: any): AxiosPromise<void>;
25455
- };
25456
- /**
25457
- * OrderInternalApi - interface
25458
- * @export
25459
- * @interface OrderInternalApi
25460
- */
25461
- export interface OrderInternalApiInterface {
25462
- /**
25463
- *
25464
- * @summary Get order data by external ID for internal microservice communication
25465
- * @param {string} externalId
25466
- * @param {*} [options] Override http request option.
25467
- * @throws {RequiredError}
25468
- * @memberof OrderInternalApiInterface
25469
- */
25470
- findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
25471
- }
25472
- /**
25473
- * OrderInternalApi - object-oriented interface
25474
- * @export
25475
- * @class OrderInternalApi
25476
- * @extends {BaseAPI}
25477
- */
25478
- export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
25479
- /**
25480
- *
25481
- * @summary Get order data by external ID for internal microservice communication
25482
- * @param {string} externalId
25483
- * @param {*} [options] Override http request option.
25484
- * @throws {RequiredError}
25485
- * @memberof OrderInternalApi
25486
- */
25487
- findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25488
- }
25489
23825
  /**
25490
23826
  * OrderingCoApi - axios parameter creator
25491
23827
  * @export
@@ -28080,6 +26416,13 @@ export declare const StationsApiAxiosParamCreator: (configuration?: Configuratio
28080
26416
  * @throws {RequiredError}
28081
26417
  */
28082
26418
  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>;
28083
26426
  };
28084
26427
  /**
28085
26428
  * StationsApi - functional programming interface
@@ -28105,6 +26448,13 @@ export declare const StationsApiFp: (configuration?: Configuration) => {
28105
26448
  * @throws {RequiredError}
28106
26449
  */
28107
26450
  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>>;
28108
26458
  };
28109
26459
  /**
28110
26460
  * StationsApi - factory interface
@@ -28130,6 +26480,13 @@ export declare const StationsApiFactory: (configuration?: Configuration, basePat
28130
26480
  * @throws {RequiredError}
28131
26481
  */
28132
26482
  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>;
28133
26490
  };
28134
26491
  /**
28135
26492
  * StationsApi - interface
@@ -28159,6 +26516,14 @@ export interface StationsApiInterface {
28159
26516
  * @memberof StationsApiInterface
28160
26517
  */
28161
26518
  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>;
28162
26527
  }
28163
26528
  /**
28164
26529
  * StationsApi - object-oriented interface
@@ -28189,6 +26554,14 @@ export declare class StationsApi extends BaseAPI implements StationsApiInterface
28189
26554
  * @memberof StationsApi
28190
26555
  */
28191
26556
  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, {}>>;
28192
26565
  }
28193
26566
  /**
28194
26567
  * TerminalApi - axios parameter creator
@@ -28402,21 +26775,14 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
28402
26775
  * @param {*} [options] Override http request option.
28403
26776
  * @throws {RequiredError}
28404
26777
  */
28405
- getUserBusinessV1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28406
- /**
28407
- *
28408
- * @summary Retrieve user Business information with KDS profiles
28409
- * @param {*} [options] Override http request option.
28410
- * @throws {RequiredError}
28411
- */
28412
- getUserBusinessV2: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
26778
+ getUserBusiness: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28413
26779
  /**
28414
26780
  *
28415
26781
  * @summary Retrieve user information
28416
26782
  * @param {*} [options] Override http request option.
28417
26783
  * @throws {RequiredError}
28418
26784
  */
28419
- getUserInfoV1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
26785
+ getUserInfo: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28420
26786
  };
28421
26787
  /**
28422
26788
  * UserApi - functional programming interface
@@ -28429,21 +26795,14 @@ export declare const UserApiFp: (configuration?: Configuration) => {
28429
26795
  * @param {*} [options] Override http request option.
28430
26796
  * @throws {RequiredError}
28431
26797
  */
28432
- getUserBusinessV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>>;
28433
- /**
28434
- *
28435
- * @summary Retrieve user Business information with KDS profiles
28436
- * @param {*} [options] Override http request option.
28437
- * @throws {RequiredError}
28438
- */
28439
- getUserBusinessV2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoV2ResponseDto>>>;
26798
+ getUserBusiness(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>>;
28440
26799
  /**
28441
26800
  *
28442
26801
  * @summary Retrieve user information
28443
26802
  * @param {*} [options] Override http request option.
28444
26803
  * @throws {RequiredError}
28445
26804
  */
28446
- getUserInfoV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>>;
26805
+ getUserInfo(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>>;
28447
26806
  };
28448
26807
  /**
28449
26808
  * UserApi - factory interface
@@ -28456,21 +26815,14 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
28456
26815
  * @param {*} [options] Override http request option.
28457
26816
  * @throws {RequiredError}
28458
26817
  */
28459
- getUserBusinessV1(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>>;
28460
- /**
28461
- *
28462
- * @summary Retrieve user Business information with KDS profiles
28463
- * @param {*} [options] Override http request option.
28464
- * @throws {RequiredError}
28465
- */
28466
- getUserBusinessV2(options?: any): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
26818
+ getUserBusiness(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>>;
28467
26819
  /**
28468
26820
  *
28469
26821
  * @summary Retrieve user information
28470
26822
  * @param {*} [options] Override http request option.
28471
26823
  * @throws {RequiredError}
28472
26824
  */
28473
- getUserInfoV1(options?: any): AxiosPromise<GetUserInfoResponseDto>;
26825
+ getUserInfo(options?: any): AxiosPromise<GetUserInfoResponseDto>;
28474
26826
  };
28475
26827
  /**
28476
26828
  * UserApi - interface
@@ -28485,15 +26837,7 @@ export interface UserApiInterface {
28485
26837
  * @throws {RequiredError}
28486
26838
  * @memberof UserApiInterface
28487
26839
  */
28488
- getUserBusinessV1(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
28489
- /**
28490
- *
28491
- * @summary Retrieve user Business information with KDS profiles
28492
- * @param {*} [options] Override http request option.
28493
- * @throws {RequiredError}
28494
- * @memberof UserApiInterface
28495
- */
28496
- getUserBusinessV2(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
26840
+ getUserBusiness(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
28497
26841
  /**
28498
26842
  *
28499
26843
  * @summary Retrieve user information
@@ -28501,7 +26845,7 @@ export interface UserApiInterface {
28501
26845
  * @throws {RequiredError}
28502
26846
  * @memberof UserApiInterface
28503
26847
  */
28504
- getUserInfoV1(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
26848
+ getUserInfo(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
28505
26849
  }
28506
26850
  /**
28507
26851
  * UserApi - object-oriented interface
@@ -28517,15 +26861,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
28517
26861
  * @throws {RequiredError}
28518
26862
  * @memberof UserApi
28519
26863
  */
28520
- getUserBusinessV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoResponseDto[], any, {}>>;
28521
- /**
28522
- *
28523
- * @summary Retrieve user Business information with KDS profiles
28524
- * @param {*} [options] Override http request option.
28525
- * @throws {RequiredError}
28526
- * @memberof UserApi
28527
- */
28528
- getUserBusinessV2(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoV2ResponseDto[], any, {}>>;
26864
+ getUserBusiness(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoResponseDto[], any, {}>>;
28529
26865
  /**
28530
26866
  *
28531
26867
  * @summary Retrieve user information
@@ -28533,7 +26869,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
28533
26869
  * @throws {RequiredError}
28534
26870
  * @memberof UserApi
28535
26871
  */
28536
- getUserInfoV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
26872
+ getUserInfo(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
28537
26873
  }
28538
26874
  /**
28539
26875
  * UsersApi - axios parameter creator