@munchi_oy/core 1.5.12 → 1.6.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.
- package/dist/generated/api.d.ts +649 -3
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/enums.d.ts +1 -11
- package/dist/src/enums.d.ts.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +793 -3
- package/package.json +13 -15
- package/src/enums.ts +0 -13
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -2722,6 +2722,17 @@ export interface ConnectTerminalDto {
|
|
|
2722
2722
|
*/
|
|
2723
2723
|
'terminalHardwareId': string;
|
|
2724
2724
|
}
|
|
2725
|
+
/**
|
|
2726
|
+
*
|
|
2727
|
+
* @export
|
|
2728
|
+
* @enum {string}
|
|
2729
|
+
*/
|
|
2730
|
+
export declare const ConsumptionType: {
|
|
2731
|
+
readonly Delivery: "DELIVERY";
|
|
2732
|
+
readonly Pickup: "PICKUP";
|
|
2733
|
+
readonly DineIn: "DINE_IN";
|
|
2734
|
+
};
|
|
2735
|
+
export type ConsumptionType = typeof ConsumptionType[keyof typeof ConsumptionType];
|
|
2725
2736
|
/**
|
|
2726
2737
|
*
|
|
2727
2738
|
* @export
|
|
@@ -3494,6 +3505,18 @@ export declare const DiscountScope: {
|
|
|
3494
3505
|
readonly Cart: "CART";
|
|
3495
3506
|
};
|
|
3496
3507
|
export type DiscountScope = typeof DiscountScope[keyof typeof DiscountScope];
|
|
3508
|
+
/**
|
|
3509
|
+
*
|
|
3510
|
+
* @export
|
|
3511
|
+
* @enum {string}
|
|
3512
|
+
*/
|
|
3513
|
+
export declare const DiscountSourceType: {
|
|
3514
|
+
readonly Manual: "MANUAL";
|
|
3515
|
+
readonly Promotion: "PROMOTION";
|
|
3516
|
+
readonly Loyalty: "LOYALTY";
|
|
3517
|
+
readonly Campaign: "CAMPAIGN";
|
|
3518
|
+
};
|
|
3519
|
+
export type DiscountSourceType = typeof DiscountSourceType[keyof typeof DiscountSourceType];
|
|
3497
3520
|
/**
|
|
3498
3521
|
*
|
|
3499
3522
|
* @export
|
|
@@ -5064,6 +5087,389 @@ export interface ItemPriceDto {
|
|
|
5064
5087
|
*/
|
|
5065
5088
|
'priceBreakdown': ItemPriceBreakdownDto;
|
|
5066
5089
|
}
|
|
5090
|
+
/**
|
|
5091
|
+
*
|
|
5092
|
+
* @export
|
|
5093
|
+
* @interface KdsOrderDto
|
|
5094
|
+
*/
|
|
5095
|
+
export interface KdsOrderDto {
|
|
5096
|
+
/**
|
|
5097
|
+
*
|
|
5098
|
+
* @type {string}
|
|
5099
|
+
* @memberof KdsOrderDto
|
|
5100
|
+
*/
|
|
5101
|
+
'id': string;
|
|
5102
|
+
/**
|
|
5103
|
+
*
|
|
5104
|
+
* @type {string}
|
|
5105
|
+
* @memberof KdsOrderDto
|
|
5106
|
+
*/
|
|
5107
|
+
'parentOrderId': string;
|
|
5108
|
+
/**
|
|
5109
|
+
*
|
|
5110
|
+
* @type {number}
|
|
5111
|
+
* @memberof KdsOrderDto
|
|
5112
|
+
*/
|
|
5113
|
+
'businessId': number;
|
|
5114
|
+
/**
|
|
5115
|
+
*
|
|
5116
|
+
* @type {string}
|
|
5117
|
+
* @memberof KdsOrderDto
|
|
5118
|
+
*/
|
|
5119
|
+
'profileId': string;
|
|
5120
|
+
/**
|
|
5121
|
+
*
|
|
5122
|
+
* @type {string}
|
|
5123
|
+
* @memberof KdsOrderDto
|
|
5124
|
+
*/
|
|
5125
|
+
'profileName': string;
|
|
5126
|
+
/**
|
|
5127
|
+
*
|
|
5128
|
+
* @type {ProviderEnum}
|
|
5129
|
+
* @memberof KdsOrderDto
|
|
5130
|
+
*/
|
|
5131
|
+
'provider': ProviderEnum;
|
|
5132
|
+
/**
|
|
5133
|
+
*
|
|
5134
|
+
* @type {string}
|
|
5135
|
+
* @memberof KdsOrderDto
|
|
5136
|
+
*/
|
|
5137
|
+
'orderNumber': string;
|
|
5138
|
+
/**
|
|
5139
|
+
*
|
|
5140
|
+
* @type {string}
|
|
5141
|
+
* @memberof KdsOrderDto
|
|
5142
|
+
*/
|
|
5143
|
+
'comment': string | null;
|
|
5144
|
+
/**
|
|
5145
|
+
*
|
|
5146
|
+
* @type {number}
|
|
5147
|
+
* @memberof KdsOrderDto
|
|
5148
|
+
*/
|
|
5149
|
+
'preparedIn': number | null;
|
|
5150
|
+
/**
|
|
5151
|
+
*
|
|
5152
|
+
* @type {string}
|
|
5153
|
+
* @memberof KdsOrderDto
|
|
5154
|
+
*/
|
|
5155
|
+
'spotNumber': string | null;
|
|
5156
|
+
/**
|
|
5157
|
+
*
|
|
5158
|
+
* @type {string}
|
|
5159
|
+
* @memberof KdsOrderDto
|
|
5160
|
+
*/
|
|
5161
|
+
'acceptedAt': string | null;
|
|
5162
|
+
/**
|
|
5163
|
+
*
|
|
5164
|
+
* @type {string}
|
|
5165
|
+
* @memberof KdsOrderDto
|
|
5166
|
+
*/
|
|
5167
|
+
'pickupEta': string | null;
|
|
5168
|
+
/**
|
|
5169
|
+
*
|
|
5170
|
+
* @type {string}
|
|
5171
|
+
* @memberof KdsOrderDto
|
|
5172
|
+
*/
|
|
5173
|
+
'deliveryEta': string | null;
|
|
5174
|
+
/**
|
|
5175
|
+
*
|
|
5176
|
+
* @type {ConsumptionType}
|
|
5177
|
+
* @memberof KdsOrderDto
|
|
5178
|
+
*/
|
|
5179
|
+
'consumptionType': ConsumptionType;
|
|
5180
|
+
/**
|
|
5181
|
+
*
|
|
5182
|
+
* @type {string}
|
|
5183
|
+
* @memberof KdsOrderDto
|
|
5184
|
+
*/
|
|
5185
|
+
'orderCreatedAt': string;
|
|
5186
|
+
/**
|
|
5187
|
+
*
|
|
5188
|
+
* @type {string}
|
|
5189
|
+
* @memberof KdsOrderDto
|
|
5190
|
+
*/
|
|
5191
|
+
'orderUpdatedAt': string;
|
|
5192
|
+
/**
|
|
5193
|
+
*
|
|
5194
|
+
* @type {OrderType}
|
|
5195
|
+
* @memberof KdsOrderDto
|
|
5196
|
+
*/
|
|
5197
|
+
'type': OrderType;
|
|
5198
|
+
/**
|
|
5199
|
+
*
|
|
5200
|
+
* @type {OrderMode}
|
|
5201
|
+
* @memberof KdsOrderDto
|
|
5202
|
+
*/
|
|
5203
|
+
'orderMode': OrderMode;
|
|
5204
|
+
/**
|
|
5205
|
+
*
|
|
5206
|
+
* @type {SourceType}
|
|
5207
|
+
* @memberof KdsOrderDto
|
|
5208
|
+
*/
|
|
5209
|
+
'sourceType': SourceType;
|
|
5210
|
+
/**
|
|
5211
|
+
*
|
|
5212
|
+
* @type {OrderStatus}
|
|
5213
|
+
* @memberof KdsOrderDto
|
|
5214
|
+
*/
|
|
5215
|
+
'status': OrderStatus;
|
|
5216
|
+
/**
|
|
5217
|
+
*
|
|
5218
|
+
* @type {string}
|
|
5219
|
+
* @memberof KdsOrderDto
|
|
5220
|
+
*/
|
|
5221
|
+
'createdAt': string;
|
|
5222
|
+
/**
|
|
5223
|
+
*
|
|
5224
|
+
* @type {string}
|
|
5225
|
+
* @memberof KdsOrderDto
|
|
5226
|
+
*/
|
|
5227
|
+
'updatedAt': string;
|
|
5228
|
+
/**
|
|
5229
|
+
*
|
|
5230
|
+
* @type {Array<KdsOrderItemDto>}
|
|
5231
|
+
* @memberof KdsOrderDto
|
|
5232
|
+
*/
|
|
5233
|
+
'items': Array<KdsOrderItemDto>;
|
|
5234
|
+
}
|
|
5235
|
+
/**
|
|
5236
|
+
*
|
|
5237
|
+
* @export
|
|
5238
|
+
* @interface KdsOrderItemDto
|
|
5239
|
+
*/
|
|
5240
|
+
export interface KdsOrderItemDto {
|
|
5241
|
+
/**
|
|
5242
|
+
*
|
|
5243
|
+
* @type {string}
|
|
5244
|
+
* @memberof KdsOrderItemDto
|
|
5245
|
+
*/
|
|
5246
|
+
'id': string;
|
|
5247
|
+
/**
|
|
5248
|
+
*
|
|
5249
|
+
* @type {string}
|
|
5250
|
+
* @memberof KdsOrderItemDto
|
|
5251
|
+
*/
|
|
5252
|
+
'orderId': string;
|
|
5253
|
+
/**
|
|
5254
|
+
*
|
|
5255
|
+
* @type {string}
|
|
5256
|
+
* @memberof KdsOrderItemDto
|
|
5257
|
+
*/
|
|
5258
|
+
'externalProductId': string;
|
|
5259
|
+
/**
|
|
5260
|
+
*
|
|
5261
|
+
* @type {string}
|
|
5262
|
+
* @memberof KdsOrderItemDto
|
|
5263
|
+
*/
|
|
5264
|
+
'name': string;
|
|
5265
|
+
/**
|
|
5266
|
+
*
|
|
5267
|
+
* @type {number}
|
|
5268
|
+
* @memberof KdsOrderItemDto
|
|
5269
|
+
*/
|
|
5270
|
+
'quantity': number;
|
|
5271
|
+
/**
|
|
5272
|
+
*
|
|
5273
|
+
* @type {number}
|
|
5274
|
+
* @memberof KdsOrderItemDto
|
|
5275
|
+
*/
|
|
5276
|
+
'unitPrice': number;
|
|
5277
|
+
/**
|
|
5278
|
+
*
|
|
5279
|
+
* @type {number}
|
|
5280
|
+
* @memberof KdsOrderItemDto
|
|
5281
|
+
*/
|
|
5282
|
+
'paidPrice': number;
|
|
5283
|
+
/**
|
|
5284
|
+
*
|
|
5285
|
+
* @type {string}
|
|
5286
|
+
* @memberof KdsOrderItemDto
|
|
5287
|
+
*/
|
|
5288
|
+
'comment': string | null;
|
|
5289
|
+
/**
|
|
5290
|
+
*
|
|
5291
|
+
* @type {KitchenItemStatus}
|
|
5292
|
+
* @memberof KdsOrderItemDto
|
|
5293
|
+
*/
|
|
5294
|
+
'kitchenStatus': KitchenItemStatus;
|
|
5295
|
+
/**
|
|
5296
|
+
*
|
|
5297
|
+
* @type {string}
|
|
5298
|
+
* @memberof KdsOrderItemDto
|
|
5299
|
+
*/
|
|
5300
|
+
'createdAt': string;
|
|
5301
|
+
/**
|
|
5302
|
+
*
|
|
5303
|
+
* @type {string}
|
|
5304
|
+
* @memberof KdsOrderItemDto
|
|
5305
|
+
*/
|
|
5306
|
+
'updatedAt': string;
|
|
5307
|
+
/**
|
|
5308
|
+
*
|
|
5309
|
+
* @type {Array<KdsOrderOptionDto>}
|
|
5310
|
+
* @memberof KdsOrderItemDto
|
|
5311
|
+
*/
|
|
5312
|
+
'options': Array<KdsOrderOptionDto>;
|
|
5313
|
+
}
|
|
5314
|
+
/**
|
|
5315
|
+
*
|
|
5316
|
+
* @export
|
|
5317
|
+
* @interface KdsOrderOptionDto
|
|
5318
|
+
*/
|
|
5319
|
+
export interface KdsOrderOptionDto {
|
|
5320
|
+
/**
|
|
5321
|
+
*
|
|
5322
|
+
* @type {string}
|
|
5323
|
+
* @memberof KdsOrderOptionDto
|
|
5324
|
+
*/
|
|
5325
|
+
'id': string;
|
|
5326
|
+
/**
|
|
5327
|
+
*
|
|
5328
|
+
* @type {string}
|
|
5329
|
+
* @memberof KdsOrderOptionDto
|
|
5330
|
+
*/
|
|
5331
|
+
'orderItemId': string;
|
|
5332
|
+
/**
|
|
5333
|
+
*
|
|
5334
|
+
* @type {string}
|
|
5335
|
+
* @memberof KdsOrderOptionDto
|
|
5336
|
+
*/
|
|
5337
|
+
'externalId': string;
|
|
5338
|
+
/**
|
|
5339
|
+
*
|
|
5340
|
+
* @type {string}
|
|
5341
|
+
* @memberof KdsOrderOptionDto
|
|
5342
|
+
*/
|
|
5343
|
+
'name': string;
|
|
5344
|
+
/**
|
|
5345
|
+
*
|
|
5346
|
+
* @type {string}
|
|
5347
|
+
* @memberof KdsOrderOptionDto
|
|
5348
|
+
*/
|
|
5349
|
+
'image': string | null;
|
|
5350
|
+
/**
|
|
5351
|
+
*
|
|
5352
|
+
* @type {string}
|
|
5353
|
+
* @memberof KdsOrderOptionDto
|
|
5354
|
+
*/
|
|
5355
|
+
'createdAt': string;
|
|
5356
|
+
/**
|
|
5357
|
+
*
|
|
5358
|
+
* @type {string}
|
|
5359
|
+
* @memberof KdsOrderOptionDto
|
|
5360
|
+
*/
|
|
5361
|
+
'updatedAt': string;
|
|
5362
|
+
/**
|
|
5363
|
+
*
|
|
5364
|
+
* @type {Array<KdsOrderSubOptionDto>}
|
|
5365
|
+
* @memberof KdsOrderOptionDto
|
|
5366
|
+
*/
|
|
5367
|
+
'subOptions': Array<KdsOrderSubOptionDto>;
|
|
5368
|
+
}
|
|
5369
|
+
/**
|
|
5370
|
+
*
|
|
5371
|
+
* @export
|
|
5372
|
+
* @interface KdsOrderSubOptionDto
|
|
5373
|
+
*/
|
|
5374
|
+
export interface KdsOrderSubOptionDto {
|
|
5375
|
+
/**
|
|
5376
|
+
*
|
|
5377
|
+
* @type {string}
|
|
5378
|
+
* @memberof KdsOrderSubOptionDto
|
|
5379
|
+
*/
|
|
5380
|
+
'id': string;
|
|
5381
|
+
/**
|
|
5382
|
+
*
|
|
5383
|
+
* @type {string}
|
|
5384
|
+
* @memberof KdsOrderSubOptionDto
|
|
5385
|
+
*/
|
|
5386
|
+
'orderOptionId': string;
|
|
5387
|
+
/**
|
|
5388
|
+
*
|
|
5389
|
+
* @type {string}
|
|
5390
|
+
* @memberof KdsOrderSubOptionDto
|
|
5391
|
+
*/
|
|
5392
|
+
'externalId': string;
|
|
5393
|
+
/**
|
|
5394
|
+
*
|
|
5395
|
+
* @type {string}
|
|
5396
|
+
* @memberof KdsOrderSubOptionDto
|
|
5397
|
+
*/
|
|
5398
|
+
'name': string;
|
|
5399
|
+
/**
|
|
5400
|
+
*
|
|
5401
|
+
* @type {number}
|
|
5402
|
+
* @memberof KdsOrderSubOptionDto
|
|
5403
|
+
*/
|
|
5404
|
+
'quantity': number;
|
|
5405
|
+
/**
|
|
5406
|
+
*
|
|
5407
|
+
* @type {number}
|
|
5408
|
+
* @memberof KdsOrderSubOptionDto
|
|
5409
|
+
*/
|
|
5410
|
+
'unitPrice': number;
|
|
5411
|
+
/**
|
|
5412
|
+
*
|
|
5413
|
+
* @type {number}
|
|
5414
|
+
* @memberof KdsOrderSubOptionDto
|
|
5415
|
+
*/
|
|
5416
|
+
'paidPrice': number;
|
|
5417
|
+
/**
|
|
5418
|
+
*
|
|
5419
|
+
* @type {string}
|
|
5420
|
+
* @memberof KdsOrderSubOptionDto
|
|
5421
|
+
*/
|
|
5422
|
+
'createdAt': string;
|
|
5423
|
+
/**
|
|
5424
|
+
*
|
|
5425
|
+
* @type {string}
|
|
5426
|
+
* @memberof KdsOrderSubOptionDto
|
|
5427
|
+
*/
|
|
5428
|
+
'updatedAt': string;
|
|
5429
|
+
}
|
|
5430
|
+
/**
|
|
5431
|
+
*
|
|
5432
|
+
* @export
|
|
5433
|
+
* @interface KdsPubSubPayloadDto
|
|
5434
|
+
*/
|
|
5435
|
+
export interface KdsPubSubPayloadDto {
|
|
5436
|
+
/**
|
|
5437
|
+
*
|
|
5438
|
+
* @type {PubSubTarget}
|
|
5439
|
+
* @memberof KdsPubSubPayloadDto
|
|
5440
|
+
*/
|
|
5441
|
+
'target': PubSubTarget;
|
|
5442
|
+
/**
|
|
5443
|
+
*
|
|
5444
|
+
* @type {ProviderEnum}
|
|
5445
|
+
* @memberof KdsPubSubPayloadDto
|
|
5446
|
+
*/
|
|
5447
|
+
'provider': ProviderEnum;
|
|
5448
|
+
/**
|
|
5449
|
+
*
|
|
5450
|
+
* @type {number}
|
|
5451
|
+
* @memberof KdsPubSubPayloadDto
|
|
5452
|
+
*/
|
|
5453
|
+
'businessId': number;
|
|
5454
|
+
/**
|
|
5455
|
+
*
|
|
5456
|
+
* @type {PubSubAction}
|
|
5457
|
+
* @memberof KdsPubSubPayloadDto
|
|
5458
|
+
*/
|
|
5459
|
+
'action': PubSubAction;
|
|
5460
|
+
/**
|
|
5461
|
+
*
|
|
5462
|
+
* @type {string}
|
|
5463
|
+
* @memberof KdsPubSubPayloadDto
|
|
5464
|
+
*/
|
|
5465
|
+
'orderId': string;
|
|
5466
|
+
/**
|
|
5467
|
+
*
|
|
5468
|
+
* @type {SourceType}
|
|
5469
|
+
* @memberof KdsPubSubPayloadDto
|
|
5470
|
+
*/
|
|
5471
|
+
'type': SourceType;
|
|
5472
|
+
}
|
|
5067
5473
|
/**
|
|
5068
5474
|
*
|
|
5069
5475
|
* @export
|
|
@@ -5115,6 +5521,22 @@ export interface KioskStatusDto {
|
|
|
5115
5521
|
*/
|
|
5116
5522
|
'payment_event': PaymentEventType;
|
|
5117
5523
|
}
|
|
5524
|
+
/**
|
|
5525
|
+
*
|
|
5526
|
+
* @export
|
|
5527
|
+
* @enum {string}
|
|
5528
|
+
*/
|
|
5529
|
+
export declare const KitchenItemStatus: {
|
|
5530
|
+
readonly NotApplicable: "NOT_APPLICABLE";
|
|
5531
|
+
readonly Pending: "PENDING";
|
|
5532
|
+
readonly OnHold: "ON_HOLD";
|
|
5533
|
+
readonly SentToOm: "SENT_TO_OM";
|
|
5534
|
+
readonly DispatchedToKitchen: "DISPATCHED_TO_KITCHEN";
|
|
5535
|
+
readonly Completed: "COMPLETED";
|
|
5536
|
+
readonly Cancelled: "CANCELLED";
|
|
5537
|
+
readonly Ready: "READY";
|
|
5538
|
+
};
|
|
5539
|
+
export type KitchenItemStatus = typeof KitchenItemStatus[keyof typeof KitchenItemStatus];
|
|
5118
5540
|
/**
|
|
5119
5541
|
*
|
|
5120
5542
|
* @export
|
|
@@ -7399,6 +7821,16 @@ export interface OrderHistoryResponseDtoSummary {
|
|
|
7399
7821
|
*/
|
|
7400
7822
|
'totalTipAmount'?: number;
|
|
7401
7823
|
}
|
|
7824
|
+
/**
|
|
7825
|
+
*
|
|
7826
|
+
* @export
|
|
7827
|
+
* @enum {string}
|
|
7828
|
+
*/
|
|
7829
|
+
export declare const OrderMode: {
|
|
7830
|
+
readonly Instant: "INSTANT";
|
|
7831
|
+
readonly PreOrder: "PRE_ORDER";
|
|
7832
|
+
};
|
|
7833
|
+
export type OrderMode = typeof OrderMode[keyof typeof OrderMode];
|
|
7402
7834
|
/**
|
|
7403
7835
|
*
|
|
7404
7836
|
* @export
|
|
@@ -7810,6 +8242,18 @@ export declare const OrderSource: {
|
|
|
7810
8242
|
readonly Pos: "POS";
|
|
7811
8243
|
};
|
|
7812
8244
|
export type OrderSource = typeof OrderSource[keyof typeof OrderSource];
|
|
8245
|
+
/**
|
|
8246
|
+
*
|
|
8247
|
+
* @export
|
|
8248
|
+
* @enum {string}
|
|
8249
|
+
*/
|
|
8250
|
+
export declare const OrderStatus: {
|
|
8251
|
+
readonly InProgress: "IN_PROGRESS";
|
|
8252
|
+
readonly Ready: "READY";
|
|
8253
|
+
readonly Delivered: "DELIVERED";
|
|
8254
|
+
readonly Rejected: "REJECTED";
|
|
8255
|
+
};
|
|
8256
|
+
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
|
7813
8257
|
/**
|
|
7814
8258
|
*
|
|
7815
8259
|
* @export
|
|
@@ -9933,19 +10377,37 @@ export interface PosDiscountDto {
|
|
|
9933
10377
|
* @type {MoneyDto}
|
|
9934
10378
|
* @memberof PosDiscountDto
|
|
9935
10379
|
*/
|
|
9936
|
-
'appliedAmount'
|
|
10380
|
+
'appliedAmount': MoneyDto | null;
|
|
9937
10381
|
/**
|
|
9938
10382
|
*
|
|
9939
10383
|
* @type {PosDiscountTargetType}
|
|
9940
10384
|
* @memberof PosDiscountDto
|
|
9941
10385
|
*/
|
|
9942
|
-
'targetType'
|
|
10386
|
+
'targetType': PosDiscountTargetType | null;
|
|
9943
10387
|
/**
|
|
9944
10388
|
*
|
|
9945
10389
|
* @type {string}
|
|
9946
10390
|
* @memberof PosDiscountDto
|
|
9947
10391
|
*/
|
|
9948
|
-
'targetId'
|
|
10392
|
+
'targetId': string | null;
|
|
10393
|
+
/**
|
|
10394
|
+
*
|
|
10395
|
+
* @type {DiscountSourceType}
|
|
10396
|
+
* @memberof PosDiscountDto
|
|
10397
|
+
*/
|
|
10398
|
+
'sourceType': DiscountSourceType;
|
|
10399
|
+
/**
|
|
10400
|
+
*
|
|
10401
|
+
* @type {string}
|
|
10402
|
+
* @memberof PosDiscountDto
|
|
10403
|
+
*/
|
|
10404
|
+
'sourceId': string | null;
|
|
10405
|
+
/**
|
|
10406
|
+
*
|
|
10407
|
+
* @type {boolean}
|
|
10408
|
+
* @memberof PosDiscountDto
|
|
10409
|
+
*/
|
|
10410
|
+
'isAutomatic': boolean;
|
|
9949
10411
|
}
|
|
9950
10412
|
/**
|
|
9951
10413
|
*
|
|
@@ -12395,6 +12857,25 @@ export interface ProviderStatusResponseDto {
|
|
|
12395
12857
|
*/
|
|
12396
12858
|
'open': boolean;
|
|
12397
12859
|
}
|
|
12860
|
+
/**
|
|
12861
|
+
*
|
|
12862
|
+
* @export
|
|
12863
|
+
* @enum {string}
|
|
12864
|
+
*/
|
|
12865
|
+
export declare const PubSubAction: {
|
|
12866
|
+
readonly Activity: "ORDER_ACTIVITY";
|
|
12867
|
+
readonly Deleted: "ORDER_DELETED";
|
|
12868
|
+
};
|
|
12869
|
+
export type PubSubAction = typeof PubSubAction[keyof typeof PubSubAction];
|
|
12870
|
+
/**
|
|
12871
|
+
*
|
|
12872
|
+
* @export
|
|
12873
|
+
* @enum {string}
|
|
12874
|
+
*/
|
|
12875
|
+
export declare const PubSubTarget: {
|
|
12876
|
+
readonly Kds: "KDS";
|
|
12877
|
+
};
|
|
12878
|
+
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
12398
12879
|
/**
|
|
12399
12880
|
*
|
|
12400
12881
|
* @export
|
|
@@ -13460,6 +13941,16 @@ export interface SingleProviderStatusResponseDtoActiveChannel {
|
|
|
13460
13941
|
*/
|
|
13461
13942
|
'open': boolean;
|
|
13462
13943
|
}
|
|
13944
|
+
/**
|
|
13945
|
+
*
|
|
13946
|
+
* @export
|
|
13947
|
+
* @enum {string}
|
|
13948
|
+
*/
|
|
13949
|
+
export declare const SourceType: {
|
|
13950
|
+
readonly Order: "ORDER";
|
|
13951
|
+
readonly Ticket: "TICKET";
|
|
13952
|
+
};
|
|
13953
|
+
export type SourceType = typeof SourceType[keyof typeof SourceType];
|
|
13463
13954
|
/**
|
|
13464
13955
|
*
|
|
13465
13956
|
* @export
|
|
@@ -22635,6 +23126,86 @@ export declare class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompa
|
|
|
22635
23126
|
*/
|
|
22636
23127
|
updateInvoiceCompany(id: string, businessId: number, updateInvoiceCompanyDto: UpdateInvoiceCompanyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceCompanyResponseDto, any, {}>>;
|
|
22637
23128
|
}
|
|
23129
|
+
/**
|
|
23130
|
+
* KDSApi - axios parameter creator
|
|
23131
|
+
* @export
|
|
23132
|
+
*/
|
|
23133
|
+
export declare const KDSApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23134
|
+
/**
|
|
23135
|
+
*
|
|
23136
|
+
* @summary Get KDS orders by status
|
|
23137
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23138
|
+
* @param {string} profileId KDS Profile ID
|
|
23139
|
+
* @param {*} [options] Override http request option.
|
|
23140
|
+
* @throws {RequiredError}
|
|
23141
|
+
*/
|
|
23142
|
+
kdsGetOrders: (status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", profileId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23143
|
+
};
|
|
23144
|
+
/**
|
|
23145
|
+
* KDSApi - functional programming interface
|
|
23146
|
+
* @export
|
|
23147
|
+
*/
|
|
23148
|
+
export declare const KDSApiFp: (configuration?: Configuration) => {
|
|
23149
|
+
/**
|
|
23150
|
+
*
|
|
23151
|
+
* @summary Get KDS orders by status
|
|
23152
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23153
|
+
* @param {string} profileId KDS Profile ID
|
|
23154
|
+
* @param {*} [options] Override http request option.
|
|
23155
|
+
* @throws {RequiredError}
|
|
23156
|
+
*/
|
|
23157
|
+
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KdsOrderDto>>>;
|
|
23158
|
+
};
|
|
23159
|
+
/**
|
|
23160
|
+
* KDSApi - factory interface
|
|
23161
|
+
* @export
|
|
23162
|
+
*/
|
|
23163
|
+
export declare const KDSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
23164
|
+
/**
|
|
23165
|
+
*
|
|
23166
|
+
* @summary Get KDS orders by status
|
|
23167
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23168
|
+
* @param {string} profileId KDS Profile ID
|
|
23169
|
+
* @param {*} [options] Override http request option.
|
|
23170
|
+
* @throws {RequiredError}
|
|
23171
|
+
*/
|
|
23172
|
+
kdsGetOrders(status: "IN_PROGRESS" | "READY" | "DELIVERED" | "REJECTED", profileId: string, options?: any): AxiosPromise<Array<KdsOrderDto>>;
|
|
23173
|
+
};
|
|
23174
|
+
/**
|
|
23175
|
+
* KDSApi - interface
|
|
23176
|
+
* @export
|
|
23177
|
+
* @interface KDSApi
|
|
23178
|
+
*/
|
|
23179
|
+
export interface KDSApiInterface {
|
|
23180
|
+
/**
|
|
23181
|
+
*
|
|
23182
|
+
* @summary Get KDS orders by status
|
|
23183
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23184
|
+
* @param {string} profileId KDS Profile ID
|
|
23185
|
+
* @param {*} [options] Override http request option.
|
|
23186
|
+
* @throws {RequiredError}
|
|
23187
|
+
* @memberof KDSApiInterface
|
|
23188
|
+
*/
|
|
23189
|
+
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', profileId: string, options?: AxiosRequestConfig): AxiosPromise<Array<KdsOrderDto>>;
|
|
23190
|
+
}
|
|
23191
|
+
/**
|
|
23192
|
+
* KDSApi - object-oriented interface
|
|
23193
|
+
* @export
|
|
23194
|
+
* @class KDSApi
|
|
23195
|
+
* @extends {BaseAPI}
|
|
23196
|
+
*/
|
|
23197
|
+
export declare class KDSApi extends BaseAPI implements KDSApiInterface {
|
|
23198
|
+
/**
|
|
23199
|
+
*
|
|
23200
|
+
* @summary Get KDS orders by status
|
|
23201
|
+
* @param {'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED'} status Order status filter
|
|
23202
|
+
* @param {string} profileId KDS Profile ID
|
|
23203
|
+
* @param {*} [options] Override http request option.
|
|
23204
|
+
* @throws {RequiredError}
|
|
23205
|
+
* @memberof KDSApi
|
|
23206
|
+
*/
|
|
23207
|
+
kdsGetOrders(status: 'IN_PROGRESS' | 'READY' | 'DELIVERED' | 'REJECTED', profileId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KdsOrderDto[], any, {}>>;
|
|
23208
|
+
}
|
|
22638
23209
|
/**
|
|
22639
23210
|
* KiosksApi - axios parameter creator
|
|
22640
23211
|
* @export
|
|
@@ -23569,6 +24140,81 @@ export declare class NotificationApi extends BaseAPI implements NotificationApiI
|
|
|
23569
24140
|
*/
|
|
23570
24141
|
removeVenueSubscriptionsV2(deviceSubscriptionDto: DeviceSubscriptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
23571
24142
|
}
|
|
24143
|
+
/**
|
|
24144
|
+
* OrderInternalApi - axios parameter creator
|
|
24145
|
+
* @export
|
|
24146
|
+
*/
|
|
24147
|
+
export declare const OrderInternalApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24148
|
+
/**
|
|
24149
|
+
*
|
|
24150
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
24151
|
+
* @param {string} externalId
|
|
24152
|
+
* @param {*} [options] Override http request option.
|
|
24153
|
+
* @throws {RequiredError}
|
|
24154
|
+
*/
|
|
24155
|
+
findOneByExternalId: (externalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24156
|
+
};
|
|
24157
|
+
/**
|
|
24158
|
+
* OrderInternalApi - functional programming interface
|
|
24159
|
+
* @export
|
|
24160
|
+
*/
|
|
24161
|
+
export declare const OrderInternalApiFp: (configuration?: Configuration) => {
|
|
24162
|
+
/**
|
|
24163
|
+
*
|
|
24164
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
24165
|
+
* @param {string} externalId
|
|
24166
|
+
* @param {*} [options] Override http request option.
|
|
24167
|
+
* @throws {RequiredError}
|
|
24168
|
+
*/
|
|
24169
|
+
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
24170
|
+
};
|
|
24171
|
+
/**
|
|
24172
|
+
* OrderInternalApi - factory interface
|
|
24173
|
+
* @export
|
|
24174
|
+
*/
|
|
24175
|
+
export declare const OrderInternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
24176
|
+
/**
|
|
24177
|
+
*
|
|
24178
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
24179
|
+
* @param {string} externalId
|
|
24180
|
+
* @param {*} [options] Override http request option.
|
|
24181
|
+
* @throws {RequiredError}
|
|
24182
|
+
*/
|
|
24183
|
+
findOneByExternalId(externalId: string, options?: any): AxiosPromise<void>;
|
|
24184
|
+
};
|
|
24185
|
+
/**
|
|
24186
|
+
* OrderInternalApi - interface
|
|
24187
|
+
* @export
|
|
24188
|
+
* @interface OrderInternalApi
|
|
24189
|
+
*/
|
|
24190
|
+
export interface OrderInternalApiInterface {
|
|
24191
|
+
/**
|
|
24192
|
+
*
|
|
24193
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
24194
|
+
* @param {string} externalId
|
|
24195
|
+
* @param {*} [options] Override http request option.
|
|
24196
|
+
* @throws {RequiredError}
|
|
24197
|
+
* @memberof OrderInternalApiInterface
|
|
24198
|
+
*/
|
|
24199
|
+
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
24200
|
+
}
|
|
24201
|
+
/**
|
|
24202
|
+
* OrderInternalApi - object-oriented interface
|
|
24203
|
+
* @export
|
|
24204
|
+
* @class OrderInternalApi
|
|
24205
|
+
* @extends {BaseAPI}
|
|
24206
|
+
*/
|
|
24207
|
+
export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
|
|
24208
|
+
/**
|
|
24209
|
+
*
|
|
24210
|
+
* @summary Get order data by external ID for internal microservice communication
|
|
24211
|
+
* @param {string} externalId
|
|
24212
|
+
* @param {*} [options] Override http request option.
|
|
24213
|
+
* @throws {RequiredError}
|
|
24214
|
+
* @memberof OrderInternalApi
|
|
24215
|
+
*/
|
|
24216
|
+
findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
24217
|
+
}
|
|
23572
24218
|
/**
|
|
23573
24219
|
* OrderingCoApi - axios parameter creator
|
|
23574
24220
|
* @export
|