1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/openapi/components/schemas/company_user.yaml
2024-02-10 15:56:31 +11:00

41 lines
1.5 KiB
YAML

CompanyUser:
properties:
permissions:
description: 'The company user permissions'
type: string
example: '[create_invoice]'
settings:
description: 'Settings that are used for the frontend applications to store user preferences / metadata'
type: object
react_settings:
description: 'Dedicated settings object for the react web application'
type: object
is_owner:
description: 'Determines whether the user owns this company'
type: boolean
example: true
is_admin:
description: 'Determines whether the user is the admin of this company'
type: boolean
example: true
is_locked:
description: 'Determines whether the users access to this company has been locked'
type: boolean
example: true
updated_at:
description: 'The last time the record was modified, format Unix Timestamp'
type: integer
example: '1231232312321'
deleted_at:
description: 'Timestamp when the user was archived, format Unix Timestamp'
type: integer
example: '12312312321'
account:
$ref: '#/components/schemas/Account'
company:
$ref: '#/components/schemas/Company'
user:
$ref: '#/components/schemas/User'
token:
$ref: '#/components/schemas/CompanyToken'
type: object