@munchi_oy/core 1.5.12 → 1.7.0

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.
@@ -921,6 +921,61 @@ export interface BusinessInfoResponseDtoLoyaltyPlan {
921
921
  */
922
922
  'expire_after_minutes': number | null;
923
923
  }
924
+ /**
925
+ *
926
+ * @export
927
+ * @interface BusinessInfoV2ResponseDto
928
+ */
929
+ export interface BusinessInfoV2ResponseDto {
930
+ /**
931
+ * The ID of the business
932
+ * @type {number}
933
+ * @memberof BusinessInfoV2ResponseDto
934
+ */
935
+ 'businessId': number;
936
+ /**
937
+ * The name of the business
938
+ * @type {string}
939
+ * @memberof BusinessInfoV2ResponseDto
940
+ */
941
+ 'businessName': string;
942
+ /**
943
+ * The URL of the business logo
944
+ * @type {string}
945
+ * @memberof BusinessInfoV2ResponseDto
946
+ */
947
+ 'logoUrl': string | null;
948
+ /**
949
+ * The phone of the business
950
+ * @type {string}
951
+ * @memberof BusinessInfoV2ResponseDto
952
+ */
953
+ 'phone'?: string | null;
954
+ /**
955
+ *
956
+ * @type {BusinessInfoResponseDtoLoyaltyPlan}
957
+ * @memberof BusinessInfoV2ResponseDto
958
+ */
959
+ 'loyaltyPlan': BusinessInfoResponseDtoLoyaltyPlan | null;
960
+ /**
961
+ *
962
+ * @type {BusinessInfoResponseDtoDetail}
963
+ * @memberof BusinessInfoV2ResponseDto
964
+ */
965
+ 'detail': BusinessInfoResponseDtoDetail;
966
+ /**
967
+ * Email address of the business
968
+ * @type {string}
969
+ * @memberof BusinessInfoV2ResponseDto
970
+ */
971
+ 'businessEmail': string | null;
972
+ /**
973
+ * KDS profiles linked to the business
974
+ * @type {Array<KdsProfileResponseDto>}
975
+ * @memberof BusinessInfoV2ResponseDto
976
+ */
977
+ 'kdsProfiles': Array<KdsProfileResponseDto>;
978
+ }
924
979
  /**
925
980
  *
926
981
  * @export
@@ -2722,6 +2777,17 @@ export interface ConnectTerminalDto {
2722
2777
  */
2723
2778
  'terminalHardwareId': string;
2724
2779
  }
