@munchi_oy/core 1.9.91 → 1.9.95

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.
@@ -3497,6 +3497,18 @@ export interface CreateManualSessionDto {
3497
3497
  * @interface CreateManualSessionDtoOrder
3498
3498
  */
3499
3499
  export interface CreateManualSessionDtoOrder {
3500
+ /**
3501
+ * Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
3502
+ * @type {boolean}
3503
+ * @memberof CreateManualSessionDtoOrder
3504
+ */
3505
+ 'hiddenFromOrderManager'?: boolean;
3506
+ /**
3507
+ * True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
3508
+ * @type {boolean}
3509
+ * @memberof CreateManualSessionDtoOrder
3510
+ */
3511
+ 'readyControlledByKds'?: boolean;
3500
3512
  /**
3501
3513
  *
3502
3514
  * @type {string}
@@ -3725,6 +3737,12 @@ export interface CreateManualSessionDtoOrder {
3725
3737
  * @memberof CreateManualSessionDtoOrder
3726
3738
  */
3727
3739
  'tableGroupId'?: string | null;
3740
+ /**
3741
+ * ID of the reservation this order was seated from, if any
3742
+ * @type {string}
3743
+ * @memberof CreateManualSessionDtoOrder
3744
+ */
3745
+ 'reservationId'?: string | null;
3728
3746
  }
3729
3747
  /**
3730
3748
  * Split context. Omit for a full-cart payment, or send { mode, partId|seatId } for a split. Must match the order\'s checkoutModel.
@@ -4180,6 +4198,12 @@ export interface CreateReservationDto {
4180
4198
  * @memberof CreateReservationDto
4181
4199
  */
4182
4200
  'guestPhone'?: string;
4201
+ /**
4202
+ *
4203
+ * @type {string}
4204
+ * @memberof CreateReservationDto
4205
+ */
4206
+ 'guestEmail'?: string;
4183
4207
  /**
4184
4208
  *
4185
4209
  * @type {string}
@@ -15342,6 +15366,18 @@ export interface PosMenuTaxDto {
15342
15366
  * @interface PosOrderDto
15343
15367
  */
15344
15368
  export interface PosOrderDto {
15369
+ /**
15370
+ * Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
15371
+ * @type {boolean}
15372
+ * @memberof PosOrderDto
15373
+ */
15374
+ 'hiddenFromOrderManager'?: boolean;
15375
+ /**
15376
+ * True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
15377
+ * @type {boolean}
15378
+ * @memberof PosOrderDto
15379
+ */
15380
+ 'readyControlledByKds'?: boolean;
15345
15381
  /**
15346
15382
  *
15347
15383
  * @type {string}
@@ -15570,6 +15606,12 @@ export interface PosOrderDto {
15570
15606
  * @memberof PosOrderDto
15571
15607
  */
15572
15608
  'tableGroupId'?: string | null;
15609
+ /**
15610
+ * ID of the reservation this order was seated from, if any
15611
+ * @type {string}
15612
+ * @memberof PosOrderDto
15613
+ */
15614
+ 'reservationId'?: string | null;
15573
15615
  }
15574
15616
  /**
15575
15617
  * Equal split state persisted for the order
@@ -16148,6 +16190,18 @@ export interface PosOrderPayloadDto {
16148
16190
  * @interface PosOrderPayloadDtoOrder
16149
16191
  */
16150
16192
  export interface PosOrderPayloadDtoOrder {
16193
+ /**
16194
+ * Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
16195
+ * @type {boolean}
16196
+ * @memberof PosOrderPayloadDtoOrder
16197
+ */
16198
+ 'hiddenFromOrderManager'?: boolean;
16199
+ /**
16200
+ * True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
16201
+ * @type {boolean}
16202
+ * @memberof PosOrderPayloadDtoOrder
16203
+ */
16204
+ 'readyControlledByKds'?: boolean;
16151
16205
  /**
16152
16206
  *
16153
16207
  * @type {string}
@@ -16376,6 +16430,12 @@ export interface PosOrderPayloadDtoOrder {
16376
16430
  * @memberof PosOrderPayloadDtoOrder
16377
16431
  */
16378
16432
  'tableGroupId'?: string | null;
16433
+ /**
16434
+ * ID of the reservation this order was seated from, if any
16435
+ * @type {string}
16436
+ * @memberof PosOrderPayloadDtoOrder
16437
+ */
16438
+ 'reservationId'?: string | null;
16379
16439
  }
16380
16440
  /**
16381
16441
  *
@@ -17032,6 +17092,18 @@ export interface ProcessOrderActionsResponseDto {
17032
17092
  * @interface ProcessOrderActionsResponseDtoOrder
17033
17093
  */
17034
17094
  export interface ProcessOrderActionsResponseDtoOrder {
17095
+ /**
17096
+ * Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
17097
+ * @type {boolean}
17098
+ * @memberof ProcessOrderActionsResponseDtoOrder
17099
+ */
17100
+ 'hiddenFromOrderManager'?: boolean;
17101
+ /**
17102
+ * True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
17103
+ * @type {boolean}
17104
+ * @memberof ProcessOrderActionsResponseDtoOrder
17105
+ */
17106
+ 'readyControlledByKds'?: boolean;
17035
17107
  /**
17036
17108
  *
17037
17109
  * @type {string}
@@ -17260,6 +17332,12 @@ export interface ProcessOrderActionsResponseDtoOrder {
17260
17332
  * @memberof ProcessOrderActionsResponseDtoOrder
17261
17333
  */
17262
17334
  'tableGroupId'?: string | null;
17335
+ /**
17336
+ * ID of the reservation this order was seated from, if any
17337
+ * @type {string}
17338
+ * @memberof ProcessOrderActionsResponseDtoOrder
17339
+ */
17340
+ 'reservationId'?: string | null;
17263
17341
  }
17264
17342
  /**
17265
17343
  *
@@ -18283,6 +18361,18 @@ export interface RecordManualPaymentResultDto {
18283
18361
  * @interface RecordManualPaymentResultDtoOrder
18284
18362
  */
18285
18363
  export interface RecordManualPaymentResultDtoOrder {
18364
+ /**
18365
+ * Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
18366
+ * @type {boolean}
18367
+ * @memberof RecordManualPaymentResultDtoOrder
18368
+ */
18369
+ 'hiddenFromOrderManager'?: boolean;
18370
+ /**
18371
+ * True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
18372
+ * @type {boolean}
18373
+ * @memberof RecordManualPaymentResultDtoOrder
18374
+ */
18375
+ 'readyControlledByKds'?: boolean;
18286
18376
  /**
18287
18377
  *
18288
18378
  * @type {string}
@@ -18511,6 +18601,12 @@ export interface RecordManualPaymentResultDtoOrder {
18511
18601
  * @memberof RecordManualPaymentResultDtoOrder
18512
18602
  */
18513
18603
  'tableGroupId'?: string | null;
18604
+ /**
18605
+ * ID of the reservation this order was seated from, if any
18606
+ * @type {string}
18607
+ * @memberof RecordManualPaymentResultDtoOrder
18608
+ */
18609
+ 'reservationId'?: string | null;
18514
18610
  }
18515
18611
  /**
18516
18612
  *
@@ -19137,6 +19233,62 @@ export interface RequestSessionTokenResponseDto {
19137
19233
  */
19138
19234
  'sessionChannel': string;
19139
19235
  }
