@munchi_oy/core 1.9.57 → 1.9.59
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 +98 -1
- 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 +156 -1
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -15837,6 +15837,12 @@ export interface ProductWithCategoryV3Dto {
|
|
|
15837
15837
|
* @memberof ProductWithCategoryV3Dto
|
|
15838
15838
|
*/
|
|
15839
15839
|
'pos_quantity': number;
|
|
15840
|
+
/**
|
|
15841
|
+
* Channel config of inventoried per product
|
|
15842
|
+
* @type {Array<ChannelConfig>}
|
|
15843
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15844
|
+
*/
|
|
15845
|
+
'channel_configs': Array<ChannelConfig>;
|
|
15840
15846
|
/**
|
|
15841
15847
|
* Default course ID assigned to this product
|
|
15842
15848
|
* @type {object}
|
|
@@ -15907,7 +15913,7 @@ export interface ProductsByCategoriesV3ResponseDto {
|
|
|
15907
15913
|
*/
|
|
15908
15914
|
'summary': ProductsByCategoriesResponseDtoSummary;
|
|
15909
15915
|
/**
|
|
15910
|
-
* Products
|
|
15916
|
+
* Products with channel_configs scoped to MunchiPos (POS) only; full per-channel inventory is fetched per product
|
|
15911
15917
|
* @type {Array<ProductWithCategoryV3Dto>}
|
|
15912
15918
|
* @memberof ProductsByCategoriesV3ResponseDto
|
|
15913
15919
|
*/
|
|
@@ -18848,6 +18854,12 @@ export interface TransferTableDto {
|
|
|
18848
18854
|
* @memberof TransferTableDto
|
|
18849
18855
|
*/
|
|
18850
18856
|
'toTableId': string;
|
|
18857
|
+
/**
|
|
18858
|
+
* POS order ID to sync in Firebase with the new tableId and spotNumber
|
|
18859
|
+
* @type {string}
|
|
18860
|
+
* @memberof TransferTableDto
|
|
18861
|
+
*/
|
|
18862
|
+
'orderId'?: string;
|
|
18851
18863
|
}
|
|
18852
18864
|
/**
|
|
18853
18865
|
*
|
|
@@ -25224,6 +25236,91 @@ export declare class CashManagementApi extends BaseAPI implements CashManagement
|
|
|
25224
25236
|
*/
|
|
25225
25237
|
sendSessionReport(businessId: string, sessionId: string, sendCashReportDto: SendCashReportDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25226
25238
|
}
|
|
25239
|
+
/**
|
|
25240
|
+
* ChannelMenuApi - axios parameter creator
|
|
25241
|
+
* @export
|
|
25242
|
+
*/
|
|
25243
|
+
export declare const ChannelMenuApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25244
|
+
/**
|
|
25245
|
+
*
|
|
25246
|
+
* @summary Get the L2-cached channel menu for a business + channel type
|
|
25247
|
+
* @param {number} businessId
|
|
25248
|
+
* @param {string} channelType
|
|
25249
|
+
* @param {number} [deliveryType]
|
|
25250
|
+
* @param {*} [options] Override http request option.
|
|
25251
|
+
* @throws {RequiredError}
|
|
25252
|
+
*/
|
|
25253
|
+
getChannelMenu: (businessId: number, channelType: string, deliveryType?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25254
|
+
};
|
|
25255
|
+
/**
|
|
25256
|
+
* ChannelMenuApi - functional programming interface
|
|
25257
|
+
* @export
|
|
25258
|
+
*/
|
|
25259
|
+
export declare const ChannelMenuApiFp: (configuration?: Configuration) => {
|
|
25260
|
+
/**
|
|
25261
|
+
*
|
|
25262
|
+
* @summary Get the L2-cached channel menu for a business + channel type
|
|
25263
|
+
* @param {number} businessId
|
|
25264
|
+
* @param {string} channelType
|
|
25265
|
+
* @param {number} [deliveryType]
|
|
25266
|
+
* @param {*} [options] Override http request option.
|
|
25267
|
+
* @throws {RequiredError}
|
|
25268
|
+
*/
|
|
25269
|
+
getChannelMenu(businessId: number, channelType: string, deliveryType?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25270
|
+
};
|
|
25271
|
+
/**
|
|
25272
|
+
* ChannelMenuApi - factory interface
|
|
25273
|
+
* @export
|
|
25274
|
+
*/
|
|
25275
|
+
export declare const ChannelMenuApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25276
|
+
/**
|
|
25277
|
+
*
|
|
25278
|
+
* @summary Get the L2-cached channel menu for a business + channel type
|
|
25279
|
+
* @param {number} businessId
|
|
25280
|
+
* @param {string} channelType
|
|
25281
|
+
* @param {number} [deliveryType]
|
|
25282
|
+
* @param {*} [options] Override http request option.
|
|
25283
|
+
* @throws {RequiredError}
|
|
25284
|
+
*/
|
|
25285
|
+
getChannelMenu(businessId: number, channelType: string, deliveryType?: number, options?: any): AxiosPromise<void>;
|
|
25286
|
+
};
|
|
25287
|
+
/**
|
|
25288
|
+
* ChannelMenuApi - interface
|
|
25289
|
+
* @export
|
|
25290
|
+
* @interface ChannelMenuApi
|
|
25291
|
+
*/
|
|
25292
|
+
export interface ChannelMenuApiInterface {
|
|
25293
|
+
/**
|
|
25294
|
+
*
|
|
25295
|
+
* @summary Get the L2-cached channel menu for a business + channel type
|
|
25296
|
+
* @param {number} businessId
|
|
25297
|
+
* @param {string} channelType
|
|
25298
|
+
* @param {number} [deliveryType]
|
|
25299
|
+
* @param {*} [options] Override http request option.
|
|
25300
|
+
* @throws {RequiredError}
|
|
25301
|
+
* @memberof ChannelMenuApiInterface
|
|
25302
|
+
*/
|
|
25303
|
+
getChannelMenu(businessId: number, channelType: string, deliveryType?: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25304
|
+
}
|
|
25305
|
+
/**
|
|
25306
|
+
* ChannelMenuApi - object-oriented interface
|
|
25307
|
+
* @export
|
|
25308
|
+
* @class ChannelMenuApi
|
|
25309
|
+
* @extends {BaseAPI}
|
|
25310
|
+
*/
|
|
25311
|
+
export declare class ChannelMenuApi extends BaseAPI implements ChannelMenuApiInterface {
|
|
25312
|
+
/**
|
|
25313
|
+
*
|
|
25314
|
+
* @summary Get the L2-cached channel menu for a business + channel type
|
|
25315
|
+
* @param {number} businessId
|
|
25316
|
+
* @param {string} channelType
|
|
25317
|
+
* @param {number} [deliveryType]
|
|
25318
|
+
* @param {*} [options] Override http request option.
|
|
25319
|
+
* @throws {RequiredError}
|
|
25320
|
+
* @memberof ChannelMenuApi
|
|
25321
|
+
*/
|
|
25322
|
+
getChannelMenu(businessId: number, channelType: string, deliveryType?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25323
|
+
}
|
|
25227
25324
|
/**
|
|
25228
25325
|
* ConfigManagementApi - axios parameter creator
|
|
25229
25326
|
* @export
|