@munchi_oy/core 1.9.88 → 1.9.89

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.
@@ -19081,6 +19081,56 @@ export interface RequestSessionTokenResponseDto {
19081
19081
  */
19082
19082
  'sessionChannel': string;
19083
19083
  }
19084
+ /**
19085
+ *
19086
+ * @export
19087
+ * @interface ReservationAvailabilityResponseDto
19088
+ */
19089
+ export interface ReservationAvailabilityResponseDto {
19090
+ /**
19091
+ *
19092
+ * @type {string}
19093
+ * @memberof ReservationAvailabilityResponseDto
19094
+ */
19095
+ 'date': string;
19096
+ /**
19097
+ *
19098
+ * @type {string}
19099
+ * @memberof ReservationAvailabilityResponseDto
19100
+ */
19101
+ 'timezone': string;
19102
+ /**
19103
+ *
19104
+ * @type {number}
19105
+ * @memberof ReservationAvailabilityResponseDto
19106
+ */
19107
+ 'turnTimeMins': number;
19108
+ /**
19109
+ *
19110
+ * @type {Array<ReservationAvailabilitySlotDto>}
19111
+ * @memberof ReservationAvailabilityResponseDto
19112
+ */
19113
+ 'slots': Array<ReservationAvailabilitySlotDto>;
19114
+ }
19115
+ /**
19116
+ *
19117
+ * @export
19118
+ * @interface ReservationAvailabilitySlotDto
19119
+ */
19120
+ export interface ReservationAvailabilitySlotDto {
19121
+ /**
19122
+ *
19123
+ * @type {string}
19124
+ * @memberof ReservationAvailabilitySlotDto
19125
+ */
19126
+ 'time': string;
19127
+ /**
19128
+ *
19129
+ * @type {number}
19130
+ * @memberof ReservationAvailabilitySlotDto
19131
+ */
19132
+ 'availableTables': number;
19133
+ }
19084
19134
  /**
19085
19135
  *
19086
19136
  * @export
@@ -37396,7 +37446,7 @@ export declare const ReservationsApiFp: (configuration?: Configuration) => {
37396
37446
  * @param {*} [options] Override http request option.
37397
37447
  * @throws {RequiredError}
37398
37448
  */
37399
- getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
37449
+ getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
37400
37450
  /**
37401
37451
  *
37402
37452
  * @summary Get the reservation policy
@@ -37490,7 +37540,7 @@ export declare const ReservationsApiFactory: (configuration?: Configuration, bas
37490
37540
  * @param {*} [options] Override http request option.
37491
37541
  * @throws {RequiredError}
37492
37542
  */
37493
- getReservationAvailability(businessId: number, date: string, partySize: number, options?: any): AxiosPromise<void>;
37543
+ getReservationAvailability(businessId: number, date: string, partySize: number, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
37494
37544
  /**
37495
37545
  *
37496
37546
  * @summary Get the reservation policy
@@ -37587,7 +37637,7 @@ export interface ReservationsApiInterface {
37587
37637
  * @throws {RequiredError}
37588
37638
  * @memberof ReservationsApiInterface
37589
37639
  */
37590
- getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): AxiosPromise<void>;
37640
+ getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
37591
37641
  /**
37592
37642
  *
37593
37643
  * @summary Get the reservation policy
@@ -37693,7 +37743,7 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
37693
37743
  * @throws {RequiredError}
37694
37744
  * @memberof ReservationsApi
37695
37745
  */
37696
- getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
37746
+ getReservationAvailability(businessId: number, date: string, partySize: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
37697
37747
  /**
37698
37748
  *
37699
37749
  * @summary Get the reservation policy