order3000 0.11.0 → 0.12.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/client.d.cts +8 -0
- package/dist/client.d.mts +8 -0
- package/package.json +4 -4
package/dist/client.d.cts
CHANGED
|
@@ -312,6 +312,14 @@ type PlaceOrderRequest = Omit<schemas['PlaceOrderRequest'], 'taxAmount' | 'total
|
|
|
312
312
|
fulfillmentType?: OrderFulfillmentType;
|
|
313
313
|
/** When the order should be fulfilled (pickup/delivery time) */
|
|
314
314
|
fulfillmentAt?: Date;
|
|
315
|
+
/** Guest session identifier for customer lookup */
|
|
316
|
+
sessionId?: string;
|
|
317
|
+
/** Customer first name (for cash orders) */
|
|
318
|
+
customerFirstName?: string;
|
|
319
|
+
/** Customer last name (for cash orders) */
|
|
320
|
+
customerLastName?: string;
|
|
321
|
+
/** Customer email address (for cash orders) */
|
|
322
|
+
customerEmail?: string;
|
|
315
323
|
};
|
|
316
324
|
type PlaceOrderResponse = schemas['PlaceOrderResponse'];
|
|
317
325
|
type MakeReservationRequest = schemas['MakeReservationRequest'];
|
package/dist/client.d.mts
CHANGED
|
@@ -312,6 +312,14 @@ type PlaceOrderRequest = Omit<schemas['PlaceOrderRequest'], 'taxAmount' | 'total
|
|
|
312
312
|
fulfillmentType?: OrderFulfillmentType;
|
|
313
313
|
/** When the order should be fulfilled (pickup/delivery time) */
|
|
314
314
|
fulfillmentAt?: Date;
|
|
315
|
+
/** Guest session identifier for customer lookup */
|
|
316
|
+
sessionId?: string;
|
|
317
|
+
/** Customer first name (for cash orders) */
|
|
318
|
+
customerFirstName?: string;
|
|
319
|
+
/** Customer last name (for cash orders) */
|
|
320
|
+
customerLastName?: string;
|
|
321
|
+
/** Customer email address (for cash orders) */
|
|
322
|
+
customerEmail?: string;
|
|
315
323
|
};
|
|
316
324
|
type PlaceOrderResponse = schemas['PlaceOrderResponse'];
|
|
317
325
|
type MakeReservationRequest = schemas['MakeReservationRequest'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "order3000",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "order3000 node.js sdk",
|
|
5
5
|
"main": "./dist/client.cjs",
|
|
6
6
|
"module": "./dist/client.mjs",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"i18next": "^25.6.0",
|
|
22
22
|
"i18next-fs-backend": "^2.6.0",
|
|
23
23
|
"react-type-animation": "^3.2.0",
|
|
24
|
-
"@kolaveri/money": "1.1.
|
|
24
|
+
"@kolaveri/money": "1.1.4"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^24.10.0",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"tsx": "^4.19.2",
|
|
32
32
|
"typescript": "^5.9.3",
|
|
33
33
|
"@kolaveri/prettier-config": "1.0.6",
|
|
34
|
-
"@kolaveri/
|
|
35
|
-
"@kolaveri/
|
|
34
|
+
"@kolaveri/eslint-config": "1.4.0",
|
|
35
|
+
"@kolaveri/tsconfig": "1.0.1"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"dist"
|