wicked-crew-api-types 0.145.0 → 0.146.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.
Files changed (2) hide show
  1. package/index.d.ts +31 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1685,6 +1685,37 @@ export interface GateInfo {
1685
1685
  * readiness read (then `rejudge` is not offered).
1686
1686
  */
1687
1687
  rejudge?: RejudgeOffer;
1688
+ /**
1689
+ * (api-types 0.146.0; studio#923) On a DELIVER gate whose delivery QE acceptance refuses (no
1690
+ * attributed PASS, an INCONCLUSIVE or unbound review, a FAIL): the operator's skip of QE
1691
+ * acceptance IN PLACE, on this gate — no relaunch. Answer it with
1692
+ * `POST /runs/:id/gate {approve: true, action: 'skip_qe', amend: '<reason>', ord}` (the reason is
1693
+ * required). The run's QE decision becomes `skipped` by the operator and the delivery goes,
1694
+ * labelled "QE acceptance skipped by operator: <reason>" on the run, every later gate and the
1695
+ * delivery. Only a human operator may take it: an operator-trust actor that is not human (a seat's
1696
+ * token, a standing order) gets a 403 `{code: 'human_operator_only'}`, audited as
1697
+ * `gate.skip_qe_refused`; an actor below operator trust is refused 403 by the daemon's trust check
1698
+ * before the route runs, as for every gate answer. The skip is audited as `gate.qe_skipped`. Read each time: ABSENT once QE passes, on every
1699
+ * other gate, on a run that does not require QE acceptance, and on an older daemon.
1700
+ */
1701
+ skipQe?: SkipQeOffer;
1702
+ }
1703
+
1704
+ /**
1705
+ * (api-types 0.146.0; studio#923) The operator's in-place QE skip a deliver gate offers
1706
+ * ({@link GateInfo.skipQe}). `action` is the stable choice key (the {@link GateDecision.action}
1707
+ * token); `qeAcceptance` is the check that refuses the delivery now, so the card can say why (an
1708
+ * INCONCLUSIVE review means a re-run of QE may hit the same wall).
1709
+ */
1710
+ export interface SkipQeOffer {
1711
+ action: 'skip_qe';
1712
+ /** Always `true`: `amend` must carry a non-empty reason (a 400 otherwise). */
1713
+ reasonRequired: true;
1714
+ /** Always `'human_operator'`: who may take it. */
1715
+ actor: 'human_operator';
1716
+ /** The label the skip carries: `QE acceptance skipped by operator`. */
1717
+ label: string;
1718
+ qeAcceptance: QeAcceptanceCheck;
1688
1719
  }
1689
1720
 
1690
1721
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew-api-types",
3
- "version": "0.145.0",
3
+ "version": "0.146.0",
4
4
  "description": "The wire contract of the wicked-crew daemon's /api/v1 REST surface and /ws CoreEvent frames \u2014 types only, zero runtime",
5
5
  "type": "module",
6
6
  "types": "./index.d.ts",