2020-01-20 11:10:33 +01:00
|
|
|
<?php
|
2020-10-10 14:07:52 +02:00
|
|
|
/**
|
2020-01-20 11:10:33 +01:00
|
|
|
* @OA\Schema(
|
|
|
|
* schema="Vendor",
|
|
|
|
* type="object",
|
2022-08-18 15:16:25 +02:00
|
|
|
* @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"),
|
2020-01-20 11:10:33 +01:00
|
|
|
* @OA\Property(
|
|
|
|
* property="contacts",
|
|
|
|
* type="array",
|
|
|
|
* @OA\Items(
|
|
|
|
*
|
|
|
|
* ref="#/components/schemas/VendorContact",
|
|
|
|
* ),
|
|
|
|
* ),
|
2022-08-18 15:16:25 +02:00
|
|
|
* @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"),
|
2020-01-20 11:10:33 +01:00
|
|
|
* @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="work_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="________"),
|
2021-01-25 11:34:12 +01:00
|
|
|
* @OA\Property(property="number", type="string", example="", description="________"),
|
2020-01-20 11:10:33 +01:00
|
|
|
* @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"),
|
|
|
|
* )
|
|
|
|
*/
|