19236
+ /**
19237
+ *
19238
+ * @export
19239
+ * @interface ReservationAvailabilityResponseDto
19240
+ */
19241
+ export interface ReservationAvailabilityResponseDto {
19242
+ /**
19243
+ *
19244
+ * @type {string}
19245
+ * @memberof ReservationAvailabilityResponseDto
19246
+ */
19247
+ 'date': string;
19248
+ /**
19249
+ *
19250
+ * @type {string}
19251
+ * @memberof ReservationAvailabilityResponseDto
19252
+ */
19253
+ 'timezone': string;
19254
+ /**
19255
+ *
19256
+ * @type {number}
19257
+ * @memberof ReservationAvailabilityResponseDto
19258
+ */
19259
+ 'turnTimeMins': number;
19260
+ /**
19261
+ *
19262
+ * @type {Array<ReservationAvailabilitySlotDto>}
19263
+ * @memberof ReservationAvailabilityResponseDto
19264
+ */
19265
+ 'slots': Array<ReservationAvailabilitySlotDto>;
19266
+ }
19267
+ /**
19268
+ *
19269
+ * @export
19270
+ * @interface ReservationAvailabilitySlotDto
19271
+ */
19272
+ export interface ReservationAvailabilitySlotDto {
19273
+ /**
19274
+ *
19275
+ * @type {string}
19276
+ * @memberof ReservationAvailabilitySlotDto
19277
+ */
19278
+ 'time': string;
19279
+ /**
19280
+ * Exact UTC instant of the slot
19281
+ * @type {string}
19282
+ * @memberof ReservationAvailabilitySlotDto
19283
+ */
19284
+ 'startsAt': string;
19285
+ /**
19286
+ *
19287
+ * @type {number}
19288
+ * @memberof ReservationAvailabilitySlotDto
19289
+ */
19290
+ 'availableTables': number;
19291
+ }
19140
19292
  /**
19141
19293
  *
19142
19294
  * @export
@@ -19779,6 +19931,7 @@ export interface SingleProviderStatusResponseDtoActiveChannel {
19779
19931
  export declare const SourceType: {
19780
19932
  readonly Order: "ORDER";
19781
19933
  readonly Ticket: "TICKET";
19934
+ readonly KitchenTicket: "KITCHEN_TICKET";
19782
19935
  };
19783
19936
  export type SourceType = typeof SourceType[keyof typeof SourceType];
19784
19937
  /**
@@ -20409,6 +20562,18 @@ export interface SyncKioskOrderDto {
20409
20562
  * @interface SyncKioskOrderDtoOrder
20410
20563
  */
