@munchi_oy/core 1.9.60 → 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.
@@ -14018,11 +14018,11 @@ export interface PosOrderItemDto {
14018
14018
  */
14019
14019
  'printerType'?: PrinterTypeEnum;
14020
14020
  /**
14021
- * Resolved target printer address; null/undefined means print on all kitchen printers
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
- 'printerId'?: string | null;
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 address; null/undefined means print on all kitchen printers
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
- 'printerId'?: string | null;
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
- * Target printer row ID
20671
- * @type {number}
20670
+ * Full set of target printer row IDs (replaces existing)
20671
+ * @type {Array<number>}
20672
20672
  * @memberof UpsertCategoryPrintPolicyDto
20673
20673
  */
20674
- 'printerId': number;
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
- * Target printer row ID
21085
- * @type {number}
21084
+ * Full set of target printer row IDs (replaces existing)
21085
+ * @type {Array<number>}
21086
21086
  * @memberof UpsertProductPrintPolicyDto
21087
21087
  */
21088
- 'printerId': number;
21088
+ 'printerIds': Array<number>;
21089
21089
  }
21090
21090
  /**
21091
21091
  *
@@ -31270,7 +31270,7 @@ export declare const PrintersApiFp: (configuration?: Configuration) => {
31270
31270
  * @param {*} [options] Override http request option.
31271
31271
  * @throws {RequiredError}
31272
31272
  */
31273
- 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>>>;
31274
31274
  /**
31275
31275
  *
31276
31276
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31284,7 +31284,7 @@ export declare const PrintersApiFp: (configuration?: Configuration) => {
31284
31284
  * @param {*} [options] Override http request option.
31285
31285
  * @throws {RequiredError}
31286
31286
  */
31287
- 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>>>;
31288
31288
  };
31289
31289
  /**
31290
31290
  * PrintersApi - factory interface
@@ -31350,7 +31350,7 @@ export declare const PrintersApiFactory: (configuration?: Configuration, basePat
31350
31350
  * @param {*} [options] Override http request option.
31351
31351
  * @throws {RequiredError}
31352
31352
  */
31353
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
31353
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
31354
31354
  /**
31355
31355
  *
31356
31356
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31364,7 +31364,7 @@ export declare const PrintersApiFactory: (configuration?: Configuration, basePat
31364
31364
  * @param {*} [options] Override http request option.
31365
31365
  * @throws {RequiredError}
31366
31366
  */
31367
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
31367
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
31368
31368
  };
31369
31369
  /**
31370
31370
  * PrintersApi - interface
@@ -31439,7 +31439,7 @@ export interface PrintersApiInterface {
31439
31439
  * @throws {RequiredError}
31440
31440
  * @memberof PrintersApiInterface
31441
31441
  */
31442
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
31442
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
31443
31443
  /**
31444
31444
  *
31445
31445
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31455,7 +31455,7 @@ export interface PrintersApiInterface {
31455
31455
  * @throws {RequiredError}
31456
31456
  * @memberof PrintersApiInterface
31457
31457
  */
31458
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
31458
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
31459
31459
  }
31460
31460
  /**
31461
31461
  * PrintersApi - object-oriented interface
@@ -31531,7 +31531,7 @@ export declare class PrintersApi extends BaseAPI implements PrintersApiInterface
31531
31531
  * @throws {RequiredError}
31532
31532
  * @memberof PrintersApi
31533
31533
  */
31534
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
31534
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
31535
31535
  /**
31536
31536
  *
31537
31537
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31547,7 +31547,7 @@ export declare class PrintersApi extends BaseAPI implements PrintersApiInterface
31547
31547
  * @throws {RequiredError}
31548
31548
  * @memberof PrintersApi
31549
31549
  */
31550
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
31550
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
31551
31551
  }
31552
31552
  /**
31553
31553
  * ProductApi - axios parameter creator