@munchi_oy/core 1.9.59 → 1.9.61
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 +67 -20
- 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 +106 -18
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -14018,11 +14018,11 @@ export interface PosOrderItemDto {
|
|
|
14018
14018
|
*/
|
|
14019
14019
|
'printerType'?: PrinterTypeEnum;
|
|
14020
14020
|
/**
|
|
14021
|
-
* Resolved target printer
|
|
14022
|
-
* @type {string}
|
|
14021
|
+
* Resolved target printer addresses; empty/absent means print on all kitchen printers
|
|
14022
|
+
* @type {Array<string>}
|
|
14023
14023
|
* @memberof PosOrderItemDto
|
|
14024
14024
|
*/
|
|
14025
|
-
'
|
|
14025
|
+
'printerIds'?: Array<string> | null;
|
|
14026
14026
|
/**
|
|
14027
14027
|
*
|
|
14028
14028
|
* @type {Array<PosOrderOptionDto>}
|
|
@@ -20024,11 +20024,11 @@ export interface UnifiedProductDto {
|
|
|
20024
20024
|
*/
|
|
20025
20025
|
'comment'?: string | null;
|
|
20026
20026
|
/**
|
|
20027
|
-
* Resolved target printer
|
|
20028
|
-
* @type {string}
|
|
20027
|
+
* Resolved target printer addresses; empty/absent means print on all kitchen printers
|
|
20028
|
+
* @type {Array<string>}
|
|
20029
20029
|
* @memberof UnifiedProductDto
|
|
20030
20030
|
*/
|
|
20031
|
-
'
|
|
20031
|
+
'printerIds'?: Array<string> | null;
|
|
20032
20032
|
/**
|
|
20033
20033
|
*
|
|
20034
20034
|
* @type {KitchenItemStatus}
|
|
@@ -20667,11 +20667,11 @@ export interface UpsertCategoryPrintPolicyDto {
|
|
|
20667
20667
|
*/
|
|
20668
20668
|
'categoryId': number;
|
|
20669
20669
|
/**
|
|
20670
|
-
*
|
|
20671
|
-
* @type {number}
|
|
20670
|
+
* Full set of target printer row IDs (replaces existing)
|
|
20671
|
+
* @type {Array<number>}
|
|
20672
20672
|
* @memberof UpsertCategoryPrintPolicyDto
|
|
20673
20673
|
*/
|
|
20674
|
-
'
|
|
20674
|
+
'printerIds': Array<number>;
|
|
20675
20675
|
}
|
|
20676
20676
|
/**
|
|
20677
20677
|
*
|
|
@@ -21081,11 +21081,11 @@ export interface UpsertProductPrintPolicyDto {
|
|
|
21081
21081
|
*/
|
|
21082
21082
|
'productId': number;
|
|
21083
21083
|
/**
|
|
21084
|
-
*
|
|
21085
|
-
* @type {number}
|
|
21084
|
+
* Full set of target printer row IDs (replaces existing)
|
|
21085
|
+
* @type {Array<number>}
|
|
21086
21086
|
* @memberof UpsertProductPrintPolicyDto
|
|
21087
21087
|
*/
|
|
21088
|
-
'
|
|
21088
|
+
'printerIds': Array<number>;
|
|
21089
21089
|
}
|
|
21090
21090
|
/**
|
|
21091
21091
|
*
|
|
@@ -25251,6 +25251,15 @@ export declare const ChannelMenuApiAxiosParamCreator: (configuration?: Configura
|
|
|
25251
25251
|
* @throws {RequiredError}
|
|
25252
25252
|
*/
|
|
25253
25253
|
getChannelMenu: (businessId: number, channelType: string, deliveryType?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25254
|
+
/**
|
|
25255
|
+
*
|
|
25256
|
+
* @summary Get the L2-cached per-menu opening windows for a business + channel type
|
|
25257
|
+
* @param {number} businessId
|
|
25258
|
+
* @param {string} channelType
|
|
25259
|
+
* @param {*} [options] Override http request option.
|
|
25260
|
+
* @throws {RequiredError}
|
|
25261
|
+
*/
|
|
25262
|
+
getChannelMenuTimes: (businessId: number, channelType: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25254
25263
|
};
|
|
25255
25264
|
/**
|
|
25256
25265
|
* ChannelMenuApi - functional programming interface
|
|
@@ -25267,6 +25276,15 @@ export declare const ChannelMenuApiFp: (configuration?: Configuration) => {
|
|
|
25267
25276
|
* @throws {RequiredError}
|
|
25268
25277
|
*/
|
|
25269
25278
|
getChannelMenu(businessId: number, channelType: string, deliveryType?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25279
|
+
/**
|
|
25280
|
+
*
|
|
25281
|
+
* @summary Get the L2-cached per-menu opening windows for a business + channel type
|
|
25282
|
+
* @param {number} businessId
|
|
25283
|
+
* @param {string} channelType
|
|
25284
|
+
* @param {*} [options] Override http request option.
|
|
25285
|
+
* @throws {RequiredError}
|
|
25286
|
+
*/
|
|
25287
|
+
getChannelMenuTimes(businessId: number, channelType: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25270
25288
|
};
|
|
25271
25289
|
/**
|
|
25272
25290
|
* ChannelMenuApi - factory interface
|
|
@@ -25283,6 +25301,15 @@ export declare const ChannelMenuApiFactory: (configuration?: Configuration, base
|
|
|
25283
25301
|
* @throws {RequiredError}
|
|
25284
25302
|
*/
|
|
25285
25303
|
getChannelMenu(businessId: number, channelType: string, deliveryType?: number, options?: any): AxiosPromise<void>;
|
|
25304
|
+
/**
|
|
25305
|
+
*
|
|
25306
|
+
* @summary Get the L2-cached per-menu opening windows for a business + channel type
|
|
25307
|
+
* @param {number} businessId
|
|
25308
|
+
* @param {string} channelType
|
|
25309
|
+
* @param {*} [options] Override http request option.
|
|
25310
|
+
* @throws {RequiredError}
|
|
25311
|
+
*/
|
|
25312
|
+
getChannelMenuTimes(businessId: number, channelType: string, options?: any): AxiosPromise<void>;
|
|
25286
25313
|
};
|
|
25287
25314
|
/**
|
|
25288
25315
|
* ChannelMenuApi - interface
|
|
@@ -25301,6 +25328,16 @@ export interface ChannelMenuApiInterface {
|
|
|
25301
25328
|
* @memberof ChannelMenuApiInterface
|
|
25302
25329
|
*/
|
|
25303
25330
|
getChannelMenu(businessId: number, channelType: string, deliveryType?: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25331
|
+
/**
|
|
25332
|
+
*
|
|
25333
|
+
* @summary Get the L2-cached per-menu opening windows for a business + channel type
|
|
25334
|
+
* @param {number} businessId
|
|
25335
|
+
* @param {string} channelType
|
|
25336
|
+
* @param {*} [options] Override http request option.
|
|
25337
|
+
* @throws {RequiredError}
|
|
25338
|
+
* @memberof ChannelMenuApiInterface
|
|
25339
|
+
*/
|
|
25340
|
+
getChannelMenuTimes(businessId: number, channelType: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25304
25341
|
}
|
|
25305
25342
|
/**
|
|
25306
25343
|
* ChannelMenuApi - object-oriented interface
|
|
@@ -25320,6 +25357,16 @@ export declare class ChannelMenuApi extends BaseAPI implements ChannelMenuApiInt
|
|
|
25320
25357
|
* @memberof ChannelMenuApi
|
|
25321
25358
|
*/
|
|
25322
25359
|
getChannelMenu(businessId: number, channelType: string, deliveryType?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25360
|
+
/**
|
|
25361
|
+
*
|
|
25362
|
+
* @summary Get the L2-cached per-menu opening windows for a business + channel type
|
|
25363
|
+
* @param {number} businessId
|
|
25364
|
+
* @param {string} channelType
|
|
25365
|
+
* @param {*} [options] Override http request option.
|
|
25366
|
+
* @throws {RequiredError}
|
|
25367
|
+
* @memberof ChannelMenuApi
|
|
25368
|
+
*/
|
|
25369
|
+
getChannelMenuTimes(businessId: number, channelType: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25323
25370
|
}
|
|
25324
25371
|
/**
|
|
25325
25372
|
* ConfigManagementApi - axios parameter creator
|
|
@@ -31223,7 +31270,7 @@ export declare const PrintersApiFp: (configuration?: Configuration) => {
|
|
|
31223
31270
|
* @param {*} [options] Override http request option.
|
|
31224
31271
|
* @throws {RequiredError}
|
|
31225
31272
|
*/
|
|
31226
|
-
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPolicyDto
|
|
31273
|
+
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrintPolicyDto>>>;
|
|
31227
31274
|
/**
|
|
31228
31275
|
*
|
|
31229
31276
|
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
@@ -31237,7 +31284,7 @@ export declare const PrintersApiFp: (configuration?: Configuration) => {
|
|
|
31237
31284
|
* @param {*} [options] Override http request option.
|
|
31238
31285
|
* @throws {RequiredError}
|
|
31239
31286
|
*/
|
|
31240
|
-
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPolicyDto
|
|
31287
|
+
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrintPolicyDto>>>;
|
|
31241
31288
|
};
|
|
31242
31289
|
/**
|
|
31243
31290
|
* PrintersApi - factory interface
|
|
@@ -31303,7 +31350,7 @@ export declare const PrintersApiFactory: (configuration?: Configuration, basePat
|
|
|
31303
31350
|
* @param {*} [options] Override http request option.
|
|
31304
31351
|
* @throws {RequiredError}
|
|
31305
31352
|
*/
|
|
31306
|
-
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto
|
|
31353
|
+
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
|
|
31307
31354
|
/**
|
|
31308
31355
|
*
|
|
31309
31356
|
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
@@ -31317,7 +31364,7 @@ export declare const PrintersApiFactory: (configuration?: Configuration, basePat
|
|
|
31317
31364
|
* @param {*} [options] Override http request option.
|
|
31318
31365
|
* @throws {RequiredError}
|
|
31319
31366
|
*/
|
|
31320
|
-
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto
|
|
31367
|
+
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
|
|
31321
31368
|
};
|
|
31322
31369
|
/**
|
|
31323
31370
|
* PrintersApi - interface
|
|
@@ -31392,7 +31439,7 @@ export interface PrintersApiInterface {
|
|
|
31392
31439
|
* @throws {RequiredError}
|
|
31393
31440
|
* @memberof PrintersApiInterface
|
|
31394
31441
|
*/
|
|
31395
|
-
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto
|
|
31442
|
+
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
|
|
31396
31443
|
/**
|
|
31397
31444
|
*
|
|
31398
31445
|
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
@@ -31408,7 +31455,7 @@ export interface PrintersApiInterface {
|
|
|
31408
31455
|
* @throws {RequiredError}
|
|
31409
31456
|
* @memberof PrintersApiInterface
|
|
31410
31457
|
*/
|
|
31411
|
-
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto
|
|
31458
|
+
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
|
|
31412
31459
|
}
|
|
31413
31460
|
/**
|
|
31414
31461
|
* PrintersApi - object-oriented interface
|
|
@@ -31484,7 +31531,7 @@ export declare class PrintersApi extends BaseAPI implements PrintersApiInterface
|
|
|
31484
31531
|
* @throws {RequiredError}
|
|
31485
31532
|
* @memberof PrintersApi
|
|
31486
31533
|
*/
|
|
31487
|
-
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
|
|
31534
|
+
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
|
|
31488
31535
|
/**
|
|
31489
31536
|
*
|
|
31490
31537
|
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
@@ -31500,7 +31547,7 @@ export declare class PrintersApi extends BaseAPI implements PrintersApiInterface
|
|
|
31500
31547
|
* @throws {RequiredError}
|
|
31501
31548
|
* @memberof PrintersApi
|
|
31502
31549
|
*/
|
|
31503
|
-
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
|
|
31550
|
+
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
|
|
31504
31551
|
}
|
|
31505
31552
|
/**
|
|
31506
31553
|
* ProductApi - axios parameter creator
|