@munchi_oy/core 1.9.65 → 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.
@@ -11728,6 +11728,9 @@ export declare const PaymentMethod: {
11728
11728
  readonly Jpn: "JPN";
11729
11729
  readonly NineLives: "NineLives";
11730
11730
  readonly Trade: "Trade";
11731
+ readonly Exchange: "Exchange";
11732
+ readonly Tilisiirto: "Tilisiirto";
11733
+ readonly LoyaltyPoints: "LoyaltyPoints";
11731
11734
  };
11732
11735
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
11733
11736
  /**
@@ -14046,11 +14049,11 @@ export interface PosOrderItemDto {
14046
14049
  */
14047
14050
  'printerType'?: PrinterTypeEnum;
14048
14051
  /**
14049
- * Resolved target printer address; null/undefined means print on all kitchen printers
14050
- * @type {string}
14052
+ * Resolved target printer addresses; empty/absent means print on all kitchen printers
14053
+ * @type {Array<string>}
14051
14054
  * @memberof PosOrderItemDto
14052
14055
  */
14053
- 'printerId'?: string | null;
14056
+ 'printerIds'?: Array<string> | null;
14054
14057
  /**
14055
14058
  *
14056
14059
  * @type {Array<PosOrderOptionDto>}
@@ -18455,10 +18458,10 @@ export type TableShape = typeof TableShape[keyof typeof TableShape];
18455
18458
  */
18456
18459
  export declare const TableStatus: {
18457
18460
  readonly Available: "AVAILABLE";
18458
- readonly Occupied: "OCCUPIED";
18459
18461
  readonly Dirty: "DIRTY";
18460
18462
  readonly Blocked: "BLOCKED";
18461
18463
  readonly OutOfService: "OUT_OF_SERVICE";
18464
+ readonly Occupied: "OCCUPIED";
18462
18465
  };
18463
18466
  export type TableStatus = typeof TableStatus[keyof typeof TableStatus];
18464
18467
  /**
@@ -20111,11 +20114,11 @@ export interface UnifiedProductDto {
20111
20114
  */
20112
20115
  'comment'?: string | null;
20113
20116
  /**
20114
- * Resolved target printer address; null/undefined means print on all kitchen printers
20115
- * @type {string}
20117
+ * Resolved target printer addresses; empty/absent means print on all kitchen printers
20118
+ * @type {Array<string>}
20116
20119
  * @memberof UnifiedProductDto
20117
20120
  */
20118
- 'printerId'?: string | null;
20121
+ 'printerIds'?: Array<string> | null;
20119
20122
  /**
20120
20123
  *
20121
20124
  * @type {KitchenItemStatus}
@@ -20754,11 +20757,11 @@ export interface UpsertCategoryPrintPolicyDto {
20754
20757
  */
20755
20758
  'categoryId': number;
20756
20759
  /**
20757
- * Target printer row ID
20758
- * @type {number}
20760
+ * Full set of target printer row IDs (replaces existing)
20761
+ * @type {Array<number>}
20759
20762
  * @memberof UpsertCategoryPrintPolicyDto
20760
20763
  */
20761
- 'printerId': number;
20764
+ 'printerIds': Array<number>;
20762
20765
  }
20763
20766
  /**
20764
20767
  *
@@ -21094,6 +21097,9 @@ export declare const NameEnum: {
21094
21097
  readonly Jpn: "JPN";
21095
21098
  readonly NineLives: "NineLives";
21096
21099
  readonly Trade: "Trade";
21100
+ readonly Exchange: "Exchange";
21101
+ readonly Tilisiirto: "Tilisiirto";
21102
+ readonly LoyaltyPoints: "LoyaltyPoints";
21097
21103
  };
21098
21104
  export type NameEnum = typeof NameEnum[keyof typeof NameEnum];
21099
21105
  /**
@@ -21165,11 +21171,11 @@ export interface UpsertProductPrintPolicyDto {
21165
21171
  */
21166
21172
  'productId': number;
21167
21173
  /**
21168
- * Target printer row ID
21169
- * @type {number}
21174
+ * Full set of target printer row IDs (replaces existing)
21175
+ * @type {Array<number>}
21170
21176
  * @memberof UpsertProductPrintPolicyDto
21171
21177
  */
21172
- 'printerId': number;
21178
+ 'printerIds': Array<number>;
21173
21179
  }
