@agenzo/merchant-cli 0.5.2 → 0.6.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/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41,6 +41,15 @@ var CODE_NUM = {
|
|
|
41
41
|
QUOTE_EXPIRED: 4202,
|
|
42
42
|
BOOKING_FAILED: 4203,
|
|
43
43
|
CANCELLATION_NOT_ALLOWED: 4204,
|
|
44
|
+
PRICE_MISMATCH: 4205,
|
|
45
|
+
VEHICLE_CLASS_MISMATCH: 4206,
|
|
46
|
+
PAYMENT_METHOD_REQUIRED: 4207,
|
|
47
|
+
QUOTE_CACHE_UNAVAILABLE: 4208,
|
|
48
|
+
ARREARS_OUTSTANDING: 4209,
|
|
49
|
+
CONTACT_REQUIRED: 4210,
|
|
50
|
+
INVALID_PHONE: 4211,
|
|
51
|
+
SEAT_LIMIT_EXCEEDED: 4213,
|
|
52
|
+
RIDE_NOT_FOUND: 4212,
|
|
44
53
|
NO_AVAILABILITY: 4301,
|
|
45
54
|
PRICE_CHANGED: 4302,
|
|
46
55
|
NAME_FORMAT_INVALID: 4303,
|
|
@@ -210,6 +219,15 @@ var STABLE_MESSAGE = {
|
|
|
210
219
|
VEHICLE_UNAVAILABLE: "No vehicle is available for the requested trip. Please try a different time or class.",
|
|
211
220
|
QUOTE_EXPIRED: "The quote has expired. Please request a new quote and retry.",
|
|
212
221
|
BOOKING_FAILED: "The booking could not be completed. Please retry.",
|
|
222
|
+
PRICE_MISMATCH: "The price does not match the quote. Re-quote and use the exact amount from the quote response.",
|
|
223
|
+
VEHICLE_CLASS_MISMATCH: "The vehicle class does not match the quote. Use the vehicle class from the quote response.",
|
|
224
|
+
PAYMENT_METHOD_REQUIRED: "Pay-per-call billing requires an active payment method. Please add a card first.",
|
|
225
|
+
QUOTE_CACHE_UNAVAILABLE: "Quote cache is temporarily unavailable. Please request a new quote and retry.",
|
|
226
|
+
ARREARS_OUTSTANDING: "You have outstanding arrears. Please settle your balance before booking a new ride.",
|
|
227
|
+
CONTACT_REQUIRED: "Passenger contact information is required. Please provide a passenger name and phone number.",
|
|
228
|
+
INVALID_PHONE: "The passenger phone number is not valid. Please provide a valid international number.",
|
|
229
|
+
SEAT_LIMIT_EXCEEDED: "The number of child/infant/toddler seats exceeds the vehicle capacity. Reduce seats or choose a larger vehicle.",
|
|
230
|
+
RIDE_NOT_FOUND: "The ride order was not found or does not belong to you.",
|
|
213
231
|
CANCELLATION_NOT_ALLOWED: "This order cannot be cancelled in its current state.",
|
|
214
232
|
NO_AVAILABILITY: "No rooms available for the selected hotel and dates.",
|
|
215
233
|
PRICE_CHANGED: "The price changed since the quote. Re-quote and confirm.",
|