2780
+ /**
2781
+ *
2782
+ * @export
2783
+ * @enum {string}
2784
+ */
2785
+ export declare const ConsumptionType: {
2786
+ readonly Delivery: "DELIVERY";
2787
+ readonly Pickup: "PICKUP";
2788
+ readonly DineIn: "DINE_IN";
2789
+ };
2790
+ export type ConsumptionType = typeof ConsumptionType[keyof typeof ConsumptionType];
2725
2791
  /**
2726
2792
  *
2727
2793
  * @export
@@ -3494,6 +3560,18 @@ export declare const DiscountScope: {
3494
3560
  readonly Cart: "CART";
3495
3561
  };
3496
3562
  export type DiscountScope = typeof DiscountScope[keyof typeof DiscountScope];
3563
+ /**
3564
+ *
3565
+ * @export
3566
+ * @enum {string}
3567
+ */
3568
+ export declare const DiscountSourceType: {
3569
+ readonly Manual: "MANUAL";
3570
+ readonly Promotion: "PROMOTION";
3571
+ readonly Loyalty: "LOYALTY";
3572
+ readonly Campaign: "CAMPAIGN";
3573
+ };
3574
+ export type DiscountSourceType = typeof DiscountSourceType[keyof typeof DiscountSourceType];
3497
3575
  /**
3498
3576
  *
3499
3577
  * @export
@@ -4980,89 +5058,491 @@ export interface ItemBreakdownDto {
4980
5058
  export interface ItemPriceBreakdownDto {
4981
5059
  /**
4982
5060
  *
4983
- * @type {MoneyDto}
4984
- * @memberof ItemPriceBreakdownDto
5061
+ * @type {MoneyDto}
5062
+ * @memberof ItemPriceBreakdownDto
5063
+ */
5064
+ 'totalBeforeDiscounts': MoneyDto;
5065
+ /**
5066
+ *
5067
+ * @type {MoneyDto}
5068
+ * @memberof ItemPriceBreakdownDto
5069
+ */
5070
+ 'subtotalItemDiscounts': MoneyDto;
5071
+ /**
5072
+ *
5073
+ * @type {MoneyDto}
5074
+ * @memberof ItemPriceBreakdownDto
5075
+ */
5076
+ 'subtotalBasketDiscounts': MoneyDto;
5077
+ /**
5078
+ *
5079
+ * @type {MoneyDto}
5080
+ * @memberof ItemPriceBreakdownDto
5081
+ */
5082
+ 'totalDiscounts': MoneyDto;
5083
+ /**
5084
+ *
5085
+ * @type {MoneyDto}
5086
+ * @memberof ItemPriceBreakdownDto
5087
+ */
5088
+ 'basePriceBeforeDiscounts': MoneyDto;
5089
+ /**
5090
+ *
5091
+ * @type {MoneyDto}
5092
+ * @memberof ItemPriceBreakdownDto
5093
+ */
5094
+ 'unitPriceBeforeDiscounts': MoneyDto;
5095
+ /**
5096
+ *
5097
+ * @type {MoneyDto}
5098
+ * @memberof ItemPriceBreakdownDto
5099
+ */
5100
+ 'subtotalOptionsBasketDiscounts': MoneyDto;
5101
+ /**
5102
+ *
5103
+ * @type {MoneyDto}
5104
+ * @memberof ItemPriceBreakdownDto
5105
+ */
5106
+ 'subtotalOptionsItemDiscounts': MoneyDto;
5107
+ }
5108
+ /**
5109
+ *
5110
+ * @export
5111
+ * @interface ItemPriceDto
5112
+ */
5113
+ export interface ItemPriceDto {
5114
+ /**
5115
+ *
5116
+ * @type {MoneyDto}
5117
+ * @memberof ItemPriceDto
5118
+ */
5119
+ 'unitPrice': MoneyDto;
5120
+ /**
5121
+ *
5122
+ * @type {MoneyDto}
5123
+ * @memberof ItemPriceDto
5124
+ */
5125
+ 'basePrice': MoneyDto;
5126
+ /**
5127
+ *
5128
+ * @type {number}
5129
+ * @memberof ItemPriceDto
5130
+ */
5131
+ 'vatPercentage': number;
5132
+ /**
5133
+ *
5134
+ * @type {MoneyDto}
5135
+ * @memberof ItemPriceDto
5136
+ */
5137
+ 'total': MoneyDto;
5138
+ /**
5139
+ *
5140
+ * @type {ItemPriceBreakdownDto}
5141
+ * @memberof ItemPriceDto
5142
+ */
5143
+ 'priceBreakdown': ItemPriceBreakdownDto;
5144
+ }
5145
+ /**
5146
+ *
5147
+ * @export
5148
+ * @interface KdsOrderDto
5149
+ */
5150
+ export interface KdsOrderDto {
5151
+ /**
5152
+ *
5153
+ * @type {string}
5154
+ * @memberof KdsOrderDto
5155
+ */
5156
+ 'id': string;
5157
+ /**
5158
+ *
5159
+ * @type {string}
5160
+ * @memberof KdsOrderDto
5161
+ */
5162
+ 'parentOrderId': string;
5163
+ /**
5164
+ *
5165
+ * @type {number}
5166
+ * @memberof KdsOrderDto
5167
+ */
5168
+ 'businessId': number;
5169
+ /**
5170
+ *
5171
+ * @type {string}
5172
+ * @memberof KdsOrderDto
5173
+ */
5174
+ 'profileId': string;
5175
+ /**
5176
+ *
5177
+ * @type {string}
5178
+ * @memberof KdsOrderDto
5179
+ */
5180
+ 'profileName': string;
5181
+ /**
5182
+ *
5183
+ * @type {ProviderEnum}
5184
+ * @memberof KdsOrderDto
5185
+ */
5186
+ 'provider': ProviderEnum;
5187
+ /**
5188
+ *
5189
+ * @type {string}
5190
+ * @memberof KdsOrderDto
5191
+ */
5192
+ 'orderNumber': string;
5193
+ /**
5194
+ *
5195
+ * @type {string}
5196
+ * @memberof KdsOrderDto
5197
+ */
5198
+ 'comment': string | null;
5199
+ /**
5200
+ *
5201
+ * @type {number}
5202
+ * @memberof KdsOrderDto
5203
+ */
5204
+ 'preparedIn': number | null;
5205
+ /**
5206
+ *
5207
+ * @type {string}
5208
+ * @memberof KdsOrderDto
5209
+ */
5210
+ 'spotNumber': string | null;
5211
+ /**
5212
+ *
5213
+ * @type {string}
5214
+ * @memberof KdsOrderDto
5215
+ */
5216
+ 'acceptedAt': string | null;
5217
+ /**
5218
+ *
5219
+ * @type {string}
5220
+ * @memberof KdsOrderDto
5221
+ */
5222
+ 'pickupEta': string | null;
5223
+ /**
5224
+ *
5225
+ * @type {string}
5226
+ * @memberof KdsOrderDto
5227
+ */
5228
+ 'deliveryEta': string | null;
5229
+ /**
5230
+ *
5231
+ * @type {ConsumptionType}
5232
+ * @memberof KdsOrderDto
5233
+ */
5234
+ 'consumptionType': ConsumptionType;
5235
+ /**
5236
+ *
5237
+ * @type {string}
5238
+ * @memberof KdsOrderDto
5239
+ */
5240
+ 'orderCreatedAt': string;
5241
+ /**
5242
+ *
5243
+ * @type {string}
5244
+ * @memberof KdsOrderDto
5245
+ */
5246
+ 'orderUpdatedAt': string;
5247
+ /**
5248
+ *
5249
+ * @type {OrderType}
5250
+ * @memberof KdsOrderDto
5251
+ */
5252
+ 'type': OrderType;
5253
+ /**
5254
+ *
5255
+ * @type {OrderMode}
5256
+ * @memberof KdsOrderDto
5257
+ */
5258
+ 'orderMode': OrderMode;
5259
+ /**
5260
+ *
5261
+ * @type {SourceType}
5262
+ * @memberof KdsOrderDto
5263
+ */
5264
+ 'sourceType': SourceType;
5265
+ /**
5266
+ *
5267
+ * @type {OrderStatus}
5268
+ * @memberof KdsOrderDto
5269
+ */
5270
+ 'status': OrderStatus;
5271
+ /**
5272
+ *
5273
+ * @type {string}
5274
+ * @memberof KdsOrderDto
5275
+ */
5276
+ 'createdAt': string;
5277
+ /**
5278
+ *
5279
+ * @type {string}
5280
+ * @memberof KdsOrderDto
5281
+ */
5282
+ 'updatedAt': string;
5283
+ /**
5284
+ *
5285
+ * @type {Array<KdsOrderItemDto>}
5286
+ * @memberof KdsOrderDto
5287
+ */
5288
+ 'items': Array<KdsOrderItemDto>;
5289
+ }
5290
+ /**
5291
+ *
5292
+ * @export
5293
+ * @interface KdsOrderItemDto
5294
+ */
5295
+ export interface KdsOrderItemDto {
5296
+ /**
5297
+ *
5298
+ * @type {string}
5299
+ * @memberof KdsOrderItemDto
5300
+ */
5301
+ 'id': string;
5302
+ /**
5303
+ *
5304
+ * @type {string}
5305
+ * @memberof KdsOrderItemDto
5306
+ */
5307
+ 'orderId': string;
5308
+ /**
5309
+ *
5310
+ * @type {string}
5311
+ * @memberof KdsOrderItemDto
5312
+ */
5313
+ 'externalProductId': string;
5314
+ /**
5315
+ *
5316
+ * @type {string}
5317
+ * @memberof KdsOrderItemDto
5318
+ */
5319
+ 'name': string;
5320
+ /**
5321
+ *
5322
+ * @type {number}
5323
+ * @memberof KdsOrderItemDto
5324
+ */
5325
+ 'quantity': number;
5326
+ /**
5327
+ *
5328
+ * @type {number}
5329
+ * @memberof KdsOrderItemDto
5330
+ */
5331
+ 'unitPrice': number;
5332
+ /**
5333
+ *
5334
+ * @type {number}
5335
+ * @memberof KdsOrderItemDto
5336
+ */
5337
+ 'paidPrice': number;
5338
+ /**
5339
+ *
5340
+ * @type {string}
5341
+ * @memberof KdsOrderItemDto
5342
+ */
5343
+ 'comment': string | null;
5344
+ /**
5345
+ *
5346
+ * @type {KitchenItemStatus}
5347
+ * @memberof KdsOrderItemDto
5348
+ */
5349
+ 'kitchenStatus': KitchenItemStatus;
5350
+ /**
5351
+ *
5352
+ * @type {string}
5353
+ * @memberof KdsOrderItemDto
5354
+ */
5355
+ 'createdAt': string;
5356
+ /**
5357
+ *
5358
+ * @type {string}
5359
+ * @memberof KdsOrderItemDto
5360
+ */
5361
+ 'updatedAt': string;
5362
+ /**
5363
+ *
5364
+ * @type {Array<KdsOrderOptionDto>}
5365
+ * @memberof KdsOrderItemDto
5366
+ */
5367
+ 'options': Array<KdsOrderOptionDto>;
5368
+ }
5369
+ /**
5370
+ *
5371
+ * @export
5372
+ * @interface KdsOrderOptionDto
5373
+ */
5374
+ export interface KdsOrderOptionDto {
5375
+ /**
5376
+ *
5377
+ * @type {string}
5378
+ * @memberof KdsOrderOptionDto
5379
+ */
5380
+ 'id': string;
5381
+ /**
5382
+ *
5383
+ * @type {string}
5384
+ * @memberof KdsOrderOptionDto
5385
+ */
5386
+ 'orderItemId': string;
5387
+ /**
5388
+ *
5389
+ * @type {string}
5390
+ * @memberof KdsOrderOptionDto
5391
+ */
5392
+ 'externalId': string;
5393
+ /**
5394
+ *
5395
+ * @type {string}
5396
+ * @memberof KdsOrderOptionDto
5397
+ */
5398
+ 'name': string;
5399
+ /**
5400
+ *
5401
+ * @type {string}
5402
+ * @memberof KdsOrderOptionDto
5403
+ */
5404
+ 'image': string | null;
5405
+ /**
5406
+ *
5407
+ * @type {string}
5408
+ * @memberof KdsOrderOptionDto
5409
+ */
5410
+ 'createdAt': string;
5411
+ /**
5412
+ *
5413
+ * @type {string}
5414
+ * @memberof KdsOrderOptionDto
5415
+ */
5416
+ 'updatedAt': string;
5417
+ /**
5418
+ *
5419
+ * @type {Array<KdsOrderSubOptionDto>}
5420
+ * @memberof KdsOrderOptionDto
5421
+ */
5422
+ 'subOptions': Array<KdsOrderSubOptionDto>;
5423
+ }
5424
+ /**
5425
+ *
5426
+ * @export
5427
+ * @interface KdsOrderSubOptionDto
5428
+ */
5429
+ export interface KdsOrderSubOptionDto {
5430
+ /**
5431
+ *
5432
+ * @type {string}
5433
+ * @memberof KdsOrderSubOptionDto
5434
+ */
5435
+ 'id': string;
5436
+ /**
5437
+ *
5438
+ * @type {string}
5439
+ * @memberof KdsOrderSubOptionDto
4985
5440
  */
4986
- 'totalBeforeDiscounts': MoneyDto;
5441
+ 'orderOptionId': string;
4987
5442
  /**
4988
5443
  *
4989
- * @type {MoneyDto}
4990
- * @memberof ItemPriceBreakdownDto
5444
+ * @type {string}
5445
+ * @memberof KdsOrderSubOptionDto
4991
5446
  */
4992
- 'subtotalItemDiscounts': MoneyDto;
5447
+ 'externalId': string;
4993
5448
  /**
4994
5449
  *
4995
- * @type {MoneyDto}
4996
- * @memberof ItemPriceBreakdownDto
5450
+ * @type {string}
5451
+ * @memberof KdsOrderSubOptionDto
4997
5452
  */
4998
- 'subtotalBasketDiscounts': MoneyDto;
5453
+ 'name': string;
4999
5454
  /**
5000
5455
  *
5001
- * @type {MoneyDto}
5002
- * @memberof ItemPriceBreakdownDto
5456
+ * @type {number}
5457
+ * @memberof KdsOrderSubOptionDto
5003
5458
  */
5004
- 'totalDiscounts': MoneyDto;
5459
+ 'quantity': number;
5005
5460
  /**
5006
5461
  *
5007
- * @type {MoneyDto}
5008
- * @memberof ItemPriceBreakdownDto
5462
+ * @type {number}
5463
+ * @memberof KdsOrderSubOptionDto
5009
5464
  */
5010
- 'basePriceBeforeDiscounts': MoneyDto;
5465
+ 'unitPrice': number;
5011
5466
  /**
5012
5467
  *
5013
- * @type {MoneyDto}
5014
- * @memberof ItemPriceBreakdownDto
5468
+ * @type {number}
5469
+ * @memberof KdsOrderSubOptionDto
5015
5470
  */
5016
- 'unitPriceBeforeDiscounts': MoneyDto;
5471
+ 'paidPrice': number;
5017
5472
  /**
5018
5473
  *
5019
- * @type {MoneyDto}
5020
- * @memberof ItemPriceBreakdownDto
5474
+ * @type {string}
5475
+ * @memberof KdsOrderSubOptionDto
5021
5476
  */
5022
- 'subtotalOptionsBasketDiscounts': MoneyDto;
5477
+ 'createdAt': string;
5023
5478
  /**
5024
5479
  *
5025
- * @type {MoneyDto}
5026
- * @memberof ItemPriceBreakdownDto
5480
+ * @type {string}
5481
+ * @memberof KdsOrderSubOptionDto
5027
5482
  */
5028
- 'subtotalOptionsItemDiscounts': MoneyDto;
5483
+ 'updatedAt': string;
5029
5484
  }
