@munchi_oy/core 1.9.63 → 1.9.66

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.
@@ -6719,6 +6719,19 @@ export interface ItemPriceDto {
6719
6719
  */
6720
6720
  'priceBreakdown': ItemPriceBreakdownDto;
6721
6721
  }
6722
+ /**
6723
+ *
6724
+ * @export
6725
+ * @interface JoinTablesDto
6726
+ */
6727
+ export interface JoinTablesDto {
6728
+ /**
6729
+ *
6730
+ * @type {Array<string>}
6731
+ * @memberof JoinTablesDto
6732
+ */
6733
+ 'tableIds': Array<string>;
6734
+ }
6722
6735
  /**
6723
6736
  *
6724
6737
  * @export
@@ -18385,6 +18398,47 @@ export declare const SystemProfileType: {
18385
18398
  readonly NoStation: "NO_STATION";
18386
18399
  };
18387
18400
  export type SystemProfileType = typeof SystemProfileType[keyof typeof SystemProfileType];
18401
+ /**
18402
+ *
18403
+ * @export
18404
+ * @interface TableGroupResponseDto
18405
+ */
18406
+ export interface TableGroupResponseDto {
18407
+ /**
18408
+ *
18409
+ * @type {string}
18410
+ * @memberof TableGroupResponseDto
18411
+ */
18412
+ 'id': string;
18413
+ /**
18414
+ *
18415
+ * @type {TableGroupType}
18416
+ * @memberof TableGroupResponseDto
18417
+ */
18418
+ 'type': TableGroupType;
18419
+ /**
18420
+ *
18421
+ * @type {Array<string>}
18422
+ * @memberof TableGroupResponseDto
18423
+ */
18424
+ 'tableIds': Array<string>;
18425
+ /**
18426
+ *
18427
+ * @type {string}
18428
+ * @memberof TableGroupResponseDto
18429
+ */
18430
+ 'createdAt': string;
18431
+ }
18432
+ /**
18433
+ *
18434
+ * @export
18435
+ * @enum {string}
18436
+ */
18437
+ export declare const TableGroupType: {
18438
+ readonly AdHoc: "AD_HOC";
18439
+ readonly Predefined: "PREDEFINED";
18440
+ };
18441
+ export type TableGroupType = typeof TableGroupType[keyof typeof TableGroupType];
18388
18442
  /**
18389
18443
  *
18390
18444
  * @export
@@ -18404,10 +18458,10 @@ export type TableShape = typeof TableShape[keyof typeof TableShape];
18404
18458
  */
18405
18459
  export declare const TableStatus: {
18406
18460
  readonly Available: "AVAILABLE";
18461
+ readonly Occupied: "OCCUPIED";
18407
18462
  readonly Dirty: "DIRTY";
18408
18463
  readonly Blocked: "BLOCKED";
18409
18464
  readonly OutOfService: "OUT_OF_SERVICE";
18410
- readonly Occupied: "OCCUPIED";
18411
18465
  };
18412
18466
  export type TableStatus = typeof TableStatus[keyof typeof TableStatus];
18413
18467
  /**
@@ -26225,6 +26279,15 @@ export declare const FloorPlanApiAxiosParamCreator: (configuration?: Configurati
26225
26279
  * @throws {RequiredError}
26226
26280
  */
