mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 23:52:33 +01:00
46 lines
3.5 KiB
PHP
46 lines
3.5 KiB
PHP
<?php
|
|
/**
|
|
* @OA\Schema(
|
|
* schema="Vendor",
|
|
* type="object",
|
|
* @OA\Property(property="id", type="string", example="Opnel5aKBz", description="The hashed id of the vendor"),
|
|
* @OA\Property(property="user_id", type="string", example="Opnel5aKBz", description="The hashed id of the user who created the vendor"),
|
|
* @OA\Property(property="assigned_user_id", type="string", example="Opnel5aKBz", description="The hashed id of the assigned user to this vendor"),
|
|
* @OA\Property(property="company_id", type="string", example="Opnel5aKBz", description="The hashed id of the company"),
|
|
* @OA\Property(property="client_id", type="string", example="Opnel5aKBz", description="The hashed id of the client"),
|
|
* @OA\Property(
|
|
* property="contacts",
|
|
* type="array",
|
|
* @OA\Items(
|
|
*
|
|
* ref="#/components/schemas/VendorContact",
|
|
* ),
|
|
* ),
|
|
* @OA\Property(property="name", type="string", example="Harry's cafe de wheels", description="The vendor name"),
|
|
* @OA\Property(property="website", type="string", example="www.harry.com", description="The website of the vendor"),
|
|
* @OA\Property(property="private_notes", type="string", example="Shhh, don't tell the vendor", description="The private notes of the vendor"),
|
|
* @OA\Property(property="industry_id", type="string", example="1", description="The industry id of the vendor"),
|
|
* @OA\Property(property="size_id", type="string", example="", description="________"),
|
|
* @OA\Property(property="address1", type="string", example="", description="________"),
|
|
* @OA\Property(property="address2", type="string", example="", description="________"),
|
|
* @OA\Property(property="city", type="string", example="", description="________"),
|
|
* @OA\Property(property="state", type="string", example="", description="________"),
|
|
* @OA\Property(property="postal_code", type="string", example="", description="________"),
|
|
* @OA\Property(property="phone", type="string", example="555-3434-3434", description="The client phone number"),
|
|
* @OA\Property(property="country_id", type="string", example="", description="________"),
|
|
* @OA\Property(property="currency_id", type="string", example="4", description="________"),
|
|
* @OA\Property(property="custom_value1", type="string", example="", description="________"),
|
|
* @OA\Property(property="custom_value2", type="string", example="", description="________"),
|
|
* @OA\Property(property="custom_value3", type="string", example="", description="________"),
|
|
* @OA\Property(property="custom_value4", type="string", example="", description="________"),
|
|
* @OA\Property(property="vat_number", type="string", example="", description="________"),
|
|
* @OA\Property(property="id_number", type="string", example="", description="________"),
|
|
* @OA\Property(property="number", type="string", example="", description="________"),
|
|
* @OA\Property(property="is_deleted", type="boolean", example=true, description="________"),
|
|
* @OA\Property(property="last_login", type="number", format="integer", example="134341234234", description="Timestamp"),
|
|
* @OA\Property(property="created_at", type="number", format="integer", example="134341234234", description="Timestamp"),
|
|
* @OA\Property(property="updated_at", type="number", format="integer", example="134341234234", description="Timestamp"),
|
|
* @OA\Property(property="settings",ref="#/components/schemas/CompanySettings"),
|
|
* )
|
|
*/
|