5030
5485
  /**
5031
5486
  *
5032
5487
  * @export
5033
- * @interface ItemPriceDto
5488
+ * @interface KdsProfileResponseDto
5034
5489
  */
5035
- export interface ItemPriceDto {
5490
+ export interface KdsProfileResponseDto {
5491
+ /**
5492
+ * The KDS profile identifier
5493
+ * @type {string}
5494
+ * @memberof KdsProfileResponseDto
5495
+ */
5496
+ 'id': string;
5497
+ /**
5498
+ * The KDS profile name
5499
+ * @type {string}
5500
+ * @memberof KdsProfileResponseDto
5501
+ */
5502
+ 'name': string;
5503
+ }
5504
+ /**
5505
+ *
5506
+ * @export
5507
+ * @interface KdsPubSubPayloadDto
5508
+ */
5509
+ export interface KdsPubSubPayloadDto {
5036
5510
  /**
5037
5511
  *
5038
- * @type {MoneyDto}
5039
- * @memberof ItemPriceDto
5512
+ * @type {PubSubTarget}
5513
+ * @memberof KdsPubSubPayloadDto
5040
5514
  */
5041
- 'unitPrice': MoneyDto;
5515
+ 'target': PubSubTarget;
5042
5516
  /**
5043
5517
  *
5044
- * @type {MoneyDto}
5045
- * @memberof ItemPriceDto
5518
+ * @type {ProviderEnum}
5519
+ * @memberof KdsPubSubPayloadDto
5046
5520
  */
5047
- 'basePrice': MoneyDto;
5521
+ 'provider': ProviderEnum;
5048
5522
  /**
5049
5523
  *
5050
5524
  * @type {number}
5051
- * @memberof ItemPriceDto
5525
+ * @memberof KdsPubSubPayloadDto
5052
5526
  */
5053
- 'vatPercentage': number;
5527
+ 'businessId': number;
5054
5528
  /**
5055
5529
  *
5056
- * @type {MoneyDto}
5057
- * @memberof ItemPriceDto
5530
+ * @type {PubSubAction}
5531
+ * @memberof KdsPubSubPayloadDto
5058
5532
  */
5059
- 'total': MoneyDto;
5533
+ 'action': PubSubAction;
5060
5534
  /**
5061
5535
  *
5062
- * @type {ItemPriceBreakdownDto}
5063
- * @memberof ItemPriceDto
5536
+ * @type {string}
5537
+ * @memberof KdsPubSubPayloadDto
5064
5538
  */
5065
- 'priceBreakdown': ItemPriceBreakdownDto;
5539
+ 'orderId': string;
5540
+ /**
5541
+ *
5542
+ * @type {SourceType}
5543
+ * @memberof KdsPubSubPayloadDto
5544
+ */
5545
+ 'type': SourceType;
5066
5546
  }
5067
5547
  /**
5068
5548
  *
@@ -5115,6 +5595,22 @@ export interface KioskStatusDto {
5115
5595
  */
5116
5596
  'payment_event': PaymentEventType;
5117
5597
  }