20411
20564
  export interface SyncKioskOrderDtoOrder {
20565
+ /**
20566
+ * Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
20567
+ * @type {boolean}
20568
+ * @memberof SyncKioskOrderDtoOrder
20569
+ */
20570
+ 'hiddenFromOrderManager'?: boolean;
20571
+ /**
20572
+ * True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
20573
+ * @type {boolean}
20574
+ * @memberof SyncKioskOrderDtoOrder
20575
+ */
20576
+ 'readyControlledByKds'?: boolean;
20412
20577
  /**
20413
20578
  *
20414
20579
  * @type {string}
@@ -20637,6 +20802,12 @@ export interface SyncKioskOrderDtoOrder {
20637
20802
  * @memberof SyncKioskOrderDtoOrder
20638
20803
  */
20639
20804
  'tableGroupId'?: string | null;
20805
+ /**
20806
+ * ID of the reservation this order was seated from, if any
20807
+ * @type {string}
20808
+ * @memberof SyncKioskOrderDtoOrder
20809
+ */
20810
+ 'reservationId'?: string | null;
20640
20811
  }
20641
20812
  /**
20642
20813
  *
@@ -20682,6 +20853,18 @@ export interface SyncPosOrderDto {
20682
20853
  * @interface SyncPosOrderDtoOrder
20683
20854
  */
20684
20855
  export interface SyncPosOrderDtoOrder {
20856
+ /**
20857
+ * Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
20858
+ * @type {boolean}
20859
+ * @memberof SyncPosOrderDtoOrder
20860
+ */
20861
+ 'hiddenFromOrderManager'?: boolean;
20862
+ /**
20863
+ * True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
20864
+ * @type {boolean}
20865
+ * @memberof SyncPosOrderDtoOrder
20866
+ */
20867
+ 'readyControlledByKds'?: boolean;
20685
20868
  /**
20686
20869
  *
20687
20870
  * @type {string}
@@ -20910,6 +21093,12 @@ export interface SyncPosOrderDtoOrder {
20910
21093
  * @memberof SyncPosOrderDtoOrder
20911
21094
  */
20912
21095
  'tableGroupId'?: string | null;
21096
+ /**
21097
+ * ID of the reservation this order was seated from, if any
21098
+ * @type {string}
21099
+ * @memberof SyncPosOrderDtoOrder
21100
+ */
21101
+ 'reservationId'?: string | null;
20913
21102
  }
