order3000 0.14.3 → 0.16.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/dist/client.d.cts +13 -0
- package/dist/client.d.mts +13 -0
- package/package.json +3 -3
package/dist/client.d.cts
CHANGED
|
@@ -167,6 +167,7 @@ interface components {
|
|
|
167
167
|
* @description UUID of the event this reservation is for
|
|
168
168
|
*/
|
|
169
169
|
eventId: string;
|
|
170
|
+
quickReferenceNumber?: number | null;
|
|
170
171
|
/** @description Date of the reservation in YYYY-MM-DD format */
|
|
171
172
|
reservationDate: string;
|
|
172
173
|
/** @description Time of the reservation in HH:MM:SS format */
|
|
@@ -227,6 +228,7 @@ interface components {
|
|
|
227
228
|
* @description Event identifier for this reservation
|
|
228
229
|
*/
|
|
229
230
|
eventId: string;
|
|
231
|
+
quickReferenceNumber: number | null;
|
|
230
232
|
/** @description Date of the reservation in YYYY-MM-DD format */
|
|
231
233
|
reservationDate: string;
|
|
232
234
|
/** @description Time of the reservation in HH:MM:SS format */
|
|
@@ -504,6 +506,8 @@ interface MenuItem {
|
|
|
504
506
|
priceAdjustment: number;
|
|
505
507
|
currency: CurrencyCode;
|
|
506
508
|
isActive: boolean;
|
|
509
|
+
/** Whether this menu item should get a dedicated SEO detail page on consumer sites */
|
|
510
|
+
isFeatured: boolean;
|
|
507
511
|
sortIndex: string | null;
|
|
508
512
|
dish: MenuDish | null;
|
|
509
513
|
beverage: MenuBeverage | null;
|
|
@@ -515,6 +519,14 @@ interface Menu {
|
|
|
515
519
|
name: Record<string, string>;
|
|
516
520
|
description: Record<string, string> | null;
|
|
517
521
|
items?: MenuItem[];
|
|
522
|
+
/**
|
|
523
|
+
* Menu-level assets surfaced via the `menu_assets` junction. Populated
|
|
524
|
+
* when the caller passes `expand: ['assets']` (or `['items', 'assets']`)
|
|
525
|
+
* to `menus.getByAccessor` / `menus.get`. These are distinct from the
|
|
526
|
+
* per-item `dish.assets` / `beverage.assets` arrays — menu-level assets
|
|
527
|
+
* are curated for the menu as a whole (e.g. blog carousel imagery).
|
|
528
|
+
*/
|
|
529
|
+
assets?: MenuAsset[];
|
|
518
530
|
}
|
|
519
531
|
interface GetMenuOptions {
|
|
520
532
|
/** Expand related resources (items, assets) */
|
|
@@ -954,6 +966,7 @@ interface MenuItemRow {
|
|
|
954
966
|
price_adjustment: number;
|
|
955
967
|
currency: CurrencyCode;
|
|
956
968
|
is_active: boolean;
|
|
969
|
+
is_featured: boolean;
|
|
957
970
|
tags: string[] | null;
|
|
958
971
|
sort_index: string | null;
|
|
959
972
|
}
|
package/dist/client.d.mts
CHANGED
|
@@ -167,6 +167,7 @@ interface components {
|
|
|
167
167
|
* @description UUID of the event this reservation is for
|
|
168
168
|
*/
|
|
169
169
|
eventId: string;
|
|
170
|
+
quickReferenceNumber?: number | null;
|
|
170
171
|
/** @description Date of the reservation in YYYY-MM-DD format */
|
|
171
172
|
reservationDate: string;
|
|
172
173
|
/** @description Time of the reservation in HH:MM:SS format */
|
|
@@ -227,6 +228,7 @@ interface components {
|
|
|
227
228
|
* @description Event identifier for this reservation
|
|
228
229
|
*/
|
|
229
230
|
eventId: string;
|
|
231
|
+
quickReferenceNumber: number | null;
|
|
230
232
|
/** @description Date of the reservation in YYYY-MM-DD format */
|
|
231
233
|
reservationDate: string;
|
|
232
234
|
/** @description Time of the reservation in HH:MM:SS format */
|
|
@@ -504,6 +506,8 @@ interface MenuItem {
|
|
|
504
506
|
priceAdjustment: number;
|
|
505
507
|
currency: CurrencyCode;
|
|
506
508
|
isActive: boolean;
|
|
509
|
+
/** Whether this menu item should get a dedicated SEO detail page on consumer sites */
|
|
510
|
+
isFeatured: boolean;
|
|
507
511
|
sortIndex: string | null;
|
|
508
512
|
dish: MenuDish | null;
|
|
509
513
|
beverage: MenuBeverage | null;
|
|
@@ -515,6 +519,14 @@ interface Menu {
|
|
|
515
519
|
name: Record<string, string>;
|
|
516
520
|
description: Record<string, string> | null;
|
|
517
521
|
items?: MenuItem[];
|
|
522
|
+
/**
|
|
523
|
+
* Menu-level assets surfaced via the `menu_assets` junction. Populated
|
|
524
|
+
* when the caller passes `expand: ['assets']` (or `['items', 'assets']`)
|
|
525
|
+
* to `menus.getByAccessor` / `menus.get`. These are distinct from the
|
|
526
|
+
* per-item `dish.assets` / `beverage.assets` arrays — menu-level assets
|
|
527
|
+
* are curated for the menu as a whole (e.g. blog carousel imagery).
|
|
528
|
+
*/
|
|
529
|
+
assets?: MenuAsset[];
|
|
518
530
|
}
|
|
519
531
|
interface GetMenuOptions {
|
|
520
532
|
/** Expand related resources (items, assets) */
|
|
@@ -954,6 +966,7 @@ interface MenuItemRow {
|
|
|
954
966
|
price_adjustment: number;
|
|
955
967
|
currency: CurrencyCode;
|
|
956
968
|
is_active: boolean;
|
|
969
|
+
is_featured: boolean;
|
|
957
970
|
tags: string[] | null;
|
|
958
971
|
sort_index: string | null;
|
|
959
972
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "order3000",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "order3000 node.js sdk",
|
|
5
5
|
"main": "./dist/client.cjs",
|
|
6
6
|
"module": "./dist/client.mjs",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"prettier": "^3.7.4",
|
|
33
33
|
"tsx": "^4.19.2",
|
|
34
34
|
"typescript": "^5.9.3",
|
|
35
|
-
"@kolaveri/
|
|
35
|
+
"@kolaveri/tsconfig": "1.0.1",
|
|
36
36
|
"@kolaveri/prettier-config": "1.0.6",
|
|
37
|
-
"@kolaveri/
|
|
37
|
+
"@kolaveri/eslint-config": "1.4.2"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"dist"
|