5598
+ /**
5599
+ *
5600
+ * @export
5601
+ * @enum {string}
5602
+ */
5603
+ export declare const KitchenItemStatus: {
5604
+ readonly NotApplicable: "NOT_APPLICABLE";
5605
+ readonly Pending: "PENDING";
5606
+ readonly OnHold: "ON_HOLD";
5607
+ readonly SentToOm: "SENT_TO_OM";
5608
+ readonly DispatchedToKitchen: "DISPATCHED_TO_KITCHEN";
5609
+ readonly Completed: "COMPLETED";
5610
+ readonly Cancelled: "CANCELLED";
5611
+ readonly Ready: "READY";
5612
+ };
5613
+ export type KitchenItemStatus = typeof KitchenItemStatus[keyof typeof KitchenItemStatus];
5118
5614
  /**
5119
5615
  *
5120
5616
  * @export
@@ -7399,6 +7895,16 @@ export interface OrderHistoryResponseDtoSummary {
7399
7895
  */
7400
7896
  'totalTipAmount'?: number;
7401
7897
  }
7898
+ /**
7899
+ *
7900
+ * @export
7901
+ * @enum {string}
7902
+ */
7903
+ export declare const OrderMode: {
7904
+ readonly Instant: "INSTANT";
7905
+ readonly PreOrder: "PRE_ORDER";
7906
+ };
7907
+ export type OrderMode = typeof OrderMode[keyof typeof OrderMode];
7402
7908
  /**
7403
7909
  *
7404
7910
  * @export
@@ -7810,6 +8316,18 @@ export declare const OrderSource: {
7810
8316
  readonly Pos: "POS";
7811
8317
  };
7812
8318
  export type OrderSource = typeof OrderSource[keyof typeof OrderSource];
8319
+ /**
8320
+ *
8321
+ * @export
8322
+ * @enum {string}
8323
+ */
8324
+ export declare const OrderStatus: {
8325
+ readonly InProgress: "IN_PROGRESS";
8326
+ readonly Ready: "READY";
8327
+ readonly Delivered: "DELIVERED";
8328
+ readonly Rejected: "REJECTED";
8329
+ };
8330
+ export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
7813
8331
  /**
7814
8332
  *
7815
8333
  * @export
@@ -9933,19 +10451,37 @@ export interface PosDiscountDto {
9933
10451
  * @type {MoneyDto}
9934
10452
  * @memberof PosDiscountDto
9935
10453
  */
