2019-10-06 08:05:46 +02:00
< ? php
2020-10-10 14:07:52 +02:00
/**
2019-10-06 08:05:46 +02:00
* @ OA\Schema (
* schema = " Company " ,
2019-10-06 13:51:33 +02:00
* type = " object " ,
2019-10-06 08:05:46 +02:00
* @ OA\Property ( property = " id " , type = " string " , example = " WJxbojagwO " , description = " The company hash id " ),
2019-10-29 03:55:26 +01:00
* @ OA\Property ( property = " size_id " , type = " string " , example = " 1 " , description = " The company size ID " ),
* @ OA\Property ( property = " industry_id " , type = " string " , example = " 1 " , description = " The company industry ID " ),
2020-02-29 22:03:43 +01:00
* @ OA\Property ( property = " slack_webhook_url " , type = " string " , example = " https://slack.com/sh328sj " , description = " The slack webhook notification URL " ),
2020-04-09 14:04:26 +02:00
* @ OA\Property ( property = " google_analytics_key " , type = " string " , example = " 1 " , description = " The google analytics key " ),
2019-11-16 04:12:29 +01:00
* @ OA\Property ( property = " portal_mode " , type = " string " , example = " subdomain " , description = " Determines the client facing urls ie: subdomain,domain,iframe " ),
2019-12-10 21:53:41 +01:00
* @ OA\Property ( property = " subdomain " , type = " string " , example = " aceme " , description = " Specifies the first part of the company domain ie acme in acme.domain.com " ),
2019-11-16 04:12:29 +01:00
* @ OA\Property ( property = " portal_domain " , type = " string " , example = " https://subdomain.invoicing.co " , description = " The fully qualified domain for client facing URLS " ),
2019-10-29 03:55:26 +01:00
* @ OA\Property ( property = " enabled_tax_rates " , type = " integer " , example = " 1 " , description = " Number of taxes rates used per entity " ),
* @ OA\Property ( property = " fill_products " , type = " boolean " , example = true , description = " Toggles filling a product description based on product key " ),
* @ OA\Property ( property = " convert_products " , type = " boolean " , example = true , description = " ___________ " ),
* @ OA\Property ( property = " update_products " , type = " boolean " , example = true , description = " Toggles updating a product description which description changes " ),
2019-12-05 07:22:20 +01:00
* @ OA\Property ( property = " show_product_details " , type = " boolean " , example = true , description = " Toggles showing a product description which description changes " ),
2019-11-10 13:06:30 +01:00
* @ OA\Property ( property = " custom_fields " , type = " object " , description = " Custom fields map " ),
2022-08-12 12:44:09 +02:00
* @ OA\Property ( property = " enable_product_cost " , type = " boolean " , example = true , description = " Show/Hide the product cost field in the UI " ),
* @ OA\Property ( property = " enable_product_quantity " , type = " boolean " , example = true , description = " Show/hide the product quantity field (used in the UI to show the default quantity) " ),
* @ OA\Property ( property = " default_quantity " , type = " boolean " , example = true , description = " Enable/Disable whether to use a default quantity " ),
2019-11-06 23:57:09 +01:00
* @ OA\Property ( property = " custom_surcharge_taxes1 " , type = " boolean " , example = true , description = " Toggles charging taxes on custom surcharge amounts " ),
* @ OA\Property ( property = " custom_surcharge_taxes2 " , type = " boolean " , example = true , description = " Toggles charging taxes on custom surcharge amounts " ),
* @ OA\Property ( property = " custom_surcharge_taxes3 " , type = " boolean " , example = true , description = " Toggles charging taxes on custom surcharge amounts " ),
* @ OA\Property ( property = " custom_surcharge_taxes4 " , type = " boolean " , example = true , description = " Toggles charging taxes on custom surcharge amounts " ),
2019-10-06 08:05:46 +02:00
* @ OA\Property ( property = " logo " , type = " object " , example = " logo.png " , description = " The company logo - binary " ),
2019-10-13 12:59:55 +02:00
* @ OA\Property ( property = " settings " , ref = " #/components/schemas/CompanySettings " ),
2019-10-06 08:05:46 +02:00
* )
2019-10-29 03:55:26 +01:00
*/