@munchi_oy/core 1.9.86 → 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.
- package/dist/generated/api.d.ts +40 -28
- 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 +40 -28
- package/package.json +15 -13
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -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}
|
|
@@ -19095,16 +19101,16 @@ export interface ReservationResponseDto {
|
|
|
19095
19101
|
'orderingBusinessId': number;
|
|
19096
19102
|
/**
|
|
19097
19103
|
*
|
|
19098
|
-
* @type {
|
|
19104
|
+
* @type {string}
|
|
19099
19105
|
* @memberof ReservationResponseDto
|
|
19100
19106
|
*/
|
|
19101
|
-
'externalId':
|
|
19107
|
+
'externalId': string | null;
|
|
19102
19108
|
/**
|
|
19103
19109
|
*
|
|
19104
|
-
* @type {
|
|
19110
|
+
* @type {string}
|
|
19105
19111
|
* @memberof ReservationResponseDto
|
|
19106
19112
|
*/
|
|
19107
|
-
'referenceCode':
|
|
19113
|
+
'referenceCode': string | null;
|
|
19108
19114
|
/**
|
|
19109
19115
|
*
|
|
19110
19116
|
* @type {ReservationSource}
|
|
@@ -19131,34 +19137,34 @@ export interface ReservationResponseDto {
|
|
|
19131
19137
|
'startsAt': string;
|
|
19132
19138
|
/**
|
|
19133
19139
|
*
|
|
19134
|
-
* @type {
|
|
19140
|
+
* @type {number}
|
|
19135
19141
|
* @memberof ReservationResponseDto
|
|
19136
19142
|
*/
|
|
19137
|
-
'durationMins':
|
|
19143
|
+
'durationMins': number | null;
|
|
19138
19144
|
/**
|
|
19139
19145
|
*
|
|
19140
|
-
* @type {
|
|
19146
|
+
* @type {string}
|
|
19141
19147
|
* @memberof ReservationResponseDto
|
|
19142
19148
|
*/
|
|
19143
|
-
'guestName':
|
|
19149
|
+
'guestName': string | null;
|
|
19144
19150
|
/**
|
|
19145
19151
|
*
|
|
19146
|
-
* @type {
|
|
19152
|
+
* @type {string}
|
|
19147
19153
|
* @memberof ReservationResponseDto
|
|
19148
19154
|
*/
|
|
19149
|
-
'guestPhone':
|
|
19155
|
+
'guestPhone': string | null;
|
|
19150
19156
|
/**
|
|
19151
19157
|
*
|
|
19152
|
-
* @type {
|
|
19158
|
+
* @type {string}
|
|
19153
19159
|
* @memberof ReservationResponseDto
|
|
19154
19160
|
*/
|
|
19155
|
-
'guestEmail':
|
|
19161
|
+
'guestEmail': string | null;
|
|
19156
19162
|
/**
|
|
19157
19163
|
*
|
|
19158
|
-
* @type {
|
|
19164
|
+
* @type {string}
|
|
19159
19165
|
* @memberof ReservationResponseDto
|
|
19160
19166
|
*/
|
|
19161
|
-
'notes':
|
|
19167
|
+
'notes': string | null;
|
|
19162
19168
|
/**
|
|
19163
19169
|
*
|
|
19164
19170
|
* @type {Array<string>}
|
|
@@ -19173,16 +19179,16 @@ export interface ReservationResponseDto {
|
|
|
19173
19179
|
'tableIds': Array<string>;
|
|
19174
19180
|
/**
|
|
19175
19181
|
*
|
|
19176
|
-
* @type {
|
|
19182
|
+
* @type {string}
|
|
19177
19183
|
* @memberof ReservationResponseDto
|
|
19178
19184
|
*/
|
|
19179
|
-
'tableGroupId':
|
|
19185
|
+
'tableGroupId': string | null;
|
|
19180
19186
|
/**
|
|
19181
19187
|
*
|
|
19182
|
-
* @type {
|
|
19188
|
+
* @type {string}
|
|
19183
19189
|
* @memberof ReservationResponseDto
|
|
19184
19190
|
*/
|
|
19185
|
-
'orderId':
|
|
19191
|
+
'orderId': string | null;
|
|
19186
19192
|
/**
|
|
19187
19193
|
*
|
|
19188
19194
|
* @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 {
|
|
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?:
|
|
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 {
|
|
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?:
|
|
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 {
|
|
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?:
|
|
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 {
|
|
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?:
|
|
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 {
|
|
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?:
|
|
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
|