@munchi_oy/core 2.6.1 → 2.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.
- package/dist/generated/api.d.ts +11 -6
- 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 +18 -9
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -34667,7 +34667,7 @@ export interface UpdateReservationPolicyDto {
|
|
|
34667
34667
|
*/
|
|
34668
34668
|
'bufferMins'?: number;
|
|
34669
34669
|
/**
|
|
34670
|
-
* How many minutes ahead the earliest slot must start; 30 on create when absent
|
|
34670
|
+
* How many minutes ahead the earliest slot must start for a guest booking; bookings staff enter ignore it; 30 on create when absent
|
|
34671
34671
|
* @type {number}
|
|
34672
34672
|
* @memberof UpdateReservationPolicyDto
|
|
34673
34673
|
*/
|
|
@@ -54413,10 +54413,11 @@ export declare const ReservationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
54413
54413
|
* @param {number} partySize How many guests the booking is for
|
|
54414
54414
|
* @param {string} [sectionId] Only the tables of this floor section; every section when absent
|
|
54415
54415
|
* @param {string} [excludeReservationId] A booking being edited: its own hold is left out, so its current slot shows as free
|
|
54416
|
+
* @param {ReservationSource} [source] How the booking is being made. WALK_IN, PHONE and POS are entered by staff, so they ignore the policy\'s minimum lead time; start times already past are still left out. Held to the lead time when absent
|
|
54416
54417
|
* @param {*} [options] Override http request option.
|
|
54417
54418
|
* @throws {RequiredError}
|
|
54418
54419
|
*/
|
|
54419
|
-
getReservationAvailability: (businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54420
|
+
getReservationAvailability: (businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, source?: ReservationSource, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54420
54421
|
/**
|
|
54421
54422
|
* The venue\'s policy row, kept 300 seconds. A venue without a policy is answered with an empty body and read from the database each time.
|
|
54422
54423
|
* @summary Get the reservation policy
|
|
@@ -54509,10 +54510,11 @@ export declare const ReservationsApiFp: (configuration?: Configuration) => {
|
|
|
54509
54510
|
* @param {number} partySize How many guests the booking is for
|
|
54510
54511
|
* @param {string} [sectionId] Only the tables of this floor section; every section when absent
|
|
54511
54512
|
* @param {string} [excludeReservationId] A booking being edited: its own hold is left out, so its current slot shows as free
|
|
54513
|
+
* @param {ReservationSource} [source] How the booking is being made. WALK_IN, PHONE and POS are entered by staff, so they ignore the policy\'s minimum lead time; start times already past are still left out. Held to the lead time when absent
|
|
54512
54514
|
* @param {*} [options] Override http request option.
|
|
54513
54515
|
* @throws {RequiredError}
|
|
54514
54516
|
*/
|
|
54515
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
|
|
54517
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, source?: ReservationSource, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
|
|
54516
54518
|
/**
|
|
54517
54519
|
* The venue\'s policy row, kept 300 seconds. A venue without a policy is answered with an empty body and read from the database each time.
|
|
54518
54520
|
* @summary Get the reservation policy
|
|
@@ -54605,10 +54607,11 @@ export declare const ReservationsApiFactory: (configuration?: Configuration, bas
|
|
|
54605
54607
|
* @param {number} partySize How many guests the booking is for
|
|
54606
54608
|
* @param {string} [sectionId] Only the tables of this floor section; every section when absent
|
|
54607
54609
|
* @param {string} [excludeReservationId] A booking being edited: its own hold is left out, so its current slot shows as free
|
|
54610
|
+
* @param {ReservationSource} [source] How the booking is being made. WALK_IN, PHONE and POS are entered by staff, so they ignore the policy\'s minimum lead time; start times already past are still left out. Held to the lead time when absent
|
|
54608
54611
|
* @param {*} [options] Override http request option.
|
|
54609
54612
|
* @throws {RequiredError}
|
|
54610
54613
|
*/
|
|
54611
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
|
|
54614
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, source?: ReservationSource, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
|
|
54612
54615
|
/**
|
|
54613
54616
|
* The venue\'s policy row, kept 300 seconds. A venue without a policy is answered with an empty body and read from the database each time.
|
|
54614
54617
|
* @summary Get the reservation policy
|
|
@@ -54703,11 +54706,12 @@ export interface ReservationsApiInterface {
|
|
|
54703
54706
|
* @param {number} partySize How many guests the booking is for
|
|
54704
54707
|
* @param {string} [sectionId] Only the tables of this floor section; every section when absent
|
|
54705
54708
|
* @param {string} [excludeReservationId] A booking being edited: its own hold is left out, so its current slot shows as free
|
|
54709
|
+
* @param {ReservationSource} [source] How the booking is being made. WALK_IN, PHONE and POS are entered by staff, so they ignore the policy\'s minimum lead time; start times already past are still left out. Held to the lead time when absent
|
|
54706
54710
|
* @param {*} [options] Override http request option.
|
|
54707
54711
|
* @throws {RequiredError}
|
|
54708
54712
|
* @memberof ReservationsApiInterface
|
|
54709
54713
|
*/
|
|
54710
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
|
|
54714
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, source?: ReservationSource, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
|
|
54711
54715
|
/**
|
|
54712
54716
|
* The venue\'s policy row, kept 300 seconds. A venue without a policy is answered with an empty body and read from the database each time.
|
|
54713
54717
|
* @summary Get the reservation policy
|
|
@@ -54811,11 +54815,12 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
|
|
|
54811
54815
|
* @param {number} partySize How many guests the booking is for
|
|
54812
54816
|
* @param {string} [sectionId] Only the tables of this floor section; every section when absent
|
|
54813
54817
|
* @param {string} [excludeReservationId] A booking being edited: its own hold is left out, so its current slot shows as free
|
|
54818
|
+
* @param {ReservationSource} [source] How the booking is being made. WALK_IN, PHONE and POS are entered by staff, so they ignore the policy\'s minimum lead time; start times already past are still left out. Held to the lead time when absent
|
|
54814
54819
|
* @param {*} [options] Override http request option.
|
|
54815
54820
|
* @throws {RequiredError}
|
|
54816
54821
|
* @memberof ReservationsApi
|
|
54817
54822
|
*/
|
|
54818
|
-
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
|
|
54823
|
+
getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, source?: ReservationSource, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
|
|
54819
54824
|
/**
|
|
54820
54825
|
* The venue\'s policy row, kept 300 seconds. A venue without a policy is answered with an empty body and read from the database each time.
|
|
54821
54826
|
* @summary Get the reservation policy
|