@munchi_oy/core 1.9.87 → 1.9.88

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.
@@ -4180,6 +4180,12 @@ export interface CreateReservationDto {
4180
4180
  * @memberof CreateReservationDto
4181
4181
  */
4182
4182
  'guestPhone'?: string;
4183
+ /**
4184
+ *
4185
+ * @type {string}
4186
+ * @memberof CreateReservationDto
4187
+ */
4188
+ 'guestEmail'?: string;
4183
4189
  /**
4184
4190
  *
4185
4191
  * @type {string}
@@ -23240,6 +23246,12 @@ export interface UpdateReservationDto {
23240
23246
  * @memberof UpdateReservationDto
23241
23247
  */
23242
23248
  'guestPhone'?: string;
23249
+ /**
23250
+ *
23251
+ * @type {string}
23252
+ * @memberof UpdateReservationDto
23253
+ */
23254
+ 'guestEmail'?: string;
23243
23255
  /**
23244
23256
  *
23245
23257
  * @type {string}
@@ -37312,11 +37324,11 @@ export declare const ReservationsApiAxiosParamCreator: (configuration?: Configur
37312
37324
  * @summary List reservations for a business
37313
37325
  * @param {number} businessId
37314
37326
  * @param {string} [date]
37315
- * @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
37327
+ * @param {ReservationStatus} [status]
37316
37328
  * @param {*} [options] Override http request option.
37317
37329
  * @throws {RequiredError}
37318
37330
  */
37319
- listReservations: (businessId: number, date?: string, status?: "REQUESTED" | "CONFIRMED" | "WAITLIST" | "SEATED" | "NO_SHOW" | "COMPLETED" | "CANCELLED", options?: AxiosRequestConfig) => Promise<RequestArgs>;
37331
+ listReservations: (businessId: number, date?: string, status?: ReservationStatus, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37320
37332
  /**
37321
37333
  *
37322
37334
  * @summary Receive a booking event from the provider
@@ -37406,11 +37418,11 @@ export declare const ReservationsApiFp: (configuration?: Configuration) => {
37406
37418
  * @summary List reservations for a business
37407
37419
  * @param {number} businessId
37408
37420
  * @param {string} [date]
37409
- * @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
37421
+ * @param {ReservationStatus} [status]
37410
37422
  * @param {*} [options] Override http request option.
37411
37423
  * @throws {RequiredError}
37412
37424
  */
37413
- listReservations(businessId: number, date?: string, status?: "REQUESTED" | "CONFIRMED" | "WAITLIST" | "SEATED" | "NO_SHOW" | "COMPLETED" | "CANCELLED", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReservationResponseDto>>>;
37425
+ listReservations(businessId: number, date?: string, status?: ReservationStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReservationResponseDto>>>;
37414
37426
  /**
37415
37427
  *
37416
37428
  * @summary Receive a booking event from the provider
@@ -37500,11 +37512,11 @@ export declare const ReservationsApiFactory: (configuration?: Configuration, bas
37500
37512
  * @summary List reservations for a business
37501
37513
  * @param {number} businessId
37502
37514
  * @param {string} [date]
37503
- * @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
37515
+ * @param {ReservationStatus} [status]
37504
37516
  * @param {*} [options] Override http request option.
37505
37517
  * @throws {RequiredError}
37506
37518
  */
37507
- listReservations(businessId: number, date?: string, status?: "REQUESTED" | "CONFIRMED" | "WAITLIST" | "SEATED" | "NO_SHOW" | "COMPLETED" | "CANCELLED", options?: any): AxiosPromise<Array<ReservationResponseDto>>;
37519
+ listReservations(businessId: number, date?: string, status?: ReservationStatus, options?: any): AxiosPromise<Array<ReservationResponseDto>>;
37508
37520
  /**
37509
37521
  *
37510
37522
  * @summary Receive a booking event from the provider
@@ -37599,12 +37611,12 @@ export interface ReservationsApiInterface {
37599
37611
  * @summary List reservations for a business
37600
37612
  * @param {number} businessId
37601
37613
  * @param {string} [date]
37602
- * @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
37614
+ * @param {ReservationStatus} [status]
37603
37615
  * @param {*} [options] Override http request option.
37604
37616
  * @throws {RequiredError}
37605
37617
  * @memberof ReservationsApiInterface
37606
37618
  */
37607
- listReservations(businessId: number, date?: string, status?: 'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED', options?: AxiosRequestConfig): AxiosPromise<Array<ReservationResponseDto>>;
37619
+ listReservations(businessId: number, date?: string, status?: ReservationStatus, options?: AxiosRequestConfig): AxiosPromise<Array<ReservationResponseDto>>;
37608
37620
  /**
37609
37621
  *
37610
37622
  * @summary Receive a booking event from the provider
@@ -37705,12 +37717,12 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
37705
37717
  * @summary List reservations for a business
37706
37718
  * @param {number} businessId
37707
37719
  * @param {string} [date]
37708
- * @param {'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED'} [status]
37720
+ * @param {ReservationStatus} [status]
37709
37721
  * @param {*} [options] Override http request option.
37710
37722
  * @throws {RequiredError}
37711
37723
  * @memberof ReservationsApi
37712
37724
  */
37713
- listReservations(businessId: number, date?: string, status?: 'REQUESTED' | 'CONFIRMED' | 'WAITLIST' | 'SEATED' | 'NO_SHOW' | 'COMPLETED' | 'CANCELLED', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationResponseDto[], any, {}>>;
37725
+ listReservations(businessId: number, date?: string, status?: ReservationStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationResponseDto[], any, {}>>;
37714
37726
  /**
37715
37727
  *
37716
37728
  * @summary Receive a booking event from the provider