Download OpenAPI specification:
Vietnamese enterprise document management system with library, departments, and employees
Department details
| children | Array of objects (github_com_yourusername_go-fiber-gorm-app_internal_models.Department) |
| createdAt | string |
| deletedAt | string |
Array of objects (github_com_yourusername_go-fiber-gorm-app_internal_models.DepartmentRole) | |
| description | string |
Array of objects (github_com_yourusername_go-fiber-gorm-app_internal_models.Employee) | |
| id | string |
object (github_com_yourusername_go-fiber-gorm-app_internal_models.Employee) | |
| managerId | string |
| name | string |
| note | string |
| parent | object (github_com_yourusername_go-fiber-gorm-app_internal_models.Department) Recursive |
| parentId | string |
| slug | string |
| updatedAt | string |
{- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}{ }| id required | string Department ID |
Department details
| children | Array of objects (github_com_yourusername_go-fiber-gorm-app_internal_models.Department) |
| createdAt | string |
| deletedAt | string |
Array of objects (github_com_yourusername_go-fiber-gorm-app_internal_models.DepartmentRole) | |
| description | string |
Array of objects (github_com_yourusername_go-fiber-gorm-app_internal_models.Employee) | |
| id | string |
object (github_com_yourusername_go-fiber-gorm-app_internal_models.Employee) | |
| managerId | string |
| name | string |
| note | string |
| parent | object (github_com_yourusername_go-fiber-gorm-app_internal_models.Department) Recursive |
| parentId | string |
| slug | string |
| updatedAt | string |
{- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}{ }Employee details
| address | string |
| avatarFileId | string |
| code | string |
| contractDate | string |
| contractType | string |
| createdAt | string |
| deletedAt | string |
object (github_com_yourusername_go-fiber-gorm-app_internal_models.Department) | |
| departmentId | string |
| directManager | object (github_com_yourusername_go-fiber-gorm-app_internal_models.Employee) Recursive |
| directManagerId | string |
string | |
| gender | string (github_com_yourusername_go-fiber-gorm-app_internal_models.Gender) Enum: "male" "female" |
| id | string |
| idCard | string |
| isClerical | boolean |
| managedEmployees | Array of objects (github_com_yourusername_go-fiber-gorm-app_internal_models.Employee) |
| name | string |
| phoneNumber | string |
object (github_com_yourusername_go-fiber-gorm-app_internal_models.DepartmentRole) | |
| roleId | integer |
| signature | string |
| status | string (github_com_yourusername_go-fiber-gorm-app_internal_models.EmployeeStatus) Enum: "active" "maternity_leave" "terminated" |
| updatedAt | string |
| userId | integer |
{- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}{ }| id required | string Employee ID |
Employee details
| address | string |
| avatarFileId | string |
| code | string |
| contractDate | string |
| contractType | string |
| createdAt | string |
| deletedAt | string |
object (github_com_yourusername_go-fiber-gorm-app_internal_models.Department) | |
| departmentId | string |
| directManager | object (github_com_yourusername_go-fiber-gorm-app_internal_models.Employee) Recursive |
| directManagerId | string |
string | |
| gender | string (github_com_yourusername_go-fiber-gorm-app_internal_models.Gender) Enum: "male" "female" |
| id | string |
| idCard | string |
| isClerical | boolean |
| managedEmployees | Array of objects (github_com_yourusername_go-fiber-gorm-app_internal_models.Employee) |
| name | string |
| phoneNumber | string |
object (github_com_yourusername_go-fiber-gorm-app_internal_models.DepartmentRole) | |
| roleId | integer |
| signature | string |
| status | string (github_com_yourusername_go-fiber-gorm-app_internal_models.EmployeeStatus) Enum: "active" "maternity_leave" "terminated" |
| updatedAt | string |
| userId | integer |
{- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}{ }Returns paginated list with smart folder-first pagination. Uses DB-level pagination for efficiency.
| page | integer Default: 1 Page number |
| limit | integer Default: 10 Items per page |
| search | string Search term (matches folder name or file name) |
| folderOnly | boolean If true, only return folders (no files) |
{ }Shortcut details
| fileId | string |
| folderId | string |
{- "fileId": "string",
- "folderId": "string"
}{ }File link input
| displayName | string |
| fileId | string |
| folderId | string |
{- "displayName": "string",
- "fileId": "string",
- "folderId": "string"
}{ }Returns paginated list with smart folder-first pagination. Supports recursive search through subfolders.
| id required | string Folder ID |
| page | integer Default: 1 Page number |
| limit | integer Default: 10 Items per page |
| search | string Search term (matches folder name or file name) |
| recursive | boolean If true, search recursively through all subfolders |
| folderOnly | boolean If true, only return folders (no files) |
{ }Batch checks if the user has required access level to multiple items
Items to check access for
Array of objects |
{- "items": [
- {
- "itemId": "string",
- "itemType": "string",
- "requiredLevel": "string"
}
]
}{- "data": [
- {
- "error": "string",
- "hasAccess": true,
- "itemId": "string",
- "itemType": "string",
- "requiredLevel": "string"
}
]
}Grants user, department, or company-wide access to a folder, file, or document
Access grant details
| expiresAt | string |
| grantReason | string |
| itemId | string |
| itemType | string |
| permissionLevel | string |
| subjectId | string |
| subjectType | string |
{- "expiresAt": "string",
- "grantReason": "string",
- "itemId": "string",
- "itemType": "string",
- "permissionLevel": "string",
- "subjectId": "string",
- "subjectType": "string"
}{- "data": {
- "accessSource": "owner_share",
- "createdAt": "string",
- "expiresAt": "string",
- "externalReference": "string",
- "grantReason": "string",
- "grantedAt": "string",
- "grantedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "grantedById": "string",
- "id": "string",
- "itemId": "string",
- "itemType": "folder",
- "metadata": { },
- "permissionLevel": "read",
- "subjectId": "string",
- "subjectType": "user",
- "updatedAt": "string"
}
}Lists all access grants for a specific folder, file, or document
| itemType required | string Item type (folder, file, document) |
| itemId required | string Item ID |
{- "data": [
- {
- "accessSource": "owner_share",
- "createdAt": "string",
- "expiresAt": "string",
- "externalReference": "string",
- "grantReason": "string",
- "grantedAt": "string",
- "grantedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "grantedById": "string",
- "id": "string",
- "itemId": "string",
- "itemType": "folder",
- "metadata": { },
- "permissionLevel": "read",
- "subjectId": "string",
- "subjectType": "user",
- "updatedAt": "string"
}
]
}Revokes a previously granted access permission (cannot revoke owner access)
Access grant ID to revoke
| accessId | string |
{- "accessId": "string"
}{- "data": {
- "message": "string"
}
}Lists all items the authenticated user can access, optionally filtered by workspace
| workspaceId | string Filter by workspace ID |
{- "data": [
- {
- "accessSource": "owner_share",
- "createdAt": "string",
- "expiresAt": "string",
- "externalReference": "string",
- "grantReason": "string",
- "grantedAt": "string",
- "grantedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "grantedById": "string",
- "id": "string",
- "itemId": "string",
- "itemType": "folder",
- "metadata": { },
- "permissionLevel": "read",
- "subjectId": "string",
- "subjectType": "user",
- "updatedAt": "string"
}
]
}Exports activity logs in CSV or JSON format for offline analysis
| format | string Export format (csv or json, default json) |
| actorId | integer Filter by actor user ID |
| actorEmployeeId | string Filter by actor employee ID |
| entityType | string Filter by entity type |
| entityId | string Filter by entity ID |
| workspaceId | string Filter by workspace ID |
| action | string Filter by action type |
| startDate | string Filter by start date (RFC3339 format) |
| endDate | string Filter by end date (RFC3339 format) |
Retrieves filtered and paginated activity logs for audit and compliance
| page | integer Page number (default 1) |
| pageSize | integer Items per page (default 20) |
| actorId | integer Filter by actor user ID |
| actorEmployeeId | string Filter by actor employee ID |
| entityType | string Filter by entity type |
| entityId | string Filter by entity ID |
| workspaceId | string Filter by workspace ID |
| action | string Filter by action type |
| startDate | string Filter by start date (RFC3339 format) |
| endDate | string Filter by end date (RFC3339 format) |
{- "data": {
- "currentPage": 0,
- "items": [
- {
- "action": "create",
- "actorEmployee": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "actorEmployeeId": "string",
- "actorId": 0,
- "actorName": "string",
- "changes": { },
- "createdAt": "string",
- "entityId": "string",
- "entityName": "string",
- "entityType": "workspace",
- "externalReference": "string",
- "id": "string",
- "ipAddress": "string",
- "newState": { },
- "previousState": { },
- "reason": "string",
- "userAgent": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": null,
- "createdAt": null,
- "deletedAt": null,
- "fileName": null,
- "fileSize": null,
- "fileType": null,
- "id": null,
- "identifier": null,
- "morphableId": null,
- "morphableModel": null,
- "originalName": null,
- "path": null,
- "service": null,
- "status": null,
- "type": null,
- "updatedAt": null,
- "uploadedBy": null,
- "uploadedById": null
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": null,
- "document": null,
- "documentId": null,
- "id": null,
- "status": null,
- "updatedAt": null,
- "version": null
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string",
- "workspaceType": "personal"
}
], - "pageSize": 0,
- "totalItems": 0,
- "totalPages": 0
}
}Retrieves recently accessed items for the authenticated user, with optional filters
| itemType | string Filter by item type (folder, file, document) |
| workspaceId | string Filter by workspace ID |
| limit | integer Number of items to return (max 100, default 20) |
{- "data": [
- {
- "action": "open_folder",
- "createdAt": "string",
- "employee": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "employeeId": "string",
- "id": "string",
- "ipAddress": "string",
- "itemId": "string",
- "itemName": "string",
- "itemType": "folder",
- "userAgent": "string",
- "userId": 0,
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string",
- "workspaceType": "personal"
}
]
}Approves multiple pending permission requests in a single transaction (requires owner or admin rights)
List of request IDs and optional permission level
| grantedPermissionLevel | string |
| requestIds | Array of strings |
{- "grantedPermissionLevel": "string",
- "requestIds": [
- "string"
]
}{- "data": {
- "count": 0,
- "message": "string"
}
}Retrieves all permission requests (approved, denied, cancelled) for a specific item
| itemType required | string Item type (folder, file, document) |
| itemId required | string Item ID |
{- "data": [
- {
- "approvedAt": "string",
- "approvedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "approvedById": "string",
- "createdAt": "string",
- "denialReason": "string",
- "document": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- { }
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}, - "documentId": "string",
- "file": {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}, - "fileId": "string",
- "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "grantedPermissionLevel": "read",
- "id": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "permissionType": "FOLDER_VIEW",
- "requestedPermissionLevel": "read",
- "requester": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "requesterId": "string",
- "status": "pending",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}
]
}Lists all permission requests created by the authenticated user
{- "data": [
- {
- "approvedAt": "string",
- "approvedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "approvedById": "string",
- "createdAt": "string",
- "denialReason": "string",
- "document": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- { }
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}, - "documentId": "string",
- "file": {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}, - "fileId": "string",
- "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "grantedPermissionLevel": "read",
- "id": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "permissionType": "FOLDER_VIEW",
- "requestedPermissionLevel": "read",
- "requester": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "requesterId": "string",
- "status": "pending",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}
]
}Lists all pending permission requests for items in a specific workspace
| workspaceId required | string Workspace ID to filter requests |
{- "data": [
- {
- "approvedAt": "string",
- "approvedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "approvedById": "string",
- "createdAt": "string",
- "denialReason": "string",
- "document": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- { }
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}, - "documentId": "string",
- "file": {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}, - "fileId": "string",
- "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "grantedPermissionLevel": "read",
- "id": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "permissionType": "FOLDER_VIEW",
- "requestedPermissionLevel": "read",
- "requester": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "requesterId": "string",
- "status": "pending",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}
]
}Creates a request for access to a folder, file, or document in a workspace
Permission request details
| itemId | string |
| itemType | string |
| reason | string |
| requestedPermissionLevel | string |
| workspaceId | string |
{- "itemId": "string",
- "itemType": "string",
- "reason": "string",
- "requestedPermissionLevel": "string",
- "workspaceId": "string"
}{- "data": {
- "approvedAt": "string",
- "approvedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "approvedById": "string",
- "createdAt": "string",
- "denialReason": "string",
- "document": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- { }
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}, - "documentId": "string",
- "file": {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}, - "fileId": "string",
- "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "grantedPermissionLevel": "read",
- "id": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "permissionType": "FOLDER_VIEW",
- "requestedPermissionLevel": "read",
- "requester": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "requesterId": "string",
- "status": "pending",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}
}Retrieves detailed information about a specific permission request
| id required | string Permission request ID |
{- "data": {
- "approvedAt": "string",
- "approvedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "approvedById": "string",
- "createdAt": "string",
- "denialReason": "string",
- "document": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- { }
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}, - "documentId": "string",
- "file": {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}, - "fileId": "string",
- "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "grantedPermissionLevel": "read",
- "id": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "permissionType": "FOLDER_VIEW",
- "requestedPermissionLevel": "read",
- "requester": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "requesterId": "string",
- "status": "pending",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}
}Approves a pending permission request and grants access (requires owner or admin rights)
| id required | string Permission request ID |
Override permission level (optional, defaults to requested level)
| grantedPermissionLevel | string |
{- "grantedPermissionLevel": "string"
}{- "data": {
- "approvedAt": "string",
- "approvedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "approvedById": "string",
- "createdAt": "string",
- "denialReason": "string",
- "document": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- { }
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}, - "documentId": "string",
- "file": {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}, - "fileId": "string",
- "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "grantedPermissionLevel": "read",
- "id": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "permissionType": "FOLDER_VIEW",
- "requestedPermissionLevel": "read",
- "requester": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "requesterId": "string",
- "status": "pending",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}
}Denies a pending permission request with a reason (requires owner or admin rights)
| id required | string Permission request ID |
Reason for denial
| denialReason | string |
{- "denialReason": "string"
}{- "data": {
- "approvedAt": "string",
- "approvedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "approvedById": "string",
- "createdAt": "string",
- "denialReason": "string",
- "document": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- { }
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}, - "documentId": "string",
- "file": {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}, - "fileId": "string",
- "folder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": { },
- "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}, - "folderId": "string",
- "grantedPermissionLevel": "read",
- "id": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "permissionType": "FOLDER_VIEW",
- "requestedPermissionLevel": "read",
- "requester": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "requesterId": "string",
- "status": "pending",
- "updatedAt": "string",
- "workspace": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}, - "workspaceId": "string"
}
}Retrieves all workspaces (personal, department, company) accessible by the authenticated user
{- "data": [
- {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- null
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "description": null,
- "employees": [ ],
- "id": null,
- "name": null,
- "updatedAt": null
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}
]
}{- "data": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}
}Retrieves workspace for a specific department
| id required | string Department ID |
{- "data": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}
}Changes the owner of a department workspace (requires current owner permission)
| id required | string Workspace ID |
New owner employee ID
| newOwnerId | string |
{- "newOwnerId": "string"
}{- "data": {
- "message": "string"
}
}Retrieves the personal workspace for the authenticated employee
{- "data": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}
}Retrieves any workspace by its ID with owner, department, and root folder associations
| id required | string Workspace ID |
{- "data": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}
}Updates the name of a workspace (requires owner permission)
| id required | string Workspace ID |
New workspace name
| name | string |
{- "name": "string"
}{- "data": {
- "createdAt": "string",
- "defaultAccess": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "id": "string",
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownerType": "user",
- "quotaEnabled": true,
- "quotaWarningThreshold": 0,
- "rootFolder": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": { },
- "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documents": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- {
- "address": null,
- "avatarFileId": null,
- "code": null,
- "contractDate": null,
- "contractType": null,
- "createdAt": null,
- "deletedAt": null,
- "department": null,
- "departmentId": null,
- "directManager": null,
- "directManagerId": null,
- "email": null,
- "gender": null,
- "id": null,
- "idCard": null,
- "isClerical": null,
- "managedEmployees": [ ],
- "name": null,
- "phoneNumber": null,
- "role": null,
- "roleId": null,
- "signature": null,
- "status": null,
- "updatedAt": null,
- "userId": null
}
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}
], - "id": "string",
- "manager": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "documentCategory": {
- "id": "string",
- "name": "string"
}, - "documentCategoryId": "string",
- "documentIssuer": {
- "createdAt": "string",
- "id": "string",
- "name": "string",
- "updatedAt": "string"
}, - "documentIssuerId": "string",
- "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- null
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- null
], - "description": "string",
- "employees": [
- null
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [ ],
- "createdAt": null,
- "deletedAt": null,
- "departmentRoles": [ ],
- "description": null,
- "employees": [ ],
- "id": null,
- "manager": null,
- "managerId": null,
- "name": null,
- "note": null,
- "parent": null,
- "parentId": null,
- "slug": null,
- "updatedAt": null
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "folder": { },
- "folderId": "string",
- "id": "string",
- "name": "string",
- "note": "string",
- "publicity": "public",
- "recipient": "string",
- "signer": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "signerId": "string",
- "status": "pending",
- "type": "document",
- "uniqueCode": "string",
- "updatedAt": "string",
- "updatedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "updatedById": "string",
- "versions": [
- {
- "createdAt": "string",
- "document": { },
- "documentId": "string",
- "id": "string",
- "status": "string",
- "updatedAt": "string",
- "version": 0
}
]
}
], - "files": [
- {
- "categoryId": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "fileName": "string",
- "fileSize": "string",
- "fileType": "string",
- "id": "string",
- "identifier": "string",
- "morphableId": "string",
- "morphableModel": "string",
- "originalName": "string",
- "path": "string",
- "service": "string",
- "status": "created",
- "type": "string",
- "updatedAt": "string",
- "uploadedBy": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- null
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "uploadedById": "string"
}
], - "id": "string",
- "inheritsPermissions": true,
- "name": "string",
- "owner": {
- "address": "string",
- "avatarFileId": "string",
- "code": "string",
- "contractDate": "string",
- "contractType": "string",
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- {
- "createdAt": "string",
- "deletedAt": "string",
- "department": { },
- "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "directManager": { },
- "directManagerId": "string",
- "email": "string",
- "gender": "male",
- "id": "string",
- "idCard": "string",
- "isClerical": true,
- "managedEmployees": [
- { }
], - "name": "string",
- "phoneNumber": "string",
- "role": {
- "createdAt": "string",
- "deletedAt": "string",
- "department": {
- "children": [
- { }
], - "createdAt": "string",
- "deletedAt": "string",
- "departmentRoles": [
- { }
], - "description": "string",
- "employees": [
- { }
], - "id": "string",
- "manager": { },
- "managerId": "string",
- "name": "string",
- "note": "string",
- "parent": { },
- "parentId": "string",
- "slug": "string",
- "updatedAt": "string"
}, - "departmentId": "string",
- "description": "string",
- "employees": [
- { }
], - "id": 0,
- "name": "string",
- "updatedAt": "string"
}, - "roleId": 0,
- "signature": "string",
- "status": "active",
- "updatedAt": "string",
- "userId": 0
}, - "ownerId": "string",
- "ownership": "user",
- "parent": { },
- "parentId": "string",
- "path": "string",
- "updatedAt": "string",
- "workspace": { },
- "workspaceId": "string"
}, - "rootFolderId": "string",
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "updatedAt": "string",
- "workspaceType": "personal"
}
}Retrieves current storage usage and quota limits for a workspace
| id required | string Workspace ID |
{- "data": {
- "availableBytes": 0,
- "isNearLimit": true,
- "percentageUsed": 0,
- "quotaEnabled": true,
- "storageQuotaBytes": 0,
- "storageUsedBytes": 0,
- "workspaceId": "string"
}
}Updates the storage quota limit for a workspace (requires owner permission)
| id required | string Workspace ID |
New quota in bytes (null for unlimited)
| storageQuotaBytes | integer <int64> |
{- "storageQuotaBytes": 0
}{- "data": {
- "message": "string"
}
}Retrieves usage statistics for a workspace (folders, files, documents, storage size)
| id required | string Workspace ID |
{- "data": {
- "lastActivity": "string",
- "storageSize": 0,
- "totalDocuments": 0,
- "totalFiles": 0,
- "totalFolders": 0,
- "workspaceId": "string"
}
}Meeting details
object | |
| meetingType | string "immediate", "scheduled", "recurrent" |
| name | string |
| recurrenceRule | string iCal RRULE format |
| scheduledEndTime | string ISO 8601 format |
| scheduledStartTime | string ISO 8601 format |
| timezone | string IANA timezone (defaults to Asia/Ho_Chi_Minh) |
{- "configuration": { },
- "meetingType": "string",
- "name": "string",
- "recurrenceRule": "string",
- "scheduledEndTime": "string",
- "scheduledStartTime": "string",
- "timezone": "string"
}{ }| id required | string Meeting ID |
Meeting updates
object | |
| name | string |
{- "configuration": { },
- "name": "string"
}{ }| id required | string Meeting ID |
Participant details
| employee_id | string |
| role | string |
{- "employee_id": "string",
- "role": "string"
}{ }| id required | string Meeting ID |
| employeeId required | string Employee ID |
New role
| role | string |
{- "role": "string"
}{ }| id required | string Recording ID |
Failure type
| failure_type | string "failed_to_start", "failed_to_stop", "aborted" |
{- "failure_type": "string"
}{ }Recording start details
| meeting_id | string |
| mode | string "screen_recording" or "transcript" |
{- "meeting_id": "string",
- "mode": "string"
}{ }| id required | string Recording ID |
Access details
| employee_id | string |
| role | string "owner", "admin", "member" |
{- "employee_id": "string",
- "role": "string"
}{ }Processes LiveKit server webhook events for egress (recording) lifecycle management. Authenticates via HMAC-SHA256 signature verification.
| Authorization required | string HMAC-SHA256 signature of request body |
Webhook event payload
| egress_id | string |
| ended_at | integer |
| error | string |
| event | string |
object (internal_handlers.LivekitWebhookFile) | |
| room_name | string |
| started_at | integer |
{- "egress_id": "string",
- "ended_at": 0,
- "error": "string",
- "event": "string",
- "file": {
- "location": "string",
- "size": 0
}, - "room_name": "string",
- "started_at": 0
}{- "property1": "string",
- "property2": "string"
}