@munchi_oy/core 1.9.91 → 1.9.92
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 +169 -5
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +177 -9
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -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}
|
|
@@ -4180,6 +4192,12 @@ export interface CreateReservationDto {
|
|
|
4180
4192
|
* @memberof CreateReservationDto
|
|
4181
4193
|
*/
|
|
4182
4194
|
'guestPhone'?: string;
|
|
4195
|
+
/**
|
|
4196
|
+
*
|
|
4197
|
+
* @type {string}
|
|
4198
|
+
* @memberof CreateReservationDto
|
|
4199
|
+
*/
|
|
4200
|
+
'guestEmail'?: string;
|
|
4183
4201
|
/**
|
|
4184
4202
|
*
|
|
4185
4203
|
* @type {string}
|
|
@@ -15342,6 +15360,18 @@ export interface PosMenuTaxDto {
|
|
|
15342
15360
|
* @interface PosOrderDto
|
|
15343
15361
|
*/
|
|
15344
15362
|
export interface PosOrderDto {
|
|
15363
|
+
/**
|
|
15364
|
+
* 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.
|
|
15365
|
+
* @type {boolean}
|
|
15366
|
+
* @memberof PosOrderDto
|
|
15367
|
+
*/
|
|
15368
|
+
'hiddenFromOrderManager'?: boolean;
|
|
15369
|
+
/**
|
|
15370
|
+
* 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.
|
|
15371
|
+
* @type {boolean}
|
|
15372
|
+
* @memberof PosOrderDto
|
|
15373
|
+
*/
|
|
15374
|
+
'readyControlledByKds'?: boolean;
|
|
15345
15375
|
/**
|
|
15346
15376
|
*
|
|
15347
15377
|
* @type {string}
|
|
@@ -16148,6 +16178,18 @@ export interface PosOrderPayloadDto {
|
|
|
16148
16178
|
* @interface PosOrderPayloadDtoOrder
|
|
16149
16179
|
*/
|
|
16150
16180
|
export interface PosOrderPayloadDtoOrder {
|
|
16181
|
+
/**
|
|
16182
|
+
* 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.
|
|
16183
|
+
* @type {boolean}
|
|
16184
|
+
* @memberof PosOrderPayloadDtoOrder
|
|
16185
|
+
*/
|
|
16186
|
+
'hiddenFromOrderManager'?: boolean;
|
|
16187
|
+
/**
|
|
16188
|
+
* 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.
|
|
16189
|
+
* @type {boolean}
|
|
16190
|
+
* @memberof PosOrderPayloadDtoOrder
|
|
16191
|
+
*/
|
|
16192
|
+
'readyControlledByKds'?: boolean;
|
|
16151
16193
|
/**
|
|
16152
16194
|
*
|
|
16153
16195
|
* @type {string}
|
|
@@ -17032,6 +17074,18 @@ export interface ProcessOrderActionsResponseDto {
|
|
|
17032
17074
|
* @interface ProcessOrderActionsResponseDtoOrder
|
|
17033
17075
|
*/
|
|
17034
17076
|
export interface ProcessOrderActionsResponseDtoOrder {
|
|
17077
|
+
/**
|
|
17078
|
+
* 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.
|
|
17079
|
+
* @type {boolean}
|
|
17080
|
+
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
17081
|
+
*/
|
|
17082
|
+
'hiddenFromOrderManager'?: boolean;
|
|
17083
|
+
/**
|
|
17084
|
+
* 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.
|
|
17085
|
+
* @type {boolean}
|
|
17086
|
+
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
17087
|
+
*/
|
|
17088
|
+
'readyControlledByKds'?: boolean;
|
|
17035
17089
|
/**
|
|
17036
17090
|
*
|
|
17037
17091
|
* @type {string}
|
|
@@ -18283,6 +18337,18 @@ export interface RecordManualPaymentResultDto {
|
|
|
18283
18337
|
* @interface RecordManualPaymentResultDtoOrder
|
|
18284
18338
|
*/
|
|
18285
18339
|
export interface RecordManualPaymentResultDtoOrder {
|
|
18340
|
+
/**
|
|
18341
|
+
* 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.
|
|
18342
|
+
* @type {boolean}
|
|
18343
|
+
* @memberof RecordManualPaymentResultDtoOrder
|
|
18344
|
+
*/
|
|
18345
|
+
'hiddenFromOrderManager'?: boolean;
|
|
18346
|
+
/**
|
|
18347
|
+
* 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.
|
|
18348
|
+
* @type {boolean}
|
|
18349
|
+
* @memberof RecordManualPaymentResultDtoOrder
|
|
18350
|
+
*/
|
|
18351
|
+
'readyControlledByKds'?: boolean;
|
|
18286
18352
|
/**
|
|
18287
18353
|
*
|
|
18288
18354
|
* @type {string}
|
|
@@ -19137,6 +19203,62 @@ export interface RequestSessionTokenResponseDto {
|
|
|
19137
19203
|
*/
|
|
19138
19204
|
'sessionChannel': string;
|
|
19139
19205
|
}
|
|
19206
|
+
/**
|
|
19207
|
+
*
|
|
19208
|
+
* @export
|
|
19209
|
+
* @interface ReservationAvailabilityResponseDto
|
|
19210
|
+
*/
|
|
19211
|
+
export interface ReservationAvailabilityResponseDto {
|
|
19212
|
+
/**
|
|
19213
|
+
*
|
|
19214
|
+
* @type {string}
|
|
19215
|
+
* @memberof ReservationAvailabilityResponseDto
|
|
19216
|
+
*/
|
|
19217
|
+
'date': string;
|
|
19218
|
+
/**
|
|
19219
|
+
*
|
|
19220
|
+
* @type {string}
|
|
19221
|
+
* @memberof ReservationAvailabilityResponseDto
|
|
19222
|
+
*/
|
|
19223
|
+
'timezone': string;
|
|
19224
|
+
/**
|
|
19225
|
+
*
|
|
19226
|
+
* @type {number}
|
|
19227
|
+
* @memberof ReservationAvailabilityResponseDto
|
|
19228
|
+
*/
|
|
19229
|
+
'turnTimeMins': number;
|
|
19230
|
+
/**
|
|
19231
|
+
*
|
|
19232
|
+
* @type {Array<ReservationAvailabilitySlotDto>}
|
|
19233
|
+
* @memberof ReservationAvailabilityResponseDto
|
|
19234
|
+
*/
|
|
19235
|
+
'slots': Array<ReservationAvailabilitySlotDto>;
|
|
19236
|
+
}
|
|
19237
|
+
/**
|
|
19238
|
+
*
|
|
19239
|
+
* @export
|
|
19240
|
+
* @interface ReservationAvailabilitySlotDto
|
|
19241
|
+
*/
|
|
19242
|
+
export interface ReservationAvailabilitySlotDto {
|
|
19243
|
+
/**
|
|
19244
|
+
*
|
|
19245
|
+
* @type {string}
|
|
19246
|
+
* @memberof ReservationAvailabilitySlotDto
|
|
19247
|
+
*/
|
|
19248
|
+
'time': string;
|
|
19249
|
+
/**
|
|
19250
|
+
* Exact UTC instant of the slot
|
|
19251
|
+
* @type {string}
|
|
19252
|
+
* @memberof ReservationAvailabilitySlotDto
|
|
19253
|
+
*/
|
|
19254
|
+
'startsAt': string;
|
|
19255
|
+
/**
|
|
19256
|
+
*
|
|
19257
|
+
* @type {number}
|
|
19258
|
+
* @memberof ReservationAvailabilitySlotDto
|
|
19259
|
+
*/
|
|
19260
|
+
'availableTables': number;
|
|
19261
|
+
}
|
|
19140
19262
|
/**
|
|
19141
19263
|
*
|
|
19142
19264
|
* @export
|
|
@@ -19779,6 +19901,7 @@ export interface SingleProviderStatusResponseDtoActiveChannel {
|
|
|
19779
19901
|
export declare const SourceType: {
|
|
19780
19902
|
readonly Order: "ORDER";
|
|
19781
19903
|
readonly Ticket: "TICKET";
|
|
19904
|
+
readonly KitchenTicket: "KITCHEN_TICKET";
|
|
19782
19905
|
};
|
|
19783
19906
|
export type SourceType = typeof SourceType[keyof typeof SourceType];
|
|
19784
19907
|
/**
|
|
@@ -20409,6 +20532,18 @@ export interface SyncKioskOrderDto {
|
|
|
20409
20532
|
* @interface SyncKioskOrderDtoOrder
|
|
20410
20533
|
*/
|
|
20411
20534
|
export interface SyncKioskOrderDtoOrder {
|
|
20535
|
+
/**
|
|
20536
|
+
* 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.
|
|
20537
|
+
* @type {boolean}
|
|
20538
|
+
* @memberof SyncKioskOrderDtoOrder
|
|
20539
|
+
*/
|
|
20540
|
+
'hiddenFromOrderManager'?: boolean;
|
|
20541
|
+
/**
|
|
20542
|
+
* 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.
|
|
20543
|
+
* @type {boolean}
|
|
20544
|
+
* @memberof SyncKioskOrderDtoOrder
|
|
20545
|
+
*/
|
|
20546
|
+
'readyControlledByKds'?: boolean;
|
|
20412
20547
|
/**
|
|
20413
20548
|
*
|
|
20414
20549
|
* @type {string}
|
|
@@ -20682,6 +20817,18 @@ export interface SyncPosOrderDto {
|
|
|
20682
20817
|
* @interface SyncPosOrderDtoOrder
|
|
20683
20818
|
*/
|
|
20684
20819
|
export interface SyncPosOrderDtoOrder {
|
|
20820
|
+
/**
|
|
20821
|
+
* 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.
|
|
20822
|
+
* @type {boolean}
|
|
20823
|
+
* @memberof SyncPosOrderDtoOrder
|
|
20824
|
+
*/
|
|
20825
|
+
'hiddenFromOrderManager'?: boolean;
|
|
20826
|
+
/**
|
|
20827
|
+
* 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.
|
|
20828
|
+
* @type {boolean}
|
|
20829
|
+
* @memberof SyncPosOrderDtoOrder
|
|
20830
|
+
*/
|
|
20831
|
+
'readyControlledByKds'?: boolean;
|
|
20685
20832
|
/**
|
|
20686
20833
|
*
|
|
20687
20834
|
* @type {string}
|
|
@@ -21946,6 +22093,12 @@ export interface UnifiedOrderResponseDto {
|
|
|
21946
22093
|
* @memberof UnifiedOrderResponseDto
|
|
21947
22094
|
*/
|
|
21948
22095
|
'hiddenFromOrderManager'?: boolean;
|
|
22096
|
+
/**
|
|
22097
|
+
* 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.
|
|
22098
|
+
* @type {boolean}
|
|
22099
|
+
* @memberof UnifiedOrderResponseDto
|
|
22100
|
+
*/
|
|
22101
|
+
'readyControlledByKds'?: boolean;
|
|
21949
22102
|
/**
|
|
21950
22103
|
*
|
|
21951
22104
|
* @type {OrderSource}
|
|
@@ -23308,6 +23461,12 @@ export interface UpdateReservationDto {
|
|
|
23308
23461
|
* @memberof UpdateReservationDto
|
|
23309
23462
|
*/
|
|
23310
23463
|
'guestPhone'?: string;
|
|
23464
|
+
/**
|
|
23465
|
+
*
|
|
23466
|
+
* @type {string}
|
|
23467
|
+
* @memberof UpdateReservationDto
|
|
23468
|
+
*/
|
|
23469
|
+
'guestEmail'?: string;
|
|
23311
23470
|
/**
|
|
23312
23471
|
*
|
|
23313
23472
|
* @type {string}
|
|
@@ -37454,10 +37613,11 @@ export declare const ReservationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
37454
37613
|
* @param {number} businessId
|
|
37455
37614
|
* @param {string} date
|
|
37456
37615
|
* @param {number} partySize
|
|
37616
|
+
* @param {string} [sectionId]
|
|
37457
37617
|
* @param {*} [options] Override http request option.
|
|
37458
37618
|
* @throws {RequiredError}
|
|
37459
37619
|
*/
|
|
37460
|
-
getReservationAvailability: (businessId: number, date: string, partySize: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37620
|
+
getReservationAvailability: (businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37461
37621
|
/**
|
|
37462
37622
|
*
|
|
37463
37623
|
* @summary Get the reservation policy
|
|
@@ -37548,10 +37708,11 @@ export declare const ReservationsApiFp: (configuration?: Configuration) => {
|
|
|
37548
37708
|
* @param {number} businessId
|
|
37549
37709
|
* @param {string} date
|
|
37550
37710
|
* @param {number} partySize
|
|
37711
|
+
* @param {string} [sectionId]
|
|
37551
37712
|
* @param {*} [options] Override http request option.
|
|
37552
37713
|
* @throws {RequiredError}
|
|
37553
37714
|
*/
|
|
37554
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
37715
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
|
|
37555
37716
|
/**
|
|
37556
37717
|
*
|
|
37557
37718
|
* @summary Get the reservation policy
|
|
@@ -37642,10 +37803,11 @@ export declare const ReservationsApiFactory: (configuration?: Configuration, bas
|
|
|
37642
37803
|
* @param {number} businessId
|
|
37643
37804
|
* @param {string} date
|
|
37644
37805
|
* @param {number} partySize
|
|
37806
|
+
* @param {string} [sectionId]
|
|
37645
37807
|
* @param {*} [options] Override http request option.
|
|
37646
37808
|
* @throws {RequiredError}
|
|
37647
37809
|
*/
|
|
37648
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: any): AxiosPromise<
|
|
37810
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
|
|
37649
37811
|
/**
|
|
37650
37812
|
*
|
|
37651
37813
|
* @summary Get the reservation policy
|
|
@@ -37738,11 +37900,12 @@ export interface ReservationsApiInterface {
|
|
|
37738
37900
|
* @param {number} businessId
|
|
37739
37901
|
* @param {string} date
|
|
37740
37902
|
* @param {number} partySize
|
|
37903
|
+
* @param {string} [sectionId]
|
|
37741
37904
|
* @param {*} [options] Override http request option.
|
|
37742
37905
|
* @throws {RequiredError}
|
|
37743
37906
|
* @memberof ReservationsApiInterface
|
|
37744
37907
|
*/
|
|
37745
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): AxiosPromise<
|
|
37908
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
|
|
37746
37909
|
/**
|
|
37747
37910
|
*
|
|
37748
37911
|
* @summary Get the reservation policy
|
|
@@ -37844,11 +38007,12 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
|
|
|
37844
38007
|
* @param {number} businessId
|
|
37845
38008
|
* @param {string} date
|
|
37846
38009
|
* @param {number} partySize
|
|
38010
|
+
* @param {string} [sectionId]
|
|
37847
38011
|
* @param {*} [options] Override http request option.
|
|
37848
38012
|
* @throws {RequiredError}
|
|
37849
38013
|
* @memberof ReservationsApi
|
|
37850
38014
|
*/
|
|
37851
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
38015
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
|
|
37852
38016
|
/**
|
|
37853
38017
|
*
|
|
37854
38018
|
* @summary Get the reservation policy
|