@company-semantics/contracts 1.24.2 → 1.25.1
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,3 +1,3 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
|
|
2
|
-
export const SPEC_HASH = '
|
|
3
|
-
export const SPEC_HASH_FULL = '
|
|
2
|
+
export const SPEC_HASH = '3b3621a12672' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '3b3621a12672d03e48dad9007c700d26cadac5e1835ca7b6469ffd59366faa8e' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -2542,6 +2542,7 @@ export interface components {
|
|
|
2542
2542
|
id: string;
|
|
2543
2543
|
name: string;
|
|
2544
2544
|
email: string;
|
|
2545
|
+
jobTitle: string | null;
|
|
2545
2546
|
/** @enum {string} */
|
|
2546
2547
|
role: "owner" | "admin" | "member" | "auditor";
|
|
2547
2548
|
roleNames: string[];
|
|
@@ -2730,6 +2731,7 @@ export interface components {
|
|
|
2730
2731
|
id: string;
|
|
2731
2732
|
name: string;
|
|
2732
2733
|
email: string;
|
|
2734
|
+
jobTitle: string | null;
|
|
2733
2735
|
/** @enum {string} */
|
|
2734
2736
|
role: "owner" | "admin" | "member" | "auditor";
|
|
2735
2737
|
roleNames: string[];
|
package/src/content/schemas.ts
CHANGED
|
@@ -73,6 +73,14 @@ export const CompanyMdDocResponseSchema = z.object({
|
|
|
73
73
|
dependencies: z.array(CompanyMdDependencySchema),
|
|
74
74
|
members: z.array(CompanyMdPersonSchema),
|
|
75
75
|
extractionStatus: z.enum(['pending', 'extracting', 'complete', 'failed']),
|
|
76
|
+
/**
|
|
77
|
+
* Populated only when `extractionStatus === 'failed'`. Carries the
|
|
78
|
+
* diagnostic class/reason recorded by the worker on the latest
|
|
79
|
+
* extraction_runs row for this doc. `null` on the happy path and when
|
|
80
|
+
* no failed run is recorded.
|
|
81
|
+
*/
|
|
82
|
+
errorClass: z.string().nullable().optional(),
|
|
83
|
+
errorReason: z.string().nullable().optional(),
|
|
76
84
|
createdAt: z.string(),
|
|
77
85
|
updatedAt: z.string(),
|
|
78
86
|
});
|
package/src/org/schemas.ts
CHANGED
package/src/org/types.ts
CHANGED
|
@@ -118,6 +118,8 @@ export interface WorkspaceMember {
|
|
|
118
118
|
id: string;
|
|
119
119
|
name: string;
|
|
120
120
|
email: string;
|
|
121
|
+
/** Free-text job title (`users.job_title`). Null when unset. */
|
|
122
|
+
jobTitle: string | null;
|
|
121
123
|
/** Display role — derived collapse of RBAC into {owner,admin,member,auditor}. */
|
|
122
124
|
role: WorkspaceRole;
|
|
123
125
|
/** Raw RBAC role names (e.g. 'org_owner', 'org_admin', 'auditor'). Superset of `role`. */
|