@munchi_oy/core 1.9.66 → 1.9.67

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.
@@ -14049,11 +14049,11 @@ export interface PosOrderItemDto {
14049
14049
  */
14050
14050
  'printerType'?: PrinterTypeEnum;
14051
14051
  /**
14052
- * Resolved target printer address; null/undefined means print on all kitchen printers
14053
- * @type {string}
14052
+ * Resolved target printer addresses; empty/absent means print on all kitchen printers
14053
+ * @type {Array<string>}
14054
14054
  * @memberof PosOrderItemDto
14055
14055
  */
14056
- 'printerId'?: string | null;
14056
+ 'printerIds'?: Array<string> | null;
14057
14057
  /**
14058
14058
  *
14059
14059
  * @type {Array<PosOrderOptionDto>}
@@ -18458,10 +18458,10 @@ export type TableShape = typeof TableShape[keyof typeof TableShape];
18458
18458
  */
18459
18459
  export declare const TableStatus: {
18460
18460
  readonly Available: "AVAILABLE";
18461
- readonly Occupied: "OCCUPIED";
18462
18461
  readonly Dirty: "DIRTY";
18463
18462
  readonly Blocked: "BLOCKED";
18464
18463
  readonly OutOfService: "OUT_OF_SERVICE";
18464
+ readonly Occupied: "OCCUPIED";
18465
18465
  };
18466
18466
  export type TableStatus = typeof TableStatus[keyof typeof TableStatus];
18467
18467
  /**
@@ -20114,11 +20114,11 @@ export interface UnifiedProductDto {
20114
20114
  */
20115
20115
  'comment'?: string | null;
20116
20116
  /**
20117
- * Resolved target printer address; null/undefined means print on all kitchen printers
20118
- * @type {string}
20117
+ * Resolved target printer addresses; empty/absent means print on all kitchen printers
20118
+ * @type {Array<string>}
20119
20119
  * @memberof UnifiedProductDto
20120
20120
  */
20121
- 'printerId'?: string | null;
20121
+ 'printerIds'?: Array<string> | null;
20122
20122
  /**
20123
20123
  *
20124
20124
  * @type {KitchenItemStatus}
@@ -20757,11 +20757,11 @@ export interface UpsertCategoryPrintPolicyDto {
20757
20757
  */
20758
20758
  'categoryId': number;
20759
20759
  /**
20760
- * Target printer row ID
20761
- * @type {number}
20760
+ * Full set of target printer row IDs (replaces existing)
20761
+ * @type {Array<number>}
20762
20762
  * @memberof UpsertCategoryPrintPolicyDto
20763
20763
  */
20764
- 'printerId': number;
20764
+ 'printerIds': Array<number>;
20765
20765
  }
20766
20766
  /**
20767
20767
  *
@@ -21171,11 +21171,11 @@ export interface UpsertProductPrintPolicyDto {
21171
21171
  */
21172
21172
  'productId': number;
21173
21173
  /**
21174
- * Target printer row ID
21175
- * @type {number}
21174
+ * Full set of target printer row IDs (replaces existing)
21175
+ * @type {Array<number>}
21176
21176
  * @memberof UpsertProductPrintPolicyDto
21177
21177
  */
21178
- 'printerId': number;
21178
+ 'printerIds': Array<number>;
21179
21179
  }
21180
21180
  /**
21181
21181
  *
@@ -26305,6 +26305,15 @@ export declare const FloorPlanApiAxiosParamCreator: (configuration?: Configurati
26305
26305
  * @throws {RequiredError}
26306
26306
  */
