@munchi_oy/core 1.2.6 → 1.2.7
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 +61 -0
- 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/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -6171,6 +6171,18 @@ export interface MenuDto {
|
|
|
6171
6171
|
* @memberof MenuDto
|
|
6172
6172
|
*/
|
|
6173
6173
|
'cid': Array<string>;
|
|
6174
|
+
/**
|
|
6175
|
+
* Weekly schedule for the menu (7 days)
|
|
6176
|
+
* @type {Array<ScheduleDto>}
|
|
6177
|
+
* @memberof MenuDto
|
|
6178
|
+
*/
|
|
6179
|
+
'schedule'?: Array<ScheduleDto>;
|
|
6180
|
+
/**
|
|
6181
|
+
* Whether this menu uses the business-level schedule
|
|
6182
|
+
* @type {boolean}
|
|
6183
|
+
* @memberof MenuDto
|
|
6184
|
+
*/
|
|
6185
|
+
'use_business_schedule'?: boolean;
|
|
6174
6186
|
}
|
|
6175
6187
|
/**
|
|
6176
6188
|
*
|
|
@@ -9023,6 +9035,8 @@ export declare const PaymentFailureCode: {
|
|
|
9023
9035
|
readonly PaymentCardInvalid: "payment.card_invalid";
|
|
9024
9036
|
readonly PaymentPinError: "payment.pin_error";
|
|
9025
9037
|
readonly PaymentDeclined: "payment.declined";
|
|
9038
|
+
readonly PaymentTimeout: "payment.timeout";
|
|
9039
|
+
readonly PaymentUnknown: "payment.unknown";
|
|
9026
9040
|
readonly TerminalOffline: "terminal.offline";
|
|
9027
9041
|
readonly TerminalTimeout: "terminal.timeout";
|
|
9028
9042
|
readonly TerminalBusy: "terminal.busy";
|
|
@@ -17462,6 +17476,15 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
17462
17476
|
* @throws {RequiredError}
|
|
17463
17477
|
*/
|
|
17464
17478
|
getBusinessMenuByTypeV3: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17479
|
+
/**
|
|
17480
|
+
*
|
|
17481
|
+
* @summary Get business menu by type V4
|
|
17482
|
+
* @param {string} businessId
|
|
17483
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
17484
|
+
* @param {*} [options] Override http request option.
|
|
17485
|
+
* @throws {RequiredError}
|
|
17486
|
+
*/
|
|
17487
|
+
getBusinessMenuByTypeV4: (businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17465
17488
|
/**
|
|
17466
17489
|
*
|
|
17467
17490
|
* @param {string} businessId Id of the business
|
|
@@ -17640,6 +17663,15 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
|
|
|
17640
17663
|
* @throws {RequiredError}
|
|
17641
17664
|
*/
|
|
17642
17665
|
getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
|
|
17666
|
+
/**
|
|
17667
|
+
*
|
|
17668
|
+
* @summary Get business menu by type V4
|
|
17669
|
+
* @param {string} businessId
|
|
17670
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
17671
|
+
* @param {*} [options] Override http request option.
|
|
17672
|
+
* @throws {RequiredError}
|
|
17673
|
+
*/
|
|
17674
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MenuReponseDto>>;
|
|
17643
17675
|
/**
|
|
17644
17676
|
*
|
|
17645
17677
|
* @param {string} businessId Id of the business
|
|
@@ -17818,6 +17850,15 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
|
|
|
17818
17850
|
* @throws {RequiredError}
|
|
17819
17851
|
*/
|
|
17820
17852
|
getBusinessMenuByTypeV3(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<MenuReponseDto>;
|
|
17853
|
+
/**
|
|
17854
|
+
*
|
|
17855
|
+
* @summary Get business menu by type V4
|
|
17856
|
+
* @param {string} businessId
|
|
17857
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
17858
|
+
* @param {*} [options] Override http request option.
|
|
17859
|
+
* @throws {RequiredError}
|
|
17860
|
+
*/
|
|
17861
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: "pos" | "kiosk", options?: any): AxiosPromise<MenuReponseDto>;
|
|
17821
17862
|
/**
|
|
17822
17863
|
*
|
|
17823
17864
|
* @param {string} businessId Id of the business
|
|
@@ -18009,6 +18050,16 @@ export interface BusinessApiInterface {
|
|
|
18009
18050
|
* @memberof BusinessApiInterface
|
|
18010
18051
|
*/
|
|
18011
18052
|
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
18053
|
+
/**
|
|
18054
|
+
*
|
|
18055
|
+
* @summary Get business menu by type V4
|
|
18056
|
+
* @param {string} businessId
|
|
18057
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
18058
|
+
* @param {*} [options] Override http request option.
|
|
18059
|
+
* @throws {RequiredError}
|
|
18060
|
+
* @memberof BusinessApiInterface
|
|
18061
|
+
*/
|
|
18062
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): AxiosPromise<MenuReponseDto>;
|
|
18012
18063
|
/**
|
|
18013
18064
|
*
|
|
18014
18065
|
* @param {string} businessId Id of the business
|
|
@@ -18210,6 +18261,16 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
|
|
|
18210
18261
|
* @memberof BusinessApi
|
|
18211
18262
|
*/
|
|
18212
18263
|
getBusinessMenuByTypeV3(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
|
|
18264
|
+
/**
|
|
18265
|
+
*
|
|
18266
|
+
* @summary Get business menu by type V4
|
|
18267
|
+
* @param {string} businessId
|
|
18268
|
+
* @param {'pos' | 'kiosk'} menuType Type of menu (e.g., pos)
|
|
18269
|
+
* @param {*} [options] Override http request option.
|
|
18270
|
+
* @throws {RequiredError}
|
|
18271
|
+
* @memberof BusinessApi
|
|
18272
|
+
*/
|
|
18273
|
+
getBusinessMenuByTypeV4(businessId: string, menuType: 'pos' | 'kiosk', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MenuReponseDto, any, {}>>;
|
|
18213
18274
|
/**
|
|
18214
18275
|
*
|
|
18215
18276
|
* @param {string} businessId Id of the business
|