@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.
- package/dist/cjs/index.d.ts +21 -11
- package/dist/esm/index.d.ts +21 -11
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -496,25 +496,35 @@ export declare enum EChannelName {
|
|
|
496
496
|
TAZZ = "TAZZ"
|
|
497
497
|
}
|
|
498
498
|
export interface IVenueConfig {
|
|
499
|
-
active
|
|
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
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
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
|
|
514
|
+
menu?: string;
|
|
513
515
|
name: string;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
+
phone?: string;
|
|
517
|
+
sync?: boolean;
|
|
518
|
+
syncId?: string;
|
|
519
|
+
tempDisabled?: boolean;
|
|
520
|
+
tempDisabledReason?: string;
|
|
516
521
|
timeZone: string;
|
|
517
|
-
warehouse
|
|
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/dist/esm/index.d.ts
CHANGED
|
@@ -496,25 +496,35 @@ export declare enum EChannelName {
|
|
|
496
496
|
TAZZ = "TAZZ"
|
|
497
497
|
}
|
|
498
498
|
export interface IVenueConfig {
|
|
499
|
-
active
|
|
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
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
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
|
|
514
|
+
menu?: string;
|
|
513
515
|
name: string;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
+
phone?: string;
|
|
517
|
+
sync?: boolean;
|
|
518
|
+
syncId?: string;
|
|
519
|
+
tempDisabled?: boolean;
|
|
520
|
+
tempDisabledReason?: string;
|
|
516
521
|
timeZone: string;
|
|
517
|
-
warehouse
|
|
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",
|