@orderingstack/ordering-types 1.9.5 → 1.10.1
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/cjs/index.d.ts +13 -1
- package/dist/esm/index.d.ts +13 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -119,9 +119,19 @@ export interface IProduct {
|
|
|
119
119
|
unit: string;
|
|
120
120
|
qty: string;
|
|
121
121
|
}>;
|
|
122
|
-
attrs?:
|
|
122
|
+
attrs?: IGroupAttributes;
|
|
123
123
|
__?: IProductFrontAttributes;
|
|
124
124
|
}
|
|
125
|
+
export interface IGroupAttributes {
|
|
126
|
+
selMin?: string;
|
|
127
|
+
selMax?: string;
|
|
128
|
+
qtyMin?: string;
|
|
129
|
+
qtyMax?: string;
|
|
130
|
+
vital?: boolean;
|
|
131
|
+
allowFraction?: boolean;
|
|
132
|
+
allowMultiple?: boolean;
|
|
133
|
+
hidden?: boolean;
|
|
134
|
+
}
|
|
125
135
|
export interface IProductState {
|
|
126
136
|
selected: IProductStateSelected;
|
|
127
137
|
filter: IProductStateFilter;
|
|
@@ -364,6 +374,8 @@ interface IOrderExtra {
|
|
|
364
374
|
"x-pos-id"?: string;
|
|
365
375
|
"company-tax-id"?: string;
|
|
366
376
|
"x-kiosk-id"?: string;
|
|
377
|
+
"x-table-number"?: string;
|
|
378
|
+
"x-tax-id"?: string;
|
|
367
379
|
[ERbiOrderExtra.OFFERS]?: string;
|
|
368
380
|
[ERbiOrderExtra.REWARDS]?: string;
|
|
369
381
|
[ERbiOrderExtra.POINTS_EARNED]?: string;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -119,9 +119,19 @@ export interface IProduct {
|
|
|
119
119
|
unit: string;
|
|
120
120
|
qty: string;
|
|
121
121
|
}>;
|
|
122
|
-
attrs?:
|
|
122
|
+
attrs?: IGroupAttributes;
|
|
123
123
|
__?: IProductFrontAttributes;
|
|
124
124
|
}
|
|
125
|
+
export interface IGroupAttributes {
|
|
126
|
+
selMin?: string;
|
|
127
|
+
selMax?: string;
|
|
128
|
+
qtyMin?: string;
|
|
129
|
+
qtyMax?: string;
|
|
130
|
+
vital?: boolean;
|
|
131
|
+
allowFraction?: boolean;
|
|
132
|
+
allowMultiple?: boolean;
|
|
133
|
+
hidden?: boolean;
|
|
134
|
+
}
|
|
125
135
|
export interface IProductState {
|
|
126
136
|
selected: IProductStateSelected;
|
|
127
137
|
filter: IProductStateFilter;
|
|
@@ -364,6 +374,8 @@ interface IOrderExtra {
|
|
|
364
374
|
"x-pos-id"?: string;
|
|
365
375
|
"company-tax-id"?: string;
|
|
366
376
|
"x-kiosk-id"?: string;
|
|
377
|
+
"x-table-number"?: string;
|
|
378
|
+
"x-tax-id"?: string;
|
|
367
379
|
[ERbiOrderExtra.OFFERS]?: string;
|
|
368
380
|
[ERbiOrderExtra.REWARDS]?: string;
|
|
369
381
|
[ERbiOrderExtra.POINTS_EARNED]?: string;
|