@company-semantics/contracts 85.0.0 → 85.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "85.0.0",
3
+ "version": "85.1.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
2
- export const SPEC_HASH = '53f462b4c90b' as const;
3
- export const SPEC_HASH_FULL = '53f462b4c90ba419e71d55d82e19bb6a9836d95aeaaae6299b8124ac340320d8' as const;
2
+ export const SPEC_HASH = '90f648ff0c6c' as const;
3
+ export const SPEC_HASH_FULL = '90f648ff0c6cb1f68e7ffaaa08a4e2606b111519803a5fe0346970679dda43ba' as const;
@@ -9625,6 +9625,7 @@ export interface components {
9625
9625
  };
9626
9626
  SourceSyncDismissFindingRequest: {
9627
9627
  note?: string;
9628
+ expectedFingerprint?: string;
9628
9629
  };
9629
9630
  SourceSyncStandingOrdersResponse: {
9630
9631
  orders: {
@@ -60,9 +60,19 @@ export const SourceSyncFindingsResponseSchema = z.object({
60
60
  findings: z.array(SourceSyncFindingSchema).max(500),
61
61
  });
62
62
 
63
- /** Dismiss one finding. Who dismissed it is the authenticated caller. */
63
+ /**
64
+ * Dismiss one finding. Who dismissed it is the authenticated caller.
65
+ * `expectedFingerprint` is the finding's fingerprint as the caller rendered it:
66
+ * when present, a finding that moved since is refused as changed. Optional
67
+ * during the expand step of the backend decision
68
+ * `findings-lifecycle-is-domain-agnostic`; required once dismissal becomes
69
+ * compare-and-set.
70
+ */
64
71
  export const SourceSyncDismissFindingRequestSchema = z
65
- .object({ note: z.string().max(500).optional() })
72
+ .object({
73
+ note: z.string().max(500).optional(),
74
+ expectedFingerprint: z.string().length(32).optional(),
75
+ })
66
76
  .strict();
67
77
 
68
78
  /**