9936
- 'appliedAmount'?: MoneyDto;
10454
+ 'appliedAmount': MoneyDto | null;
9937
10455
  /**
9938
10456
  *
9939
10457
  * @type {PosDiscountTargetType}
9940
10458
  * @memberof PosDiscountDto
9941
10459
  */
9942
- 'targetType'?: PosDiscountTargetType | null;
10460
+ 'targetType': PosDiscountTargetType | null;
10461
+ /**
10462
+ *
10463
+ * @type {string}
10464
+ * @memberof PosDiscountDto
10465
+ */
10466
+ 'targetId': string | null;
10467
+ /**
10468
+ *
10469
+ * @type {DiscountSourceType}
10470
+ * @memberof PosDiscountDto
10471
+ */
10472
+ 'sourceType': DiscountSourceType;
9943
10473
  /**
9944
10474
  *
9945
10475
  * @type {string}
9946
10476
  * @memberof PosDiscountDto
9947
10477
  */
9948
- 'targetId'?: string | null;
10478
+ 'sourceId': string | null;
10479
+ /**
10480
+ *
10481
+ * @type {boolean}
10482
+ * @memberof PosDiscountDto
10483
+ */
10484
+ 'isAutomatic': boolean;
9949
10485
  }
9950
10486
  /**
9951
10487
  *
@@ -12395,6 +12931,25 @@ export interface ProviderStatusResponseDto {
12395
12931
  */