21174
21180
  /**
21175
21181
  *
@@ -26299,6 +26305,15 @@ export declare const FloorPlanApiAxiosParamCreator: (configuration?: Configurati
26299
26305
  * @throws {RequiredError}
26300
26306
  */
26301
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>;
26302
26317
  /**
26303
26318
  *
26304
26319
  * @summary Transfer an occupied table to an available table
@@ -26415,6 +26430,15 @@ export declare const FloorPlanApiFp: (configuration?: Configuration) => {
26415
26430
  * @throws {RequiredError}
26416
26431
  */
26417
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>>;
26418
26442
  /**
26419
26443
  *
26420
26444
  * @summary Transfer an occupied table to an available table
@@ -26531,6 +26555,15 @@ export declare const FloorPlanApiFactory: (configuration?: Configuration, basePa
26531
26555
  * @throws {RequiredError}
26532
26556
  */
26533
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>;
26534
26567
  /**
26535
26568
  *
26536
26569
  * @summary Transfer an occupied table to an available table
@@ -26655,6 +26688,16 @@ export interface FloorPlanApiInterface {
26655
26688
  * @memberof FloorPlanApiInterface
26656
26689
  */
26657
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>;
26658
26701
  /**
26659
26702
  *
26660
26703
  * @summary Transfer an occupied table to an available table
@@ -26785,6 +26828,16 @@ export declare class FloorPlanApi extends BaseAPI implements FloorPlanApiInterfa
26785
26828
  * @memberof FloorPlanApi
26786
26829
  */
26787
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, {}>>;
26788
26841
  /**
26789
26842
  *
26790
26843
  * @summary Transfer an occupied table to an available table
@@ -31448,7 +31501,7 @@ export declare const PrintersApiFp: (configuration?: Configuration) => {
31448
31501
  * @param {*} [options] Override http request option.
31449
31502
  * @throws {RequiredError}
31450
31503
  */
31451
- 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>>>;
31452
31505
  /**
31453
31506
  *
31454
31507
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31462,7 +31515,7 @@ export declare const PrintersApiFp: (configuration?: Configuration) => {
31462
31515
  * @param {*} [options] Override http request option.
31463
31516
  * @throws {RequiredError}
31464
31517
  */
31465
- 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>>>;
31466
31519
  };
31467
31520
  /**
31468
31521
  * PrintersApi - factory interface
@@ -31528,7 +31581,7 @@ export declare const PrintersApiFactory: (configuration?: Configuration, basePat
31528
31581
  * @param {*} [options] Override http request option.
31529
31582
  * @throws {RequiredError}
31530
31583
  */
31531
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
31584
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
31532
31585
  /**
31533
31586
  *
31534
31587
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31542,7 +31595,7 @@ export declare const PrintersApiFactory: (configuration?: Configuration, basePat
31542
31595
  * @param {*} [options] Override http request option.
31543
31596
  * @throws {RequiredError}
31544
31597
  */
31545
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
31598
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
31546
31599
  };
31547
31600
  /**
31548
31601
  * PrintersApi - interface
@@ -31617,7 +31670,7 @@ export interface PrintersApiInterface {
31617
31670
  * @throws {RequiredError}
31618
31671
  * @memberof PrintersApiInterface
31619
31672
  */
31620
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
31673
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
31621
31674
  /**
31622
31675
  *
31623
31676
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31633,7 +31686,7 @@ export interface PrintersApiInterface {
31633
31686
  * @throws {RequiredError}
31634
31687
  * @memberof PrintersApiInterface
31635
31688
  */
31636
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
31689
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
31637
31690
  }
31638
31691
  /**
31639
31692
  * PrintersApi - object-oriented interface
@@ -31709,7 +31762,7 @@ export declare class PrintersApi extends BaseAPI implements PrintersApiInterface
31709
31762
  * @throws {RequiredError}
31710
31763
  * @memberof PrintersApi
31711
31764
  */
31712
- upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
31765
+ upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
31713
31766
  /**
31714
31767
  *
31715
31768
  * @param {UpsertPrinterDto} upsertPrinterDto
@@ -31725,7 +31778,7 @@ export declare class PrintersApi extends BaseAPI implements PrintersApiInterface
31725
31778
  * @throws {RequiredError}
31726
31779
  * @memberof PrintersApi
31727
31780
  */
31728
- upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
31781
+ upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
31729
31782
  }
31730
31783
  /**
31731
31784
  * ProductApi - axios parameter creator