@open-tender/types 0.0.61 → 0.0.63

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.
@@ -38,9 +38,9 @@ export interface FavoriteItemGroup {
38
38
  is_size?: boolean;
39
39
  max?: number;
40
40
  min?: number;
41
- name: string;
42
- opttions: Array<FavoriteItem>;
43
- short_name: string;
41
+ name?: string;
42
+ options: Array<Partial<FavoriteItem>>;
43
+ short_name?: string;
44
44
  }
45
45
  export interface FavoriteItem {
46
46
  allergens: Array<string>;
@@ -119,7 +119,7 @@ export interface OrderItem {
119
119
  price_quantity?: number;
120
120
  price_total: Money;
121
121
  price_unit?: Money;
122
- quantity: number;
122
+ quantity?: number;
123
123
  quantity_total?: number;
124
124
  sales_tax_override?: string | null;
125
125
  short_description: string;
@@ -38,9 +38,9 @@ export interface FavoriteItemGroup {
38
38
  is_size?: boolean;
39
39
  max?: number;
40
40
  min?: number;
41
- name: string;
42
- opttions: Array<FavoriteItem>;
43
- short_name: string;
41
+ name?: string;
42
+ options: Array<Partial<FavoriteItem>>;
43
+ short_name?: string;
44
44
  }
45
45
  export interface FavoriteItem {
46
46
  allergens: Array<string>;
@@ -119,7 +119,7 @@ export interface OrderItem {
119
119
  price_quantity?: number;
120
120
  price_total: Money;
121
121
  price_unit?: Money;
122
- quantity: number;
122
+ quantity?: number;
123
123
  quantity_total?: number;
124
124
  sales_tax_override?: string | null;
125
125
  short_description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",