@iveri/contracts 0.156.0 → 0.157.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/README.md CHANGED
@@ -324,6 +324,7 @@ Conduit's outbox.
324
324
  `UniboxAgents` under `@iveri/contracts/unibox`, so the inbox picks agents by name.
325
325
  - Version `0.139.0` adds a trainer's notes on a member: `GymTrainerNote`, `GymTrainerNotes`, `SaveGymTrainerNoteRequest`,
326
326
  `GymMyTrainerNote` and the `GymRefusal` member `not-their-trainer` under `@iveri/contracts/gym`.
327
+ - Version `0.157.0` adds `RestaurantDeliveryState` members `returning` and `returned`.
327
328
  - Version `0.156.0` adds the delivery statuses `returning` and `returned`, `DeliveryUndeliveredReason` and the
328
329
  undelivered fields on a board job, for a courier who cannot hand a parcel over.
329
330
  - Version `0.155.0` adds gym-wide challenges (`GymChallenge`, `GymMyChallenge`, standings and three `GymRefusal`
@@ -5,5 +5,10 @@ export declare enum RestaurantDeliveryState {
5
5
  PICKED_UP = "picked-up",
6
6
  IN_TRANSIT = "in-transit",
7
7
  DELIVERED = "delivered",
8
- UNDELIVERABLE = "undeliverable"
8
+ /** No courier could be found, or the search was called off. The food never left. */
9
+ UNDELIVERABLE = "undeliverable",
10
+ /** The courier could not hand it over and is bringing it back. Nobody can be asked again until it is back. */
11
+ RETURNING = "returning",
12
+ /** Back at the restaurant. Staff send it again or call the order off. */
13
+ RETURNED = "returned"
9
14
  }
@@ -6,5 +6,10 @@ export var RestaurantDeliveryState;
6
6
  RestaurantDeliveryState["PICKED_UP"] = "picked-up";
7
7
  RestaurantDeliveryState["IN_TRANSIT"] = "in-transit";
8
8
  RestaurantDeliveryState["DELIVERED"] = "delivered";
9
+ /** No courier could be found, or the search was called off. The food never left. */
9
10
  RestaurantDeliveryState["UNDELIVERABLE"] = "undeliverable";
11
+ /** The courier could not hand it over and is bringing it back. Nobody can be asked again until it is back. */
12
+ RestaurantDeliveryState["RETURNING"] = "returning";
13
+ /** Back at the restaurant. Staff send it again or call the order off. */
14
+ RestaurantDeliveryState["RETURNED"] = "returned";
10
15
  })(RestaurantDeliveryState || (RestaurantDeliveryState = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.156.0",
3
+ "version": "0.157.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {