curl --request POST \
--url http://localhost:3000/v1/scheduling/deputy{
"success": true,
"results": [
{
"status": "<string>",
"email": "<string>",
"deputyId": 123,
"message": "<string>",
"staffId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"authUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"password": "<string>",
"pin": "<string>"
}
],
"errors": [
{
"error": "<string>",
"deputyId": 123,
"name": "<string>",
"email": "<string>"
}
],
"summary": {
"total_employees": 123,
"processed": 123,
"errors": 123
},
"error": "<string>"
}Syncs all active Deputy employees to Supabase, creating auth users, user records, and staff records.
curl --request POST \
--url http://localhost:3000/v1/scheduling/deputy{
"success": true,
"results": [
{
"status": "<string>",
"email": "<string>",
"deputyId": 123,
"message": "<string>",
"staffId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"authUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"password": "<string>",
"pin": "<string>"
}
],
"errors": [
{
"error": "<string>",
"deputyId": 123,
"name": "<string>",
"email": "<string>"
}
],
"summary": {
"total_employees": 123,
"processed": 123,
"errors": 123
},
"error": "<string>"
}