@company-semantics/contracts 0.147.0 → 0.148.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,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 = 'b76ffd68e1db' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = 'b76ffd68e1db9d2feee07eb07ae94c19679134d5787e558eb5e6567112ea9de2' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -2169,7 +2169,7 @@ export interface components {
|
|
|
2169
2169
|
/** @enum {string} */
|
|
2170
2170
|
nameSource: "self" | "sso";
|
|
2171
2171
|
nameEditable: boolean;
|
|
2172
|
-
|
|
2172
|
+
primaryUnitId: string | null;
|
|
2173
2173
|
slackUserId: string | null;
|
|
2174
2174
|
avatar: {
|
|
2175
2175
|
/** @enum {string} */
|
|
@@ -2195,13 +2195,13 @@ export interface components {
|
|
|
2195
2195
|
displayName: string;
|
|
2196
2196
|
/** @enum {string} */
|
|
2197
2197
|
nameSource: "self" | "sso";
|
|
2198
|
-
|
|
2198
|
+
primaryUnitId: string | null;
|
|
2199
2199
|
};
|
|
2200
2200
|
};
|
|
2201
2201
|
ProfileUpdateRequest: {
|
|
2202
2202
|
fullName?: string;
|
|
2203
2203
|
preferredName?: string | null;
|
|
2204
|
-
|
|
2204
|
+
primaryUnitId?: string | null;
|
|
2205
2205
|
};
|
|
2206
2206
|
SamlCallbackRequest: {
|
|
2207
2207
|
SAMLResponse: string;
|
package/src/identity/schemas.ts
CHANGED
|
@@ -36,7 +36,7 @@ export const MeResponseSchema = z.object({
|
|
|
36
36
|
displayName: z.string(),
|
|
37
37
|
nameSource: z.enum(['self', 'sso']),
|
|
38
38
|
nameEditable: z.boolean(),
|
|
39
|
-
|
|
39
|
+
primaryUnitId: z.string().nullable(),
|
|
40
40
|
slackUserId: z.string().nullable(),
|
|
41
41
|
avatar: ResolvedAvatarSchema,
|
|
42
42
|
orgId: z.string().uuid(),
|
|
@@ -132,7 +132,7 @@ export const ProfileResponseSchema = z.object({
|
|
|
132
132
|
preferredName: z.string().nullable(),
|
|
133
133
|
displayName: z.string(),
|
|
134
134
|
nameSource: z.enum(['self', 'sso']),
|
|
135
|
-
|
|
135
|
+
primaryUnitId: z.string().nullable(),
|
|
136
136
|
}),
|
|
137
137
|
});
|
|
138
138
|
|