@orderingstack/ordering-types 0.1.6 → 0.1.7
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 +6 -1
- package/dist/esm/index.d.ts +6 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -393,11 +393,16 @@ export declare enum OrderProductKind {
|
|
|
393
393
|
export interface ProductLiterals {
|
|
394
394
|
[propName: string]: any;
|
|
395
395
|
}
|
|
396
|
+
type WeekDay = "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";
|
|
397
|
+
export type SaleChannelWeek = Partial<Record<WeekDay, {
|
|
398
|
+
from: string;
|
|
399
|
+
to: string;
|
|
400
|
+
}[]>>;
|
|
396
401
|
export interface SaleChannel {
|
|
397
402
|
active?: boolean;
|
|
398
403
|
minDeliveryTime?: string;
|
|
399
404
|
minOrderValue?: string;
|
|
400
|
-
week?:
|
|
405
|
+
week?: SaleChannelWeek;
|
|
401
406
|
}
|
|
402
407
|
export declare enum EChannelName {
|
|
403
408
|
DINE_IN = "DINE_IN",
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -393,11 +393,16 @@ export declare enum OrderProductKind {
|
|
|
393
393
|
export interface ProductLiterals {
|
|
394
394
|
[propName: string]: any;
|
|
395
395
|
}
|
|
396
|
+
type WeekDay = "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";
|
|
397
|
+
export type SaleChannelWeek = Partial<Record<WeekDay, {
|
|
398
|
+
from: string;
|
|
399
|
+
to: string;
|
|
400
|
+
}[]>>;
|
|
396
401
|
export interface SaleChannel {
|
|
397
402
|
active?: boolean;
|
|
398
403
|
minDeliveryTime?: string;
|
|
399
404
|
minOrderValue?: string;
|
|
400
|
-
week?:
|
|
405
|
+
week?: SaleChannelWeek;
|
|
401
406
|
}
|
|
402
407
|
export declare enum EChannelName {
|
|
403
408
|
DINE_IN = "DINE_IN",
|