order3000 0.13.2 → 0.13.3
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 +6 -3
- package/dist/client.d.mts +6 -3
- package/package.json +5 -4
package/dist/client.d.cts
CHANGED
|
@@ -479,6 +479,7 @@ interface MenuDish {
|
|
|
479
479
|
name: Record<string, string>;
|
|
480
480
|
shortName?: Record<string, string>;
|
|
481
481
|
description: Record<string, string> | null;
|
|
482
|
+
longDescription?: Record<string, string> | null;
|
|
482
483
|
isVegetarian: boolean | null;
|
|
483
484
|
isVegan: boolean | null;
|
|
484
485
|
isGlutenFree: boolean | null;
|
|
@@ -491,6 +492,7 @@ interface MenuBeverage {
|
|
|
491
492
|
name: Record<string, string>;
|
|
492
493
|
shortName?: Record<string, string>;
|
|
493
494
|
description: Record<string, string> | null;
|
|
495
|
+
longDescription?: Record<string, string> | null;
|
|
494
496
|
assets?: MenuAsset[];
|
|
495
497
|
}
|
|
496
498
|
interface MenuItem {
|
|
@@ -499,7 +501,7 @@ interface MenuItem {
|
|
|
499
501
|
tags: string[] | null;
|
|
500
502
|
/** Price adjustment in cents (adds to bundle base price) */
|
|
501
503
|
priceAdjustment: number;
|
|
502
|
-
currency:
|
|
504
|
+
currency: CurrencyCode;
|
|
503
505
|
isActive: boolean;
|
|
504
506
|
sortIndex: string | null;
|
|
505
507
|
dish: MenuDish | null;
|
|
@@ -939,7 +941,7 @@ interface MenuItemRow {
|
|
|
939
941
|
dish_id: string | null;
|
|
940
942
|
beverage_id: string | null;
|
|
941
943
|
price_adjustment: number;
|
|
942
|
-
currency:
|
|
944
|
+
currency: CurrencyCode;
|
|
943
945
|
is_active: boolean;
|
|
944
946
|
tags: string[] | null;
|
|
945
947
|
sort_index: string | null;
|
|
@@ -1084,4 +1086,5 @@ declare class Order3000Client {
|
|
|
1084
1086
|
constructor(config: Order3000ClientConfig);
|
|
1085
1087
|
}
|
|
1086
1088
|
|
|
1087
|
-
export {
|
|
1089
|
+
export { Order3000Client, getScheduleInfo };
|
|
1090
|
+
export type { AddToBasketRequest, AddToBasketResponse, Basket, BasketItem, BasketItemMenuItemRef, BasketItemMetadata, BasketStatus, ConfirmOrderRequest, ConfirmOrderResponse, CreatePaymentIntentRequest, CreatePaymentIntentResponse, CropArea, Currency, DayOfWeek, Event, EventByAccessor, EventMenu, EventPoster, EventRow, GetEventOptions, GetMenuOptions, ListEventsOptions, ListEventsResponse, Menu, MenuAsset, MenuBeverage, MenuBundle, MenuBundleDeposit, MenuDish, MenuItem, MenuItemRow, MenuItemType, MenuSubscription, MenuSubscriptionPoster, Order3000ClientConfig, OrderFulfillmentType, PlaceOrderRequest, Promotion, RealtimeConfig, RealtimeEvent, RealtimeSubscription, RemoveFromBasketResponse, Schedule, ScheduleInfo, ScheduleOverride, ScheduleOverrideRow, ScheduleRow, ScheduleTimeSlot, ScheduleWithTimeSlots, SubscribeRequest, SubscribeResponse, SubscriberStatus, SubscriptionCredit, SubscriptionCreditStatus, SubscriptionOptions, SubscriptionPeriod, TimeSlot, Unit };
|
package/dist/client.d.mts
CHANGED
|
@@ -479,6 +479,7 @@ interface MenuDish {
|
|
|
479
479
|
name: Record<string, string>;
|
|
480
480
|
shortName?: Record<string, string>;
|
|
481
481
|
description: Record<string, string> | null;
|
|
482
|
+
longDescription?: Record<string, string> | null;
|
|
482
483
|
isVegetarian: boolean | null;
|
|
483
484
|
isVegan: boolean | null;
|
|
484
485
|
isGlutenFree: boolean | null;
|
|
@@ -491,6 +492,7 @@ interface MenuBeverage {
|
|
|
491
492
|
name: Record<string, string>;
|
|
492
493
|
shortName?: Record<string, string>;
|
|
493
494
|
description: Record<string, string> | null;
|
|
495
|
+
longDescription?: Record<string, string> | null;
|
|
494
496
|
assets?: MenuAsset[];
|
|
495
497
|
}
|
|
496
498
|
interface MenuItem {
|
|
@@ -499,7 +501,7 @@ interface MenuItem {
|
|
|
499
501
|
tags: string[] | null;
|
|
500
502
|
/** Price adjustment in cents (adds to bundle base price) */
|
|
501
503
|
priceAdjustment: number;
|
|
502
|
-
currency:
|
|
504
|
+
currency: CurrencyCode;
|
|
503
505
|
isActive: boolean;
|
|
504
506
|
sortIndex: string | null;
|
|
505
507
|
dish: MenuDish | null;
|
|
@@ -939,7 +941,7 @@ interface MenuItemRow {
|
|
|
939
941
|
dish_id: string | null;
|
|
940
942
|
beverage_id: string | null;
|
|
941
943
|
price_adjustment: number;
|
|
942
|
-
currency:
|
|
944
|
+
currency: CurrencyCode;
|
|
943
945
|
is_active: boolean;
|
|
944
946
|
tags: string[] | null;
|
|
945
947
|
sort_index: string | null;
|
|
@@ -1084,4 +1086,5 @@ declare class Order3000Client {
|
|
|
1084
1086
|
constructor(config: Order3000ClientConfig);
|
|
1085
1087
|
}
|
|
1086
1088
|
|
|
1087
|
-
export {
|
|
1089
|
+
export { Order3000Client, getScheduleInfo };
|
|
1090
|
+
export type { AddToBasketRequest, AddToBasketResponse, Basket, BasketItem, BasketItemMenuItemRef, BasketItemMetadata, BasketStatus, ConfirmOrderRequest, ConfirmOrderResponse, CreatePaymentIntentRequest, CreatePaymentIntentResponse, CropArea, Currency, DayOfWeek, Event, EventByAccessor, EventMenu, EventPoster, EventRow, GetEventOptions, GetMenuOptions, ListEventsOptions, ListEventsResponse, Menu, MenuAsset, MenuBeverage, MenuBundle, MenuBundleDeposit, MenuDish, MenuItem, MenuItemRow, MenuItemType, MenuSubscription, MenuSubscriptionPoster, Order3000ClientConfig, OrderFulfillmentType, PlaceOrderRequest, Promotion, RealtimeConfig, RealtimeEvent, RealtimeSubscription, RemoveFromBasketResponse, Schedule, ScheduleInfo, ScheduleOverride, ScheduleOverrideRow, ScheduleRow, ScheduleTimeSlot, ScheduleWithTimeSlots, SubscribeRequest, SubscribeResponse, SubscriberStatus, SubscriptionCredit, SubscriptionCreditStatus, SubscriptionOptions, SubscriptionPeriod, TimeSlot, Unit };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "order3000",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"description": "order3000 node.js sdk",
|
|
5
5
|
"main": "./dist/client.cjs",
|
|
6
6
|
"module": "./dist/client.mjs",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
+
"@date-fns/tz": "^1.4.1",
|
|
19
20
|
"@supabase/supabase-js": "^2.49.8",
|
|
20
21
|
"@types/react-type-animation": "^2.0.0",
|
|
21
22
|
"i18next": "^25.6.0",
|
|
@@ -26,13 +27,13 @@
|
|
|
26
27
|
"devDependencies": {
|
|
27
28
|
"@types/node": "^24.10.0",
|
|
28
29
|
"openapi-typescript": "^7.6.1",
|
|
29
|
-
"pkgroll": "^2.
|
|
30
|
+
"pkgroll": "^2.26.3",
|
|
30
31
|
"prettier": "^3.7.4",
|
|
31
32
|
"tsx": "^4.19.2",
|
|
32
33
|
"typescript": "^5.9.3",
|
|
33
34
|
"@kolaveri/eslint-config": "1.4.1",
|
|
34
|
-
"@kolaveri/
|
|
35
|
-
"@kolaveri/
|
|
35
|
+
"@kolaveri/tsconfig": "1.0.1",
|
|
36
|
+
"@kolaveri/prettier-config": "1.0.6"
|
|
36
37
|
},
|
|
37
38
|
"files": [
|
|
38
39
|
"dist"
|