contracts 1.8.0: crosscode.identity-request/1 (import and people.* calls to Accounts)
Product -> Accounts requests at /api/accounts/v1/requests, signed with the link secret: import.begin/batch/finish/abort for moving a product's users in (EVENTS-3.0-PLAN §4), people.* for product admins (§8). sealLinkValue / openLinkValue seal password hashes and TOTP secrets with a key derived from the link secret; importIdsHash for the final check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,9 @@ import {
|
||||
linkConnectedSchema,
|
||||
linkDisconnectSchema,
|
||||
identityClaimsSchema,
|
||||
identityRequestSchema,
|
||||
importBatchReplySchema,
|
||||
peopleEnsureReplySchema,
|
||||
userDeletedReplySchema,
|
||||
userExportReplySchema,
|
||||
} from "../src";
|
||||
@@ -44,6 +47,12 @@ const SCHEMAS: Record<string, z.ZodType> = {
|
||||
"link-connect.json": linkConnectSchema,
|
||||
"link-connected.json": linkConnectedSchema,
|
||||
"link-disconnect.json": linkDisconnectSchema,
|
||||
"import-begin.json": identityRequestSchema,
|
||||
"import-batch.json": identityRequestSchema,
|
||||
"import-batch-reply.json": importBatchReplySchema,
|
||||
"import-finish.json": identityRequestSchema,
|
||||
"people-ensure.json": identityRequestSchema,
|
||||
"people-ensure-reply.json": peopleEnsureReplySchema,
|
||||
};
|
||||
|
||||
describe("samples", () => {
|
||||
|
||||
Reference in New Issue
Block a user