20914
21103
  /**
20915
21104
  * POS order actions to run in the background after persist (same shape as /pos/actions). Omit to only sync the order.
@@ -21946,6 +22135,12 @@ export interface UnifiedOrderResponseDto {
21946
22135
  * @memberof UnifiedOrderResponseDto
21947
22136
  */
21948
22137
  'hiddenFromOrderManager'?: boolean;
22138
+ /**
22139
+ * True when the kitchen screen owns marking this ticket ready. False when no kitchen ticket exists and a manager must. Absent on older documents, where clients fall back to the business-level KDS integration check.
22140
+ * @type {boolean}
22141
+ * @memberof UnifiedOrderResponseDto
22142
+ */
22143
+ 'readyControlledByKds'?: boolean;
21949
22144
  /**
21950
22145
  *
21951
22146
  * @type {OrderSource}
@@ -23308,6 +23503,12 @@ export interface UpdateReservationDto {
23308
23503
  * @memberof UpdateReservationDto
23309
23504
  */
23310
23505
  'guestPhone'?: string;
23506
+ /**
23507
+ *
23508
+ * @type {string}
23509
+ * @memberof UpdateReservationDto
23510
+ */
23511
+ 'guestEmail'?: string;
23311
23512
  /**
23312
23513
  *
23313
23514
  * @type {string}
@@ -37454,10 +37655,11 @@ export declare const ReservationsApiAxiosParamCreator: (configuration?: Configur
37454
37655
  * @param {number} businessId
37455
37656
  * @param {string} date
37456
37657
  * @param {number} partySize
37658
+ * @param {string} [sectionId]
37457
37659
  * @param {*} [options] Override http request option.
37458
37660
  * @throws {RequiredError}
37459
37661
  */
37460
- getReservationAvailability: (businessId: number, date: string, partySize: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37662
+ getReservationAvailability: (businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37461
37663
  /**
37462
37664
  *
37463
37665
  * @summary Get the reservation policy
@@ -37548,10 +37750,11 @@ export declare const ReservationsApiFp: (configuration?: Configuration) => {
37548
37750
  * @param {number} businessId
37549
37751
  * @param {string} date
37550
37752
  * @param {number} partySize
37753
+ * @param {string} [sectionId]
37551
37754
  * @param {*} [options] Override http request option.
37552
37755
  * @throws {RequiredError}
37553
37756
  */
37554
- getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
37757
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
37555
37758
  /**
37556
37759
  *
37557
37760
  * @summary Get the reservation policy
@@ -37642,10 +37845,11 @@ export declare const ReservationsApiFactory: (configuration?: Configuration, bas
37642
37845
  * @param {number} businessId
37643
37846
  * @param {string} date
37644
37847
  * @param {number} partySize
37848
+ * @param {string} [sectionId]
37645
37849
  * @param {*} [options] Override http request option.
37646
37850
  * @throws {RequiredError}
37647
37851
  */
37648
- getReservationAvailability(businessId: number, date: string, partySize: number, options?: any): AxiosPromise<void>;
37852
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
37649
37853
  /**
37650
37854
  *
37651
37855
  * @summary Get the reservation policy
@@ -37738,11 +37942,12 @@ export interface ReservationsApiInterface {
37738
37942
  * @param {number} businessId
37739
37943
  * @param {string} date
37740
37944
  * @param {number} partySize
37945
+ * @param {string} [sectionId]
37741
37946
  * @param {*} [options] Override http request option.
37742
37947
  * @throws {RequiredError}
37743
37948
  * @memberof ReservationsApiInterface
37744
37949
  */
37745
- getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): AxiosPromise<void>;
37950
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
37746
37951
  /**
37747
37952
  *
37748
37953
  * @summary Get the reservation policy
@@ -37844,11 +38049,12 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
37844
38049
  * @param {number} businessId
37845
38050
  * @param {string} date
37846
38051
  * @param {number} partySize
38052
+ * @param {string} [sectionId]
37847
38053
  * @param {*} [options] Override http request option.
37848
38054
  * @throws {RequiredError}
37849
38055
  * @memberof ReservationsApi
37850
38056
  */
37851
- getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
38057
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
37852
38058
  /**
37853
38059
  *
37854
38060
  * @summary Get the reservation policy