12396
12932
  'open': boolean;
12397
12933
  }
12934
+ /**
12935
+ *
12936
+ * @export
12937
+ * @enum {string}
12938
+ */
12939
+ export declare const PubSubAction: {
12940
+ readonly Activity: "ORDER_ACTIVITY";
12941
+ readonly Deleted: "ORDER_DELETED";
12942
+ };
12943
+ export type PubSubAction = typeof PubSubAction[keyof typeof PubSubAction];
12944
+ /**
12945
+ *
12946
+ * @export
12947
+ * @enum {string}
12948
+ */
12949
+ export declare const PubSubTarget: {
12950
+ readonly Kds: "KDS";
12951
+ };
12952
+ export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
12398
12953
  /**
12399
12954
  *
12400
12955
  * @export
@@ -13460,6 +14015,16 @@ export interface SingleProviderStatusResponseDtoActiveChannel {
13460
14015
  */
13461
14016
  'open': boolean;
13462
14017
  }
14018
+ /**
14019
+ *
14020
+ * @export
14021
+ * @enum {string}
14022
+ */
14023
+ export declare const SourceType: {
14024
+ readonly Order: "ORDER";
14025
+ readonly Ticket: "TICKET";
14026
+ };
14027
+ export type SourceType = typeof SourceType[keyof typeof SourceType];
13463
14028
  /**
13464
14029
  *
13465
14030
  * @export
@@ -15620,11 +16185,11 @@ export interface UnifiedProductDto {
15620
16185
  */
15621
16186
  'comment'?: string | null;
15622
16187
  /**
15623
- * Current kitchen preparation status of the product
15624
- * @type {string}
16188
+ *
16189
+ * @type {KitchenItemStatus}
15625
16190
  * @memberof UnifiedProductDto
15626
16191
  */
15627
- 'kitchenStatus'?: string | null;
16192
+ 'kitchenStatus': KitchenItemStatus;
15628
16193
  /**
15629
16194
  * List of options selected for this product
15630
16195
  * @type {Array<UnifiedOptionDto>}
@@ -22635,6 +23200,86 @@ export declare class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompa
22635
23200
  */
22636
23201
  updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
22637
23202
  }
