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>
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"schema": "crosscode.identity-request/1",
|
|
"actor": "8d2e4f6a-1b3c-4d5e-8f7a-9b0c1d2e3f4a",
|
|
"requestId": "1c7f2a3b-4d5e-4f6a-9b0c-1d2e3f4a5b6c",
|
|
"type": "import.batch",
|
|
"check": false,
|
|
"people": [
|
|
{
|
|
"id": "5f0c7d2a-3b1e-4c8f-9a6d-2e4b1c7f8a90",
|
|
"name": "Thandi Mokoena",
|
|
"email": "thandi@hopefamily.co.za",
|
|
"emailVerified": true,
|
|
"phone": "+27821234567",
|
|
"passwordHash": "sealed1.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
"twoFactor": "totp",
|
|
"totpSecret": "sealed1.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
"totpLastStep": 59012345,
|
|
"failedSignIns": 0,
|
|
"lockedUntil": null,
|
|
"news": {
|
|
"email": true,
|
|
"whatsapp": false
|
|
},
|
|
"newsAskedAt": "2026-03-01T08:00:00.000Z",
|
|
"noticeVersionAccepted": 2,
|
|
"noticeAcceptances": [
|
|
{
|
|
"version": 1,
|
|
"acceptedAt": "2025-06-01T08:00:00.000Z"
|
|
},
|
|
{
|
|
"version": 2,
|
|
"acceptedAt": "2026-03-01T08:00:00.000Z"
|
|
}
|
|
],
|
|
"consentChanges": [
|
|
{
|
|
"channel": "email",
|
|
"granted": true,
|
|
"at": "2026-03-01T08:00:00.000Z"
|
|
}
|
|
],
|
|
"lastSignInAt": "2026-11-18T17:30:00.000Z",
|
|
"status": "active",
|
|
"admin": true,
|
|
"createdAt": "2025-06-01T08:00:00.000Z"
|
|
}
|
|
]
|
|
}
|