@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.
@@ -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?: Availability;
405
+ week?: SaleChannelWeek;
401
406
  }
402
407
  export declare enum EChannelName {
403
408
  DINE_IN = "DINE_IN",
@@ -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?: Availability;
405
+ week?: SaleChannelWeek;
401
406
  }
402
407
  export declare enum EChannelName {
403
408
  DINE_IN = "DINE_IN",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",