23203
+ /**
23204
+ * KDSApi - axios parameter creator
23205
+ * @export
23206
+ */
23207
+ export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) => {
23208
+ /**
23209
+ *
23210
+ * @summary Get KDS orders by status
23211
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
23212
+ * @param {string} profileId KDS Profile ID
23213
+ * @param {*} [options] Override http request option.
23214
+ * @throws {RequiredError}
23215
+ */
23216
+ kdsGetOrders: (status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", profileId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
23217
+ };
23218
+ /**
23219
+ * KDSApi - functional programming interface
23220
+ * @export
23221
+ */
23222
+ export declare const KDSApiFp: (configuration?: Configuration) => {
23223
+ /**
23224
+ *
23225
+ * @summary Get KDS orders by status
23226
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
23227
+ * @param {string} profileId KDS Profile ID
23228
+ * @param {*} [options] Override http request option.
23229
+ * @throws {RequiredError}
23230
+ */
23231
+ kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsOrderDto>>>;
23232
+ };
23233
+ /**
23234
+ * KDSApi - factory interface
23235
+ * @export
23236
+ */
23237
+ export declare const KDSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
23238
+ /**
23239
+ *
23240
+ * @summary Get KDS orders by status
23241
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
23242
+ * @param {string} profileId KDS Profile ID
23243
+ * @param {*} [options] Override http request option.
23244
+ * @throws {RequiredError}
23245
+ */
23246
+ kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", profileId: string, options?: any): AxiosPromise<Array<KdsOrderDto>>;
23247
+ };
23248
+ /**
23249
+ * KDSApi - interface
23250
+ * @export
23251
+ * @interface KDSApi
23252
+ */
23253
+ export interface KDSApiInterface {
23254
+ /**
23255
+ *
23256
+ * @summary Get KDS orders by status
23257
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
23258
+ * @param {string} profileId KDS Profile ID
23259
+ * @param {*} [options] Override http request option.
23260
+ * @throws {RequiredError}
23261
+ * @memberof KDSApiInterface
23262
+ */
23263
+ kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', profileId: string, options?: AxiosRequestConfig): AxiosPromise<Array<KdsOrderDto>>;
23264
+ }
23265
+ /**
23266
+ * KDSApi - object-oriented interface
23267
+ * @export
23268
+ * @class KDSApi
23269
+ * @extends {BaseAPI}
23270
+ */
23271
+ export declare class KDSApi extends BaseAPI implements KDSApiInterface {
23272
+ /**
23273
+ *
23274
+ * @summary Get KDS orders by status
23275
+ * @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
23276
+ * @param {string} profileId KDS Profile ID
23277
+ * @param {*} [options] Override http request option.
23278
+ * @throws {RequiredError}
23279
+ * @memberof KDSApi
23280
+ */
23281
+ kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', profileId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsOrderDto[], any, {}>>;
23282
+ }
22638
23283
  /**
22639
23284
  * KiosksApi - axios parameter creator
22640
23285
  * @export
@@ -23569,6 +24214,81 @@ export declare class NotificationApi extends BaseAPI implements NotificationApiI
23569
24214
  */
23570
24215
  removeVenueSubscriptionsV2(deviceSubscriptionDto: DeviceSubscriptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
23571
24216
  }
24217
+ /**
24218
+ * OrderInternalApi - axios parameter creator
24219
+ * @export
24220
+ */
24221
+ export declare const OrderInternalApiAxiosParamCreator: (configuration?: Configuration) => {
24222
+ /**
24223
+ *
24224
+ * @summary Get order data by external ID for internal microservice communication
24225
+ * @param {string} externalId
24226
+ * @param {*} [options] Override http request option.
24227
+ * @throws {RequiredError}
24228
+ */
24229
+ findOneByExternalId: (externalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24230
+ };
24231
+ /**
24232
+ * OrderInternalApi - functional programming interface
24233
+ * @export
24234
+ */
24235
+ export declare const OrderInternalApiFp: (configuration?: Configuration) => {
24236
+ /**
24237
+ *
24238
+ * @summary Get order data by external ID for internal microservice communication
24239
+ * @param {string} externalId
24240
+ * @param {*} [options] Override http request option.
24241
+ * @throws {RequiredError}
24242
+ */
24243
+ findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
24244
+ };
24245
+ /**
24246
+ * OrderInternalApi - factory interface
24247
+ * @export
24248
+ */
24249
+ export declare const OrderInternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24250
+ /**
24251
+ *
24252
+ * @summary Get order data by external ID for internal microservice communication
24253
+ * @param {string} externalId
24254
+ * @param {*} [options] Override http request option.
24255
+ * @throws {RequiredError}
24256
+ */
24257
+ findOneByExternalId(externalId: string, options?: any): AxiosPromise<void>;
24258
+ };
24259
+ /**
24260
+ * OrderInternalApi - interface
24261
+ * @export
24262
+ * @interface OrderInternalApi
24263
+ */
24264
+ export interface OrderInternalApiInterface {
24265
+ /**
24266
+ *
24267
+ * @summary Get order data by external ID for internal microservice communication
24268
+ * @param {string} externalId
24269
+ * @param {*} [options] Override http request option.
24270
+ * @throws {RequiredError}
24271
+ * @memberof OrderInternalApiInterface
24272
+ */
24273
+ findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
24274
+ }
24275
+ /**
24276
+ * OrderInternalApi - object-oriented interface
24277
+ * @export
24278
+ * @class OrderInternalApi
24279
+ * @extends {BaseAPI}
24280
+ */
24281
+ export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
24282
+ /**
24283
+ *
24284
+ * @summary Get order data by external ID for internal microservice communication
24285
+ * @param {string} externalId
24286
+ * @param {*} [options] Override http request option.
24287
+ * @throws {RequiredError}
24288
+ * @memberof OrderInternalApi
24289
+ */
24290
+ findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24291
+ }
23572
24292
  /**
23573
24293
  * OrderingCoApi - axios parameter creator
23574
24294
  * @export
@@ -26522,14 +27242,21 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
26522
27242
  * @param {*} [options] Override http request option.
26523
27243
  * @throws {RequiredError}
26524
27244
  */
