@orderingstack/ordering-types 1.18.4 → 1.19.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/cjs/api.d.ts +1 -1
- package/dist/cjs/api.js +3 -2
- package/dist/cjs/index.d.ts +8 -3
- package/dist/cjs/index.js +5 -0
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +3 -2
- package/dist/esm/index.d.ts +8 -3
- package/dist/esm/index.js +5 -0
- package/package.json +1 -1
package/dist/cjs/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EOrderPaymentType, EOrderStatus, EOrderType, IProductState, IStringKeyRecord } from "./index";
|
|
2
|
-
export declare const aggregators: readonly ["GLOVO", "JUSTEAT", "
|
|
2
|
+
export declare const aggregators: readonly ["BOLT", "GLOVO", "JUSTEAT", "TAZZ", "UBER", "UPMENU", "WOLT", "_ANY_"];
|
|
3
3
|
export type TAggregator = typeof aggregators[number];
|
|
4
4
|
type TOrderDir = "DESC" | "ASC";
|
|
5
5
|
interface ApiParams {
|
package/dist/cjs/api.js
CHANGED
package/dist/cjs/index.d.ts
CHANGED
|
@@ -192,7 +192,10 @@ export declare enum EOrderType {
|
|
|
192
192
|
BOLT_TAKE_AWAY = "BOLT_TAKE_AWAY",
|
|
193
193
|
BOLT_DINE_IN = "BOLT_DINE_IN",
|
|
194
194
|
TAZZ_DELIVERY = "TAZZ_DELIVERY",
|
|
195
|
-
TAZZ_TAKE_AWAY = "TAZZ_TAKE_AWAY"
|
|
195
|
+
TAZZ_TAKE_AWAY = "TAZZ_TAKE_AWAY",
|
|
196
|
+
UPMENU_DELIVERY = "UPMENU_DELIVERY",
|
|
197
|
+
UPMENU_TAKE_AWAY = "UPMENU_TAKE_AWAY",
|
|
198
|
+
UPMENU_DINE_IN = "UPMENU_DINE_IN"
|
|
196
199
|
}
|
|
197
200
|
export declare enum EOrderSource {
|
|
198
201
|
KIOSK = "KIOSK",
|
|
@@ -204,7 +207,8 @@ export declare enum EOrderSource {
|
|
|
204
207
|
UBER = "UBER",
|
|
205
208
|
BOLT = "BOLT",
|
|
206
209
|
TAZZ = "TAZZ",
|
|
207
|
-
POS = "POS"
|
|
210
|
+
POS = "POS",
|
|
211
|
+
UPMENU = "UPMENU"
|
|
208
212
|
}
|
|
209
213
|
export declare enum EChannelName {
|
|
210
214
|
DINE_IN = "DINE_IN",
|
|
@@ -215,7 +219,8 @@ export declare enum EChannelName {
|
|
|
215
219
|
UBER = "UBER",
|
|
216
220
|
BOLT = "BOLT",
|
|
217
221
|
WOLT = "WOLT",
|
|
218
|
-
TAZZ = "TAZZ"
|
|
222
|
+
TAZZ = "TAZZ",
|
|
223
|
+
UPMENU = "UPMENU"
|
|
219
224
|
}
|
|
220
225
|
export interface IOrderDeliveryAddress {
|
|
221
226
|
street: string;
|
package/dist/cjs/index.js
CHANGED
|
@@ -75,6 +75,9 @@ var EOrderType;
|
|
|
75
75
|
EOrderType["BOLT_DINE_IN"] = "BOLT_DINE_IN";
|
|
76
76
|
EOrderType["TAZZ_DELIVERY"] = "TAZZ_DELIVERY";
|
|
77
77
|
EOrderType["TAZZ_TAKE_AWAY"] = "TAZZ_TAKE_AWAY";
|
|
78
|
+
EOrderType["UPMENU_DELIVERY"] = "UPMENU_DELIVERY";
|
|
79
|
+
EOrderType["UPMENU_TAKE_AWAY"] = "UPMENU_TAKE_AWAY";
|
|
80
|
+
EOrderType["UPMENU_DINE_IN"] = "UPMENU_DINE_IN";
|
|
78
81
|
})(EOrderType = exports.EOrderType || (exports.EOrderType = {}));
|
|
79
82
|
var EOrderSource;
|
|
80
83
|
(function (EOrderSource) {
|
|
@@ -88,6 +91,7 @@ var EOrderSource;
|
|
|
88
91
|
EOrderSource["BOLT"] = "BOLT";
|
|
89
92
|
EOrderSource["TAZZ"] = "TAZZ";
|
|
90
93
|
EOrderSource["POS"] = "POS";
|
|
94
|
+
EOrderSource["UPMENU"] = "UPMENU";
|
|
91
95
|
})(EOrderSource = exports.EOrderSource || (exports.EOrderSource = {}));
|
|
92
96
|
var EChannelName;
|
|
93
97
|
(function (EChannelName) {
|
|
@@ -100,6 +104,7 @@ var EChannelName;
|
|
|
100
104
|
EChannelName["BOLT"] = "BOLT";
|
|
101
105
|
EChannelName["WOLT"] = "WOLT";
|
|
102
106
|
EChannelName["TAZZ"] = "TAZZ";
|
|
107
|
+
EChannelName["UPMENU"] = "UPMENU";
|
|
103
108
|
})(EChannelName = exports.EChannelName || (exports.EChannelName = {}));
|
|
104
109
|
var EOrderStatus;
|
|
105
110
|
(function (EOrderStatus) {
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EOrderPaymentType, EOrderStatus, EOrderType, IProductState, IStringKeyRecord } from "./index";
|
|
2
|
-
export declare const aggregators: readonly ["GLOVO", "JUSTEAT", "
|
|
2
|
+
export declare const aggregators: readonly ["BOLT", "GLOVO", "JUSTEAT", "TAZZ", "UBER", "UPMENU", "WOLT", "_ANY_"];
|
|
3
3
|
export type TAggregator = typeof aggregators[number];
|
|
4
4
|
type TOrderDir = "DESC" | "ASC";
|
|
5
5
|
interface ApiParams {
|
package/dist/esm/api.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
|
@@ -192,7 +192,10 @@ export declare enum EOrderType {
|
|
|
192
192
|
BOLT_TAKE_AWAY = "BOLT_TAKE_AWAY",
|
|
193
193
|
BOLT_DINE_IN = "BOLT_DINE_IN",
|
|
194
194
|
TAZZ_DELIVERY = "TAZZ_DELIVERY",
|
|
195
|
-
TAZZ_TAKE_AWAY = "TAZZ_TAKE_AWAY"
|
|
195
|
+
TAZZ_TAKE_AWAY = "TAZZ_TAKE_AWAY",
|
|
196
|
+
UPMENU_DELIVERY = "UPMENU_DELIVERY",
|
|
197
|
+
UPMENU_TAKE_AWAY = "UPMENU_TAKE_AWAY",
|
|
198
|
+
UPMENU_DINE_IN = "UPMENU_DINE_IN"
|
|
196
199
|
}
|
|
197
200
|
export declare enum EOrderSource {
|
|
198
201
|
KIOSK = "KIOSK",
|
|
@@ -204,7 +207,8 @@ export declare enum EOrderSource {
|
|
|
204
207
|
UBER = "UBER",
|
|
205
208
|
BOLT = "BOLT",
|
|
206
209
|
TAZZ = "TAZZ",
|
|
207
|
-
POS = "POS"
|
|
210
|
+
POS = "POS",
|
|
211
|
+
UPMENU = "UPMENU"
|
|
208
212
|
}
|
|
209
213
|
export declare enum EChannelName {
|
|
210
214
|
DINE_IN = "DINE_IN",
|
|
@@ -215,7 +219,8 @@ export declare enum EChannelName {
|
|
|
215
219
|
UBER = "UBER",
|
|
216
220
|
BOLT = "BOLT",
|
|
217
221
|
WOLT = "WOLT",
|
|
218
|
-
TAZZ = "TAZZ"
|
|
222
|
+
TAZZ = "TAZZ",
|
|
223
|
+
UPMENU = "UPMENU"
|
|
219
224
|
}
|
|
220
225
|
export interface IOrderDeliveryAddress {
|
|
221
226
|
street: string;
|
package/dist/esm/index.js
CHANGED
|
@@ -58,6 +58,9 @@ export var EOrderType;
|
|
|
58
58
|
EOrderType["BOLT_DINE_IN"] = "BOLT_DINE_IN";
|
|
59
59
|
EOrderType["TAZZ_DELIVERY"] = "TAZZ_DELIVERY";
|
|
60
60
|
EOrderType["TAZZ_TAKE_AWAY"] = "TAZZ_TAKE_AWAY";
|
|
61
|
+
EOrderType["UPMENU_DELIVERY"] = "UPMENU_DELIVERY";
|
|
62
|
+
EOrderType["UPMENU_TAKE_AWAY"] = "UPMENU_TAKE_AWAY";
|
|
63
|
+
EOrderType["UPMENU_DINE_IN"] = "UPMENU_DINE_IN";
|
|
61
64
|
})(EOrderType || (EOrderType = {}));
|
|
62
65
|
export var EOrderSource;
|
|
63
66
|
(function (EOrderSource) {
|
|
@@ -71,6 +74,7 @@ export var EOrderSource;
|
|
|
71
74
|
EOrderSource["BOLT"] = "BOLT";
|
|
72
75
|
EOrderSource["TAZZ"] = "TAZZ";
|
|
73
76
|
EOrderSource["POS"] = "POS";
|
|
77
|
+
EOrderSource["UPMENU"] = "UPMENU";
|
|
74
78
|
})(EOrderSource || (EOrderSource = {}));
|
|
75
79
|
export var EChannelName;
|
|
76
80
|
(function (EChannelName) {
|
|
@@ -83,6 +87,7 @@ export var EChannelName;
|
|
|
83
87
|
EChannelName["BOLT"] = "BOLT";
|
|
84
88
|
EChannelName["WOLT"] = "WOLT";
|
|
85
89
|
EChannelName["TAZZ"] = "TAZZ";
|
|
90
|
+
EChannelName["UPMENU"] = "UPMENU";
|
|
86
91
|
})(EChannelName || (EChannelName = {}));
|
|
87
92
|
export var EOrderStatus;
|
|
88
93
|
(function (EOrderStatus) {
|