{
"success": true,
"message": "Business staffs retrieved successfully",
"data": {
"staffs": [
{
"id": "1718",
"user_id": "1718",
"business_id": "1718",
"role": "OWNER",
"is_active": true,
"created_at": "2023-10-05T13:30:16.351+01:00",
"updated_at": "2023-10-05T13:30:16.351+01:00",
"user": {
"id": "1718",
"user_id": "2d562b2a-1a98-4eaa-9b46-6e4bdc8751fa",
"business_id": "1718",
"first_name": "Ife",
"last_name": "Alao",
"phone": "9098311786",
"email": "laozofficial@gmail.com",
"gender": "male",
"avatar": null,
"dial_code": "+234",
"role": "USER",
"timezone": "Africa/Lagos",
"is_subscribed": true,
"email_verified": true,
"created_at": "2023-10-05T13:30:16.339+01:00",
"updated_at": "2023-10-05T13:32:39.358+01:00",
"fullName": "Ife Alao"
},
"business": {
"id": "1718",
"business_id": "bb84b287-7089-4b23-9a7f-3f71bedce48e",
"user_id": "1718",
"business_type_id": "1",
"name": "Hooli",
"code": null,
"country": "Nigeria (NGA)",
"state": "Abuja FCT",
"address": null,
"currency": "NGN",
"logo": null,
"is_verified": false,
"is_active": true,
"created_at": "2023-10-05T13:30:16.347+01:00",
"updated_at": "2023-10-05T13:30:16.347+01:00"
}
},
{
"id": "2192",
"user_id": "2244",
"business_id": "1718",
"role": "PARTNER",
"is_active": true,
"created_at": "2024-02-25T13:25:13.384+01:00",
"updated_at": "2024-02-25T13:25:13.384+01:00",
"user": {
"id": "2244",
"user_id": "79635a42-61c9-4238-bd7e-205400ad73b0",
"business_id": "1718",
"first_name": "lagbaja",
"last_name": "maskman",
"phone": "+2349098311754",
"email": "ellison.bincom@gmail.com",
"gender": "male",
"avatar": null,
"dial_code": "+234",
"role": "PARTNER",
"timezone": null,
"is_subscribed": true,
"email_verified": true,
"created_at": "2024-02-25T13:25:13.112+01:00",
"updated_at": "2024-02-25T13:25:13.112+01:00",
"fullName": "lagbaja maskman"
},
"business": {
"id": "1718",
"business_id": "bb84b287-7089-4b23-9a7f-3f71bedce48e",
"user_id": "1718",
"business_type_id": "1",
"name": "Hooli",
"code": null,
"country": "Nigeria (NGA)",
"state": "Abuja FCT",
"address": null,
"currency": "NGN",
"logo": null,
"is_verified": false,
"is_active": true,
"created_at": "2023-10-05T13:30:16.347+01:00",
"updated_at": "2023-10-05T13:30:16.347+01:00"
}
}
],
"pending_invitations": [
{
"id": "5",
"business_id": "1718",
"user_id": "2244",
"first_name": "lagbaja",
"last_name": "maskman",
"email": "ellison.bincom@gmail.com",
"role": "PARTNER",
"invitation_code": "6305",
"status": "PENDING",
"accepted_at": null,
"rejected_at": null,
"cancelled_at": null,
"created_at": "2024-02-25T13:31:27.399+01:00",
"updated_at": "2024-02-25T13:31:27.399+01:00"
},
{
"id": "9",
"business_id": "1718",
"user_id": "1718",
"first_name": "Tobi",
"last_name": "idogho",
"email": "idogho.tobi@gmail.com",
"role": "PARTNER",
"invitation_code": "6914",
"status": "PENDING",
"accepted_at": null,
"rejected_at": null,
"cancelled_at": null,
"created_at": "2024-02-27T10:54:58.685+01:00",
"updated_at": "2024-02-27T10:54:58.685+01:00"
}
]
}
}