26227
26281
  deleteFloorSection: (id: string, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26282
+ /**
26283
+ *
26284
+ * @summary Dissolve a table group
26285
+ * @param {string} id
26286
+ * @param {number} businessId
26287
+ * @param {*} [options] Override http request option.
26288
+ * @throws {RequiredError}
26289
+ */
26290
+ dissolveTableGroup: (id: string, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26228
26291
  /**
26229
26292
  *
26230
26293
  * @summary Get the full floor plan for a business
@@ -26233,6 +26296,15 @@ export declare const FloorPlanApiAxiosParamCreator: (configuration?: Configurati
26233
26296
  * @throws {RequiredError}
26234
26297
  */
26235
26298
  getFloorPlan: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26299
+ /**
26300
+ *
26301
+ * @summary Join tables into an AD_HOC group
26302
+ * @param {number} businessId
26303
+ * @param {JoinTablesDto} joinTablesDto
26304
+ * @param {*} [options] Override http request option.
26305
+ * @throws {RequiredError}
26306
+ */
26307
+ joinTables: (businessId: number, joinTablesDto: JoinTablesDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26236
26308
  /**
26237
26309
  *
26238
26310
  * @summary Transfer an occupied table to an available table
@@ -26323,6 +26395,15 @@ export declare const FloorPlanApiFp: (configuration?: Configuration) => {
26323
26395
  * @throws {RequiredError}
26324
26396
  */
26325
26397
  deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26398
+ /**
26399
+ *
26400
+ * @summary Dissolve a table group
26401
+ * @param {string} id
26402
+ * @param {number} businessId
26403
+ * @param {*} [options] Override http request option.
26404
+ * @throws {RequiredError}
26405
+ */
26406
+ dissolveTableGroup(id: string, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
26326
26407
  /**
26327
26408
  *
26328
26409
  * @summary Get the full floor plan for a business
@@ -26331,6 +26412,15 @@ export declare const FloorPlanApiFp: (configuration?: Configuration) => {
26331
26412
  * @throws {RequiredError}
26332
26413
  */
26333
26414
  getFloorPlan(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FloorSectionResponseDto>>>;
26415
+ /**
26416
+ *
26417
+ * @summary Join tables into an AD_HOC group
26418
+ * @param {number} businessId
26419
+ * @param {JoinTablesDto} joinTablesDto
26420
+ * @param {*} [options] Override http request option.
26421
+ * @throws {RequiredError}
26422
+ */
26423
+ joinTables(businessId: number, joinTablesDto: JoinTablesDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TableGroupResponseDto>>;
26334
26424
  /**
26335
26425
  *
26336
26426
  * @summary Transfer an occupied table to an available table
@@ -26421,6 +26511,15 @@ export declare const FloorPlanApiFactory: (configuration?: Configuration, basePa
26421
26511
  * @throws {RequiredError}
26422
26512
  */
26423
26513
  deleteFloorSection(id: string, businessId: number, options?: any): AxiosPromise<void>;
26514
+ /**
26515
+ *
26516
+ * @summary Dissolve a table group
26517
+ * @param {string} id
26518
+ * @param {number} businessId
26519
+ * @param {*} [options] Override http request option.
26520
+ * @throws {RequiredError}
26521
+ */
26522
+ dissolveTableGroup(id: string, businessId: number, options?: any): AxiosPromise<void>;
26424
26523
  /**
26425
26524
  *
26426
26525
  * @summary Get the full floor plan for a business
@@ -26429,6 +26528,15 @@ export declare const FloorPlanApiFactory: (configuration?: Configuration, basePa
26429
26528
  * @throws {RequiredError}
26430
26529
  */
26431
26530
  getFloorPlan(businessId: number, options?: any): AxiosPromise<Array<FloorSectionResponseDto>>;
26531
+ /**
26532
+ *
26533
+ * @summary Join tables into an AD_HOC group
26534
+ * @param {number} businessId
26535
+ * @param {JoinTablesDto} joinTablesDto
26536
+ * @param {*} [options] Override http request option.
26537
+ * @throws {RequiredError}
26538
+ */
26539
+ joinTables(businessId: number, joinTablesDto: JoinTablesDto, options?: any): AxiosPromise<TableGroupResponseDto>;
26432
26540
  /**
26433
26541
  *
26434
26542
  * @summary Transfer an occupied table to an available table
@@ -26524,6 +26632,16 @@ export interface FloorPlanApiInterface {
26524
26632
  * @memberof FloorPlanApiInterface
26525
26633
  */
26526
26634
  deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
26635
+ /**
26636
+ *
26637
+ * @summary Dissolve a table group
26638
+ * @param {string} id
26639
+ * @param {number} businessId
26640
+ * @param {*} [options] Override http request option.
26641
+ * @throws {RequiredError}
26642
+ * @memberof FloorPlanApiInterface
26643
+ */
26644
+ dissolveTableGroup(id: string, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
26527
26645
  /**
26528
26646
  *
26529
26647
  * @summary Get the full floor plan for a business
@@ -26533,6 +26651,16 @@ export interface FloorPlanApiInterface {
26533
26651
  * @memberof FloorPlanApiInterface
26534
26652
  */
26535
26653
  getFloorPlan(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<FloorSectionResponseDto>>;
26654
+ /**
26655
+ *
26656
+ * @summary Join tables into an AD_HOC group
26657
+ * @param {number} businessId
26658
+ * @param {JoinTablesDto} joinTablesDto
26659
+ * @param {*} [options] Override http request option.
26660
+ * @throws {RequiredError}
26661
+ * @memberof FloorPlanApiInterface
26662
+ */
26663
+ joinTables(businessId: number, joinTablesDto: JoinTablesDto, options?: AxiosRequestConfig): AxiosPromise<TableGroupResponseDto>;
26536
26664
  /**
26537
26665
  *
26538
26666
  * @summary Transfer an occupied table to an available table
@@ -26634,6 +26762,16 @@ export declare class FloorPlanApi extends BaseAPI implements FloorPlanApiInterfa
26634
26762
  * @memberof FloorPlanApi
26635
26763
  */
26636
26764
  deleteFloorSection(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
26765
+ /**
26766
+ *
26767
+ * @summary Dissolve a table group
26768
+ * @param {string} id
26769
+ * @param {number} businessId
26770
+ * @param {*} [options] Override http request option.
26771
+ * @throws {RequiredError}
26772
+ * @memberof FloorPlanApi
26773
+ */
26774
+ dissolveTableGroup(id: string, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
26637
26775
  /**
26638
26776
  *
26639
26777
  * @summary Get the full floor plan for a business
@@ -26643,6 +26781,16 @@ export declare class FloorPlanApi extends BaseAPI implements FloorPlanApiInterfa
26643
26781
  * @memberof FloorPlanApi
26644
26782
  */
26645
26783
  getFloorPlan(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FloorSectionResponseDto[], any, {}>>;
26784
+ /**
26785
+ *
26786
+ * @summary Join tables into an AD_HOC group
26787
+ * @param {number} businessId
26788
+ * @param {JoinTablesDto} joinTablesDto
26789
+ * @param {*} [options] Override http request option.
26790
+ * @throws {RequiredError}
26791
+ * @memberof FloorPlanApi
26792
+ */
26793
+ joinTables(businessId: number, joinTablesDto: JoinTablesDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TableGroupResponseDto, any, {}>>;
26646
26794
  /**
26647
26795
  *
26648
26796
  * @summary Transfer an occupied table to an available table