26525
- getUserBusiness: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27245
+ getUserBusinessV1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27246
+ /**
27247
+ *
27248
+ * @summary Retrieve user Business information with KDS profiles
27249
+ * @param {*} [options] Override http request option.
27250
+ * @throws {RequiredError}
27251
+ */
27252
+ getUserBusinessV2: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
26526
27253
  /**
26527
27254
  *
26528
27255
  * @summary Retrieve user information
26529
27256
  * @param {*} [options] Override http request option.
26530
27257
  * @throws {RequiredError}
26531
27258
  */
26532
- getUserInfo: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27259
+ getUserInfoV1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
26533
27260
  };
26534
27261
  /**
26535
27262
  * UserApi - functional programming interface
@@ -26542,14 +27269,21 @@ export declare const UserApiFp: (configuration?: Configuration) => {
26542
27269
  * @param {*} [options] Override http request option.
26543
27270
  * @throws {RequiredError}
26544
27271
  */
26545
- getUserBusiness(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>>;
27272
+ getUserBusinessV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoResponseDto>>>;
27273
+ /**
27274
+ *
27275
+ * @summary Retrieve user Business information with KDS profiles
27276
+ * @param {*} [options] Override http request option.
27277
+ * @throws {RequiredError}
27278
+ */
27279
+ getUserBusinessV2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessInfoV2ResponseDto>>>;
26546
27280
  /**
26547
27281
  *
26548
27282
  * @summary Retrieve user information
26549
27283
  * @param {*} [options] Override http request option.
26550
27284
  * @throws {RequiredError}
26551
27285
  */
26552
- getUserInfo(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>>;
27286
+ getUserInfoV1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserInfoResponseDto>>;
26553
27287
  };
26554
27288
  /**
26555
27289
  * UserApi - factory interface
@@ -26562,14 +27296,21 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
26562
27296
  * @param {*} [options] Override http request option.
26563
27297
  * @throws {RequiredError}
26564
27298
  */
26565
- getUserBusiness(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>>;
27299
+ getUserBusinessV1(options?: any): AxiosPromise<Array<BusinessInfoResponseDto>>;
27300
+ /**
27301
+ *
27302
+ * @summary Retrieve user Business information with KDS profiles
27303
+ * @param {*} [options] Override http request option.
27304
+ * @throws {RequiredError}
27305
+ */
27306
+ getUserBusinessV2(options?: any): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
26566
27307
  /**
26567
27308
  *
26568
27309
  * @summary Retrieve user information
26569
27310
  * @param {*} [options] Override http request option.
26570
27311
  * @throws {RequiredError}
26571
27312
  */
26572
- getUserInfo(options?: any): AxiosPromise<GetUserInfoResponseDto>;
27313
+ getUserInfoV1(options?: any): AxiosPromise<GetUserInfoResponseDto>;
26573
27314
  };
26574
27315
  /**
26575
27316
  * UserApi - interface
@@ -26584,7 +27325,15 @@ export interface UserApiInterface {
26584
27325
  * @throws {RequiredError}
26585
27326
  * @memberof UserApiInterface
26586
27327
  */
26587
- getUserBusiness(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
27328
+ getUserBusinessV1(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoResponseDto>>;
27329
+ /**
27330
+ *
27331
+ * @summary Retrieve user Business information with KDS profiles
27332
+ * @param {*} [options] Override http request option.
27333
+ * @throws {RequiredError}
27334
+ * @memberof UserApiInterface
27335
+ */
27336
+ getUserBusinessV2(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessInfoV2ResponseDto>>;
26588
27337
  /**
26589
27338
  *
26590
27339
  * @summary Retrieve user information
@@ -26592,7 +27341,7 @@ export interface UserApiInterface {
26592
27341
  * @throws {RequiredError}
26593
27342
  * @memberof UserApiInterface
26594
27343
  */
26595
- getUserInfo(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
27344
+ getUserInfoV1(options?: AxiosRequestConfig): AxiosPromise<GetUserInfoResponseDto>;
26596
27345
  }
26597
27346
  /**
26598
27347
  * UserApi - object-oriented interface
@@ -26608,7 +27357,15 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
26608
27357
  * @throws {RequiredError}
26609
27358
  * @memberof UserApi
26610
27359
  */
26611
- getUserBusiness(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoResponseDto[], any, {}>>;
27360
+ getUserBusinessV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoResponseDto[], any, {}>>;
27361
+ /**
27362
+ *
27363
+ * @summary Retrieve user Business information with KDS profiles
27364
+ * @param {*} [options] Override http request option.
27365
+ * @throws {RequiredError}
27366
+ * @memberof UserApi
27367
+ */
27368
+ getUserBusinessV2(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessInfoV2ResponseDto[], any, {}>>;
26612
27369
  /**
26613
27370
  *
26614
27371
  * @summary Retrieve user information
@@ -26616,7 +27373,7 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
26616
27373
  * @throws {RequiredError}
26617
27374
  * @memberof UserApi
26618
27375
  */
26619
- getUserInfo(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
27376
+ getUserInfoV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
26620
27377
  }
26621
27378
  /**
26622
27379
  * UsersApi - axios parameter creator