@iveri/contracts 0.127.0 → 0.128.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
@@ -305,6 +305,7 @@ Conduit's outbox.
305
305
  `localization:render` permissions.
306
306
  - Version `0.100.0` adds `notification:send-any`, the password-reset bodies and Conduit's usage metrics.
307
307
  - Version `0.101.0` adds `UsageHistory`, a company's closed months of a product by metric.
308
+ - Version `0.128.0` adds `CommerceRefusal.ORDER_MOVED_ON` (`order-moved-on`), a stale order or shipment status change.
308
309
  - Version `0.127.0` adds `UniboxRefusal` and `SocialRefusal.STORAGE_UNAVAILABLE` (`storage-unavailable`).
309
310
  - Version `0.123.0` adds `HrRefusal`, the HR refusals a client says in the reader's language.
310
311
  - Version `0.122.0` adds `RestaurantRefusal`, the restaurant refusals a client says in the reader's language.
@@ -38,5 +38,10 @@ export declare enum CommerceRefusal {
38
38
  /** A courier collects only a packed shipment. */
39
39
  NOT_PACKED = "not-packed",
40
40
  /** This shop is not set up to send couriers. */
41
- COURIERS_OFF = "couriers-off"
41
+ COURIERS_OFF = "couriers-off",
42
+ /**
43
+ * The order, or its shipment, cannot make that move from where it is now, usually because somebody else moved it
44
+ * first; `details.currentStatus` says where it is (merchant only).
45
+ */
46
+ ORDER_MOVED_ON = "order-moved-on"
42
47
  }
@@ -40,4 +40,9 @@ export var CommerceRefusal;
40
40
  CommerceRefusal["NOT_PACKED"] = "not-packed";
41
41
  /** This shop is not set up to send couriers. */
42
42
  CommerceRefusal["COURIERS_OFF"] = "couriers-off";
43
+ /**
44
+ * The order, or its shipment, cannot make that move from where it is now, usually because somebody else moved it
45
+ * first; `details.currentStatus` says where it is (merchant only).
46
+ */
47
+ CommerceRefusal["ORDER_MOVED_ON"] = "order-moved-on";
43
48
  })(CommerceRefusal || (CommerceRefusal = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.127.0",
3
+ "version": "0.128.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {