@orderingstack/ordering-types 1.14.1 → 1.14.2

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.
@@ -496,25 +496,35 @@ export declare enum EChannelName {
496
496
  TAZZ = "TAZZ"
497
497
  }
498
498
  export interface IVenueConfig {
499
- active: boolean;
500
- address: {
499
+ active?: boolean;
500
+ address?: {
501
501
  city: string;
502
502
  country: string;
503
503
  number: string;
504
504
  postal: string;
505
505
  street: string;
506
506
  };
507
- channelConstraints: Partial<Record<EChannelName, ISaleChannel>>;
508
- device: IStringKeyRecord<IStringKeyRecord<string>>;
509
- extra: IStringKeyRecord<string>;
510
- geoPosition: IGeoPosition;
507
+ channelConstraints?: Partial<Record<EChannelName, ISaleChannel>>;
508
+ description?: string;
509
+ device?: IStringKeyRecord<IStringKeyRecord<string>>;
510
+ email?: string;
511
+ extra?: IStringKeyRecord<string>;
512
+ geoPosition?: IGeoPosition;
511
513
  id: string;
512
- menu: string;
514
+ menu?: string;
513
515
  name: string;
514
- sync: boolean;
515
- tempDisabled: boolean;
516
+ phone?: string;
517
+ sync?: boolean;
518
+ syncId?: string;
519
+ tempDisabled?: boolean;
520
+ tempDisabledReason?: string;
516
521
  timeZone: string;
517
- warehouse: string;
522
+ warehouse?: string;
523
+ posIntegratorStatus?: {
524
+ monitor: boolean;
525
+ lastHeartBest: string;
526
+ version: string;
527
+ };
518
528
  }
519
529
  export interface IFiscalEntry {
520
530
  discount: string;
@@ -549,7 +559,7 @@ export interface IFiscalizeData {
549
559
  };
550
560
  }
551
561
  declare const sizes: readonly [48, 57, 70, 100, 160, 250, 300, 500, 600, 900, 1000, 1920, 1080, 900];
552
- export type TMediaSize = typeof sizes[number];
562
+ export type TMediaSize = (typeof sizes)[number];
553
563
  export declare enum ENotificationType {
554
564
  ORDER_EVENT_ERROR = "OrderEventError",
555
565
  ORDER_APPLIED_EVENTS = "OrderAppliedEvents",
@@ -496,25 +496,35 @@ export declare enum EChannelName {
496
496
  TAZZ = "TAZZ"
497
497
  }
498
498
  export interface IVenueConfig {
499
- active: boolean;
500
- address: {
499
+ active?: boolean;
500
+ address?: {
501
501
  city: string;
502
502
  country: string;
503
503
  number: string;
504
504
  postal: string;
505
505
  street: string;
506
506
  };
507
- channelConstraints: Partial<Record<EChannelName, ISaleChannel>>;
508
- device: IStringKeyRecord<IStringKeyRecord<string>>;
509
- extra: IStringKeyRecord<string>;
510
- geoPosition: IGeoPosition;
507
+ channelConstraints?: Partial<Record<EChannelName, ISaleChannel>>;
508
+ description?: string;
509
+ device?: IStringKeyRecord<IStringKeyRecord<string>>;
510
+ email?: string;
511
+ extra?: IStringKeyRecord<string>;
512
+ geoPosition?: IGeoPosition;
511
513
  id: string;
512
- menu: string;
514
+ menu?: string;
513
515
  name: string;
514
- sync: boolean;
515
- tempDisabled: boolean;
516
+ phone?: string;
517
+ sync?: boolean;
518
+ syncId?: string;
519
+ tempDisabled?: boolean;
520
+ tempDisabledReason?: string;
516
521
  timeZone: string;
517
- warehouse: string;
522
+ warehouse?: string;
523
+ posIntegratorStatus?: {
524
+ monitor: boolean;
525
+ lastHeartBest: string;
526
+ version: string;
527
+ };
518
528
  }
519
529
  export interface IFiscalEntry {
520
530
  discount: string;
@@ -549,7 +559,7 @@ export interface IFiscalizeData {
549
559
  };
550
560
  }
551
561
  declare const sizes: readonly [48, 57, 70, 100, 160, 250, 300, 500, 600, 900, 1000, 1920, 1080, 900];
552
- export type TMediaSize = typeof sizes[number];
562
+ export type TMediaSize = (typeof sizes)[number];
553
563
  export declare enum ENotificationType {
554
564
  ORDER_EVENT_ERROR = "OrderEventError",
555
565
  ORDER_APPLIED_EVENTS = "OrderAppliedEvents",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.14.1",
3
+ "version": "1.14.2",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",