1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 17:31:35 +02:00
invoiceninja/openapi/components/schemas/vendor_contact.yaml

92 lines
2.8 KiB
YAML
Raw Normal View History

2023-03-19 00:39:21 +01:00
VendorContact:
properties:
id:
description: 'The hashed id of the vendor contact'
type: string
example: Opnel5aKBz
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
user_id:
description: 'The hashed id of the user id'
type: string
example: Opnel5aKBz
2023-11-23 01:28:38 +01:00
readOnly: true
2023-03-19 00:39:21 +01:00
vendor_id:
description: 'The hashed id of the vendor'
type: string
example: Opnel5aKBz
2023-11-23 01:28:38 +01:00
readOnly: true
2023-03-19 00:39:21 +01:00
first_name:
description: 'The first name of the contact'
type: string
example: Harry
last_name:
description: 'The last name of the contact'
type: string
example: Windsor
2023-11-23 01:28:38 +01:00
contact_key:
description: 'A unique identifier for the contact'
type: string
example: JD0X52bkfZlJRiroCJ0tcSiAjsJTntZ5uqKdiZ0a
readOnly: true
confirmation_code:
description: 'The confirmation code used to authenticate the contacts email address'
type: string
example: 333-sdjkh34gbasd
readOnly: true
2023-03-19 00:39:21 +01:00
phone:
description: 'The contacts phone number'
type: string
example: 555-123-1234
custom_value1:
description: 'A custom value'
type: string
example: '2022-10-10'
custom_value2:
description: 'A custom value'
type: string
example: $1000
custom_value3:
description: 'A custom value'
type: string
example: ''
custom_value4:
description: 'A custom value'
type: string
example: ''
email:
description: 'The contact email address'
type: string
example: harry@windsor.com
2023-11-23 01:28:38 +01:00
email_verified_at:
description: 'The date which the contact confirmed their email'
type: number
format: integer
example: '134341234234'
readOnly: true
password:
description: 'The hashed password of the contact'
type: string
example: '*****'
2023-03-19 00:39:21 +01:00
is_primary:
description: 'Boolean flag determining if the contact is the primary contact for the vendor'
type: boolean
example: true
created_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
updated_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
deleted_at:
description: Timestamp
type: number
format: integer
example: '134341234234'
2023-10-02 01:17:15 +02:00
readOnly: true
2023-03-19 00:39:21 +01:00
type: object