26307
26307
  joinTables: (businessId: number, joinTablesDto: JoinTablesDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26308
+ /**
26309
+ *
26310
+ * @summary Remove a table from its active group
26311
+ * @param {string} id
26312
+ * @param {number} businessId
26313
+ * @param {*} [options] Override http request option.
26314
+ * @throws {RequiredError}
26315
+ */
26316
+ removeTableFromGroup: (id: string, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26308
26317
  /**
26309
26318
  *
26310
26319
  * @summary Transfer an occupied table to an available table
@@ -26421,6 +26430,15 @@ export declare const FloorPlanApiFp: (configuration?: Configuration) => {
26421
26430
  * @throws {RequiredError}
26422
26431
  */
26423
26432
  joinTables(businessId: number, joinTablesDto: JoinTablesDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TableGroupResponseDto>>;
26433
+ /**
26434
+ *
26435
+ * @summary Remove a table from its active group
26436
+ * @param {string} id
26437
+ * @param {number} businessId
26438
+ * @param {*} [options] Override http request option.
26439
+ * @throws {RequiredError}
26440
+ */
26441
+ removeTableFromGroup(id: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26424
26442
  /**
26425
26443
  *
26426
26444
  * @summary Transfer an occupied table to an available table
@@ -26537,6 +26555,15 @@ export declare const FloorPlanApiFactory: (configuration?: Configuration, basePa
26537
26555
  * @throws {RequiredError}
26538
26556
  */
26539
26557
  joinTables(businessId: number, joinTablesDto: JoinTablesDto, options?: any): AxiosPromise<TableGroupResponseDto>;
26558
+ /**
26559
+ *
26560
+ * @summary Remove a table from its active group
26561
+ * @param {string} id
26562
+ * @param {number} businessId
26563
+ * @param {*} [options] Override http request option.
26564
+ * @throws {RequiredError}
26565
+ */
26566
+ removeTableFromGroup(id: string, businessId: number, options?: any): AxiosPromise<void>;
26540
26567
  /**
26541
26568
  *
26542
26569
  * @summary Transfer an occupied table to an available table
@@ -26661,6 +26688,16 @@ export interface FloorPlanApiInterface {
26661
26688
  * @memberof FloorPlanApiInterface
26662
26689
  */
26663
26690
  joinTables(businessId: number, joinTablesDto: JoinTablesDto, options?: AxiosRequestConfig): AxiosPromise<TableGroupResponseDto>;
26691
+ /**
26692
+ *
26693
+ * @summary Remove a table from its active group
26694
+ * @param {string} id
26695
+ * @param {number} businessId
26696
+ * @param {*} [options] Override http request option.
26697
+ * @throws {RequiredError}
26698
+ * @memberof FloorPlanApiInterface
26699
+ */
26700
+ removeTableFromGroup(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
26664
26701
  /**
26665
26702
  *
26666
26703
  * @summary Transfer an occupied table to an available table
@@ -26791,6 +26828,16 @@ export declare class FloorPlanApi extends BaseAPI implements FloorPlanApiInterfa
26791
26828
  * @memberof FloorPlanApi
26792
26829
  */
26793
26830
  joinTables(businessId: number, joinTablesDto: JoinTablesDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TableGroupResponseDto, any, {}>>;
26831
+ /**
26832
+ *
26833
+ * @summary Remove a table from its active group
26834
+ * @param {string} id
26835
+ * @param {number} businessId
26836
+ * @param {*} [options] Override http request option.
26837
+ * @throws {RequiredError}
26838
+ * @memberof FloorPlanApi
26839
+ */
26840
+ removeTableFromGroup(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
26794
26841
  /**
26795
26842
  *
26796
26843
  * @summary Transfer an occupied table to an available table
@@ -31454,7 +31501,7 @@ export declare const PrintersApiFp: (configuration?: Configuration) => {
31454
31501
  * @param {*} [options] Override http request option.
31455
31502
  * @throws {RequiredError}
31456
31503
  */
31457
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPolicyDto>>;
31504
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrintPolicyDto>>>;
31458
31505
  /**
31459
31506
  *
31460
31507
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31468,7 +31515,7 @@ export declare const PrintersApiFp: (configuration?: Configuration) => {
31468
31515
  * @param {*} [options] Override http request option.
31469
31516
  * @throws {RequiredError}
31470
31517
  */
31471
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPolicyDto>>;
31518
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrintPolicyDto>>>;
31472
31519
  };
31473
31520
  /**
31474
31521
  * PrintersApi - factory interface
@@ -31534,7 +31581,7 @@ export declare const PrintersApiFactory: (configuration?: Configuration, basePat
31534
31581
  * @param {*} [options] Override http request option.
31535
31582
  * @throws {RequiredError}
31536
31583
  */
31537
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
31584
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
31538
31585
  /**
31539
31586
  *
31540
31587
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31548,7 +31595,7 @@ export declare const PrintersApiFactory: (configuration?: Configuration, basePat
31548
31595
  * @param {*} [options] Override http request option.
31549
31596
  * @throws {RequiredError}
31550
31597
  */
31551
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
31598
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
31552
31599
  };
31553
31600
  /**
31554
31601
  * PrintersApi - interface
@@ -31623,7 +31670,7 @@ export interface PrintersApiInterface {
31623
31670
  * @throws {RequiredError}
31624
31671
  * @memberof PrintersApiInterface
31625
31672
  */
31626
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
31673
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
31627
31674
  /**
31628
31675
  *
31629
31676
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31639,7 +31686,7 @@ export interface PrintersApiInterface {
31639
31686
  * @throws {RequiredError}
31640
31687
  * @memberof PrintersApiInterface
31641
31688
  */
31642
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
31689
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
31643
31690
  }
31644
31691
  /**
31645
31692
  * PrintersApi - object-oriented interface
@@ -31715,7 +31762,7 @@ export declare class PrintersApi extends BaseAPI implements PrintersApiInterface
31715
31762
  * @throws {RequiredError}
31716
31763
  * @memberof PrintersApi
31717
31764
  */
31718
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
31765
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
31719
31766
  /**
31720
31767
  *
31721
31768
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31731,7 +31778,7 @@ export declare class PrintersApi extends BaseAPI implements PrintersApiInterface
31731
31778
  * @throws {RequiredError}
31732
31779
  * @memberof PrintersApi
31733
31780
  */
31734
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
31781
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
31735
31782
  }
31736
31783
  /**
31737
31784
  * ProductApi - axios parameter creator