@compassdigital/sdk.typescript 3.55.0 → 3.57.0
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/lib/index.d.ts +608 -678
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +529 -625
- package/lib/index.js.map +1 -1
- package/lib/interface/location.d.ts +4 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +1835 -3213
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/order.d.ts +1 -1
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/task.d.ts +25 -20
- package/lib/interface/task.d.ts.map +1 -1
- package/manifest.json +5 -9
- package/package.json +2 -2
- package/src/index.ts +1528 -1734
- package/src/interface/compassconnect.ts +1 -1
- package/src/interface/location.ts +5 -0
- package/src/interface/menu.ts +2406 -3933
- package/src/interface/order.ts +1 -1
- package/src/interface/task.ts +30 -20
|
@@ -22,6 +22,7 @@ export interface MenuHours {
|
|
|
22
22
|
is_pickup?: boolean;
|
|
23
23
|
is_delivery?: boolean;
|
|
24
24
|
is_frictionless?: boolean;
|
|
25
|
+
state?: BrandOrMenuState;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
export interface Hours {
|
|
@@ -136,6 +137,7 @@ export interface Brand {
|
|
|
136
137
|
calories_edit_enabled?: boolean;
|
|
137
138
|
// admin panel toggle
|
|
138
139
|
special_instructions?: boolean;
|
|
140
|
+
dining_hall?: boolean;
|
|
139
141
|
[index: string]: any;
|
|
140
142
|
};
|
|
141
143
|
// brand
|
|
@@ -196,6 +198,7 @@ export interface Brand {
|
|
|
196
198
|
delivery?: WaitTime;
|
|
197
199
|
pickup?: WaitTime;
|
|
198
200
|
};
|
|
201
|
+
state?: BrandOrMenuState;
|
|
199
202
|
[index: string]: any;
|
|
200
203
|
}
|
|
201
204
|
|
|
@@ -447,6 +450,8 @@ export interface WaitTime {
|
|
|
447
450
|
ready_time: number;
|
|
448
451
|
}
|
|
449
452
|
|
|
453
|
+
export type BrandOrMenuState = string;
|
|
454
|
+
|
|
450
455
|
// POST /location - Create a new location
|
|
451
456
|
|
|
452
457
|
export type PostLocationBody = Location;
|