@onereach/types-contacts-api 5.49.2 → 6.0.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/AGENTS.md +29 -0
  2. package/package.json +2 -2
package/AGENTS.md ADDED
@@ -0,0 +1,29 @@
1
+ # Generated Types Package Guide
2
+
3
+ ## Responsibility
4
+
5
+ Generate and build TypeScript types for Contacts API contracts.
6
+
7
+ ## Local Rules
8
+
9
+ - Keep generated public types aligned with API contracts.
10
+ - Preserve strong typing; avoid `any`.
11
+ - Do not hand-edit generated output in `dist`.
12
+ - Keep generation scripts deterministic.
13
+ - Treat contract shape changes as cross-package changes that may require API, UI, and SDK test updates.
14
+
15
+ ## Validation
16
+
17
+ - Regenerate and build types from the repo root with:
18
+ ```bash
19
+ pnpm build:types
20
+ ```
21
+ - If database version metadata changes, run:
22
+ ```bash
23
+ pnpm types:db-versions
24
+ ```
25
+
26
+ ## Local Documentation
27
+
28
+ - Document contract-impacting changes in a focused feature doc under `AGENTS/features/`.
29
+ - If contract strategy changes, add an ADR.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/types-contacts-api",
3
- "version": "5.49.2",
3
+ "version": "6.0.0",
4
4
  "description": "Generated types for Contacts Api",
5
5
  "author": "OneReach.ai",
6
6
  "main": "dist/cjs/index.js",
@@ -25,5 +25,5 @@
25
25
  "publishConfig": {
26
26
  "access": "public"
27
27
  },
28
- "gitHead": "c60237caad16511b99387cd0503bb91be29b57c9"
28
+ "gitHead": "6c9262e317281dac87321194fa33c8f7654ef99b"
29
29
  }