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 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: string;
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: string;
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 { type AddToBasketRequest, type AddToBasketResponse, type Basket, type BasketItem, type BasketItemMenuItemRef, type BasketItemMetadata, type BasketStatus, type ConfirmOrderRequest, type ConfirmOrderResponse, type CreatePaymentIntentRequest, type CreatePaymentIntentResponse, type CropArea, type Currency, type DayOfWeek, type Event, type EventByAccessor, type EventMenu, type EventPoster, type EventRow, type GetEventOptions, type GetMenuOptions, type ListEventsOptions, type ListEventsResponse, type Menu, type MenuAsset, type MenuBeverage, type MenuBundle, type MenuBundleDeposit, type MenuDish, type MenuItem, type MenuItemRow, type MenuItemType, type MenuSubscription, type MenuSubscriptionPoster, Order3000Client, type Order3000ClientConfig, type OrderFulfillmentType, type PlaceOrderRequest, type Promotion, type RealtimeConfig, type RealtimeEvent, type RealtimeSubscription, type RemoveFromBasketResponse, type Schedule, type ScheduleInfo, type ScheduleOverride, type ScheduleOverrideRow, type ScheduleRow, type ScheduleTimeSlot, type ScheduleWithTimeSlots, type SubscribeRequest, type SubscribeResponse, type SubscriberStatus, type SubscriptionCredit, type SubscriptionCreditStatus, type SubscriptionOptions, type SubscriptionPeriod, type TimeSlot, type Unit, getScheduleInfo };
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: string;
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: string;
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 { type AddToBasketRequest, type AddToBasketResponse, type Basket, type BasketItem, type BasketItemMenuItemRef, type BasketItemMetadata, type BasketStatus, type ConfirmOrderRequest, type ConfirmOrderResponse, type CreatePaymentIntentRequest, type CreatePaymentIntentResponse, type CropArea, type Currency, type DayOfWeek, type Event, type EventByAccessor, type EventMenu, type EventPoster, type EventRow, type GetEventOptions, type GetMenuOptions, type ListEventsOptions, type ListEventsResponse, type Menu, type MenuAsset, type MenuBeverage, type MenuBundle, type MenuBundleDeposit, type MenuDish, type MenuItem, type MenuItemRow, type MenuItemType, type MenuSubscription, type MenuSubscriptionPoster, Order3000Client, type Order3000ClientConfig, type OrderFulfillmentType, type PlaceOrderRequest, type Promotion, type RealtimeConfig, type RealtimeEvent, type RealtimeSubscription, type RemoveFromBasketResponse, type Schedule, type ScheduleInfo, type ScheduleOverride, type ScheduleOverrideRow, type ScheduleRow, type ScheduleTimeSlot, type ScheduleWithTimeSlots, type SubscribeRequest, type SubscribeResponse, type SubscriberStatus, type SubscriptionCredit, type SubscriptionCreditStatus, type SubscriptionOptions, type SubscriptionPeriod, type TimeSlot, type Unit, getScheduleInfo };
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.2",
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.11.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/prettier-config": "1.0.6",
35
- "@kolaveri/tsconfig": "1.0.1"
35
+ "@kolaveri/tsconfig": "1.0.1",
36
+ "@kolaveri/prettier-config": "1.0.6"
36
37
  },
37
38
  "files": [
38
39
  "dist"