1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/openapi/components/schemas/client_contact.yaml

113 lines
3.5 KiB
YAML
Raw Normal View History

2023-03-19 00:39:21 +01:00
ClientContact:
properties:
id:
description: 'The hashed if of the contact'
type: string
example: Opnel5aKBz
user_id:
description: 'The hashed id of the user who created the contact'
type: string
example: Opnel5aKBz
company_id:
description: 'The hashed id of the company'
type: string
example: Opnel5aKBz
client_id:
description: 'The hashed id of the client'
type: string
example: Opnel5aKBz
first_name:
description: 'The first name of the contact'
type: string
example: John
last_name:
description: 'The last name of the contact'
type: string
example: Doe
phone:
description: 'The phone number of the contact'
type: string
example: 555-152-4524
custom_value1:
description: 'A Custom field value'
type: string
example: ''
custom_value2:
description: 'A Custom field value'
type: string
example: ''
custom_value3:
description: 'A Custom field value'
type: string
example: ''
custom_value4:
description: 'A Custom field value'
type: string
example: ''
email:
description: 'The email of the contact'
type: string
example: ''
accepted_terms_version:
description: 'The terms of service which the contact has accpeted'
type: string
example: 'A long set of ToS'
password:
description: 'The hashed password of the contact'
type: string
example: '*****'
confirmation-code:
description: 'The confirmation code used to authenticate the contacts email address'
type: string
example: 333-sdjkh34gbasd
token:
description: 'A uuid based token.'
type: string
example: 333-sdjkh34gbasd
is_primary:
description: 'Defines is this contact is the primary contact for the client'
type: boolean
example: true
confirmed:
description: 'Boolean value confirms the user has confirmed their account.'
type: boolean
example: true
is_locked:
description: 'Boolean value defines if the contact has been locked out.'
type: boolean
example: true
send_email:
description: 'Boolean value determines is this contact should receive emails'
type: boolean
example: true
failed_logins:
description: 'The number of failed logins the contact has had'
type: number
format: integer
example: '3'
email_verified_at:
description: 'The date which the contact confirmed their email'
type: number
format: integer
example: '134341234234'
last_login:
description: Timestamp
type: number
format: integer
example: '134341234234'
created_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
updated_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
deleted_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
type: object