@company-semantics/contracts 55.0.0 → 56.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.
- package/package.json +1 -1
- package/src/integrations/schemas.ts +14 -0
package/package.json
CHANGED
|
@@ -54,6 +54,20 @@ export const HrConnectionStatusSchema = z
|
|
|
54
54
|
"including when `credentialState` is 'unusable', so a dead " +
|
|
55
55
|
"integration can still be disconnected. Null only when 'absent'.",
|
|
56
56
|
}),
|
|
57
|
+
subdomain: z
|
|
58
|
+
.string()
|
|
59
|
+
.nullable()
|
|
60
|
+
.meta({
|
|
61
|
+
description:
|
|
62
|
+
"Customer tenant subdomain on the HR provider (e.g. the BambooHR " +
|
|
63
|
+
"company subdomain) that this connection points at. Present " +
|
|
64
|
+
"whenever a connection row exists, INCLUDING when " +
|
|
65
|
+
"`credentialState` is 'unusable', so a reconnect can prefill the " +
|
|
66
|
+
"tenant the org already synced instead of asking the user to " +
|
|
67
|
+
"retype it from memory — a one-character miss there is rejected " +
|
|
68
|
+
'as "organization not found", which reads like the HR org ' +
|
|
69
|
+
"vanished rather than like a typo. Null only when 'absent'.",
|
|
70
|
+
}),
|
|
57
71
|
employeeCount: z.number().int().nonnegative().nullable().meta({
|
|
58
72
|
description:
|
|
59
73
|
"Employees mirrored from the HR provider; null when never synced.",
|